Tx Guys,… just processing your feedback guys,… 1st the easy ones… (note running a 12 CT variant,… The only change I made was to switch the LED on and off whilst data is being transmitted,… a useful health/visual indicator I find), its been running for 2yrs or so I think…
pi@emonpi:/var/www/emoncms $ cat /etc/emonhub/emonhub.conf
#######################################################################
####################### emonhub.conf #########################
#######################################################################
### emonHub configuration file, for info see documentation:
### https://github.com/openenergymonitor/emonhub/blob/emon-pi/configuration.md
#######################################################################
####################### emonHub settings #######################
#######################################################################
[hub]
### loglevel must be one of DEBUG, INFO, WARNING, ERROR, and CRITICAL
loglevel = DEBUG
autoconf = 1
### Uncomment this to also send to syslog
# use_syslog = yes
#######################################################################
####################### Interfacers #######################
#######################################################################
[interfacers]
### This interfacer manages the RFM12Pi/RFM69Pi/emonPi module
[[EmonPi2]]
Type = EmonHubOEMInterfacer
[[[init_settings]]]
com_port = /dev/ttyAMA0
com_baud = 38400
[[[runtimesettings]]]
pubchannels = ToEmonCMS,
subchannels = ToRFM12,
[[USB0]]
Type = EmonHubOEMInterfacer
[[[init_settings]]]
com_port = /dev/ttyUSB0
com_baud = 115200
[[[runtimesettings]]]
pubchannels = ToEmonCMS,
subchannels = ToRFM12,
nodename = emonTx4
[[SPI]]
Type = EmonHubRFM69LPLInterfacer
[[[init_settings]]]
nodeid = 5
networkID = 210
[[[runtimesettings]]]
pubchannels = ToEmonCMS,
[[MQTT]]
Type = EmonHubMqttInterfacer
[[[init_settings]]]
mqtt_host = 127.0.0.1
mqtt_port = 1883
mqtt_user = emonpi
mqtt_passwd = emonpimqtt2016
[[[runtimesettings]]]
pubchannels = ToRFM12,
subchannels = ToEmonCMS,
# emonhub/rx/10/values format
# Use with emoncms Nodes module
node_format_enable = 0
node_format_basetopic = emonhub/
# 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/
[[emoncmsorg]]
Type = EmonHubEmoncmsHTTPInterfacer
[[[init_settings]]]
[[[runtimesettings]]]
pubchannels = ToRFM12,
subchannels = ToEmonCMS,
url = https://emoncms.org
apikey = xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
senddata = 1 # Enable sending data to Emoncms.org
sendnames = 1 # Send full input names (compression will be automatically enabled)
interval = 30 # Bulk send interval to Emoncms.org in seconds
#######################################################################
####################### 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]
[[5]]
nodename = emonpi_5
[[[rx]]]
names = power1, power2, power1pluspower2, vrms, t1, t2, t3, t4, t5, t6, pulsecount
datacodes = h, h, h, h, h, h, h, h, h, h, L
scales = 1.0, 1.0, 1.0, 0.01, 0.1, 0.1, 0.1, 0.1, 0.1, 0.1, 1.0
units = W, W, W, V, C, C, C, C, C, C, p
[[0]]
nodename = emonth1_0
[[[rx]]]
names = temperature, external temperature, humidity, battery
datacodes = h, h, h, h
scales = 0.1, 0.1, 0.1, 0.1
units = C, C, %, V
[[8]]
nodename = emonpiCM_8
[[[rx]]]
names = Msg, power1, power2, power1pluspower2, vrms, t1, t2, t3, t4, t5, t6, pulse1count, pulse2count, E1, E2
datacodes = L, h, h, h, h, h, h, h, h, h, h, L, L, l, l
scales = 1.0, 1.0, 1.0, 1.0, 0.01, 0.01, 0.01, 0.01, 0.01, 0.01, 0.01, 1.0, 1.0, 1.0, 1.0
units = n, W, W, W, V, C, C, C, C, C, C, p, p, Wh, Wh
[[24]]
nodename = emonth2_24
[[[rx]]]
names = temperature, external temperature, humidity, battery, pulsecount
datacodes = h, h, h, h, L
scales = 0.1, 0.1, 0.1, 0.1, 1.0
units = C, C, %, V, p
[[23]]
nodename = emonth2_23
[[[rx]]]
names = temperature, external temperature, humidity, battery, pulsecount
datacodes = h, h, h, h, L
scales = 0.1, 0.1, 0.1, 0.1, 1.0
units = C, C, %, V, p
[[22]]
nodename = emontxshield_22
[[[rx]]]
names = power1, power2, power3, power4, vrms
datacodes = h, h, h, h, h
scales = 1.0, 1.0, 1.0, 1.0, 0.01
units = W, W, W, W, V
[[3]]
nodename = emontxshield_3
[[[rx]]]
names = power1, power2, power3, power4, vrms
datacodes = h, h, h, h, h
scales = 1.0, 1.0, 1.0, 1.0, 0.01
units = W, W, W, W, V
[[6]]
nodename = emonth2_6
[[[rx]]]
names = temperature, external temperature, humidity, battery, pulsecount
datacodes = h, h, h, h, L
scales = 0.1, 0.1, 0.1, 0.1, 1.0
units = C, C, %, V, p
[[15]]
nodename = emonTx4_3phase_15
[[[rx]]]
names = MSG, V1, V2, V3, P1, P2, P3, P4, P5, P6, E1, E2, E3, E4, E5, E6, pulse
datacodes = L, h, h, h, h, h, h, h, h, h, l, l, l, l, l, l, L
scales = 1.0, 0.01, 0.01, 0.01, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0
units = n, V, V, V, W, W, W, W, W, W, Wh, Wh, Wh, Wh, Wh, Wh, p
[[4]]
nodename = emonTx4_3phase_4
[[[rx]]]
names = MSG, V1, V2, V3, P1, P2, P3, P4, P5, P6, E1, E2, E3, E4, E5, E6, pulse
datacodes = L, h, h, h, h, h, h, h, h, h, l, l, l, l, l, l, L
scales = 1.0, 0.01, 0.01, 0.01, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0
units = n, V, V, V, W, W, W, W, W, W, Wh, Wh, Wh, Wh, Wh, Wh, p
[[17]]
nodename = emonTx4_3phase_17
[[[rx]]]
names = MSG, V1, V2, V3, P1, P2, P3, P4, P5, P6, E1, E2, E3, E4, E5, E6, pulse
datacodes = L, h, h, h, h, h, h, h, h, h, l, l, l, l, l, l, L
scales = 1.0, 0.01, 0.01, 0.01, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0
units = n, V, V, V, W, W, W, W, W, W, Wh, Wh, Wh, Wh, Wh, Wh, p
[[1]]
nodename = emon_DB_6CT_1phase_1
[[[rx]]]
names = MSG, V1, P1, P2, P3, P4, P5, P6, E1, E2, E3, E4, E5, E6, pulse
datacodes = L, h, h, h, h, h, h, h, l, l, l, l, l, l, L
scales = 1.0, 0.01, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0
units = n, V, W, W, W, W, W, W, Wh, Wh, Wh, Wh, Wh, Wh, p
[[10]]
nodename = emonTx4_3phase_10
[[[rx]]]
names = MSG, V1, V2, V3, P1, P2, P3, P4, P5, P6, E1, E2, E3, E4, E5, E6, pulse
datacodes = L, h, h, h, h, h, h, h, h, h, l, l, l, l, l, l, L
scales = 1.0, 0.01, 0.01, 0.01, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0
units = n, V, V, V, W, W, W, W, W, W, Wh, Wh, Wh, Wh, Wh, Wh, p
[[29]]
nodename = emonth1_29
[[[rx]]]
names = temperature, external temperature, humidity, battery
datacodes = h, h, h, h
scales = 0.1, 0.1, 0.1, 0.1
units = C, C, %, V
[[31]]
nodename = emontxshield_31
[[[rx]]]
names = power1, power2, power3, power4, vrms
datacodes = h, h, h, h, h
scales = 1.0, 1.0, 1.0, 1.0, 0.01
units = W, W, W, W, V
[[30]]
nodename = emonpiCM_30
[[[rx]]]
names = Msg, power1, power2, power1pluspower2, vrms, t1, t2, t3, t4, t5, t6, pulse1count, pulse2count, E1, E2
datacodes = L, h, h, h, h, h, h, h, h, h, h, L, L, l, l
scales = 1.0, 1.0, 1.0, 1.0, 0.01, 0.01, 0.01, 0.01, 0.01, 0.01, 0.01, 1.0, 1.0, 1.0, 1.0
units = n, W, W, W, V, C, C, C, C, C, C, p, p, Wh, Wh
pi@emonpi:/var/www/emoncms $
How do I force this update,…
Found Old post,..
cd /var/www/emoncms
git status
git diff
git checkout .
git pull origin stable
sudo systemctl restart service-runner
The refreshed Admin pages which had changed, ( considerably,.. like it!! ),… followed by update all,.. and all components have been pulled to latest…
Feed page is now correct,.. no silly artifacts,.. and backup page,.. normal view has returned. ( albeit backup size shows as zero ‘0 MB’ for both daily and weekly backups )
We shall see if my 3dys 12hrs ‘bomb out’ continues…
Thanks for help…