Skip to content
cth35 edited this page Nov 26, 2019 · 3 revisions

Welcome to the tydom_python wiki!

List of commands

GET /configs/gateway/geoloc

This give geolocation information
Syntax of tydom response
{"longitude": XXXX,"latitude": YYYY,"timezone": 60,"summerOffset": "ON"}

GET /devices/meta

TODO

GET /devices/cmeta

TODO

GET /devices/data

TODO

GET /scenarios/file

This will return the scenarii that are stored in the Tydom.
Syntax of tydom response
{"scn":[{"epAct":[{"devId":12,"epId":12,"state":[{"name":"position","value":"0"}]}],"id":15}]}

PUT /scenarios/<scn_id>

This will run the scenario referenced with scn_id returned in previous command

POST /refresh/all

TODO