im playing with ESP32(with battery and oled) & Micropython that will display (and refresh) some actual data from domoticz. Works good so far. I can display energy saved today extracted from JSON.
I would like to get actual power from json, but i can use only day range a json file is quite huge for my ESP memory
Code: Select all
/json.htm?type=graph&sensor=counter&idx=IDX&range=day Any idea how to get only last entry in JSON from domoticz (something like &range=actual) where will be only last entry....
Could be possible to make some dirty python script, but would be great to get that directly from domoticz.
Any idea, how to solve this ?