Firmware version: [emonpi.29.20]
[[5]]
nodename = emonpi
[[[rx]]]
names = power1,power2,power1pluspower2,vrms,t1,t2,t3,t4,t5,t6,pulsecount
datacode = h, h, h, h, h, h, h, h, h, h, L
scales = 1,1,1,0.01,0.1,0.1,0.1,0.1,0.1,0.1,1
units = W,W,W,V,C,C,C,C,C,C,p
Logs
2021-02-10 11:14:36,766 INFO MainThread Setting RFM2Pi frequency: 433 (4b)
2021-02-10 11:14:37,768 INFO MainThread Setting RFM2Pi group: 210 (210g)
2021-02-10 11:14:38,770 INFO MainThread Setting RFM2Pi quiet: 1 (1q)
2021-02-10 11:14:39,772 INFO MainThread Setting RFM2Pi calibration: 230V (1p)
2021-02-10 11:14:40,775 DEBUG MainThread Setting RFM2Pi pubchannels: ['ToEmonCMS']
2021-02-10 11:14:40,776 DEBUG MainThread Setting RFM2Pi subchannels: ['ToRFM12']
2021-02-10 11:14:40,778 WARNING MainThread Setting emoncmsorg apikey: invalid format
2021-02-10 11:14:40,784 DEBUG RFM2Pi 18 NEW FRAME : OK 5 0 0 0 0 0 0 246 89 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 (-0)
2021-02-10 11:14:40,786 WARNING RFM2Pi Exception caught in RFM2Pi 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 101, in run
rxc = self._process_rx(rxc)
File "/opt/openenergymonitor/emonhub/src/emonhub_interfacer.py", line 347, in _process_rx
elif len(rxc.realdata) % ehc.check_datacode(datacode) != 0:
File "/opt/openenergymonitor/emonhub/src/emonhub_coder.py", line 10, in check_datacode
return struct.calcsize(datacode)
TypeError: Struct() argument 1 must be a str or bytes object, not list
2021-02-10 11:14:41,013 WARNING MainThread RFM2Pi thread is dead.
2021-02-10 11:14:41,014 WARNING MainThread Attempting to restart thread RFM2Pi (thread has been restarted 17 times...)
2021-02-10 11:14:41,016 INFO MainThread Creating EmonHubJeeInterfacer 'RFM2Pi'
2021-02-10 11:14:41,017 DEBUG MainThread Opening serial port: /dev/serial0 @ 38400 bits/s
2021-02-10 11:14:43,027 INFO MainThread RFM2Pi device firmware version: [emonPi.29.20]
2021-02-10 11:14:43,028 INFO MainThread RFM2Pi device current settings: E i5 g210 @ 433 MHz q1 USA 0
2021-02-10 11:14:43,029 INFO MainThread Setting RFM2Pi calibration: 230V (1p)
2021-02-10 11:14:44,031 DEBUG MainThread Setting RFM2Pi pubchannels: ['ToEmonCMS']
2021-02-10 11:14:44,032 DEBUG MainThread Setting RFM2Pi subchannels: ['ToRFM12']
2021-02-10 11:14:44,034 WARNING MainThread Setting emoncmsorg apikey: invalid format
2021-02-10 11:14:44,038 DEBUG RFM2Pi device settings updated: E i5 g210 @ 433 MHz q1 USA 0