SD card died after a couple of years, and I am getting Null Inputs. Via “new device” I am selecting EmonPI SolarPV type 2, and when I check EmonHub
Details:
I have an EmonPI on a Raspberry Pi Model B Rev 2.0 - 512MB (Sony UK)
New SD card written using the emonSD-17Oct19, with the change made as per the text.
2020-11-10 10:15:42,525 DEBUG RFM2Pi device settings updated: E i5 g210 @ 433 MHz q1
2020-11-10 10:15:42,699 DEBUG RFM2Pi 1 NEW FRAME : OK 10 242 2 4 0 0 0 0 0 211 93 0 0
2020-11-10 10:15:42,717 WARNING RFM2Pi 1 RX data length: 12 is not valid for datacodes ['h', 'h', 'h', 'h', 'h', 'h', 'h', 'h', 'h', 'h', 'h', 'L']
2020-11-10 10:15:42,845 DEBUG RFM2Pi acknowledged command: > 1p
2020-11-10 10:15:43,215 DEBUG RFM2Pi acknowledged command: i - set node ID (standard node ids are 1..30)
2020-11-10 10:15:43,363 DEBUG RFM2Pi acknowledged command: b - set MHz band (4 = 433, 8 = 868, 9 = 915)
2020-11-10 10:15:43,513 DEBUG RFM2Pi acknowledged command: o - change frequency offset within the band (default 1600)
2020-11-10 10:15:44,034 DEBUG RFM2Pi acknowledged command: g - set network group (RFM12 only allows 212, 0 = any)
2020-11-10 10:15:44,173 DEBUG RFM2Pi acknowledged command: c - set collect mode (advanced, normally 0)
2020-11-10 10:15:44,468 DEBUG RFM2Pi acknowledged command: ..., a - send data packet to node , request ack
2020-11-10 10:15:44,633 DEBUG RFM2Pi acknowledged command: ..., s - send data packet to node , no ack
2020-11-10 10:15:44,902 DEBUG RFM2Pi acknowledged command: q - set quiet mode (1 = don't report bad packets)
2020-11-10 10:15:45,122 DEBUG RFM2Pi acknowledged command: x - set reporting format (0: decimal, 1: hex, 2: hex+ascii)
2020-11-10 10:15:45,555 DEBUG RFM2Pi acknowledged command: ,,, f - FS20 command (868 MHz)
2020-11-10 10:15:45,789 DEBUG RFM2Pi acknowledged command: ,, k - KAKU command (433 MHz)
2020-11-10 10:15:46,109 DEBUG RFM2Pi device settings updated: E i5 g210 @ 433 MHz q1
2020-11-10 10:15:51,366 DEBUG RFM2Pi 8 NEW FRAME : OK 10 221 2 4 0 0 0 0 0 118 93 0 0
2020-11-10 10:15:51,370 WARNING RFM2Pi 8 RX data length: 12 is not valid for datacodes ['h', 'h', 'h', 'h', 'h', 'h', 'h', 'h', 'h', 'h', 'h', 'L']
2020-11-10 10:16:02,126 DEBUG RFM2Pi 9 NEW FRAME : OK 10 240 2 4 0 0 0 0 0 197 93 0 0
2020-11-10 10:16:02,130 WARNING RFM2Pi 9 RX data length: 12 is not valid for datacodes ['h', 'h', 'h', 'h', 'h', 'h', 'h', 'h', 'h', 'h', 'h', 'L']
Config:
[interfacers] ### This interfacer manages the RFM12Pi/RFM69Pi/emonPi module [[RFM2Pi]] Type = EmonHubJeeInterfacer [[[init_settings]]] com_port = /dev/ttyAMA0 com_baud = 38400 # 9600 for old RFM12Pi [[[runtimesettings]]] pubchannels = ToEmonCMS, subchannels = ToRFM12,
group = 210
frequency = 433
baseid = 5 # emonPi / emonBase nodeID
calibration = 230V # (UK/EU: 230V, US: 110V)
quiet = true # Disable quite mode (default enabled) to enable RF packet debugging, show packets which fail crc
# interval = 300 # Interval to transmit time to emonGLCD (seconds)
[[9]]
nodename = emontx2
[[[rx]]]
names = power1, power2, power3, power4, vrms, temp1, temp2, temp3, temp4, temp5, temp6, pulse
datacode = h
scales = 1,1,1,1,0.01,0.1,0.1, 0.1,0.1,0.1,0.1,1
units =W,W,W,W,V,C,C,C,C,C,C,p
Lastly “minicom -b 38400 -o -D /dev/ttyAMA0” works fine:
> 0h
Available commands:
i - set node ID (standard node ids are 1…30)
b - set MHz band (4 = 433, 8 = 868, 9 = 915)
o - change frequency offset within the band (default 1600)
96…3903 is the range supported by the RFM12B
g - set network group (RFM12 only allows 212, 0 = any)
c - set collect mode (advanced, normally 0)
t - broadcast max-size test packet, request ack
…, a - send data packet to node , request ack
…, s - send data packet to node , no ack
q - set quiet mode (1 = don’t report bad packets)
x - set reporting format (0: decimal, 1: hex, 2: hex+ascii)
123 z - total power down, needs a reset to start up again
Remote control commands:
,,, f - FS20 command (868 MHz)
,, k - KAKU command (433 MHz)
Current configuration:
E i5 g210 @ 433 MHz q1
OK 10 72 3 3 0 0 0 0 0 196 93 0 0
OK 10 80 3 6 0 0 0 0 0 129 93 0 0
OK 10 66 3 4 0 0 0 0 0 198 93 0 0
OK 10 65 3 3 0 0 0 0 0 234 93 0 0
Not sure what to do?