Hi – this is going to be a blast from the past, so hoping someone somewhere might still be able to help….
I am running an RFM12B base station (with two EmonTx Transmitters) on a Raspberry pi, running Raspbian Wheezy. Emonhub collects the data and passes it to emoncms (version 8.4.0).
Everything has been working fine for years (at least six years !!!) until suddenly today, I stopped receiving temperature readings. I had not made any changes or updates. The ‘green’ led on the RFM12B flashes on power-up, but no longer flashes when a reading is received. I am assuming that this is not a problem with the transmitters, because both stopped at the same time. Emoncms appears to still be working fine.
I looked in the emonhub log, and there was a lot of HTML pages??? from several days ago, but not today. Anyway, I have changed the config to debug level. Here is my config file:
#######################################################################
####################### Reporters #######################
#######################################################################
[reporters]
# This reporter sends data to emonCMS
[[emonCMS]]
Type = EmonHubEmoncmsReporter
[[[init_settings]]]
[[[runtimesettings]]]
url = http://localhost/emoncms
apikey = <my api key>
#######################################################################
####################### Interfacers #######################
#######################################################################
[interfacers]
# This interfacer manages the RFM2Pi module
[[RFM2Pi]]
Type = EmonHubJeeInterfacer
[[[init_settings]]]
com_port = /dev/ttyAMA0
com_baud = 9600
[[[runtimesettings]]]
group = 210
frequency = 868
baseid = 15
#######################################################################
####################### Nodes #######################
#######################################################################
[nodes]
# List of nodes by node ID
# 'datacode' is default for node and 'datacodes' are per value data codes.
# if both are present 'datacode' is ignored in favour of 'datacodes'
[[99]]
datacode = h
datacodes = l, h, h, h,
and here is my logfile output (after a restart):
2019-06-12 21:33:39,045 INFO EmonHub Pre-Release Development Version (rc1.2)
2019-06-12 21:33:39,047 INFO Opening hub...
2019-06-12 21:33:39,048 INFO Logging level set to DEBUG
2019-06-12 21:33:39,049 INFO Creating EmonHubEmoncmsReporter 'emonCMS'
2019-06-12 21:33:39,050 INFO Set up reporter 'emonCMS' (buffer: memory | size: 1000)
2019-06-12 21:33:39,052 INFO Setting emonCMS url: http://localhost/emoncms
2019-06-12 21:33:39,053 INFO Setting emonCMS apikey: set
2019-06-12 21:33:39,054 INFO Creating EmonHubJeeInterfacer 'RFM2Pi'
2019-06-12 21:33:39,057 DEBUG Opening serial port: /dev/ttyAMA0 @ 9600 bits/s
2019-06-12 21:33:41,061 INFO RFM2Pi device firmware version & configuration: not available
2019-06-12 21:33:41,063 INFO Setting RFM2Pi frequency: 868 (8b)
2019-06-12 21:33:42,065 INFO Setting RFM2Pi group: 210 (210g)
2019-06-12 21:33:43,067 INFO Setting RFM2Pi quiet: 1 (1q)
2019-06-12 21:33:44,070 INFO Setting RFM2Pi baseid: 15 (15i)
2019-06-12 21:33:45,079 DEBUG RFM2Pi acknowledged command: > 8b
2019-06-12 21:33:45,286 DEBUG RFM2Pi acknowledged command: > 210g
2019-06-12 21:33:45,494 DEBUG RFM2Pi acknowledged command: > 1q
2019-06-12 21:33:45,702 DEBUG RFM2Pi acknowledged command: > 15i
Does anyone have any ideas please? Any help gratefully received.