thingsboard-gateway icon indicating copy to clipboard operation
thingsboard-gateway copied to clipboard

gateway custom connect docs not match actual gateway 3.5.1

Open langlichong opened this issue 1 year ago • 1 comments

Describe the issue when use the gateway custom connector doc , found that the doc content not match the actual gateway version d0829fb9d848aec6a0daa8e680991bef

  • the demo in custom serial connector has errors in my case just to custom a read local file connector: as the doc says to extends the Connector class and Thread , to override methods as doc https://thingsboard.io/docs/iot-gateway/custom/#custom-connector-methods-reference , but when restart the gateway get an error 8b71eb689090f1cd078f14af3eeafb87

  • the error message metioned a method 'server_side_rpc_handler' ,but the gateway doc has no it

  • the demo 'custom serial connector' , the connector file import a log , but for 3.5.1 there is no such log but init_logger image

  • after every stop the gateway , the registration of the connector in tb_gateway.json file will be lost , what's the mechanism of the connector and the tb_gateway.json , how does the gateway work with registration of the new custom connector

image

  • my gateway installed by deb , the connector log in dashboard set to debug , but the connector.log file always empty ;

Connector name (If you need help with some connector/converter): custom connector

Versions (please complete the following information):

  • OS: [e.g. Ubuntu 22.04
  • Thingsboard IoT Gateway version 3.5.1
  • Python version 3.8

langlichong avatar Jul 18 '24 08:07 langlichong

Hi @langlichong,

Thank you for your interest in ThingsBoard IoT gateway. As I wrote in another issue, unfortunately at the moment we have an issue with configured on UI custom connectors and converters.

Customisation guide was written a while ago and it is not adjusted to the latest changes we have a point in internal roadmap, to adjust it.

imbeacon avatar Jul 30 '24 07:07 imbeacon