I want to connect the Sensed data from Raspberry pi to openremote. Should i use an API or HTTP/MQTT Protocol. How to connect the sensed data from hardware to the openremote.
Hi aishwaryam
It depends on the data you need to send, I’m actually using node-red to send the data to OpenRemote via MQTT.
It allows you to program with blocks, and with that I’m able to read data from serial and GPIO and send them to OpenRemote via MQTT
IS any need of API Key
Not really, but it depends on what you need. In my case i just read sensors data and send it to OpenRemote with MQTT node using https://ip-of-openremote:8883
If you are using Java or Kotlin as a programming language then there is the following library to work with raspberry
The following libraries are suitable for communicating with a via MQTT.
I wrote a client library to interact with openremote. You can use it instead of using MQTT libraries.
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.