Sorry for the delayed response, but I’ve almost got to the point that I don’t know where to start. I have just shut down the PiZ through the emonCMS / Admin page, but before I did so I downloaded the emonHub log - see below. What is strange is that since ~ 00:00 on the 9th Nov it has “almost” been running correctly, albeit nothing arrived in that period on my emonPi. Note: although one CT input has been attached, no current is flowing through it as I am still waiting for my barn inverter to be fixed and that is the only thing this emonTx is monitoring.
Anyhow, to confirm that the PiZ is powered by the emonTx; the emonTx is powered by an IDEAL -POWER AC/DC, output 5V 2A, and also an IDEAL POWER 9VAS 6VA brick. I am 99% sure that both came from the OEM shop.
Delving in to places I have not been to before, the contents of /etc/hostname
is just emonTx_PiZero_1
and /etc/hosts
is …
127.0.0.1 localhost
::1 localhost ip6-localhost ip6-loopback
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
127.0.1.1 emonTx_PiZero_1
I can’t remember exactly when or where I gave the name emonTx_PiZero_1
but I do recall the other three are similarly named but with _2, _3 & _4.
I changed the “name” of the PiZ within my Unifi USG’s control panel to “emonTx PiZero (top barn)” and given it a static IP; I have done this with all of my devices, including the other 3 emonTx/PiZ combo’s. Looking again within the USG control panel I see that the Hostname of the other three is just emonpi
; might this discrepancy be an issue / the cause? But if so, why are the other three running fine, and even this one was running OK for several / many days.
2020-11-08 10:00:09,033 DEBUG MainThread Setting emoncmsorg pubchannels: ['ToRFM12']
2020-11-08 10:00:09,035 DEBUG MainThread Setting emoncmsorg subchannels: ['ToEmonCMS']
2020-11-08 10:00:09,037 WARNING MainThread Setting emoncmsorg apikey: obscured
2020-11-08 10:00:09,041 INFO MainThread Setting emoncmsorg url: https://emoncms.org
2020-11-08 10:00:09,042 INFO MainThread Setting emoncmsorg senddata: 1
2020-11-08 10:00:09,044 INFO MainThread Setting emoncmsorg sendstatus: 1
2020-11-08 10:01:29,981 DEBUG MainThread Signal 15 received.
2020-11-08 10:01:30,002 INFO MainThread Exiting hub...
2020-11-08 10:01:30,207 INFO MainThread Exit completed
2020-11-08 10:04:15,906 INFO MainThread EmonHub emonHub (emon-pi variant) v2.1.5
2020-11-08 10:04:15,909 INFO MainThread Opening hub...
2020-11-08 10:04:15,911 INFO MainThread Logging level set to DEBUG
2020-11-08 10:04:15,914 INFO MainThread Creating EmonHubTx3eInterfacer 'SerialTx'
2020-11-08 10:04:15,919 DEBUG MainThread Opening serial port: /dev/ttyAMA0 @ 115200 bits/s
2020-11-08 10:04:15,924 INFO MainThread Creating EmonHubMqttInterfacer 'MQTT'
2020-11-08 10:04:15,931 DEBUG MainThread Setting MQTT timestamped: True
2020-11-08 10:04:15,933 DEBUG MainThread Setting MQTT subchannels: ['ToEmonCMS']
2020-11-08 10:04:15,935 INFO MainThread Setting MQTT node_JSON_enable: 1
2020-11-08 10:04:15,938 INFO MainThread Creating EmonHubEmoncmsHTTPInterfacer 'emoncmsorg'
2020-11-08 10:04:15,942 DEBUG MainThread Setting emoncmsorg pubchannels: ['ToRFM12']
2020-11-08 10:04:15,944 DEBUG MainThread Setting emoncmsorg subchannels: ['ToEmonCMS']
2020-11-08 10:04:15,946 WARNING MainThread Setting emoncmsorg apikey: obscured
2020-11-08 10:04:15,948 INFO MainThread Setting emoncmsorg url: https://emoncms.org
2020-11-08 10:04:15,950 INFO MainThread Setting emoncmsorg senddata: 1
2020-11-08 10:04:15,951 INFO MainThread Setting emoncmsorg sendstatus: 1
2020-11-08 10:22:59,211 DEBUG MainThread Signal 15 received.
2020-11-08 10:22:59,372 INFO MainThread Exiting hub...
2020-11-08 10:22:59,590 INFO MainThread Exit completed
2020-11-08 10:28:36,479 INFO MainThread EmonHub emonHub (emon-pi variant) v2.1.5
2020-11-08 10:28:36,487 INFO MainThread Opening hub...
2020-11-08 10:28:36,497 INFO MainThread Logging level set to DEBUG
2020-11-08 10:28:36,501 INFO MainThread Creating EmonHubTx3eInterfacer 'SerialTx'
2020-11-08 10:28:36,509 DEBUG MainThread Opening serial port: /dev/ttyAMA0 @ 115200 bits/s
2020-11-08 10:28:36,532 INFO MainThread Creating EmonHubMqttInterfacer 'MQTT'
2020-11-08 10:28:36,539 DEBUG MainThread Setting MQTT timestamped: True
2020-11-08 10:28:36,551 DEBUG MainThread Setting MQTT subchannels: ['ToEmonCMS']
2020-11-08 10:28:36,553 INFO MainThread Setting MQTT node_JSON_enable: 1
2020-11-08 10:28:36,556 INFO MainThread Creating EmonHubEmoncmsHTTPInterfacer 'emoncmsorg'
2020-11-08 10:28:36,559 DEBUG MainThread Setting emoncmsorg pubchannels: ['ToRFM12']
2020-11-08 10:28:36,571 DEBUG MainThread Setting emoncmsorg subchannels: ['ToEmonCMS']
2020-11-08 10:28:36,573 WARNING MainThread Setting emoncmsorg apikey: obscured
2020-11-08 10:28:36,575 INFO MainThread Setting emoncmsorg url: https://emoncms.org
2020-11-08 10:28:36,577 INFO MainThread Setting emoncmsorg senddata: 1
2020-11-08 10:28:36,579 INFO MainThread Setting emoncmsorg sendstatus: 1
2020-11-08 10:28:59,264 WARNING SerialTx Exception caught in SerialTx thread. Traceback (most recent call last):
File "/opt/openenergymonitor/emonhub/src/emonhub_interfacer.py", line 32, in wrapper
return func(*args)
File "/opt/openenergymonitor/emonhub/src/emonhub_interfacer.py", line 99, in run
rxc = self.read()
File "/opt/openenergymonitor/emonhub/src/interfacers/EmonHubTx3eInterfacer.py", line 46, in read
self._rx_buf = self._rx_buf + self._ser.readline().decode()
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xc0 in position 10: invalid start byte
2020-11-08 10:28:59,428 WARNING MainThread SerialTx thread is dead.
2020-11-08 10:28:59,430 WARNING MainThread Attempting to restart thread SerialTx (thread has been restarted 0 times...)
2020-11-08 10:28:59,434 INFO MainThread Creating EmonHubTx3eInterfacer 'SerialTx'
2020-11-08 10:28:59,438 DEBUG MainThread Opening serial port: /dev/ttyAMA0 @ 115200 bits/s
2020-11-08 10:28:59,443 DEBUG MainThread Setting MQTT timestamped: True
2020-11-08 10:29:07,257 WARNING SerialTx Exception caught in SerialTx thread. Traceback (most recent call last):
File "/opt/openenergymonitor/emonhub/src/emonhub_interfacer.py", line 32, in wrapper
return func(*args)
File "/opt/openenergymonitor/emonhub/src/emonhub_interfacer.py", line 99, in run
rxc = self.read()
File "/opt/openenergymonitor/emonhub/src/interfacers/EmonHubTx3eInterfacer.py", line 46, in read
self._rx_buf = self._rx_buf + self._ser.readline().decode()
UnicodeDecodeError: 'utf-8' codec can't decode byte 0x82 in position 1: invalid start byte
2020-11-08 10:29:07,354 WARNING MainThread SerialTx thread is dead.
2020-11-08 10:29:07,357 WARNING MainThread Attempting to restart thread SerialTx (thread has been restarted 1 times...)
2020-11-08 10:29:07,363 INFO MainThread Creating EmonHubTx3eInterfacer 'SerialTx'
2020-11-08 10:29:07,371 DEBUG MainThread Opening serial port: /dev/ttyAMA0 @ 115200 bits/s
2020-11-08 10:29:07,378 DEBUG MainThread Setting MQTT timestamped: True
2020-11-08 10:30:01,164 WARNING SerialTx Exception caught in SerialTx thread. Traceback (most recent call last):
File "/opt/openenergymonitor/emonhub/src/emonhub_interfacer.py", line 32, in wrapper
return func(*args)
File "/opt/openenergymonitor/emonhub/src/emonhub_interfacer.py", line 99, in run
rxc = self.read()
File "/opt/openenergymonitor/emonhub/src/interfacers/EmonHubTx3eInterfacer.py", line 46, in read
self._rx_buf = self._rx_buf + self._ser.readline().decode()
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xea in position 1: invalid continuation byte
2020-11-08 10:30:01,247 WARNING MainThread SerialTx thread is dead.
2020-11-08 10:30:01,249 WARNING MainThread Attempting to restart thread SerialTx (thread has been restarted 2 times...)
2020-11-08 10:30:01,252 INFO MainThread Creating EmonHubTx3eInterfacer 'SerialTx'
2020-11-08 10:30:01,256 DEBUG MainThread Opening serial port: /dev/ttyAMA0 @ 115200 bits/s
2020-11-08 10:30:01,261 DEBUG MainThread Setting MQTT timestamped: True
2020-11-08 10:30:03,566 WARNING SerialTx Exception caught in SerialTx thread. Traceback (most recent call last):
File "/opt/openenergymonitor/emonhub/src/emonhub_interfacer.py", line 32, in wrapper
return func(*args)
File "/opt/openenergymonitor/emonhub/src/emonhub_interfacer.py", line 99, in run
rxc = self.read()
File "/opt/openenergymonitor/emonhub/src/interfacers/EmonHubTx3eInterfacer.py", line 46, in read
self._rx_buf = self._rx_buf + self._ser.readline().decode()
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xe0 in position 12: invalid continuation byte
2020-11-08 10:30:03,734 WARNING MainThread SerialTx thread is dead.
2020-11-08 10:30:03,737 WARNING MainThread Attempting to restart thread SerialTx (thread has been restarted 3 times...)
2020-11-08 10:30:03,742 INFO MainThread Creating EmonHubTx3eInterfacer 'SerialTx'
2020-11-08 10:30:03,748 DEBUG MainThread Opening serial port: /dev/ttyAMA0 @ 115200 bits/s
2020-11-08 10:30:03,754 DEBUG MainThread Setting MQTT timestamped: True
2020-11-08 10:30:08,355 WARNING SerialTx Exception caught in SerialTx thread. Traceback (most recent call last):
File "/opt/openenergymonitor/emonhub/src/emonhub_interfacer.py", line 32, in wrapper
return func(*args)
File "/opt/openenergymonitor/emonhub/src/emonhub_interfacer.py", line 99, in run
rxc = self.read()
File "/opt/openenergymonitor/emonhub/src/interfacers/EmonHubTx3eInterfacer.py", line 46, in read
self._rx_buf = self._rx_buf + self._ser.readline().decode()
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xab in position 2: invalid start byte
2020-11-08 10:30:08,519 WARNING MainThread SerialTx thread is dead.
2020-11-08 10:30:08,521 WARNING MainThread Attempting to restart thread SerialTx (thread has been restarted 4 times...)
2020-11-08 10:30:08,527 INFO MainThread Creating EmonHubTx3eInterfacer 'SerialTx'
2020-11-08 10:30:08,531 DEBUG MainThread Opening serial port: /dev/ttyAMA0 @ 115200 bits/s
2020-11-08 10:30:08,536 DEBUG MainThread Setting MQTT timestamped: True
2020-11-08 10:30:08,650 WARNING SerialTx Exception caught in SerialTx thread. Traceback (most recent call last):
File "/opt/openenergymonitor/emonhub/src/emonhub_interfacer.py", line 32, in wrapper
return func(*args)
File "/opt/openenergymonitor/emonhub/src/emonhub_interfacer.py", line 99, in run
rxc = self.read()
File "/opt/openenergymonitor/emonhub/src/interfacers/EmonHubTx3eInterfacer.py", line 46, in read
self._rx_buf = self._rx_buf + self._ser.readline().decode()
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xdd in position 2: invalid continuation byte
2020-11-08 10:30:08,741 WARNING MainThread SerialTx thread is dead.
2020-11-08 10:30:08,743 WARNING MainThread Attempting to restart thread SerialTx (thread has been restarted 5 times...)
2020-11-08 10:30:08,746 INFO MainThread Creating EmonHubTx3eInterfacer 'SerialTx'
2020-11-08 10:30:08,750 DEBUG MainThread Opening serial port: /dev/ttyAMA0 @ 115200 bits/s
2020-11-08 10:30:08,754 DEBUG MainThread Setting MQTT timestamped: True
2020-11-08 10:30:09,992 WARNING SerialTx Exception caught in SerialTx thread. Traceback (most recent call last):
File "/opt/openenergymonitor/emonhub/src/emonhub_interfacer.py", line 32, in wrapper
return func(*args)
File "/opt/openenergymonitor/emonhub/src/emonhub_interfacer.py", line 99, in run
rxc = self.read()
File "/opt/openenergymonitor/emonhub/src/interfacers/EmonHubTx3eInterfacer.py", line 46, in read
self._rx_buf = self._rx_buf + self._ser.readline().decode()
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xd0 in position 1: invalid continuation byte
2020-11-08 10:30:10,090 WARNING MainThread SerialTx thread is dead.
2020-11-08 10:30:10,092 WARNING MainThread Attempting to restart thread SerialTx (thread has been restarted 6 times...)
2020-11-08 10:30:10,095 INFO MainThread Creating EmonHubTx3eInterfacer 'SerialTx'
2020-11-08 10:30:10,099 DEBUG MainThread Opening serial port: /dev/ttyAMA0 @ 115200 bits/s
2020-11-08 10:30:10,104 DEBUG MainThread Setting MQTT timestamped: True
2020-11-08 10:30:43,136 WARNING SerialTx Exception caught in SerialTx thread. Traceback (most recent call last):
File "/opt/openenergymonitor/emonhub/src/emonhub_interfacer.py", line 32, in wrapper
return func(*args)
File "/opt/openenergymonitor/emonhub/src/emonhub_interfacer.py", line 99, in run
rxc = self.read()
File "/opt/openenergymonitor/emonhub/src/interfacers/EmonHubTx3eInterfacer.py", line 46, in read
self._rx_buf = self._rx_buf + self._ser.readline().decode()
UnicodeDecodeError: 'utf-8' codec can't decode byte 0x81 in position 1: invalid start byte
2020-11-08 10:30:43,155 WARNING MainThread SerialTx thread is dead.
2020-11-08 10:30:43,158 WARNING MainThread Attempting to restart thread SerialTx (thread has been restarted 7 times...)
2020-11-08 10:30:43,162 INFO MainThread Creating EmonHubTx3eInterfacer 'SerialTx'
2020-11-08 10:30:43,170 DEBUG MainThread Opening serial port: /dev/ttyAMA0 @ 115200 bits/s
2020-11-08 10:30:43,176 DEBUG MainThread Setting MQTT timestamped: True
2020-11-08 10:30:44,051 DEBUG SerialTx input value is not numeric:
2020-11-08 10:30:44,054 DEBUG SerialTx 7 NEW FRAME : Settings:
2020-11-08 10:30:44,057 DEBUG SerialTx 7 Timestamp : 1604831444.048042
2020-11-08 10:30:44,059 DEBUG SerialTx 7 From Node : Serial_PiZero_barn
2020-11-08 10:30:44,062 DEBUG SerialTx 7 Values : [0]
2020-11-08 10:30:44,064 DEBUG SerialTx 7 Sent to channel(start)' : ToEmonCMS
2020-11-08 10:30:44,067 DEBUG SerialTx 7 Sent to channel(end)' : ToEmonCMS
2020-11-08 10:30:44,177 INFO MQTT Connecting to MQTT Server
2020-11-08 10:30:44,276 DEBUG emoncmsorg Buffer size: 1
2020-11-08 10:30:44,367 INFO MQTT connection status: Connection successful
2020-11-08 10:30:44,371 DEBUG MQTT CONACK => Return code: 0
2020-11-08 10:30:44,396 DEBUG SerialTx invalid input name: Band 433 MHz
Calibration
2020-11-08 10:30:44,477 INFO MQTT on_subscribe
2020-11-08 10:30:45,886 WARNING SerialTx Exception caught in SerialTx thread. Traceback (most recent call last):
File "/opt/openenergymonitor/emonhub/src/emonhub_interfacer.py", line 32, in wrapper
return func(*args)
File "/opt/openenergymonitor/emonhub/src/emonhub_interfacer.py", line 99, in run
rxc = self.read()
File "/opt/openenergymonitor/emonhub/src/interfacers/EmonHubTx3eInterfacer.py", line 46, in read
self._rx_buf = self._rx_buf + self._ser.readline().decode()
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xff in position 0: invalid start byte
2020-11-08 10:30:45,949 WARNING MainThread SerialTx thread is dead.
2020-11-08 10:30:45,951 WARNING MainThread Attempting to restart thread SerialTx (thread has been restarted 8 times...)
2020-11-08 10:30:45,954 INFO MainThread Creating EmonHubTx3eInterfacer 'SerialTx'
2020-11-08 10:30:45,959 DEBUG MainThread Opening serial port: /dev/ttyAMA0 @ 115200 bits/s
2020-11-08 10:30:45,963 DEBUG MainThread Setting MQTT timestamped: True
2020-11-08 10:31:03,760 DEBUG SerialTx input value is not numeric:
2020-11-08 10:31:03,762 DEBUG SerialTx 27 NEW FRAME : Settings:
2020-11-08 10:31:03,764 DEBUG SerialTx 27 Timestamp : 1604831463.759952
2020-11-08 10:31:03,766 DEBUG SerialTx 27 From Node : Serial_PiZero_barn
2020-11-08 10:31:03,767 DEBUG SerialTx 27 Values : [0]
2020-11-08 10:31:03,769 DEBUG SerialTx 27 Sent to channel(start)' : ToEmonCMS
2020-11-08 10:31:03,771 DEBUG SerialTx 27 Sent to channel(end)' : ToEmonCMS
2020-11-08 10:31:03,931 INFO MQTT Publishing: emonhub/rx/Serial_PiZero_barn/values 0
2020-11-08 10:31:03,936 DEBUG MQTT Publishing: emon/Serial_PiZero_barn {"Settings": 0, "time": 1604831463.759952}
2020-11-08 10:31:04,089 WARNING SerialTx Exception caught in SerialTx thread. Traceback (most recent call last):
File "/opt/openenergymonitor/emonhub/src/emonhub_interfacer.py", line 32, in wrapper
return func(*args)
File "/opt/openenergymonitor/emonhub/src/emonhub_interfacer.py", line 99, in run
rxc = self.read()
File "/opt/openenergymonitor/emonhub/src/interfacers/EmonHubTx3eInterfacer.py", line 46, in read
self._rx_buf = self._rx_buf + self._ser.readline().decode()
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xe2 in position 4: invalid continuation byte
2020-11-08 10:31:04,266 WARNING MainThread SerialTx thread is dead.
2020-11-08 10:31:04,268 WARNING MainThread Attempting to restart thread SerialTx (thread has been restarted 9 times...)
2020-11-08 10:31:04,271 INFO MainThread Creating EmonHubTx3eInterfacer 'SerialTx'
2020-11-08 10:31:04,275 DEBUG MainThread Opening serial port: /dev/ttyAMA0 @ 115200 bits/s
2020-11-08 10:31:04,279 DEBUG MainThread Setting MQTT timestamped: True
2020-11-08 10:31:14,333 DEBUG emoncmsorg Buffer size: 1
2020-11-09 00:02:19,382 WARNING SerialTx Exception caught in SerialTx thread. Traceback (most recent call last):
File "/opt/openenergymonitor/emonhub/src/emonhub_interfacer.py", line 32, in wrapper
return func(*args)
File "/opt/openenergymonitor/emonhub/src/emonhub_interfacer.py", line 99, in run
rxc = self.read()
File "/opt/openenergymonitor/emonhub/src/interfacers/EmonHubTx3eInterfacer.py", line 46, in read
self._rx_buf = self._rx_buf + self._ser.readline().decode()
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xeb in position 2: invalid continuation byte
2020-11-09 00:02:19,432 WARNING MainThread SerialTx thread is dead.
2020-11-09 00:02:19,434 WARNING MainThread Attempting to restart thread SerialTx (thread has been restarted 10 times...)
2020-11-09 00:02:19,437 INFO MainThread Creating EmonHubTx3eInterfacer 'SerialTx'
2020-11-09 00:02:19,441 DEBUG MainThread Opening serial port: /dev/ttyAMA0 @ 115200 bits/s
2020-11-09 00:02:19,445 DEBUG MainThread Setting MQTT timestamped: True
2020-11-09 00:03:18,679 DEBUG SerialTx input value is not numeric:
2020-11-09 00:03:18,681 DEBUG SerialTx 33 NEW FRAME : Settings:
2020-11-09 00:03:18,683 DEBUG SerialTx 33 Timestamp : 1604880198.678688
2020-11-09 00:03:18,685 DEBUG SerialTx 33 From Node : Serial_PiZero_barn
2020-11-09 00:03:18,686 DEBUG SerialTx 33 Values : [0]
2020-11-09 00:03:18,688 DEBUG SerialTx 33 Sent to channel(start)' : ToEmonCMS
2020-11-09 00:03:18,690 DEBUG SerialTx 33 Sent to channel(end)' : ToEmonCMS
2020-11-09 00:03:18,800 INFO MQTT Publishing: emonhub/rx/Serial_PiZero_barn/values 0
2020-11-09 00:03:18,808 DEBUG MQTT Publishing: emon/Serial_PiZero_barn {"Settings": 0, "time": 1604880198.6786876}
2020-11-09 00:03:18,973 DEBUG emoncmsorg Buffer size: 1
2020-11-09 00:03:19,017 DEBUG SerialTx invalid input name: Band 433 MHz
Calibration
2020-11-09 00:03:20,528 WARNING SerialTx Exception caught in SerialTx thread. Traceback (most recent call last):
File "/opt/openenergymonitor/emonhub/src/emonhub_interfacer.py", line 32, in wrapper
return func(*args)
File "/opt/openenergymonitor/emonhub/src/emonhub_interfacer.py", line 99, in run
rxc = self.read()
File "/opt/openenergymonitor/emonhub/src/interfacers/EmonHubTx3eInterfacer.py", line 46, in read
self._rx_buf = self._rx_buf + self._ser.readline().decode()
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xff in position 0: invalid start byte
2020-11-09 00:03:20,689 WARNING MainThread SerialTx thread is dead.
2020-11-09 00:03:20,690 WARNING MainThread Attempting to restart thread SerialTx (thread has been restarted 11 times...)
2020-11-09 00:03:20,694 INFO MainThread Creating EmonHubTx3eInterfacer 'SerialTx'
2020-11-09 00:03:20,699 DEBUG MainThread Opening serial port: /dev/ttyAMA0 @ 115200 bits/s
2020-11-09 00:03:20,703 DEBUG MainThread Setting MQTT timestamped: True
2020-11-09 00:04:39,183 DEBUG SerialTx input value is not numeric:
2020-11-09 00:04:39,186 DEBUG SerialTx 53 NEW FRAME : Settings:
2020-11-09 00:04:39,189 DEBUG SerialTx 53 Timestamp : 1604880279.183048
2020-11-09 00:04:39,208 DEBUG SerialTx 53 From Node : Serial_PiZero_barn
2020-11-09 00:04:39,211 DEBUG SerialTx 53 Values : [0]
2020-11-09 00:04:39,224 DEBUG SerialTx 53 Sent to channel(start)' : ToEmonCMS
2020-11-09 00:04:39,226 DEBUG SerialTx 53 Sent to channel(end)' : ToEmonCMS
2020-11-09 00:04:39,356 INFO MQTT Publishing: emonhub/rx/Serial_PiZero_barn/values 0
2020-11-09 00:04:39,360 DEBUG MQTT Publishing: emon/Serial_PiZero_barn {"Settings": 0, "time": 1604880279.1830475}
2020-11-09 00:04:39,423 DEBUG emoncmsorg Buffer size: 1
2020-11-09 00:04:39,545 DEBUG SerialTx invalid input name: Band 433 MHz
Calibration
2020-11-09 00:04:41,022 WARNING SerialTx Exception caught in SerialTx thread. Traceback (most recent call last):
File "/opt/openenergymonitor/emonhub/src/emonhub_interfacer.py", line 32, in wrapper
return func(*args)
File "/opt/openenergymonitor/emonhub/src/emonhub_interfacer.py", line 99, in run
rxc = self.read()
File "/opt/openenergymonitor/emonhub/src/interfacers/EmonHubTx3eInterfacer.py", line 46, in read
self._rx_buf = self._rx_buf + self._ser.readline().decode()
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xff in position 0: invalid start byte
2020-11-09 00:04:41,028 WARNING MainThread SerialTx thread is dead.
2020-11-09 00:04:41,030 WARNING MainThread Attempting to restart thread SerialTx (thread has been restarted 12 times...)
2020-11-09 00:04:41,033 INFO MainThread Creating EmonHubTx3eInterfacer 'SerialTx'
2020-11-09 00:04:41,038 DEBUG MainThread Opening serial port: /dev/ttyAMA0 @ 115200 bits/s
2020-11-09 00:04:41,042 DEBUG MainThread Setting MQTT timestamped: True
2020-11-09 00:05:39,021 DEBUG SerialTx input value is not numeric:
2020-11-09 00:05:39,023 DEBUG SerialTx 73 NEW FRAME : Settings:
2020-11-09 00:05:39,025 DEBUG SerialTx 73 Timestamp : 1604880339.021083
2020-11-09 00:05:39,027 DEBUG SerialTx 73 From Node : Serial_PiZero_barn
2020-11-09 00:05:39,028 DEBUG SerialTx 73 Values : [0]
2020-11-09 00:05:39,030 DEBUG SerialTx 73 Sent to channel(start)' : ToEmonCMS
2020-11-09 00:05:39,032 DEBUG SerialTx 73 Sent to channel(end)' : ToEmonCMS
2020-11-09 00:05:39,161 INFO MQTT Publishing: emonhub/rx/Serial_PiZero_barn/values 0
2020-11-09 00:05:39,165 DEBUG MQTT Publishing: emon/Serial_PiZero_barn {"Settings": 0, "time": 1604880339.0210834}
2020-11-09 00:05:39,342 DEBUG emoncmsorg Buffer size: 1
2020-11-09 00:05:39,350 DEBUG SerialTx invalid input name: Band 433 MHz
Calibration
2020-11-09 00:05:40,854 WARNING SerialTx Exception caught in SerialTx thread. Traceback (most recent call last):
File "/opt/openenergymonitor/emonhub/src/emonhub_interfacer.py", line 32, in wrapper
return func(*args)
File "/opt/openenergymonitor/emonhub/src/emonhub_interfacer.py", line 99, in run
rxc = self.read()
File "/opt/openenergymonitor/emonhub/src/interfacers/EmonHubTx3eInterfacer.py", line 46, in read
self._rx_buf = self._rx_buf + self._ser.readline().decode()
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xff in position 0: invalid start byte
2020-11-09 00:05:41,008 WARNING MainThread SerialTx thread is dead.
2020-11-09 00:05:41,009 WARNING MainThread Attempting to restart thread SerialTx (thread has been restarted 13 times...)
2020-11-09 00:05:41,013 INFO MainThread Creating EmonHubTx3eInterfacer 'SerialTx'
2020-11-09 00:05:41,017 DEBUG MainThread Opening serial port: /dev/ttyAMA0 @ 115200 bits/s
2020-11-09 00:05:41,021 DEBUG MainThread Setting MQTT timestamped: True
2020-11-09 00:05:49,776 DEBUG SerialTx invalid input name: i1Cal
2020-11-09 00:05:59,202 DEBUG SerialTx 90 NEW FRAME : MSG:1,Vrms:0.00,P1:0,E1:0,T1:0.00,T2:0.00,T3:0.00,pulse:1
2020-11-09 00:05:59,204 DEBUG SerialTx 90 Timestamp : 1604880359.201675
2020-11-09 00:05:59,206 DEBUG SerialTx 90 From Node : Serial_PiZero_barn
2020-11-09 00:05:59,208 DEBUG SerialTx 90 Values : [1, 0, 0, 0, 0, 0, 0, 1]
2020-11-09 00:05:59,210 DEBUG SerialTx 90 Sent to channel(start)' : ToEmonCMS
2020-11-09 00:05:59,211 DEBUG SerialTx 90 Sent to channel(end)' : ToEmonCMS
2020-11-09 00:05:59,451 INFO MQTT Publishing: emonhub/rx/Serial_PiZero_barn/values 1,0,0,0,0,0,0,1
2020-11-09 00:05:59,455 DEBUG MQTT Publishing: emon/Serial_PiZero_barn {"MSG": 1, "Vrms": 0, "P1": 0, "E1": 0, "T1": 0, "T2": 0, "T3": 0, "pulse": 1, "time": 1604880359.201675}
2020-11-09 00:06:08,040 DEBUG SerialTx 91 NEW FRAME : MSG:2,Vrms:0.00,P1:0,E1:0,T1:0.00,T2:0.00,T3:0.00,pulse:1
2020-11-09 00:06:08,042 DEBUG SerialTx 91 Timestamp : 1604880368.039376
2020-11-09 00:06:08,044 DEBUG SerialTx 91 From Node : Serial_PiZero_barn
2020-11-09 00:06:08,046 DEBUG SerialTx 91 Values : [2, 0, 0, 0, 0, 0, 0, 1]
2020-11-09 00:06:08,047 DEBUG SerialTx 91 Sent to channel(start)' : ToEmonCMS
2020-11-09 00:06:08,050 DEBUG SerialTx 91 Sent to channel(end)' : ToEmonCMS
2020-11-09 00:06:08,171 INFO MQTT Publishing: emonhub/rx/Serial_PiZero_barn/values 2,0,0,0,0,0,0,1
2020-11-09 00:06:08,176 DEBUG MQTT Publishing: emon/Serial_PiZero_barn {"MSG": 2, "Vrms": 0, "P1": 0, "E1": 0, "T1": 0, "T2": 0, "T3": 0, "pulse": 1, "time": 1604880368.0393758}
2020-11-09 00:06:09,383 DEBUG emoncmsorg Buffer size: 2
2020-11-09 00:06:17,009 DEBUG SerialTx 92 NEW FRAME : MSG:3,Vrms:0.00,P1:0,E1:0,T1:0.00,T2:0.00,T3:0.00,pulse:1
2020-11-09 00:06:17,012 DEBUG SerialTx 92 Timestamp : 1604880377.007843
2020-11-09 00:06:17,013 DEBUG SerialTx 92 From Node : Serial_PiZero_barn
2020-11-09 00:06:17,015 DEBUG SerialTx 92 Values : [3, 0, 0, 0, 0, 0, 0, 1]
2020-11-09 00:06:17,017 DEBUG SerialTx 92 Sent to channel(start)' : ToEmonCMS
2020-11-09 00:06:17,019 DEBUG SerialTx 92 Sent to channel(end)' : ToEmonCMS
2020-11-09 00:06:17,111 INFO MQTT Publishing: emonhub/rx/Serial_PiZero_barn/values 3,0,0,0,0,0,0,1
2020-11-09 00:06:17,115 DEBUG MQTT Publishing: emon/Serial_PiZero_barn {"MSG": 3, "Vrms": 0, "P1": 0, "E1": 0, "T1": 0, "T2": 0, "T3": 0, "pulse": 1, "time": 1604880377.0078433}
2020-11-09 00:06:25,875 DEBUG SerialTx 93 NEW FRAME : MSG:4,Vrms:0.00,P1:0,E1:0,T1:0.00,T2:0.00,T3:0.00,pulse:1
2020-11-09 00:06:25,877 DEBUG SerialTx 93 Timestamp : 1604880385.873888
2020-11-09 00:06:25,878 DEBUG SerialTx 93 From Node : Serial_PiZero_barn
2020-11-09 00:06:25,880 DEBUG SerialTx 93 Values : [4, 0, 0, 0, 0, 0, 0, 1]
2020-11-09 00:06:25,883 DEBUG SerialTx 93 Sent to channel(start)' : ToEmonCMS
2020-11-09 00:06:25,885 DEBUG SerialTx 93 Sent to channel(end)' : ToEmonCMS
2020-11-09 00:06:26,162 INFO MQTT Publishing: emonhub/rx/Serial_PiZero_barn/values 4,0,0,0,0,0,0,1
2020-11-09 00:06:26,166 DEBUG MQTT Publishing: emon/Serial_PiZero_barn {"MSG": 4, "Vrms": 0, "P1": 0, "E1": 0, "T1": 0, "T2": 0, "T3": 0, "pulse": 1, "time": 1604880385.873888}
2020-11-09 00:06:39,392 DEBUG emoncmsorg Buffer size: 2