Hi, I am moving to HS from DomotiGa and am in the process of learning the system.
I want to get the data from emoncms (an energy monitoring site) into HS. The value (Watts) is available via an api call...ie.
http://emoncms.org/feed/timevalue.js...xxxxx&id=13325
Which returns the pairs "{"time":1479520565,"value":"56"}".
(There are other calls incl. just the value)...see here https://emoncms.org/site/api#feed
I have some programming skills (and can google) but really do not know where to start. Can you please help me to get this running on my system?
I am sure it's simple...but I do not know where to begin?
I assume I'll need:
1: Event that calls a script every x seconds.
2: The script would then call the emon cms api for each of the energy monitored id's (ie id 13325 = overall power, id 13326 = Solar etc)
3: Parse the data
4: Update HA via For each id it would then call hs.SetDeviceString to update the HS virtual device.
Is that about right?
I found this old thread for HS 2 http://board.homeseer.com/showthread.php?t=162865 is it usable as a base?
thanks!
I want to get the data from emoncms (an energy monitoring site) into HS. The value (Watts) is available via an api call...ie.
http://emoncms.org/feed/timevalue.js...xxxxx&id=13325
Which returns the pairs "{"time":1479520565,"value":"56"}".
(There are other calls incl. just the value)...see here https://emoncms.org/site/api#feed
I have some programming skills (and can google) but really do not know where to start. Can you please help me to get this running on my system?
I am sure it's simple...but I do not know where to begin?
I assume I'll need:
1: Event that calls a script every x seconds.
2: The script would then call the emon cms api for each of the energy monitored id's (ie id 13325 = overall power, id 13326 = Solar etc)
3: Parse the data
4: Update HA via For each id it would then call hs.SetDeviceString to update the HS virtual device.
Is that about right?
I found this old thread for HS 2 http://board.homeseer.com/showthread.php?t=162865 is it usable as a base?
thanks!
Comment