daniel-jong / esp8266_p1meter

DSMR5 P1 meter to mqtt using esp8266
GNU General Public License v3.0
145 stars 54 forks source link

Updaterate of smartmeter #37

Open naeblizz opened 10 months ago

naeblizz commented 10 months ago

Hi , just wan't to start to say that this code works great for me with an esp8266. Big thanks to you. This is not really an issue but I want to know if its possible to get some values updated more frequently ? Like the "sensors/power/p1meter/actual_consumption". All my values updates in an interwall of 70seconds . The han port sends data every 10 sec if I have understood it right? . Im not so good with arduino code so maybe you know if its possible to get some values to update more frequently. Big thanks again

daniel-jong commented 9 months ago

Hi, In the file settings.h you will see #define UPDATE_INTERVAL 60000 // 1 minute on line 6.

If you change this to #define UPDATE_INTERVAL 10000 // 10 sec you should get updates around every 10 seconds, depending on your meter.

naeblizz commented 9 months ago

Perfect , will try that . tnx