Skip to content
This repository has been archived by the owner on Apr 9, 2018. It is now read-only.

Homecontrol Server: API Guide

Robert Morigi-Eades edited this page Feb 19, 2017 · 4 revisions

Server configuration requests

GET /cache/setup

Request data to get server and device configuration in json format.

GET /cache/users

Request data to get user configuration in json format.

GET /cache/tvchannels

Request data to get TV channel configuration in json format.

Data requests

GET data/device/{group_id}/{device_id}/{resource_requested}

Request data for/from a particular device as requested by the {group_id} and {device_id} variables. {resource_requested} indicates the resource requested from the device.

GET /data/info/{service}/{resource_requested}

Request data for/from a particular information service as requested by the {service} variable. {resource_requested} indicates the resource requested from the device.

Handle commands

POST /command/device/{group_id}/{device_id}

Submit commands to the server for relaying to the particular device as requested by the {group_id} and {device_id} variables.

Image requests

GET /img/{category}/{filename:re:.*\.png}

Returns image as available in the the 'img' directory.

Clone this wiki locally