Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mavotronik/2b2t-mqtt-queue-sender
Short script sends your position in queue to MQTT broker
https://github.com/mavotronik/2b2t-mqtt-queue-sender
2b2t mqtt python3
Last synced: 4 days ago
JSON representation
Short script sends your position in queue to MQTT broker
- Host: GitHub
- URL: https://github.com/mavotronik/2b2t-mqtt-queue-sender
- Owner: mavotronik
- License: mit
- Created: 2024-07-08T16:11:29.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2024-07-08T18:03:01.000Z (4 months ago)
- Last Synced: 2024-11-04T11:03:38.764Z (4 days ago)
- Topics: 2b2t, mqtt, python3
- Language: Python
- Homepage:
- Size: 5.86 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 2B2T-MQTT-Queue-sender
Short script sends your position in queue to MQTT broker## Dependencies
```
pip3 install paho-mqtt
```## Configuration (in `main.py`)
```
log_file = 'C:/Users/YOUR_USERNAME/AppData/Roaming/.minecraft/logs/latest.log' # put here your real path of `latest.log`port = 1883 # set custom port or leave it as default
client_id = '2b2t-script'broker = 'YOUR_BROKER_IP' # put here real ip of your mqtt broker
username = 'USERNAME' # put here your broker login or leave empty if not necessary
password = 'PASSWORD' # put here your broker password or leave empty if not necessary
base_topic = '2b2t' # put here needed topic or leave it as default
```