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
14224
questions
16879
answers
27761
comments
54407
members
Most popular tags
rut955
rut240
rut950
rutx11
rms
vpn
to
wifi
openvpn
not
sms
trb140
firmware
connection
-
ipsec
on
rutx12
rutx09
modbus
RUT955 Data to server is not sending data
0
votes
233
views
1
comments
asked
Sep 20, 2022
by
rkorczykowski
We are attempting to do a trivial proof of concept where the RUT955 serves as a modbus master and reads from a slave. We have configured the modbus master correctly and are able to use the modbus_tcp_test feature to query values.
We have configured the data to server functionality to send these values to a local http server on the same subnet. There is no data being send from the RUT to the server.
We have done the following things:
Confirmed the target http server is accessible via curl from the CLI
Confirmed that the modbus_tcp_master service is running and appears to be storing the modbus data in some database (we cant find the database)
Noticed that modbus_data_sender service does not appear to be running via ps
Attempted to start the modbus_data_sender directly and got the following messages: "skipping: not enabled ... skipping: empty json spec"
Noticed in the troubleshooting log that the modbus_data_sender exited and is not running
Downgraded to factory, 0.07.00 and other firmware versions.
What are we missing here?
rut955
modbus-data-to-server
Please
log in
or
register
to add a comment.
Please
log in
or
register
to answer this question.
1
Answer
0
votes
answered
Sep 20, 2022
by
PauliusRug
Hello,
You have not entered the JSON string in the Data to server configuration. The value seen is just a placeholder.
Try adding this JSON format to the configuration:
{"TS" : "%t", "S name" : "%n", "R name" : "%r", "data" : %a}
Best answer
commented
Sep 20, 2022
by
rkorczykowski
That did it.
Some feedback:
1) The interface makes that look like the value in the field is an actual default value and not a empty value
2) The interface rejects a blank "connection url" but does not reject a blank format so it suggests its not required
3) There are no error logs that showed the failure of the modus_data_sender was due to misconfiguration
thanks
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