Hi all
How difficult will it be to implement support for Frontier Silicon based radios? I found that someone has made a Python API for it.
The API is documented here.
The API is simple. You start a session, the radio will give you the ID in an XML-file. You store the ID and use this in future calls.
I’ve tested sending a HTTP call in a browser. Something like http://192.168.1.123/fsapi/SET/netRemote.sys.power?pin=1234&sid=150145722&value=1 will turn on the power.
If it wasn’t for the session ID that is likely to expire at some point, I could define a HTTP call for each function and use this a part of the automation. A better way is to make a component based on the Python API. But how can I integrate this Python API as a component in HA?
I know next to nothing about Python so any help is appreciated.
cheers,
Ketil