Skip to content

Instantly share code, notes, and snippets.

@patrickdk77
patrickdk77 / sprinkler.yaml
Last active October 21, 2022 12:01
Sprinkler System esphome
substitutions:
display_name: Sprinkler
heartbeat: 900s
esphome:
name: sprinkler
platform: ESP8266
board: d1_mini
board_flash_mode: dout
esp8266_restore_from_flash: true
Template
{"NAME":"Tuya Siren","GPIO":[255,107,255,108,255,255,0,0,255,255,255,255,255],"FLAG":0,"BASE":54}
You must activate the template before using any of the tuya commands below.
Recommended rules for tasmota:
rule1 on system#boot backlog tuyasend4 102,0; tuyasend2 103,300; TuyaSend1 117,0 endon
rule1 1
tuyamcu 11,104
auto eth0
iface eth0 inet manual
up ethtool -G eth0 rx 1024 rx-jumbo 2048
post-up ifconfig $IFACE down
mtu 9000
auto eth1
iface eth1 inet manual
up ethtool -G eth1 rx 1024 rx-jumbo 2048
post-up ifconfig $IFACE down