Emonhub migrate to RPi 3 - Not working

I’ve just migrated my SD card from an RPi 2 to an RPi3 - everything else which was running on it is up and working, with the exception of openenergy monitor - emonhub.

The log file has no reference for RFM2PI, other than initial startup:

2016-09-13 09:46:05,371 INFO     MainThread Setting RFM2Pi frequency: 868 (8b)
2016-09-13 09:46:06,373 INFO     MainThread Setting RFM2Pi group: 210 (210g)
2016-09-13 09:46:07,375 INFO     MainThread Setting RFM2Pi quiet: 0 (0q)
2016-09-13 09:46:08,376 INFO     MainThread Setting RFM2Pi baseid: 15 (15i)
2016-09-13 09:46:09,378 INFO     MainThread Setting RFM2Pi calibration: 230V (1p)
2016-09-13 09:46:10,380 DEBUG    MainThread Setting RFM2Pi subchannels: ['ToRFM12']
2016-09-13 09:46:10,384 DEBUG    MainThread Interfacer: Subscribed to channel' : ToRFM12
2016-09-13 09:46:10,385 DEBUG    MainThread Setting RFM2Pi pubchannels: ['ToEmonCMS']
2016-09-13 09:46:10,385 DEBUG    MainThread Interfacer: Subscribed to channel' : ToRFM12
2016-09-13 09:46:10,387 INFO     MainThread Creating EmonHubMqttInterfacer 'MQTT'
2016-09-13 09:46:10,388 INFO     MainThread MQTT Init mqtt_host= mqtt_port=1883 mqtt_user=
2016-09-13 09:46:10,391 DEBUG    MainThread MQTT Subscribed to channel' : ToEmonCMS
2016-09-13 09:46:10,392 INFO     MainThread Creating EmonHubEmoncmsHTTPInterfacer 'emoncmsorg'
2016-09-13 09:46:10,394 DEBUG    MainThread emoncmsorg Subscribed to channel' : ToEmonCMS
2016-09-13 09:46:10,492 INFO     MQTT       Connecting to MQTT Server
2016-09-13 09:46:10,594 INFO     MQTT       Connecting to MQTT Server
2016-09-13 09:46:10,696 INFO     MQTT       Connecting to MQTT Server
2016-09-13 09:46:10,699 INFO     MQTT       connection status: Connection successful
2016-09-13 09:46:10,699 DEBUG    MQTT       CONACK => Return code: 0
2016-09-13 09:46:10,800 INFO     MQTT       on_subscribe
2016-09-13 09:46:40,456 INFO     emoncmsorg sending: https://emoncms.org/input/bulk.json?apikey=E-M-O-N-C-M-S-A-P-I-K-E-Y&data=[]&sentat=1473756400
2016-09-13 09:46:40,534 DEBUG    emoncmsorg acknowledged receipt with 'ok' from https://emoncms.org
2016-09-13 09:46:40,534 INFO     emoncmsorg sending: https://emoncms.org/myip/set.json?apikey=E-M-O-N-C-M-S-A-P-I-K-E-Y
2016-09-13 09:47:10,460 INFO     emoncmsorg sending: https://emoncms.org/input/bulk.json?apikey=E-M-O-N-C-M-S-A-P-I-K-E-Y&data=[]&sentat=1473756430

Is there something I need to have done after migrating?

Found the following blog post which explains why:

though, I’m running wheezy, and the following line doesn’t work:

sudo systemctl disable hciuart

and no amount of googling can find how to acheive the same with service or rc-d?

OEM is now working on my RPi3 though.


Wheezy doesn’t use systemd, (systemctl) so if the proper files exist, the command would be:
update-rc.d hciuart disable

Thanks Bill,
Doesn’t appear that it runs on wheezy:

pi@openhab ~ $ sudo update-rc.d hciuart disable
update-rc.d: using dependency based boot sequencing
update-rc.d: error: cannot find a LSB script for hciuart


I figured that would be the case, which was why I made sure to qualify that with “if the proper files exist.”

Being the type to experiment with stuff like that, I’d set up a copy of Jessie and install the app just to get the LSB file, then copy the LSB file to a Wheezy install and run it just to see what happens. For me that’s half the fun of computing. Playin’ with broken things just to see if I can make 'em work.