I have an old Eeepc running emoncms v5 with an arduino on USB wired up to an AC adapter and 3 CT's in my breaker panel. The eeepc is running Ubuntu 12 off a SD card, as it doesn't have enough space on it's internal drive.
This ran well for a year or so, but recently the pylink.py script keeps crashing. I updated it as per this link:
http://openenergymonitor.org/emon/node/2504
but now I'm noticing that there's a big delay in the feed - roughly 4 or 5 minutes from when I turn some loads on and off, and when I see the result in the realtime graph. What's really strange is that the terminal window from which I ran pylink.py is also delayed - I see the raw data coming in once every second or so, but it's also very delayed. Can't quite figure out why. Unplugging the arduino causes the script to crash immediately, but data comes in very late.
Anyone have similar issues in the past?
It might be time to turf the entire system and switch to a PI; or would it be worth trying to upgrade to emoncms V7?
Wade
Re: Anyone else had problems with pylink.py delaying data transmission?
Slowed the data rate, and updated to the latest emoncms with timestore; pylink.py is now keeping up more or less; but the updates are still very erratic. The arduino sends data every two seconds, but the pylink.py console stalls for say 10 seconds, then you see 5 updates all at once. Probalby something weird with my sd card Linux install on the old computer.
I'll try the OEM Gateway code next - sounds like that would be better than pylink.py.
Wade