-
|
Hello everyone, i have connected several ds18b20 sensors to a tasmota device and would now like to write the temperature values for each individual ds18b20 to a separate mqtt telegram. the output from tasmota looks like this:
I have found out that I can create a rule that delivers almost the desired result - for the first sensor
Unfortunately, the result is then published with every calculation (approx. every second). Is there a way to change the above rule so that this only happens once a minute? Unfortunately, I have not been able to combine the above rule with “Time#Minute”. Does anyone have a tip for me? Many thanks in advance Marc |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
|
If you want to have sensor data published once a minute, you can simply set If you want your own format, you can then react to the telemetry period messages by prefixing triggers like Your |
Beta Was this translation helpful? Give feedback.
If you want to have sensor data published once a minute, you can simply set
TelePeriod 60, then Tasmota will do that.If you want your own format, you can then react to the telemetry period messages by prefixing triggers like
tele-DS18B20-2#Temperatureand then do your publish. NoTime#Minuteneeded.Your
DS18B20-2#Temperature!=%Var1%rule does not make sense to check for a different value unless you have the rule also update the variable with the latest value. Still could be a lot more than once a minute, unless you do it by TelePeriod. Of course, getting down to every minute, that difference-checking may not be all that useful.