A Python client that connects Meshtastic radios via MQTT to Home Assistant (Hass).
Project description
Meshtastic to Home Assistant (Hass)
A Python client for use with Meshtastic devices. The client connects to a mesh radio via USB serial port. Telemetry and position messages from the mesh are published to an MQTT broker and further into Home Assistant. All MQTT entities will by auto discovered in Home Assistant.
Usage
usage: meshtastic2hass [-h] --dev DEV --mqtt-host MQTT_HOST [--mqtt-port MQTT_PORT] --mqtt-user MQTT_USER --mqtt-password
MQTT_PASSWORD [--mqtt-topic-prefix MQTT_TOPIC_PREFIX] [--version]
Connects Meshtastic radios via MQTT to Home Assistant (Hass).
options:
-h, --help show this help message and exit
--config CONFIG Path to configuration file in TOML format.
--dev DEV The device the Meshtastic device is connected to, i.e. /dev/ttyUSB0
--mqtt-host MQTT_HOST
The MQTT broker host name or IP.
--mqtt-port MQTT_PORT
The MQTT broker port.
--mqtt-user MQTT_USER
The MQTT broker user name.
--mqtt-password MQTT_PASSWORD
The MQTT broker password.
--mqtt-topic-prefix MQTT_TOPIC_PREFIX
The MQTT topic prefix.
--version show program's version number and exit
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
meshtastic2hass-1.0.9.tar.gz
(22.8 kB
view details)
Built Distribution
File details
Details for the file meshtastic2hass-1.0.9.tar.gz
.
File metadata
- Download URL: meshtastic2hass-1.0.9.tar.gz
- Upload date:
- Size: 22.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.19
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4a9f78bf42c7d4adefc6b154a508d97408f4d7411f237ca58464482b2da7b72f |
|
MD5 | 4d734bd64116b42c3cadeac6caa7361e |
|
BLAKE2b-256 | 3b53e1d57959bacfd3490a6fa7dc5fcaa3fe2e21307c41e2ae61594222125830 |
File details
Details for the file meshtastic2hass-1.0.9-py3-none-any.whl
.
File metadata
- Download URL: meshtastic2hass-1.0.9-py3-none-any.whl
- Upload date:
- Size: 21.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.19
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 73bd2e4d60cee7a4f5219e5ed2193e16ec43dd889829927a0c99288f98c0967d |
|
MD5 | 78a9bd2df44c8721c715c41a69c92516 |
|
BLAKE2b-256 | a025ff8ba9d5fea2bde1921dc5b56833bc7a07008e3bea42606e6ec916607db4 |