Community
OpenEnergyMonitor

Community

emonPi frequency of logging

emonpi
Tags: #<Tag:0x00007f1bdf582aa8>

(Moojuiceuk) #1

I have noticed the maximum frequency of logging voltage and current is 5 second intervals with Emoncms and emonpi. Is there a way of logging voltage and current to 1 second or sub 1 second intervals?

I need to spot brief undervoltage spikes that I suspect are below the 230v +10/ -6% tollerance allowed on a UK 1ph supply. It might seem strange, but I suspect an undervoltage issue is having an issue with a heat pump install, hence the need to log data to this resolution. Yes, I know it will take up SD card space, but needs must! Any ideas?


(Trystan Lea) #2

Hello @moojuiceuk

It is possible to change to frequency of logging in the emonpi firmware here:
https://github.com/openenergymonitor/emonpi/blob/master/firmware/src/src.ino#L85

you could then use the PHPTimeSeries feed engine which accepts interval lengths down to 1s. PHPFina would be better (use half the disk space) but would require further modifications to allow for a shorter interval.


(Moojuiceuk) #3

Thanks, I’ll see if the boss wants to order one for this site :slight_smile: