Send timed event

Post Reply
StephBel
Posts: 1
Joined: Monday 07 August 2017 11:24
Target OS: Raspberry Pi
Domoticz version:
Contact:

Send timed event

Post by StephBel » Monday 07 August 2017 11:38

Hello,

I can get from my electricity provider my consumption from the previous day.
I get a nice JSON with one value every 30 minutes.
I cannot see any way to send these measure to Domoticz. Is there any way (lua, batch, ...) is send timed events (in the past) to Domoticz?

Below a sample JSON for a given day.

Code: Select all

[{"conso": 2.352, "time": "00:00"}, {"conso": 1.19, "time": "00:30"}, {"conso": 0.084, "time": "01:00"}, {"conso": 0.044, "time": "01:30"}, {"conso": 0.084, "time": "02:00"}, {"conso": 0.06, "time": "02:30"}, {"conso": 0.072, "time": "03:00"}, {"conso": 0.084, "time": "03:30"}, {"conso": 0.048, "time": "04:00"}, {"conso": 0.082, "time": "04:30"}, {"conso": 0.048, "time": "05:00"}, {"conso": 0.084, "time": "05:30"}, {"conso": 0.07, "time": "06:00"}, {"conso": 0.062, "time": "06:30"}, {"conso": 0.084, "time": "07:00"}, {"conso": 0.048, "time": "07:30"}, {"conso": 0.346, "time": "08:00"}, {"conso": 0.276, "time": "08:30"}, {"conso": 0.126, "time": "09:00"}, {"conso": 0.132, "time": "09:30"}, {"conso": 0.086, "time": "10:00"}, {"conso": 0.202, "time": "10:30"}, {"conso": 0.228, "time": "11:00"}, {"conso": 0.194, "time": "11:30"}, {"conso": 0.168, "time": "12:00"}, {"conso": 0.114, "time": "12:30"}, {"conso": 0.21, "time": "13:00"}, {"conso": 0.21, "time": "13:30"}, {"conso": 0.236, "time": "14:00"}, {"conso": 0.124, "time": "14:30"}, {"conso": 0.078, "time": "15:00"}, {"conso": 0.112, "time": "15:30"}, {"conso": 0.116, "time": "16:00"}, {"conso": 0.132, "time": "16:30"}, {"conso": 0.114, "time": "17:00"}, {"conso": 0.108, "time": "17:30"}, {"conso": 0.08, "time": "18:00"}, {"conso": 0.228, "time": "18:30"}, {"conso": 0.462, "time": "19:00"}, {"conso": 0.516, "time": "19:30"}, {"conso": 0.21, "time": "20:00"}, {"conso": 0.238, "time": "20:30"}, {"conso": 0.206, "time": "21:00"}, {"conso": 0.176, "time": "21:30"}, {"conso": 0.178, "time": "22:00"}, {"conso": 0.086, "time": "22:30"}, {"conso": 0.062, "time": "23:00"}, {"conso": 2.062, "time": "23:30"}]

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest