I was studying the REST API standard and see that there is a Device collection that can be read, modified or created. This would allow me to view the state of a switch or a motion detector I suppose.
But here is my question. Let's say I had a Raspberry Pi or Arduino that has 10 digital inputs. Could I create 10 devices through the REST API and then send modification calls each time they change state, and using this to activate events and such on the hub?
Thanks.
Jeff
But here is my question. Let's say I had a Raspberry Pi or Arduino that has 10 digital inputs. Could I create 10 devices through the REST API and then send modification calls each time they change state, and using this to activate events and such on the hub?
Thanks.
Jeff
Comment