wanlixing

Results 7 comments of wanlixing

> This issue relates to the session timeout parameter on ThingsBoard, it was fixed in the ThingsBoard 3.7 version. Please try to use it, but don't forget to enable overwrite...

Thanks for your quick reply~ How long will take your guys to finish this feature? If this feature will takes several weeks,I will make a simple patch by my own,(*'▽')

I will try to do this, thanks for help ('ω')ノ

> 我也遇到了这个问题,请问解决了吗? 没有,直接在excel里生成得了

> > > 我也遇到了这个问题,请问解决了吗? > > > > > > 没有,直接在excel里生成得了 > > 在2.X版本时候, ![image](https://user-images.githubusercontent.com/9210040/259947245-e62f1e7c-8741-472f-b236-388c7285cd7c.png) 如果设备同一个ip,可以配置一次,通过devices中的unitId来区分不同的设备,这样只占用了一个连接,为什么到3.X版本不支持这样配置了 ![image](https://user-images.githubusercontent.com/9210040/259947299-0b53f270-87d6-49d2-9fe2-718e99727dfe.png) ,每一个modbus设备都需要配置一次IP,这样很不友好,比如我们的设备最大只支持10个tcp连接数量,这样在3.x中,就无法达到一个ip地址连接,控制多个modbus设备了,您有什么更好的建议吗?? 我的设备只支持1个连接,所以后一个会踢走前一个的连接。但是可以看下源码,是放在queue中处理的,所以除了每次都要建立新的连接外没啥问题

可以在这里加了个变量 ![image](https://github.com/thingsboard/thingsboard-gateway/assets/20569096/640132da-039d-4650-845a-735c0b577b67) 然后在这里存取 ![image](https://github.com/thingsboard/thingsboard-gateway/assets/20569096/4a9dc955-ddd7-41d4-95df-3788a63ec7f4)

what file is this?->thingsboard_gateway/connectors/modbus/modbus_connector.py what kind variable can i add there?->I add an dictionary can you elaborate?->add a dictionary to cache ModbusTcpClient to avoid create a new ModbusTcpClient every time