Can anyone help? I imaged a new SD card with the latest image, and used the USB restore option to load my old backup. However, now the emonpi feeds come up as “NULL”.
When I put a fresh SD card in, the inputs read fine, but restoring the backup makes the feeds become null. I’d rather keep my backup with years of data and all my setups already done.
(Edit: I flashed the firmware with LPL before I understood that I probably want Jeelab, and now choosing Jeelab doesn’t do anything (it doesn’t flash). If I understand correctly, this only seems to affect the radio, so it shouldn’t matter?)
nodename=emonpi in /opt/openenergymonitor/emonhub/conf/emonhub.conf is the same on fresh install or restored version.
I’ve done a hard power cycle.
The LCD screen doesn’t seem to be reporting the Power 1 & Power 2 values either, if that means something.
Emonhub log looks ok:
2024-10-29 08:57:15,365 DEBUG MQTT Publishing: emon/emontxshield/current1 18.36
2024-10-29 08:57:15,367 DEBUG MQTT Publishing: emon/emontxshield/current2 15.81
2024-10-29 08:57:15,368 DEBUG MQTT Publishing: emon/emontxshield/current3 12.55
2024-10-29 08:57:15,369 DEBUG MQTT Publishing: emon/emontxshield/current4 12.53
2024-10-29 08:57:15,371 DEBUG MQTT Publishing: emon/emontxshield/current5 13.62
2024-10-29 08:57:15,373 DEBUG MQTT Publishing: emon/emontxshield/vrms 243.1
2024-10-29 08:57:15,375 DEBUG MQTT Publishing: emon/emontxshield/power1 4463.42
2024-10-29 08:57:15,376 INFO MQTT Publishing 'node' formatted msg
2024-10-29 08:57:15,377 DEBUG MQTT Publishing: emonhub/rx/6/values 18.36,15.81,12.55,12.53,13.62,243.1,4463.42
2024-10-29 08:57:16,641 DEBUG SerialDirect 267 NEW FRAME : 18.45 15.49 12.54 12.15 13.45 246.44 4546.65
2024-10-29 08:57:16,642 DEBUG SerialDirect 267 Timestamp : 1730152636.641179
2024-10-29 08:57:16,643 DEBUG SerialDirect 267 From Node : 6
2024-10-29 08:57:16,643 DEBUG SerialDirect 267 Values : [18.45, 15.49, 12.54, 12.15, 13.45, 246.44, 4546.65]
2024-10-29 08:57:16,644 DEBUG SerialDirect 267 Sent to channel(start)' : ToEmonCMS
2024-10-29 08:57:16,644 DEBUG SerialDirect 267 Sent to channel(end)' : ToEmonCMS
2024-10-29 08:57:16,788 DEBUG MQTT Publishing: emon/emontxshield/current1 18.45
2024-10-29 08:57:16,789 DEBUG MQTT Publishing: emon/emontxshield/current2 15.49
2024-10-29 08:57:16,790 DEBUG MQTT Publishing: emon/emontxshield/current3 12.54
2024-10-29 08:57:16,790 DEBUG MQTT Publishing: emon/emontxshield/current4 12.15
2024-10-29 08:57:16,791 DEBUG MQTT Publishing: emon/emontxshield/current5 13.45
2024-10-29 08:57:16,792 DEBUG MQTT Publishing: emon/emontxshield/vrms 246.44
2024-10-29 08:57:16,793 DEBUG MQTT Publishing: emon/emontxshield/power1 4546.65
2024-10-29 08:57:16,793 INFO MQTT Publishing 'node' formatted msg
2024-10-29 08:57:16,794 DEBUG MQTT Publishing: emonhub/rx/6/values 18.45,15.49,12.54,12.15,13.45,246.44,4546.65
2024-10-29 08:57:17,850 DEBUG SerialDirect 268 NEW FRAME : 18.42 15.53 12.52 12.69 13.52 241.25 4443.77
2024-10-29 08:57:17,851 DEBUG SerialDirect 268 Timestamp : 1730152637.850536
2024-10-29 08:57:17,852 DEBUG SerialDirect 268 From Node : 6
2024-10-29 08:57:17,852 DEBUG SerialDirect 268 Values : [18.42, 15.53, 12.52, 12.69, 13.52, 241.25, 4443.77]
2024-10-29 08:57:17,852 DEBUG SerialDirect 268 Sent to channel(start)' : ToEmonCMS
2024-10-29 08:57:17,853 DEBUG SerialDirect 268 Sent to channel(end)' : ToEmonCMS
2024-10-29 08:57:18,001 DEBUG MQTT Publishing: emon/emontxshield/current1 18.42
2024-10-29 08:57:18,003 DEBUG MQTT Publishing: emon/emontxshield/current2 15.53
2024-10-29 08:57:18,004 DEBUG MQTT Publishing: emon/emontxshield/current3 12.52
2024-10-29 08:57:18,006 DEBUG MQTT Publishing: emon/emontxshield/current4 12.69
2024-10-29 08:57:18,008 DEBUG MQTT Publishing: emon/emontxshield/current5 13.52
2024-10-29 08:57:18,009 DEBUG MQTT Publishing: emon/emontxshield/vrms 241.25
2024-10-29 08:57:18,010 DEBUG MQTT Publishing: emon/emontxshield/power1 4443.77
2024-10-29 08:57:18,011 INFO MQTT Publishing 'node' formatted msg
2024-10-29 08:57:18,012 DEBUG MQTT Publishing: emonhub/rx/6/values 18.42,15.53,12.52,12.69,13.52,241.25,4443.77
Emoncms log looks ok:
> <details><summary>LAST ENTRIES ON THE LOG FILE</summary><br />
2024-10-28 20:31:23.022|WARN|PHPFina.php|get_meta() meta file does not exist '/var/opt/emoncms/phpfina/127.meta'<br />
2024-10-28 20:31:23.022|WARN|PHPFina.php|get_meta() meta file does not exist '/var/opt/emoncms/phpfina/128.meta'<br />
2024-10-28 20:31:23.023|WARN|PHPFina.php|get_meta() meta file does not exist '/var/opt/emoncms/phpfina/129.meta'<br />
2024-10-28 20:31:23.023|WARN|PHPFina.php|get_meta() meta file does not exist '/var/opt/emoncms/phpfina/132.meta'<br />
2024-10-28 20:31:23.023|WARN|PHPFina.php|get_meta() meta file does not exist '/var/opt/emoncms/phpfina/133.meta'<br />
2024-10-28 20:31:54.-458|WARN|PHPFina.php|get_meta() meta file does not exist '/var/opt/emoncms/phpfina/129.meta'<br />
2024-10-28 20:31:54.-457|WARN|PHPFina.php|get_meta() meta file does not exist '/var/opt/emoncms/phpfina/132.meta'<br />
2024-10-28 20:31:54.-457|WARN|PHPFina.php|get_meta() meta file does not exist '/var/opt/emoncms/phpfina/133.meta'<br />
2024-10-28 20:32:14.260|WARN|emoncms_mqtt.php|Starting MQTT Input script<br />
2024-10-28 20:32:14.425|WARN|emoncms_mqtt.php|Not connected, retrying connection<br />
2024-10-28 20:32:14.436|WARN|emoncms_mqtt.php|Connecting to MQTT server: Connection Accepted.: code: 0<br />
2024-10-28 20:35:12.-215|WARN|emoncms_mqtt.php|Starting MQTT Input script<br />
2024-10-28 20:35:12.-141|WARN|emoncms_mqtt.php|Not connected, retrying connection<br />
2024-10-28 20:35:12.-128|WARN|emoncms_mqtt.php|Connecting to MQTT server: Connection Accepted.: code: 0<br />
2024-10-28 20:51:07.473|WARN|emoncms_mqtt.php|Starting MQTT Input script<br />
2024-10-28 20:51:07.-363|WARN|emoncms_mqtt.php|Not connected, retrying connection<br />
2024-10-28 20:51:07.-341|WARN|emoncms_mqtt.php|Connecting to MQTT server: Connection Accepted.: code: 0<br />
2024-10-28 21:10:15.200|ERROR|index.php|Not Authenticated|admin/update<br />
2024-10-28 21:26:36.016|WARN|emoncms_mqtt.php|Starting MQTT Input script<br />
2024-10-28 21:26:36.349|WARN|emoncms_mqtt.php|Not connected, retrying connection<br />
2024-10-28 21:26:36.372|WARN|emoncms_mqtt.php|Connecting to MQTT server: Connection Accepted.: code: 0<br />
2024-10-28 21:51:31.-298|WARN|emoncms_mqtt.php|Starting MQTT Input script<br />
2024-10-28 21:51:31.-136|WARN|emoncms_mqtt.php|Not connected, retrying connection<br />
2024-10-28 21:51:31.-113|WARN|emoncms_mqtt.php|Connecting to MQTT server: Connection Accepted.: code: 0<br />
2024-10-28 21:52:07.408|ERROR|index.php|Not Authenticated|feed/view</details><br />