initial commit
This commit is contained in:
53
rtlamr2mqtt.yaml
Normal file
53
rtlamr2mqtt.yaml
Normal file
@@ -0,0 +1,53 @@
|
||||
# rtlamr2mqtt configuration for HAMeter
|
||||
# Reference: https://github.com/allangood/rtlamr2mqtt
|
||||
|
||||
general:
|
||||
# Seconds between reading cycles (300 = 5 minutes)
|
||||
sleep_for: 300
|
||||
# RTL-SDR device index (0 = first/only device)
|
||||
device_id: "0"
|
||||
# Set to true to see all meter transmissions (useful for finding gas/water meter IDs)
|
||||
# Change to false once all meter IDs are identified
|
||||
tickle_rtl_tcp: false
|
||||
|
||||
mqtt:
|
||||
# Unraid server IP (where Mosquitto runs)
|
||||
host: "192.168.1.74"
|
||||
port: 1883
|
||||
# Leave blank if Mosquitto is configured without auth (default)
|
||||
# Add credentials if you enable authentication on Mosquitto
|
||||
user: ""
|
||||
password: ""
|
||||
ha_autodiscovery: true
|
||||
ha_autodiscovery_topic: homeassistant
|
||||
|
||||
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
|
||||
|
||||
# --- Future meters (uncomment and fill in IDs after identification) ---
|
||||
|
||||
# Gas Meter - inspect physically to find ERT serial number
|
||||
# - 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
|
||||
|
||||
# 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
|
||||
Reference in New Issue
Block a user