Created
January 5, 2025 20:40
-
-
Save njh/dd18bbf99bfc6f471229e0ac2908daef to your computer and use it in GitHub Desktop.
emonHub configuration for SDM120 plus Sontex Superstatic 789
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
####################################################################### | |
####################### emonhub.conf ######################### | |
####################################################################### | |
### emonHub configuration file, for info see documentation: | |
### https://github.com/openenergymonitor/emonhub/blob/emon-pi/configuration.md | |
[hub] | |
### loglevel must be one of DEBUG, INFO, WARNING, ERROR, and CRITICAL | |
loglevel = DEBUG | |
autoconf = 1 | |
####################################################################### | |
####################### Interfacers ####################### | |
####################################################################### | |
[interfacers] | |
[[MQTT]] | |
Type = EmonHubMqttInterfacer | |
[[[init_settings]]] | |
mqtt_host = 127.0.0.1 | |
mqtt_port = 1883 | |
mqtt_user = emonpi | |
mqtt_passwd = emonpimqtt2016 | |
[[[runtimesettings]]] | |
subchannels = ToEmonCMS, | |
# emon/emontx/power1 format - use with Emoncms MQTT input | |
# http://github.com/emoncms/emoncms/blob/master/docs/RaspberryPi/MQTT.md | |
nodevar_format_enable = 1 | |
nodevar_format_basetopic = emon/ | |
# Single JSON payload published - use with Emoncms MQTT | |
node_JSON_enable = 0 | |
node_JSON_basetopic = emon/ | |
[[SDM120]] | |
Type = EmonHubMinimalModbusInterfacer | |
[[[init_settings]]] | |
device = /dev/serial/by-id/usb-FTDI_FT232R_USB_UART_AQ024SO5-if00-port0 | |
baud = 9600 | |
parity = none | |
datatype = float | |
[[[runtimesettings]]] | |
pubchannels = ToEmonCMS, | |
read_interval = 10 | |
nodename = heatpump | |
[[[[meters]]]] | |
[[[[[sdm120]]]]] | |
address = 1 | |
registers = 0,6,12,70,72 | |
names = Volts,Current,Power,Frequency,Import_Energy | |
precision = 2,3,1,3,3 | |
[[MBUS]] | |
Type = EmonHubMBUSInterfacer | |
[[[init_settings]]] | |
device = /dev/serial/by-id/usb-Prolific_Technology_Inc._USB-Serial_Controller_BQDMb13AL20-if00-port0 | |
baud = 2400 | |
[[[runtimesettings]]] | |
pubchannels = ToEmonCMS, | |
read_interval = 10 | |
validate_checksum = False | |
nodename = heatpump | |
[[[[meters]]]] | |
[[[[[sontex]]]]] | |
address = 0 | |
type = standard | |
####################################################################### | |
####################### Nodes ####################### | |
####################################################################### | |
## See config user guide: https://github.com/openenergymonitor/emonhub | |
## If autoconf is enabled above, node configuration will automatically | |
## populate based on templates listed in available.conf | |
[nodes] | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment