$6 Wifi Pushbutton meets Tasmota
Автор: DaveOTech
Загружено: 2020-04-21
Просмотров: 9752
This video shows you how to configure Tasmota onto my $6 MQTT Push Button.
How to flash TASMOTA: • How to Flash Tasmota onto Sonoff Basic - H...
You need the ESPEasy file: https://github.com/letscontrolit/ESPE...
And the latest TASMOTA release: https://github.com/arendst/Tasmota/re...
RAW OLD CODE:
https://github.com/davolesh/mqtt_push...
Settings:
SwitchTopic 1 - Set MQTT switch topic to Topic
SwitchMode 5 - Set push-button with long press mode
SetOption32 20 - Set key hold time to 2 seconds
Template: {"NAME":"Generic","GPIO":[1,1,1,1,1,1,1,1,1,1,1,1,1,1],"FLAG":0,"BASE":18}
Home Assistant Automations:
id: 'unique number id'
alias: wifiplug6 on wifibutton1
trigger:
payload: 'ON'
platform: mqtt
topic: wifibutton1/cmnd/POWER
condition: []
action:
data:
entity_id: switch.wifiplug6
service: switch.toggle
id: 'unique number id'
alias: wifiplug5 on wifibutton1
trigger:
payload: HOLD
platform: mqtt
topic: wifibutton1/cmnd/POWER
condition: []
action:
data:
entity_id: switch.wifiplug5
service: switch.toggle
Amazon Affiliate Links:
Sonoff Basic R2: https://amzn.to/2n7GN5i
USB to Serial Adapter: https://amzn.to/2oQlu8L
Wemos D1 Mini: https://amzn.to/33CdZBv
Arcade Pushbutton: https://amzn.to/31i2NYS
Blank Plate: https://amzn.to/2nhhQ7l
Music:
Bensound - Creative Minds
Доступные форматы для скачивания:
Скачать видео mp4
-
Информация по загрузке: