forked from allangood/rtlamr2mqtt
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrtlamr2mqtt.yaml
35 lines (32 loc) · 877 Bytes
/
rtlamr2mqtt.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
general:
sleep_for: 0
verbosity: debug
tickle_rtl_tcp: false
usb_reset: '005:001'
mqtt:
host: 127.0.0.1
# Use TLS with MQTT?
tls_enabled: false
# Path to CA certificate to use. Mandatory if tls_enabled = true
tls_ca: '/etc/ssl/certs/ca-certificates.crt'
# Path to certificate file to use. Optional
tls_cert: '/etc/ssl/my_self_signed_cert.crt'
# TLS insecure: defaults to False
tls_insecure: true
# Certificate key file to use. Optional
tls_keyfile: '/etc/ssl/my_self_signed_cert_key.key'
user: test
password: testpassword
ha_autodiscovery: true
ha_autodiscovery_topic: homeassistant
custom_parameters:
rtltcp: "-s 2048000"
rtlamr: "-unique=true -symbollength=32"
meters:
- id: 12345678
protocol: scm+
name: test_meter
format: "######.###"
unit_of_measurement: "\u33A5"
icon: mdi:gauge
device_class: energy