This page last changed on Aug 18, 2013 by fulviospelta.

Hi all
I'm using an arduino (mega) to collect data from various sensors (on/off and level such as temperature using 1-wire protocol).

All data are accessible from network due a little sketch that answer to simple REST request sending the sensors value. Example:
GET http://<host>/d/1 (call to ask for the digital pin number 1)
json returned: { "pin" :{"value":"0"}}

This technique works well with openremote command with http protocol, but I have to define a command for each sensors and this create a lot of calls to arduino and a lot of network traffic.

Is it possibile in openremote to use http protocol and json output to get multiple sensors values or other technique in order to reduce calls and traffic ?

Not for HTTP at the moment.
There is a solution for shellexe command.
Here are some infos:

Posted by mredeker at Aug 19, 2013 08:29
Document generated by Confluence on Jun 05, 2016 09:41