dsacchet / domot-api

Little REST API to work with my home

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

domot-api

Little REST API to work with my home

Example :

# curl -H "Content-Type: application/json" -X PUT http://localhost/maison/chaudiere/consigne/jour -d '{ "temperature":"21"}'
{ "route" : "putMaisonChaudiereConsigneJour", "returnCode": "0", "result" : "Requested setting : 21.0" }
# curl http://localhost/maison/chaudiere/consigne/jour
{ "route" : "getMaisonChaudiereConsigneJour", "returnCode": "0", "result" : "21.0" }
# curl -H "Content-Type: application/json" -X PUT http://kwazii/maison/vmc/mode -d '{ "mode":"low"}'
{ "route" : "putMaisonVmcMode", "returnCode": "0", "result" : "Current setting : low" }

About

Little REST API to work with my home

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:Python 66.2%Language:PHP 33.8%