I bought my Emonpi few weeks ago. I’ve plugged my Victron BMV 700 (battery controller) into the emonpi and with a bit a configuration (in the emonhub.conf file) i managed to see datas on my EmonCMS account. It works Perfectly fine !
But now i want to read Bmv 700 datas using my beloved RaspberryPi3 ONLY (no emonpi cardboard, no RFM69PI…), since i couldn’t find any solutions to read my bmv 700 directly i was wondering if i could use emonhub on my raspberryPi to send datas in my emoncms page (exactly the same way i did with my emonpi).
I’ve installed the emonhub (emonpi-variant version) on my raspberry, edit the emonhub.conf, plugged the BMV700 with the victron connect USB cable but it didnt works at all.
I get some errors in the emonhub.log like this :
2016-10-07 16:47:05,025 DEBUG SIGINT received. 2016-10-07 16:47:05,236 INFO Exiting hub... 2016-10-07 16:47:05,266 INFO Exit completed 2016-10-07 16:47:05,691 INFO EmonHub Pre-Release Development Version (rc1.2) 2016-10-07 16:47:05,691 INFO Opening hub... 2016-10-07 16:47:05,692 INFO Logging level set to DEBUG 2016-10-07 16:47:05,692 INFO Creating EmonHubEmoncmsReporter 'emonCMS' 2016-10-07 16:47:05,693 INFO Set up reporter 'emonCMS' (buffer: memory | size: 1000) 2016-10-07 16:47:05,694 INFO Setting emonCMS url: https://emoncms.org 2016-10-07 16:47:05,694 INFO Setting emonCMS apikey: set 2016-10-07 16:47:05,694 INFO Creating EmonHubJeeInterfacer 'RFM2Pi' 2016-10-07 16:47:05,695 DEBUG Opening serial port: /dev/ttyAMA0 @ 38400 bits/s 2016-10-07 16:47:07,699 DEBUG Opening serial port: /dev/ttyAMA0 @ 9600 bits/s **2016-10-07 16:47:09,702 ERROR Unable to create 'RFM2Pi' interfacer: Attempting to use a port that is not open** 2016-10-07 16:47:09,703 INFO Creating EmonHubMqttInterfacer 'MQTT' 2016-10-07 16:47:09,704 ERROR Unable to create 'MQTT' interfacer: 'module' object has no attribute 'EmonHubMqttInterfacer' 2016-10-07 16:47:09,704 INFO Creating EmonHubEmoncmsHTTPInterfacer 'emoncmsorg' 2016-10-07 16:47:09,705 ERROR Unable to create 'emoncmsorg' interfacer: 'module' object has no attribute 'EmonHubEmoncmsHTTPInterfacer' 2016-10-07 16:47:09,706 INFO Creating EmonHubVEDirectInterfacer 'VEDirect' 2016-10-07 16:47:09,706 ERROR Unable to create 'VEDirect' interfacer: 'module' object has no attribute 'EmonHubVEDirectInterfacer'
Ive tried to disable onboard Pi3 Bluetooth and restore UART0/ttyAMA0 following this topic : Raspberry Pi 3 - Blog | OpenEnergyMonitor
And i dont got any RFM2PI so i tried to delete the RFM2PI interfacer lines in the Emonhub.conf file to make this error disappear. But im feeling its not working like this… And now im just wondering if its possible to use emonhub, without an emonpi, using a raspberrypi only, to read and display on emonCMS datas from the BMV700.
Thx to everybody for taking some time reading this.
And thx to OpenEnergyMonitor for these beautiful devices, great work !