Last login: Sun Nov 8 09:50:25 on ttys000
Julians-42-iMac:~ jjb$ ssh [email protected]
[email protected]'s password:
Linux emonTxPiZero1 5.4.51+ #1333 Mon Aug 10 16:38:02 BST 2020 armv6l
The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.
Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Sun Nov 8 09:08:28 2020 from 192.168.2.33
pi@emonTxPiZero1:~ $ sudo su
sudo: unable to resolve host emonTxPiZero1: No address associated with hostname
root@emonTxPiZero1:/home/pi# systemctl stop emonPiLCD.service
root@emonTxPiZero1:/home/pi# systemctl disable emonPiLCD.service
Removed /etc/systemd/system/emonPiLCD.service.
Removed /etc/systemd/system/multi-user.target.wants/emonPiLCD.service.
systeroot@emonTxPiZero1:/home/pi# systemctl mask emonPiLCD.service
Created symlink /etc/systemd/system/emonPiLCD.service → /dev/null.
root@emonTxPiZero1:/home/pi# exit
exit
pi@emonTxPiZero1:~ $
I then Restarted emonHub
2020-11-08 09:53:13,295 DEBUG MainThread Signal 15 received.
2020-11-08 09:53:13,361 INFO MainThread Exiting hub...
2020-11-08 09:53:13,660 INFO MainThread Exit completed
2020-11-08 09:53:20,049 INFO MainThread EmonHub emonHub (emon-pi variant) v2.1.5
2020-11-08 09:53:20,052 INFO MainThread Opening hub...
2020-11-08 09:53:20,054 INFO MainThread Logging level set to DEBUG
2020-11-08 09:53:20,057 INFO MainThread Creating EmonHubTx3eInterfacer 'SerialTx'
2020-11-08 09:53:20,062 DEBUG MainThread Opening serial port: /dev/ttyAMA0 @ 115200 bits/s
2020-11-08 09:53:20,068 INFO MainThread Creating EmonHubMqttInterfacer 'MQTT'
2020-11-08 09:53:20,075 DEBUG MainThread Setting MQTT timestamped: True
2020-11-08 09:53:20,077 DEBUG MainThread Setting MQTT subchannels: ['ToEmonCMS']
2020-11-08 09:53:20,079 INFO MainThread Setting MQTT node_JSON_enable: 1
2020-11-08 09:53:20,082 INFO MainThread Creating EmonHubEmoncmsHTTPInterfacer 'emoncmsorg'
2020-11-08 09:53:20,086 DEBUG MainThread Setting emoncmsorg pubchannels: ['ToRFM12']
2020-11-08 09:53:20,088 DEBUG MainThread Setting emoncmsorg subchannels: ['ToEmonCMS']
2020-11-08 09:53:20,090 WARNING MainThread Setting emoncmsorg apikey: obscured
2020-11-08 09:53:20,091 INFO MainThread Setting emoncmsorg url: https://emoncms.org
2020-11-08 09:53:20,094 INFO MainThread Setting emoncmsorg senddata: 1
2020-11-08 09:53:20,096 INFO MainThread Setting emoncmsorg sendstatus: 1
LOG LEVEL: DEBUG
And then rebooted the Pi (through emonCMS / Admin page. After rebooting, emonHub added
2020-11-08 09:54:48,247 INFO MainThread Exit completed
2020-11-08 09:56:10,991 INFO MainThread EmonHub emonHub (emon-pi variant) v2.1.5
2020-11-08 09:56:10,994 INFO MainThread Opening hub...
2020-11-08 09:56:10,996 INFO MainThread Logging level set to DEBUG
2020-11-08 09:56:10,999 INFO MainThread Creating EmonHubTx3eInterfacer 'SerialTx'
2020-11-08 09:56:11,034 DEBUG MainThread Opening serial port: /dev/ttyAMA0 @ 115200 bits/s
2020-11-08 09:56:11,060 INFO MainThread Creating EmonHubMqttInterfacer 'MQTT'
2020-11-08 09:56:11,067 DEBUG MainThread Setting MQTT timestamped: True
2020-11-08 09:56:11,069 DEBUG MainThread Setting MQTT subchannels: ['ToEmonCMS']
2020-11-08 09:56:11,116 INFO MainThread Setting MQTT node_JSON_enable: 1
2020-11-08 09:56:11,137 INFO MainThread Creating EmonHubEmoncmsHTTPInterfacer 'emoncmsorg'
2020-11-08 09:56:11,161 DEBUG MainThread Setting emoncmsorg pubchannels: ['ToRFM12']
2020-11-08 09:56:11,163 DEBUG MainThread Setting emoncmsorg subchannels: ['ToEmonCMS']
2020-11-08 09:56:11,164 WARNING MainThread Setting emoncmsorg apikey: obscured
2020-11-08 09:56:11,166 INFO MainThread Setting emoncmsorg url: https://emoncms.org
2020-11-08 09:56:11,168 INFO MainThread Setting emoncmsorg senddata: 1
2020-11-08 09:56:11,170 INFO MainThread Setting emoncmsorg sendstatus: 1
LOG LEVEL: DEBUG
In emonCMS / Admin / Services, emonPiLCD is showing as Inactive / Dead (red blob)
No data is arriving at the emonPi’s emonCMS. I powered it all down gain and checked the wiring - all looks good, with no strain on any wires etc.