You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to increase the frequency of the MQTT messages in oder to try to get 1 meter reading per second to HA. When I change the default value of 7 in dsmr50.py to another value, doesn't matter which value, the meter readings are not updated anymore. Only when I re-enter the value of 7, I will get a reading once every minute. What do I do wrong?
Thanks for your help!
Best,
Thomas
The text was updated successfully, but these errors were encountered:
Hi Thomas, thanks for have interest in my project. Reading your comments, I can understand the confusion. I will improve comments of this file in future release.
MAXRATE = 7 is a constant used in other files. Please set it back to 7.
You can adapt maxrate per dsmr field, eg see one field as example, below....the 60 is the maxrate (every minute) for "0-0:96.1.1" dsmr message
To set it to every second, change 60 into 3600 (assuming that your P1 meter will deliver every second a dataframe)
Thanks for your feedback! I completely misunderstood the way of coding and thought it was a fixed constant that would hold for all messages. Now I understand! Thanks a lot!
Hi all,
I am trying to increase the frequency of the MQTT messages in oder to try to get 1 meter reading per second to HA. When I change the default value of 7 in dsmr50.py to another value, doesn't matter which value, the meter readings are not updated anymore. Only when I re-enter the value of 7, I will get a reading once every minute. What do I do wrong?
Thanks for your help!
Best,
Thomas
The text was updated successfully, but these errors were encountered: