Closed disaster123 closed 1 year ago
Maybe the pulse itself can't handle that. You should turn on the debug mode to compare which data is transmitted if the data is drawn every 15 seconds and if it's drawn every second.
That's also my guess. From your log, it looks like every 2nd result is empty. You could try it with curl in a loop to see if result is the same. If so, use */2 as trigger.
the following works fine:
while true; do time wget --user admin --password 'XXX-XXX' -O /dev/null 'http://tibber-bridge.fritz.box/data.json?node_id=1'; sleep 1; done
i always get some kind of binary data
Ok it‘s not the interval - I generally have seconds or minutes where data is blank… / empty.
Strange. Can you increase the log level to trace to check if the http lib gives any errors?
mhm ok the http request is sometimes just empty only a blank page with 0 bytes... also with wget.
A Tibber tech guy told me that they disable the webserver by default because the limited RAM of the ESP32. That also may apply if you query to frequently. Another cause could be that if you query while new data is received, the old data may not be available.
I could simply ignore empty results or log it at debug level only so that you log is not spammed too much.
I have addressed the logging with the commit above. Please let me know if this removes the errors from log. Unfortunately it will not solve our issue since it's on side of the pulse, not of this tool. To get more frequent readings, you could:
thanks. Intercepting MQTT would be an option but isn't that straight forward... regarding all the certificate stuff... not sure if i would like to got that way.
The hardware device looks interesting - but i would only buy it if it is completely assembled...
Thanks a lot for your help!
Hi,
if i set the cron to:
i'm getting the following errors and no updates to mqtt. If i set the cron to:
everything is fine.
Log output: