e6ade6cf87
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
55 lines
1.3 KiB
YAML
55 lines
1.3 KiB
YAML
name: Meshtastic Sensor Broadcaster
|
|
version: "1.0.0"
|
|
slug: meshtastic_broadcaster
|
|
description: Periodically broadcast Home Assistant sensor values over a Meshtastic mesh
|
|
url: https://git.revwal.de/oliver/ha-meshtastic-addon
|
|
arch:
|
|
- aarch64
|
|
- amd64
|
|
- armv7
|
|
- armhf
|
|
- i386
|
|
init: false
|
|
# Lets the add-on call the HA core API via the Supervisor proxy (no token needed)
|
|
homeassistant_api: true
|
|
# Expose serial devices (USB node). Harmless if you use TCP.
|
|
uart: true
|
|
usb: true
|
|
options:
|
|
connection: tcp
|
|
host: 192.168.1.50
|
|
serial_port: /dev/ttyUSB0
|
|
channel_index: 0
|
|
interval: 900
|
|
prefix: "🏠"
|
|
sensors:
|
|
- label: T1
|
|
entity_id: sensor.temperature_01_temperature
|
|
unit: "°C"
|
|
- label: T2
|
|
entity_id: sensor.temperature_02_temperature
|
|
unit: "°C"
|
|
- label: T3
|
|
entity_id: sensor.temperature_03_temperature
|
|
unit: "°C"
|
|
- label: H1
|
|
entity_id: sensor.temperature_01_humidity
|
|
unit: "%"
|
|
- label: H2
|
|
entity_id: sensor.temperature_02_humidity
|
|
unit: "%"
|
|
- label: H3
|
|
entity_id: sensor.temperature_03_humidity
|
|
unit: "%"
|
|
schema:
|
|
connection: list(tcp|serial)
|
|
host: str?
|
|
serial_port: str?
|
|
channel_index: int(0,7)
|
|
interval: int(10,)
|
|
prefix: str?
|
|
sensors:
|
|
- label: str
|
|
entity_id: str
|
|
unit: str?
|