EnergyHive Meters (Efergy, etc) plugin Request

Python and python framework

Moderator: leecollings

Post Reply
korniza
Posts: 157
Joined: Thursday 27 August 2015 18:12
Target OS: Raspberry Pi / ODroid
Domoticz version: V3.6028
Location: Greece
Contact:

EnergyHive Meters (Efergy, etc) plugin Request

Post by korniza »

Hi all,
I was looking a way to move a script I have for getting value of power usage to a plugin structure. The documentation of API can be found on the following link

Code: Select all

http://napi.hbcontent.com/document/index.php
I use the following format of url to call API

Code: Select all

http://www.energyhive.com/mobile_proxy/getInstant?token=fLyqemtcxX1ks2AlppzErn3bwZOPjN5t
and the result looks like this

Code: Select all

{"age":2,"last_reading_time":1486275040000,"reading":510.485}
I try to find a way to use Domoticz.Send for querying API. Any help?
>>>> Google Home <<<<<
SBC: Odroid XU4 * Raspberry Pi2 * banana Pi v1
Peripherals: rfxtrx433E, aeon z-stick gen5, bluetooth dongles
Extended Software packages: Xeoma (video NVR), FHEM (extra home automation software)
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest