Hi!
My problem is, that no input is coming to emoncms.
I used fresh emonpi installation from latest img file on raspberry pi3 with RFM2Pi board.
also i have emontx3 what sends data.
I have made new SD card, updated/upgraded/restarted…few years ago, I remember there was no problems, but now I can’t get it working.
I understand, that locally the data should come through MQTT, but…
on emonhub log i see tha data coming in:
…
2022-11-13 17:03:23,173 WARNING RFM2Pi 212 RX data length: 24 is not valid for datacodes [‘h’, ‘h’, ‘h’, ‘h’, ‘h’, ‘h’, ‘h’, ‘h’, ‘h’, ‘h’, ‘h’, ‘L’]
2022-11-13 17:03:35,032 DEBUG RFM2Pi 213 NEW FRAME : OK 10 130 0 204 3 135 5 217 0 142 99 196 0 240 1 248 0 228 2 48 0 0 0 0 0 (-68)
2022-11-13 17:03:35,033 WARNING RFM2Pi 213 RX data length: 24 is not valid for datacodes [‘h’, ‘h’, ‘h’, ‘h’, ‘h’, ‘h’, ‘h’, ‘h’, ‘h’, ‘h’, ‘h’, ‘L’]
2022-11-13 17:03:46,913 DEBUG RFM2Pi 214 NEW FRAME : OK 10 105 0 30 4 132 5 218 0 221 99 196 0 240 1 248 0 227 2 48 0 0 0 0 0 (-67)
…
emonhub.conf is as follows:
[hub]
### loglevel must be one of DEBUG, INFO, WARNING, ERROR, and CRITICAL
loglevel = DEBUG
### Uncomment this to also send to syslog
# use_syslog = yes
#######################################################################
####################### Interfacers #######################
#######################################################################
[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)
[[MQTT]]
Type = EmonHubMqttInterfacer
[[[init_settings]]]
mqtt_host = 127.0.0.1
mqtt_port = 1883
mqtt_user = emonpi
mqtt_passwd = emonpimqtt2016
[[[runtimesettings]]]
pubchannels = ToRFM12,
subchannels = ToEmonCMS,
# emonhub/rx/10/values format
# Use with emoncms Nodes module
node_format_enable = 1
node_format_basetopic = emonhub/
# emon/emontx/power1 format - use with Emoncms MQTT input
# http://github.com/emoncms/emoncms/blob/master/docs/RaspberryPi/MQTT.md
nodevar_format_enable = 1
nodevar_format_basetopic = emon/
# Single JSON payload published - use with Emoncms MQTT
node_JSON_enable = 0
node_JSON_basetopic = emon/
[[emoncmsorg]]
Type = EmonHubEmoncmsHTTPInterfacer
[[[init_settings]]]
[[[runtimesettings]]]
pubchannels = ToRFM12,
subchannels = ToEmonCMS,
url = http://localhost
apikey = XXX36ee96a5b9XXXbea9736e8afdbXXX
senddata = 1 # Enable sending data to Emoncms.org
sendstatus = 1 # Enable sending WAN IP to Emoncms.org MyIP > https://emoncms.org/myip/list
sendinterval= 30 # Bulk send interval to Emoncms.org in seconds
Any ideas, what to check, or where is the problem, what I cannot see.
[Edited for presentation - Moderator (RW)]