Giter Site home page Giter Site logo

Comments (7)

volpima avatar volpima commented on June 12, 2024 1

Hi @samson0v it seems to be stable! Thankyou! I'll inform you in case of other problems..thankyou!

from thingsboard-gateway.

github-actions avatar github-actions commented on June 12, 2024

Hi @volpima.
Thank you for your interest in ThingsBoard IoT Gateway.
Your issue was registered, please wait for response from engineer.

IOTGW-190

from thingsboard-gateway.

imbeacon avatar imbeacon commented on June 12, 2024

Hi @volpima,

This issue relates to some modification of data sending, please try to use the latest version.

from thingsboard-gateway.

volpima avatar volpima commented on June 12, 2024

Hi @imbeacon thanks for your support.
Do you mean the 3.4.6 for IoT gateway?

Marco

from thingsboard-gateway.

imbeacon avatar imbeacon commented on June 12, 2024

Yes, unfortunately it sill be can unstable, we are working now with rate limits per each device created through the gateway, but it is more stable than 3.4.5

from thingsboard-gateway.

volpima avatar volpima commented on June 12, 2024

Hi @imbeacon any news regarding this issue? Unfortunately, this solution is really unstable; the problem reoccurs every few hours, and the MQTT communication between the IoT Gateway and Thingsboard Community Edition is interrupted, preventing the transmission of data from the Modbus source.
Do you have any suggestion?

I noticed this error before the disconnection. Is there a way to automatically restart the service if an error occurs?

Apr 15 17:46:06 ubuntu python3[947]: Exception in thread Sending thread: Apr 15 17:46:06 ubuntu python3[947]: Traceback (most recent call last): Apr 15 17:46:06 ubuntu python3[947]: File "/usr/lib/python3.10/threading.py", line 1016, in _bootstrap_inner Apr 15 17:46:06 ubuntu python3[947]: self.run() Apr 15 17:46:06 ubuntu python3[947]: File "/usr/lib/python3.10/threading.py", line 953, in run Apr 15 17:46:06 ubuntu python3[947]: self._target(*self._args, **self._kwargs) Apr 15 17:46:06 ubuntu python3[947]: File "/var/lib/thingsboard_gateway/.local/lib/python3.10/site-packages/tb_device_mqtt.py", line 624, in __sending_thread_main Apr 15 17:46:06 ubuntu python3[947]: self._on_connect(self._client, None, None, 0) Apr 15 17:46:06 ubuntu python3[947]: File "/var/lib/thingsboard_gateway/.local/lib/python3.10/site-packages/tb_gateway_mqtt.py", line 54, in _on_connect Apr 15 17:46:06 ubuntu python3[947]: gateway_attributes_topic_sub_id = int(self._client.subscribe(GATEWAY_ATTRIBUTES_TOPIC, qos=1)[1]) Apr 15 17:46:06 ubuntu python3[947]: TypeError: int() argument must be a string, a bytes-like object or a real number, not 'NoneType'

from thingsboard-gateway.

samson0v avatar samson0v commented on June 12, 2024

Hi @volpima,
Try to use the version from the master branch and let us know the results.

from thingsboard-gateway.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.