Sending data from Openremote via Websocket Agent

Hi!

I set up a websocket agent in Openremote and I can connect to my local server and receive data, but I am not sure how to send data from the websocket agent down to my server?

Please can anyone assist?

Any help is appreciated!

Thanks:)

1 Like

Hello there,
To send data from the WebSocket agent in Openremote to your server what you can do is try following these steps:

  1. Ensure your WebSocket agent is connected to the server.
  2. Define the message format.
  3. Use Openremote’s method to send data.
  4. Handle the data on your server.
  5. Test to confirm functionality.
    If you need further help let me know.