46 lines
1.0 KiB
YAML
46 lines
1.0 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://github.com/youruser/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: T
|
|
entity_id: sensor.outdoor_temperature
|
|
unit: "°C"
|
|
- label: H
|
|
entity_id: sensor.outdoor_humidity
|
|
unit: "%"
|
|
- label: P
|
|
entity_id: sensor.barometric_pressure
|
|
unit: "hPa"
|
|
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?
|