waleedelmandouh Posted April 20, 2018 Posted April 20, 2018 I'm trying to add the ability to get my ISY status from the portal to one of my windows forms software. I know there is an API for REST interface https://wiki.universal-devices.com/index.php?title=ISY_Developers:API:REST_Interface and another API called soup https://wiki.universal-devices.com/index.php?title=ISY_Developers:API:Soap that has this command GetCurrentSystemStatus (string SID) The problem it shows no syntax on actually how to call the REST command or how to point it to the ISY portal. the examples only show the response to the REST calls. I would probably also need a way to set the API in the code and an API key. Any idea how to get that? Any suggestions will be of great help.
Michel Kohanim Posted April 22, 2018 Posted April 22, 2018 @waleedelmandouh, GetCurrenetSystemStatus publishes the status to subscribers. Unless you want to subscribe to ISY,1 what you need is /rest/nodes which has the status for all devices. With kind regards, michel
waleedelmandouh Posted April 22, 2018 Author Posted April 22, 2018 Michel, I don't need devices status. Only the ISY status, I need to know if it is online or offline (connected to the portal or not).
Michel Kohanim Posted April 22, 2018 Posted April 22, 2018 Hi @waleedelmandouh, Thanks. Do you want to get this from the portal or from ISY? With kind regards, Michel
waleedelmandouh Posted April 22, 2018 Author Posted April 22, 2018 From the portal as it's easier to access as Html in my v# code. But I'm open for any suggestions
Michel Kohanim Posted April 22, 2018 Posted April 22, 2018 @waleedelmandouh, What you need to use is this : https://my.isy.io/api/isys/lookup. This will give you a list of ISYs and their status for YOUR account. With kind regards, Michel 1 1
waleedelmandouh Posted April 22, 2018 Author Posted April 22, 2018 Michel, Thank you sooooo much. This did it with a simpler code than I expected. Problem solved.
Michel Kohanim Posted April 22, 2018 Posted April 22, 2018 @waleedelmandouh, my pleasure very much! Actually, I will have to thank @bmercier for developing and maintaining ISY Portal masterpiece! With kind regards, Michel 2 2
waleedelmandouh Posted April 22, 2018 Author Posted April 22, 2018 This is so true, ISY Portal is a masterpiece, it made life way more fun and easier. 1
Recommended Posts