Open ikke68 opened 4 years ago
Hi and thanks for getting in touch.
To get this to work with home assistant, you need to set up two different automations. 1 automation for the quick press, in one for the long press.
Here is an example of one of the automations. The automation wait for the word "toggle" then flips the switch of your choice.
I actually have this set up with tasmota in my house now. Both click and hold work for two different lights. Auto discovery also works. There will be a video on this soon.
-David
Hi David,
Thanks for the fast reply! i'll try it with your pictures. Is it possible you can show me now how you set it up in tasmota? Because that easier for me, i have a few tasmotized device's and that way i keep it al the same :) Thanks Rens,
Absolutely, I'll give you the commands needed tonight, (they are at home, I'm at work.)
Okay thanks allot!
for the mqtt server part do i need to put :8123 behind it?
8123 is the home assistant port. The MQTT port is 1883.
Hi Dave,
I saw your video on youtube, and i flashed a NodeMCU with your software using arduino. That all worked out because my device is connected to my wifi, but how do i set up my device in Home Assistant? because for other projects i use tasmota, and tasmota got a auto discovery function.. I'm looking forward to your answer!! Greatings, Rens