Thx Paul …
I hooked up my rig approx 3 weeks ago to become familiar with it. It’s in a very visible location and the RPi
does not have a case. I can easily see the red LED flashes on the emonTx and the radio module. During the updating ‘outage’, I did not see LED flashes from the radio module on the emonBase RPi – as confident as I can be after the event.
I’m running the image on the emon SD card I purchased.
My feeds are PHPFINA Fixed Interval 10 secs. The CSV’s I examined for the period of the updating ‘outage’ I got using the download icon on the Feeds page.
I did come across the forum posts about the RFM chip problem. And to be honest my eyes glazed and so I tried the update on the off chance.
I’ve now learned from you that this restarted the emonhub service – so I have an identified recovery action.
My desire for having an email alert(s) is because eventually the emon rig will be installed to monitor a 30 kWp 3 phase ground mount PV array at my son’s place – an hour’s drive away.
The question in my mind was what could/should trigger the email? Since receiving yr reply, I’ve checked emonhub status. It just tells me I’ve been active since 24th Sep but warns that the journal has been rotated and the log is incomplete/unavailable. So that is not useful.
Being pragmatic I would like to access a current feed value and the preceding one (or more) values so that, in a simple python/bash script, I can do things like … send an email, restart the emonhub service, etc.
A further reason for wanting to access current and preceding feed values is that I have an idea to use this data (in a simple python/bash script) to determine whether it’s a good time to switch on/off an ASHP used to heat an outdoor pool. The ASHP would need to run 7 hours per day – so a case of targeting the likely best exporting times during a May to Sep day – a pragmatic approach.
I’m considering an additional RPi to act as a ‘watch man’ periodically pinging the various RPI’s & 2 x emonTx’s and sending warning emails, initiating service restarts, etc. ‘Watch man’ could also have a simple database of current and preceding feed values.
I foresee each RPi & emonTx powered from a PowerBank as a rudimentary UPS and each RPi having the OS on a USB HDD to avoid SD card problems.
So my specific request is for some hints (or links to guides) – where will I find current & preceding feed values and how to read them & write them elsewhere?
Thx