What type of "block" would I use in Octoblu to take advantage of the HTTP RESTful interface?

Posted in General by Kirk Griffes Thu Feb 04 2016 20:47:04 GMT+0000 (Coordinated Universal Time)·1·Viewed 813 times

I'm using the HTTP RESTful interface with Python and am able to connect and get the list of my devices but I cannot seem to pass messages to the "Generic Device" block I had. I noticed that the JSON response from my devices listed it as the MQTT protocol. What block should I be using if I want to send/receive messages using the HTTP RESTful interface? Sorry if this is a silly question. I'm a bit of a noob at this. Thank you!
Feb 4, 2016

Hi Kirk,

 You can pass messages to the generic device block by selecting the Generic Device thing in the designer and setting Use Incoming Messages switch to on in the Thing Inspector. Then any messages sent by the previous thing you connected will be forwarded to your device
Markdown is allowed