EmonPi software update - emonhub.conf change

The update on the 27th of may changed the decoder definition for the EmonPi. If your EmonPi inputs stopped updating after running the update tool from the admin tab, open emonhub.conf in the in browser editor and scroll down to the section titled nodes and replace the existing definition for node 5 with:

[[5]]
    nodename = emonPi
    firmware = emonPi_RFM69CW_RF12Demo_DiscreteSampling.ino
    hardware = emonpi
    [[[rx]]]
        names = power1,power2,power1_plus_power2,Vrms,T1,T2,T3,T4,T5,T6,pulseCount
        datacodes = h, h, h, h, h, h, h, h, h, h, L
        scales = 1,1,1,0.01,0.1,0.1,0.1,0.1,0.1,0.1,1
        units = W,W,W,V,C,C,C,C,C,C,p

The values should now continue to update as normal. I've added a note to the EmonPi user guide about this too under the updating section http://openenergymonitor.org/emon/modules/emonpi

The reason for this update was to ensure that the pulse count did not come to the end of the range possible with the integer datatype, the pulse count variable is now an unsigned long and hence required the config change.

Let me know if I can extend on the explanation of how to make the change above. Thankyou

Trystan

pb66's picture

Re: EmonPi software update - emonhub.conf change

Just tried the update tool from emoncms and it is a fantastic feature !

Paul

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.