Replies: 9 comments 11 replies
-
I think that the tasmota discovery message is sent before the script has been able to establish the sensor structure May be @gemu2015 has some idea as I pretty sure I have a discussion about that in the past |
Beta Was this translation helpful? Give feedback.
-
Thank you for the first assessment. I hope, there is a solution for it. |
Beta Was this translation helpful? Give feedback.
-
I have changed it to teleperiod 30 in my script with a restart of the device. No change... |
Beta Was this translation helpful? Give feedback.
-
yes, I changed it without success. Goal is to send every time all values. Do i need the teleperiod? |
Beta Was this translation helpful? Give feedback.
-
In the console it states 30s for teleperiod |
Beta Was this translation helpful? Give feedback.
-
yes, in the console I can see every 30 seconds all values, but inbetween only one or two values are transmitted to the mqtt server. |
Beta Was this translation helpful? Give feedback.
-
So actually when something changes on the value side, Tasmota sends out one or two values and after 30 seconds all values. Seems to be wrong |
Beta Was this translation helpful? Give feedback.
-
My script looks like this now: `>D
|
Beta Was this translation helpful? Give feedback.
-
Hi @ALL,
I use a smart meter with Tasmota and Mosquitto. First I will give all relevant data:
Tasmota version: 14.4.1
Stromzähler_Skript_Tasmota.txt
In Mosquitto following is shown for the actual config.
Sensor={"Time":"2024-12-18T21:25:19","SM":{"76_7_0":3786.81}}
Normaly I would expect something like this:
sensors={"sn":{"Time":"2024-12-18T21:06:30","SM":{"1_8_0":5984848.69,"1_8_1":1001.00,"1_8_2":5983847.00,"2_8_0":2221.00,"16_7_0":11660.91,"36_7_0":4060.41,"56_7_0":3805.35,"76_7_0":3795.15,"32_7_0":233.0,"52_7_0":233.1,"72_7_0":235.1,"96_1_0":""}},"ver":1}
So, the question now is, why are not all data send out? On the very first setup it worked. Then I tried some things with topic, full topic, device name, etc.. Since then the values are not transmitted.
What I have already done to solve the problem:
Nothing seems to solve the problem. Any ideas?
If you need more informations, please give me a hint. Thank you.
Your help is really appreciated. Thank you very much in advance.
Best regards,
Thorsten
Beta Was this translation helpful? Give feedback.
All reactions