Skip to content

TX23 Anemometer #11155

Answered by javier6d2
Shumde asked this question in Q&A
Feb 28, 2021 · 1 comments · 3 replies
Discussion options

You must be logged in to vote

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:

  1. Domoticz only ACCEPTS wind data input units: 10m/s, so I have converted knots (my wind sensor unit) to 10m/s with 5.14444 factor.
  2. To be able convert data to 10*m/s you need compile your own tasmota firmare, check: https://tasmota.github.io/docs/Rules/
    Add the following to user_config_override.h:
    #define USE_…

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@barbudor
Comment options

@Shumde
Comment options

@javier6d2
Comment options

Answer selected by ascillato2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants