Skip to content

Instantly share code, notes, and snippets.

@drmulligan
Last active December 7, 2021 01:50
Show Gist options
  • Save drmulligan/b9c648e0be2048977e9480719c498cd0 to your computer and use it in GitHub Desktop.
Save drmulligan/b9c648e0be2048977e9480719c498cd0 to your computer and use it in GitHub Desktop.
general:
sleep_for: 300
mode: normal
debug: false
mqtt:
host: SOME_HOST
port: 1883
user: SOME_USERNAME
password: SOME_PASSWORD
ha_autodiscovery: true
ha_autodiscovery_topic: homeassistant
custom_parameters:
rtltcp: '-s 2048000'
rtlamr: '-unique=true'
meters:
- id: 12345678
protocol: scm
name: gas_meter
format: '#######0'
unit_of_measurement: ft³
icon: mdi:gas_canister
device_class: gas
- id: 87654321
protocol: scm+
name: water_meter
format: '####.###'
unit_of_measurement: m³
icon: mdi:guage
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment