Thanks @rupert
Apologies, the combination of default config being for the emonPi2 and unclear documentation on what the pin settings should be for the emonBase rather than the emonPi2 is not helping here. On the emonBase the configuration should be:
[[SPI]]
Type = EmonHubRFM69LPLInterfacer
[[[init_settings]]]
nodeid = 5
networkID = 210
selPin = 26
[[[runtimesettings]]]
pubchannels = ToEmonCMS,
or omitting selPin also works as this defaults to 26:
[[SPI]]
Type = EmonHubRFM69LPLInterfacer
[[[init_settings]]]
nodeid = 5
networkID = 210
[[[runtimesettings]]]
pubchannels = ToEmonCMS,
On the emonPi2 the configuration should be:
[[SPI]]
Type = EmonHubRFM69LPLInterfacer
[[[init_settings]]]
nodeid = 5
networkID = 210
resetPin = 24
selPin = 16
[[[runtimesettings]]]
pubchannels = ToEmonCMS,
I have added a note to the default emonhub.conf used on the emonSD image to mention this:
https://github.com/openenergymonitor/emonhub/blob/master/conf/emonpi2.default.emonhub.conf#L46
It’s probably about time that we issue a new image update soon, with this and other changes such as the latest version of the sync module.
1 Like