Skip to content

Instantly share code, notes, and snippets.

@Sammy1Am
Sammy1Am / gist:8c1e9dc8ca90aa65ff915262b4ed95d9
Created September 14, 2024 20:24
Govee H6052 to ESPHome
Important notes:
- To enter flash/download mode, connect TX2 to GND while plugging in USB-UART adapter, release once plugged in.
- Board type is `generic-rtl8710bn-2mb-468k`
- Limited space means removing API encryption is needed for default ESPHome config to work (probably more optimization to be done there)
- Use Itchiptool to backup firmware before doing anything.
- Download firmware from ESPHome dashboard "manual" install option and use Itchiptool to upload to board (couldn't get ESPHome to connect)
@Sammy1Am
Sammy1Am / gist:afd9cbc34a64226df8b967cbed0f98f1
Created July 13, 2023 19:22
Multicast and TP-Link Relay for nftables on OpenWRT
# It's important to use separate ip/ip6 tables when working with dup (at least for now there are some
# issues it seems using inet
# Create ipv4 relay table
table ip relay4
flush table ip relay4
# This will forward TP-Link discovery packets (useful for ensuring cameras stream locally instead of over
# the Internet, and discovering other IoT devices. Needs to be paired with a firewall rule to accept
# forwards on SOURCE port 9999 from br-lan.21 to br-lan.1