[HELP]Modbus_serial cannot configure multiple devices.
Describe the issue Create description about your issue, and your actions to solve it. Modbus_serial cannot configure multiple devices.Currently, only one device ID can be configured.How to solve the problem that we need to connect multiple devices on one interface? Looking forward to your reply.
Configuration (Attach your configuration file) Notate: Remove Access token from file if you want to attach a tb_gateway.yaml
Connector name (If you need help with some connector/converter): [e.g. MQTT Connector]
Error traceback (If it was raised):
'deviceName'
Traceback (most recent call last):
File "<input>", line 2, in <module>
KeyError: 'deviceName'
Versions (please complete the following information):
- OS: [e.g. Ubuntu 20.04]
- Thingsboard IoT Gateway version [e.g. 3.4.6]
- Python version[e.g. 3.9]
I don't want to do it manually, Is there any API endpoint to configure new device?
Is there any API endpoint to configure new device?
Ideally I would like to know this too. I would like to just be able to attach modbus devices be it Serial or TCP, and be able to configure them without needing to deploy a new configuration via docker.
On the main thingsboard server, I would either send an RPC to create a new device or be able to just send an RPC with the appropriate parameters, such as mdevice address and register address.
Hi,
This issue was in previous versions of the gateway, please try the latest one, this issue should be fixed there.
Feel free to open a new issue if you discover some misbehaving.