Getting there, I had to almost re-write the plugin.
Also, I'm not sure about what devices to create in HS? Even if Remootio has two inputs and two outputs - from the API point of view it's still a single device (except for Relay 2 output).
So it looks like just one device is sufficient? In HS3 version I have two devices, but they have pretty much same functionality.
The only issue was with displaying the status, i.e. root device may display the question mark when WiFi connection is lost, but the child device may still display open/close status.
Not sure.
Also, functionality depends a lot on Remootio configuration, i.e. if you have the 'close' sensor connected. In this case if you click "Close" button in HS, but Remootio still reports "open" status - I set HD device state to "Closing" until I receive the notification from the sensor, then I change the status to "Closed". I can't do this if there's no sensor connected.
And the problem is - Remootio API doesn't provide the configuration info, I asked them to add more info in the API, and they agreed, but how long it will take, who knows?
What's your view on what devices to create in HS? I.e. Root, Input, Output?
Also, I'm not sure about what devices to create in HS? Even if Remootio has two inputs and two outputs - from the API point of view it's still a single device (except for Relay 2 output).
So it looks like just one device is sufficient? In HS3 version I have two devices, but they have pretty much same functionality.
The only issue was with displaying the status, i.e. root device may display the question mark when WiFi connection is lost, but the child device may still display open/close status.
Not sure.
Also, functionality depends a lot on Remootio configuration, i.e. if you have the 'close' sensor connected. In this case if you click "Close" button in HS, but Remootio still reports "open" status - I set HD device state to "Closing" until I receive the notification from the sensor, then I change the status to "Closed". I can't do this if there's no sensor connected.
And the problem is - Remootio API doesn't provide the configuration info, I asked them to add more info in the API, and they agreed, but how long it will take, who knows?
What's your view on what devices to create in HS? I.e. Root, Input, Output?
Comment