Connecting sensed data from raspberry pi to openremote

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.

1 Like

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

1 Like

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.

1 Like