[SOLVED] HTTP GET Command to Control Device via REST API

Please read also this topic.

This will be your complete solution.

Btw, there are other commands for HomePilot, too:

http://HomePilotIP/devices/deviceID

PUT with content type :application/json

SWITCH:

{"name":"TURN_ON_CMD"} 
{"name":"TURN_OFF_CMD"} 

THERMOSTAT:

{"name":"TARGET_TEMPERATURE_CFG","value":16}

LIST OF DEVICES:

http://HomePilotIP/v4/devices

DEVICE STATE:

GET
http://HomePilotIP/devices/deviceID
.
.

EDIT: @anon56373025

For your rollershutter the following commands also should work:

PUT

{"name":"POS_UP_CMD"}
{"name":"POS_DOWN_CMD"}
{"name":"STOP_CMD"}
1 Like