Announcement

Collapse
No announcement yet.

Using Web service to create virtual device?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Using Web service to create virtual device?

    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

    #2
    Okay.... Where does the REST API get used? Does it communicate with the hub? Sorry for the late reply on this, I don't get notifications on responses, even though I subscribed to this thread.

    Thanks.

    Comment

    Working...
    X