Created
June 5, 2018 19:43
-
-
Save karl-gustav/5936ef982d9e3c0c04b85011a38d68da to your computer and use it in GitHub Desktop.
Delete sensor data from domoticz smart home system
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
get data: | |
http://10.0.0.5/json.htm?type=graph&sensor=counter&method=1&idx=611&range=day | |
delete data: | |
http://10.0.0.5/json.htm?type=command¶m=deletedatapoint&idx=611&date=2018-06-03%2019:55:00 | |
data.result.forEach(point => delete(611, point.d)); | |
function delete(idx, date) { | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment