Files
cantabile-ha-addons/cantabile_modbus/config.yaml
T

45 lines
1.5 KiB
YAML

# Copyright © 2026 Setti Solutions S.R.L, www.setti.md. All rights reserved.
# Cantabile's Modbus bridge as a Home Assistant add-on: the Hub's bridge
# (src/modbus-bridge) with its device profiles (src/profiles), for a
# Home Assistant that isn't a Cantabile Hub. Devices come from the options;
# the page (ingress) shows them and each control's protection.
name: Cantabile Modbus bridge
version: "0.1.676"
slug: cantabile_modbus
description: Reads inverters, meters, relays and circuits by Cantabile's device profiles (Modbus, or Home Assistant's own entities) and shows them in Home Assistant, each control with its protection.
url: https://cantabile.cloud
arch: [amd64]
image: git.setti.solutions/daniel/cantabile-ha-modbus-{arch}
stage: experimental
startup: application
boot: auto
services:
- mqtt:need
# Devices read from Home Assistant's own entities (SONOFF SPM through
# SonoffLAN): their states, and switch.turn_on/off after the protection check.
homeassistant_api: true
ingress: true
ingress_port: 8098
panel_icon: mdi:solar-power-variant
panel_title: Cantabile devices
panel_admin: true
# The simulator's traces (/share/cantabile/trace-<profile>.json).
map:
- type: share
read_only: true
options:
devices: []
simulate: false
schema:
devices:
- profile: str
name: str
host: str?
port: "int(1,65535)?"
unit_id: "int(0,247)?"
device: str?
poll_s: "int(10,3600)?"
read_only: bool?
simulate: bool?
simulate: bool