forked from iarv/meshtastic-mqtt-client
Update README.md
This commit is contained in:
committed by
GitHub
parent
71bc29441a
commit
965e711975
35
README.md
35
README.md
@@ -7,3 +7,38 @@ https://github.com/joshpirihi/meshtastic-mqtt
|
||||
|
||||
|
||||

|
||||
|
||||
|
||||
The script requires:
|
||||
|
||||
python and pip to be installed on the server
|
||||
for linux (apt):
|
||||
```
|
||||
sudo apt install python3 ipmitool 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.
|
||||
|
||||
Reference in New Issue
Block a user