Skip to content

Instantly share code, notes, and snippets.

@magnusnordlander
Created April 6, 2024 22:10
Show Gist options
  • Save magnusnordlander/e974de3190f4765988ecdea692c0212a to your computer and use it in GitHub Desktop.
Save magnusnordlander/e974de3190f4765988ecdea692c0212a to your computer and use it in GitHub Desktop.
ESPHome based sniffer
esphome:
name: open-lcc-sniffer
esp32:
board: esp32dev
framework:
type: arduino
# Enable logging
logger:
level: DEBUG
uart:
- id: from_lcc
rx_pin:
number: 20
inverted: true
baud_rate: 9600
debug:
direction: RX
dummy_receiver: false
after:
timeout: 10ms
sequence:
- lambda: UARTDebug::log_hex(direction, bytes, ' ');
- id: from_gicar
rx_pin:
number: 10
inverted: true
baud_rate: 9600
debug:
direction: RX
dummy_receiver: false
after:
timeout: 10ms
sequence:
- lambda: UARTDebug::log_hex(direction, bytes, ' ');
# Enable Home Assistant API
api:
password: ""
ota:
password: ""
wifi:
ssid: "Abraham Linksys"
password: "PASSWORD42"
# Enable fallback hotspot (captive portal) in case wifi connection fails
ap:
ssid: "Open-Lcc-Sniffer"
password: "9VCgom86HOh8"
captive_portal:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment