-
Hi, I installed Tasmota with TX23 - works fine. Now I want to make a Rule. What I want is: Sending per WebSend WindSpeed Act and Winddirection to my Homematic-System. Thank You |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
I use a TX20 and publish data to Domoticz with MQTT as follows, may be you can use similar code to HA: Rule1 Important:
It is easy to publish from script also, see scripting doc. Driver is not compatible with rules. |
Beta Was this translation helpful? Give feedback.
I use a TX20 and publish data to Domoticz with MQTT as follows, may be you can use similar code to HA:
Rule1
on tele-TX20#Speed#Avg do var1= 5.14444444*%value% endon
on tele-TX20#Speed#Max do var2= 5.14444444*%value% endon
on tele-TX20#Dir#Avg do var3 %value% endon
on tele-TX20#Dir#AvgCard do publish domoticz/in {"idx":295,"svalue":"%var3%;%value%;%var1%;%var2%;0;0"} endon
Important:
Add the following to user_config_override.h:
#define USE_…