-
Notifications
You must be signed in to change notification settings - Fork 854
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
need Help modbus(_serial).json config #1613
Comments
will this config work the same for tcp/ip and serial |
Hi @pro100805, Your configuration looks good at first glance, I don’t see reasons why it should not work. |
thank you for your quick answer thingsboard-gateway.service - ThingsBoard Gateway Dec 11 15:10:45 test-22-04-4 python3[953]: 2024-12-11 15:10:45 - |ERROR| - [modbus_connector.py] - modbus_connector - __function_to_device - 626 - Reading failed for device Humidity_DHT function code 4 address 13 unit id 1 |
it is enough to restart the GW service and everything works stable again until we execute rpc requests (commands). |
Good afternoon, help me to understand for interaction with the device I use 16int format.
As far as I understand the following settings apply to it, for example
"timeseries": [
{
"tag": "voltage",
"type": "16int",
"functionCode": 4,
"registerCount": 1,
"address": 8
}
]
and for RPC
"rpc": [
{
"tag": "setSet_Point",
"type": "16int",
"functionCode": 6,
"objectsCount": 1,
"address": 17
},
{
"tag": "getSet_Point",
"type": "16int",
"functionCode": 4,
"objectsCount": 1,
"address": 17
}
]
the question is whether everything is correct
and the second question is there a difference in the configuration depending on what type of connection (tcp/ip or seria).
The text was updated successfully, but these errors were encountered: