Open indigodomo opened 8 years ago
I don't think there is an API. I had to reverse engineered the HTTP calls and port the javascript that parses the response data into C#. If you find an API, definitely let me know. Otherwise, the HTTP calls are:
/user/status.xml (see https://github.com/trentfoley/NX595Interface/blob/master/src/NX595Interface/Controllers/BaseNXController.cs line 61)
/user/zones.htm (see https://github.com/trentfoley/NX595Interface/blob/master/src/NX595Interface/Controllers/BaseNXController.cs line 111)
/user/keyfunction.cgi (see https://github.com/trentfoley/NX595Interface/blob/master/src/NX595Interface/Controllers/AlarmController.cs line 71)
/user/zonefunction.cgi (see https://github.com/trentfoley/NX595Interface/blob/master/src/NX595Interface/Controllers/ZoneController.cs line 34)
Hope this helps.
Trent
On Tue, Jul 26, 2016 at 3:09 PM, indigodomo notifications@github.com wrote:
Not really an issue, but rather a request: do you have any docs about the API for the card or did you just reverse engineer it? I'd be very interested in building a Python integration and if you have a link to the API that would be a huge help. Thanks!
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/trentfoley/NX595Interface/issues/1, or mute the thread https://github.com/notifications/unsubscribe-auth/AAIXXhwwrcI38vLY48nSdiE93eJ097F_ks5qZmldgaJpZM4JVibx .
You've done some great work and it's already been a lot of help. If it isn't too much to ask could you maybe provide some more insight into decoding the zoneStatus line, I'll admit my skills are a little rusty. Thanks for any help.
when it is in "chime", can you get the zone that last triggered the "chime"?
Not really an issue, but rather a request: do you have any docs about the API for the card or did you just reverse engineer it? I'd be very interested in building a Python integration and if you have a link to the API that would be a huge help. Thanks!