I currently have the following version of emonhub that has been in use for a long time, possibly I got it from Noah.
Pre-Release Development Version (rc1.2)
Doing some system reorganisation and I want to reinstall it on a new Pi Zero W. I know there have been some developments so I’d rather bring it up to date. However, the GitHub repository simply talks about the ‘emon-pi’ variant so I am wondering what I should install?
The RFM module is the old RFM12Pi V2.6 which again I know needs some specific settings.
Hello @borpin, there’s a long discussion on the status of the different variants of emonhub and what the future direction is here (linked post is summary of work to be done): EmonHub Development - #44 by TrystanLea. Im working on the indexed inputs part for emoncms at the moment, I know @pb66 is really busy, but wants to at some point review the code and points raised so that we can work towards a single version.
The emon-pi variant is stable, if you want to try out the developments by all means do so. The emon-pi variant name is a bit misleading as it will work on any system. If your happy with your current setup and emonhub version then dont feel there’s a need to switch either.
Good question @borpin!
This is the single most divisive issue facing emonpi/self build alignment and has been ongoing for far too long, and raised many times previously.
It would be really nice if @TrystanLea & @pb66 could bring this to some conclusion.
@TrystanLea - you are right. I already had pip installed but I installed serial and configobj via pip as well as paho-mqtt. I’m not familiar enough with the process to understand the difference between installing via apt-get or pip.
I also rewrote the emonhub.service file based on the work by @Greebo for service-runner as well as modifying the install method.
Finally I amended my ‘emonhub.conf’ file in line with emonhub/emonhub.conf at emon-pi · openenergymonitor/emonhub · GitHub - I am not sure I have that quite right though as I do not use the mqtt interface, just the HTTP one and the emonth setup seemed completely different.
I still get the error I posted above but I realised overnight that I seem to remember there is a need to disable the serial console and I also did not check the name of the serial port.
@Paul can you remind me if I am right about the serial console and how to check which is the right serial port please?
I Realised that my plan had a major flaw. I’m using the Pi Zero for presence detection via Bluetooth and I can’t do Bluetooth and use the UART at the same time. So for the moment, it is staying where it is.