WIKI
ABOUT
Login
Remember
Register
FOR TIPS, gUIDES & TUTORIALS
subscribe to our Youtube
GO TO YOUTUBE
Recent
Questions
Popular
Unanswered
Tags
Members
about
wiki
Search
Search
14231
questions
16882
answers
27767
comments
54444
members
Most popular tags
rut955
rut240
rut950
rutx11
rms
vpn
to
wifi
openvpn
not
sms
trb140
firmware
connection
-
ipsec
on
rutx12
rutx09
modbus
TRB145 - reading data from Modbus RTU (RS485) slaves and sending via mqtt
0
votes
553
views
1
comments
asked
Sep 7, 2020
by
deme
Hi,
is it possible to periodically (e.g. every 5 minutes) read data from Modbus RTU (RS485), format the data (e.g. to a json) and send it over mqtt?
Thanks,
Dennis
trb145
modbus-rtu
mqtt
Please
log in
or
register
to add a comment.
Please
log in
or
register
to answer this question.
1
Answer
0
votes
answered
Sep 8, 2020
by
JEROME.AG ヅ
Hello,
Regarding the scenario you want to achieve. Yes it is possible mainly you will just need to configure Modbus Serial Master first where and configure Modbus requests to specific registers you want to get when finished you can configure Modbus Data Sender. Just specify instead of HTTP(S) you will use MQTT.
You can refer to this links for more information:
https://wiki.teltonika-networks.com/view/TRB145_Data_to_Server
https://wiki.teltonika-networks.com/view/TRB145_Modbus#Modbus_Serial_Master
If you have any further clarifications you can inform me :)
Hope it helps
Regards,
Jerome
commented
Apr 20, 2021
by
Barbara
unfortunately this method sends all the separate modbus requests as a single mqtt value. how do you configure the units to send each modbus request as a separate mqtt value?
Please
log in
or
register
to add a comment.
We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.
Ok
Read more