geoffwhittington / meshtastic-bridge

MIT License
30 stars 6 forks source link

version mismatch #8

Open ulrichard opened 9 months ago

ulrichard commented 9 months ago

After upgrading the firmware of the t-beam to v2.2.13 I get the following error:

richi@supermicro:~$ docker  run --rm --network host -v /etc/meshtastic-bridge/config.yaml:/code/config.yaml  gwhittington/meshtastic-bridge:latest
DEBUG:meshtastic.bridge:Connecting to 192.168.2.128 ...
Traceback (most recent call last):
  File "./main.py", line 100, in <module>
DEBUG:meshtastic.bridge:Connecting to 192.168.2.128 ...
    devices[device["name"]] = CustomTCPInterface(
  File "./main.py", line 28, in __init__
    super(CustomTCPInterface, self).__init__(hostname)
  File "/usr/local/lib/python3.8/site-packages/meshtastic/tcp_interface.py", line 33, in __init__
    StreamInterface.__init__(self, debugOut=debugOut, noProto=noProto,
  File "/usr/local/lib/python3.8/site-packages/meshtastic/stream_interface.py", line 50, in __init__
    self.connect()
  File "/usr/local/lib/python3.8/site-packages/meshtastic/stream_interface.py", line 74, in connect
    self._waitConnected()
  File "/usr/local/lib/python3.8/site-packages/meshtastic/mesh_interface.py", line 414, in _waitConnected
    raise self.failure
Exception: This version of meshtastic-python requires device firmware version 1.2 or later. For more information see https://tinyurl.com/5bjsxu32

I assume this could be fixed by upgrading the version of the meshtastic library. Looking at Dockerhub, the image was last updated a year ago.