FOR TIPS, gUIDES & TUTORIALS

subscribe to our Youtube

GO TO YOUTUBE

14455 questions

17168 answers

28195 comments

0 members

We are migrating to our new platform at https://community.teltonika.lt. Moving forward, you can continue discussions on this new platform. This current platform will be temporarily maintained for reference purposes.
0 votes
355 views 1 comments
by anonymous

Good morning,

I think it is a general approach (and not module specific) problem. Nevertheless, I’m using a RUT955 with firmware RUT9XX_R_00.06.09.1.

I followed the guide “RUT955 Azure IoT Hub cloud connection” RUT955 Azure IoT Hub cloud connection - Teltonika Networks Wiki (teltonika-networks.com)

I can receive messages (only GSM values) in the Azure IoT hub and view the messages in the device explorer twin. My problem is: How to setup the RUT955 module to:

  1. Send a request from Azure IoT hub to the RUT955
  2. This request is forwarded via RS485
  3. The device connected to the RS485 interface replies
  4. The reply is forwarded to the Azure IoT hub

Is this even possible and how should I setup the different parts? I assume it requires MQTT and potentially Modbus gateway to interact with the RS485 interface.

Thank you and best regards,
Tom

1 Answer

+1 vote
by anonymous

Hi Tom,

You can use MQTT gateway function to transfer Modbus data (send requests, receive responses) received from RS485 interface to MQTT message then forward to Azure IoT hub and vice versa. You can find the instructions at the following links:

https://wiki.teltonika-networks.com/view/RUT955_Modbus_(legacy_WebUI)#MQTT_Gateway

https://wiki.teltonika-networks.com/view/RUT955_Azure_IoT_Hub_cloud_connection#Setting_router_to_Forward_MQTT_messages.2Fcommands_to_Azure_IoT_Hub

Regards,

Ledong

Best answer
by anonymous
Hi Ledong,

Thank you for your great reply. It looks like I need to learn MQTT and there are plenty of resources available about it. It greatly helps to know that MQTT is the way to go.

Regards,
Tom