Monday at 10:25 PM1 day I am trying without luck to subscribe to EISY events using an Arduino program. I am trying to follow the SDK manuals examples, but I am apparently doing something wrong such that all attempts to do a rest/subscribe fail with either an error 400 or 401.Attached is a screenshot of a Wireshark capture of Postman trying to connect to the EISY. Any idea of what I am doing wrong? I tried both port 80 and 8080. I want to get things working on Postman before I commit to coding the Arduino REST subscription/event handling.Can someone send me Postman setup params that can launch a subscription session on EISY?Note that I can successfully poll nodes on the EISY using the same credentials and REST, but this causes home automation reliability issues when I poll the EISY too frequently. There will be 3 Arduino systems connected to my ISY, so that is a lot of polling.My Arduino project retrieves thermostat mode/setpoint settings from the EISY and forms binary Infrared signals that it sends to the mini-split air conditioning units in my workshop. They have no human interface other than handheld infrared remote controls.
Monday at 10:40 PM1 day 401 = auth error; did you take a look here?Eisy:User Guide - Universal Devices, Inc. WikiI don't have an eisy - i'm stuck on Polisy but from what I understand the eisy-ui changes things up a bit....assuming you did the upgrade of course.
15 hours ago15 hr Author Yes, I know that a 401 error means there was a failure to authorize. The problem is that I used the same basic authorization on my EISY polling software as I am doing with the attempted REST subscription. Polling works, subscribing to EISY events does not work using the same auth code.Once I get past the auth problem I need an example of subscribing to EISY events using REST. The EISY documentation is not too helpful for this.
Create an account or sign in to comment