thingsboard / thingsboard-gateway

Open-source IoT Gateway - integrates devices connected to legacy and third-party systems with ThingsBoard IoT Platform using Modbus, CAN bus, BACnet, BLE, OPC-UA, MQTT, ODBC and REST protocols
https://thingsboard.io/docs/iot-gateway/what-is-iot-gateway/
Apache License 2.0
1.72k stars 829 forks source link

[HELP]Modbus_serial cannot configure multiple devices. #1514

Open ZhaoLinl opened 3 weeks ago

ZhaoLinl commented 3 weeks ago

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):

ZhaoLinl commented 3 weeks ago

image image

KashifAhmd commented 2 weeks ago

I don't want to do it manually, Is there any API endpoint to configure new device?