I am new with Openremote and i dont know how to use Websocket Agent. We have right now all device connecting over MQTT to our EMQX Broker. Now i Enabled on Emqx the websocket. Over the MQTT Explorer i can connect without problem.
ws://111.11.111.111:8083/mqtt
user: user
Password: password
Before to use MQTT Service on OpenRemote i like to test over Websocket but i dont have any ide how to connect to my Websocket.
I create a websocket Agent
Hi,
Try adding the attribute “Username password”. Create the attributes to get the data, add them the agent link, add message match predicate and the subscription.
e.g.:
Thank you for your advise. This is exactly what i am looking for. I was not ever that with Openremote you can connect with external MQTT Broker.
Rich I mention on my email i am new on Openremote. If i like to connect over an MQTT agent to external Broker how i do this if my Broker have credentials (User:Password) to connect.
Configuration of agents is done via the attributes of the agent; to add a username and password to an MQTT agent you need modify your agent in the asset viewer to add the well known attribute called Username password:
Click modify in the top right (if you’re already in edit mode then you will already see the save/view buttons)