Has anyone written smartapps that write device events to a messaging protocol server?


(John Thomas) #1

Has anyone written smartapps that log smartthings device events (such as motion detected from a motion sensor) to a messaging queue like RabbitMQ or a mqtt broker? Is this possible with the httpPost and httpPostJson methods available from the smartthings ide?


(Convinced ST will never be unbroken…) #2

I think this is more a question for the folks that support the systems you are wanting to communicate with. The short answer is that if they support adding items to their queue via an http “get” or “post” than its possible.


(Matt Martz) #3

You may need an intermediary server such as http://nodered.org/ … do an http get/post whatever to that on your server machine and then have node red translate it to whatever service you need