Carlos Alfredo Diaz c98d4fa4f3 Update meshtastic-mqtt-client.py
Added node_info functionality, properties and node list window
2022-07-27 20:00:37 -03:00
2022-07-26 20:01:21 -03:00
2022-07-26 22:34:16 -03:00
2022-07-26 20:01:21 -03:00
2022-07-26 20:01:21 -03:00
2022-07-26 20:01:21 -03:00
2022-07-26 20:01:21 -03:00
2022-07-26 20:01:21 -03:00
2022-07-26 20:01:21 -03:00
2022-07-26 20:01:21 -03:00
2022-07-26 20:01:21 -03:00
2022-07-26 18:50:17 -04:00
2022-07-26 20:01:21 -03:00
2022-07-26 20:01:21 -03:00
2022-07-26 20:01:21 -03:00
2022-07-26 20:01:21 -03:00
2022-07-26 21:44:10 -04:00
2022-07-26 20:01:21 -03:00
2022-07-26 20:01:21 -03:00

meshtastic-mqtt-client

This is a simple program that accesses an MQTT server in which meshtastic routers publish messages and shows them on a gui.

The decoding of the protobuf messages is based on josh pirihi's great work here: https://github.com/joshpirihi/meshtastic-mqtt

Full page

The script requires:

python and pip to be installed on the server for linux (apt):

sudo apt install python3 python3-pip

as well as the following modules with pip:

yaml, paho-mqtt and python-daemon (which are all on ports):

sudo pip install yaml paho-mqtt pySimpleGUI protobuf

Once installed, just copy this repo (you can use git clone), complete the YAML file and rename it config.yaml in the /config/ folder, make the script executable and run it.There's an example config file (config - example.yaml), you can directly modify and rename it config.yaml. It must contain:

An MQTT configuration with IP, user, password, otherwise it will run until:

MQTT:
    MQTT_ip: MQTT BROKER IP
    MQTT_USER: 'MQTT user'
    MQTT_PW: 'MQTTPASSWORD'

Your Meshtastic configuration, basically channel id, client id and gateway id:

MESHTASTIC:
    CHANNEL_ID: 'ShortFast' # the name of your channel
    CLIENT_ID: '12345678' #the id for your program to use
    GATEWAY_ID: '!12345678' # Your gateway's id

And you're set.

Description
No description provided
Readme BSD-3-Clause 98 KiB
Languages
Python 100%