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.10.tar.gz
(23.0 kB
view details)
Built Distribution
File details
Details for the file meshtastic2hass-1.0.10.tar.gz
.
File metadata
- Download URL: meshtastic2hass-1.0.10.tar.gz
- Upload date:
- Size: 23.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.19
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5dbba24a5c23d3aeeb1ce0ee158e6b98d862ad770c612283fd92e8d50c017127 |
|
MD5 | 1fdc44739b809f144288ffa04181c7a8 |
|
BLAKE2b-256 | dfa4ac6df70859c4e93d5f0c1dc38a4f297f836acfd911a6cf4cc5c95ce1467c |
File details
Details for the file meshtastic2hass-1.0.10-py3-none-any.whl
.
File metadata
- Download URL: meshtastic2hass-1.0.10-py3-none-any.whl
- Upload date:
- Size: 21.6 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 | b323c4a4042f9a9daf9eb4416aeb0dbf288f8934d9c7478ad1ca1c56559f41be |
|
MD5 | a616c1958d22bb8c94970c535739e792 |
|
BLAKE2b-256 | 870b08b97a89b37c6f3c6ee341d22cd22b5f024c6539927ffa0cb911100d11fd |