set timestamp on update
Posted: Sunday 26 May 2019 10:48
hi I am currently woring on a plugin, which gets information from the internet (api.luchtmeetnet.nl). The sensors are updated on that service every hour and sometimes they are an hour behind or of the hook because of calibration.
I got the information in JSON layout and I am able to get the closest station based on lat,lon, but I would like to take over the timestamp in the json in domoticz. I checked the wiki, but it can find it over there. Is it correct that it need to be added or changed on sqlite level?
Any directions would be appreciated.
I got the information in JSON layout and I am able to get the closest station based on lat,lon, but I would like to take over the timestamp in the json in domoticz. I checked the wiki, but it can find it over there. Is it correct that it need to be added or changed on sqlite level?
Any directions would be appreciated.