This is the forum archive of Homey. For more information about Homey, visit the Official Homey website.
The Homey Community has been moved to https://community.athom.com.
This forum is now read-only for archive purposes.
The Homey Community has been moved to https://community.athom.com.
This forum is now read-only for archive purposes.
REST interface
Michael
Member
in Developers
Will Homey have a REST interface?
Comments
Talking to a device might solve a lot of my needs, but it's still a big step to take for a lot of persons I think .
One of the calls returns the amount of power the system generates and/or return to the grid (based on SmartMeter figures).
So in Homey i can create an Device that polls my WSL to te how much the system generates and/or return to the grid and with the FlowEditor i can create something like;
if PowerReturnedToGrid > 500 then startHeatpump() else stopHeatpump() end
And the device hold the non volatile value for later on?
when ( PowerReturnedToGrid value has changed )
and ( PowerReturnedToGrid value > 500 AND PowerReturnedToGrid is on)
then turn PowerReturnedToGrid off
same for off
There is a Hive app, but it's VERY lacking - i.e only does the thermostat but they have a whole ecosystem now.
I found that Hive have a REST API (http://www.smartofthehome.com/2016/05/hive-rest-api-v6/) so I'm hoping to be able to use this from Homey to turn on my Hive bulbs...
Is this possible? What app or method do I need to get started?
Thanks!
I've taken a look and I'm a little bit confused. I need to post a login - so if I do that, do I need to set a timer on the second action? Or will it only run the second card on a successful completion of the first?