Hi All.
My OpenRemote is up and running on an Ubuntu server.
I do have a question regarding the gateway setup.
What is the correct way to connect the gateway to OpenRemote?
Currently, I’m running them on the same Wi-Fi network.
Should the gateway connect to an MQTT agent, and then should I also create a gateway asset?
I have set up an MQTT agent and the gateway, and both show that they are “connected.”
I’ve also tried setting up only a gateway asset and connecting it to the gateway.
My problem is that no matter how many different ways I tried to connect the gateway to open remote, I don’t see any data coming through, even with all the attributes entered.
Connecting the gateway to Chripstack or The Things network data transmission is good…
PS. The service users are used as per the wiki’s
Thanks
Good morning @Luano ,
The Gateway Asset is a special asset, that is used for our Gateway functionality.
If you are trying to connect the gateway to OpenRemote, I’m assuming that the device does not have an MQTT broker (server) running on it. Thus, you’d use our MQTT broker to connect the device to it, and then start retrieving data through our MQTT routes.
If the device does have an MQTT broker, then you use the agent to retrieve data from the device’s broker, along with attribute links to link data coming from the device to a given attribute.
Best of luck!