forked from TonyApuzzo/amridm2mqtt
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsettings_template.py
More file actions
30 lines (26 loc) · 857 Bytes
/
Copy pathsettings_template.py
File metadata and controls
30 lines (26 loc) · 857 Bytes
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
# List of the Meter IDs to watch
# Use empty brackets to read all meters - []
# List may contain only one entry - [12345678]
# or multiple entries - [12345678, 98765432, 12340123]
WATCHED_METERS = []
# Lowering the symbol length can reduce CPU consumption, but may
# also result in dropped samples.
# See https://github.com/bemasher/rtlamr/wiki/Symbol-Length for
# valid symbol lengths.
SYMBOL_LENGTH = 72
# MQTT Server settings
# MQTT_HOST needs to be a string
# MQTT_PORT needs to be an int
# MQTT_TLS needs to be True or False
# MQTT_USER needs to be a string
# MQTT_PASSWORD needs to be a string
# If no authentication, leave MQTT_USER and MQTT_PASSWORD empty
MQTT_HOST = '127.0.0.1'
MQTT_PORT = 1883
MQTT_TLS = False
MQTT_USER = ''
MQTT_PASSWORD = ''
# path to rtlamr
RTLAMR = '/usr/local/bin/rtlamr'
# path to rtl_tcp
RTL_TCP = '/usr/bin/rtl_tcp'