GithubHelp home page GithubHelp logo

meshtastic-bridge's People

Contributors

berticus2016 avatar geoffwhittington avatar jp-bennett avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

meshtastic-bridge's Issues

How to use?

Hello, I have a T-ECHO device without wifi, may I bridge this device connected to a serial port with a regular MQTT meshtastic server with two-way communication with other nodes?
If yes, may you provide a config example for a device connected via /dev/ttyACM0?

Send position messages from a Meshtastic tracker?

Can you provide an example that would send -all- messages from a Meshtastic device configured as a tracker to a specific MQTT topic?

How about all position messages from a specific channel?

Thank you.

-David

version mismatch

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.

nostr and python 3.8

podman start -a owntracks_meshtastic-bridge_1
Traceback (most recent call last):
File "./main.py", line 12, in
from plugins import plugins
File "/code/plugins.py", line 542, in
from nostr.relay_manager import RelayManager
File "/usr/local/lib/python3.8/site-packages/nostr/relay_manager.py", line 8, in
from .relay import Relay, RelayPolicy
File "/usr/local/lib/python3.8/site-packages/nostr/relay.py", line 10, in
class RelayPolicy:
File "/usr/local/lib/python3.8/site-packages/nostr/relay.py", line 15, in RelayPolicy
def to_json_object(self) -> dict[str, bool]:
TypeError: 'type' object is not subscriptable
exit code: 1

Was able to fix this by bumping the python package to 3.9 in the Dockerfile.

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.