60 lines
1.6 KiB
YAML
60 lines
1.6 KiB
YAML
# HAMeter configuration
|
|
# Mount this file into the container at /config/hameter.yaml
|
|
|
|
general:
|
|
# 0 = continuous (recommended for always-on server)
|
|
sleep_for: 0
|
|
# RTL-SDR device index (0 = first/only device)
|
|
device_id: "0"
|
|
# rtl_tcp listens inside the container (don't change unless using remote SDR)
|
|
rtl_tcp_host: "127.0.0.1"
|
|
rtl_tcp_port: 1234
|
|
# DEBUG, INFO, WARNING, ERROR
|
|
log_level: INFO
|
|
|
|
mqtt:
|
|
# Unraid server IP (where Mosquitto runs)
|
|
host: "192.168.1.74"
|
|
port: 1883
|
|
user: ""
|
|
password: ""
|
|
base_topic: "hameter"
|
|
ha_autodiscovery: true
|
|
ha_autodiscovery_topic: "homeassistant"
|
|
client_id: "hameter"
|
|
|
|
meters:
|
|
# Electric Meter — Itron Centron C1SR
|
|
# ERT Radio Serial: 23040293 (NOT the billing number 2698881)
|
|
- id: 23040293
|
|
protocol: scm
|
|
name: "Electric Meter"
|
|
unit_of_measurement: "kWh"
|
|
icon: "mdi:flash"
|
|
device_class: energy
|
|
state_class: total_increasing
|
|
# Calibration: physical_meter_reading / raw_scm_value
|
|
# From PoC: 59669 / 516030 ≈ 0.1156
|
|
# TODO: take a simultaneous reading to confirm this multiplier
|
|
multiplier: 0.1156
|
|
|
|
# Gas Meter — uncomment after running --discover to find the ID
|
|
# - id: REPLACE_WITH_GAS_METER_ID
|
|
# protocol: scm
|
|
# name: "Gas Meter"
|
|
# unit_of_measurement: "ft³"
|
|
# icon: "mdi:fire"
|
|
# device_class: gas
|
|
# state_class: total_increasing
|
|
# multiplier: 1.0
|
|
|
|
# Water Meter — likely Neptune R900 protocol
|
|
# - id: REPLACE_WITH_WATER_METER_ID
|
|
# protocol: r900
|
|
# name: "Water Meter"
|
|
# unit_of_measurement: "gal"
|
|
# icon: "mdi:water"
|
|
# device_class: water
|
|
# state_class: total_increasing
|
|
# multiplier: 1.0
|