Jim,
Nice work. I did this a year or two ago and it's super handy. Glad to see others have done the same. MySQL storage allows for a pretty much infinite history record, which I'll love to have down the road. Plus, it's nice to be able to share the URL with your reefer friends lol.
One thing that I also did was shift my email notifications to the PHP as well. I didn't like the disorganized apex emails, so I setup some new fields in MySQL to indicate the "desired" outlet value, indicate whether or not the outlet is a "warning" outlet, and the PHP can then track all of that and send an email including more useful categorization.
Code:
This email is to notify you of a change:
Warning: ON
Changed Outlets:
Warning: ON
ATOResLow: ON
Outlets in Alert:
SumpLow: ON
ATOResLow: ON
Probe Data:
Temp: 78.4
pH: 7.96
Amps: 1.6
Other Outlets:
Circ. Pump: ON
CarbonGFO: ON
Vor Techs: ON
Skimmer: ON
Auto Top Off: ON
Heaters: OFF
Auto Water Chng: OFF
SaltChangeWarn: OFF
Still a work in progress for me, but tons better than the out of the box stuff. I also wrote a script to SET outlets as opposed to reading them...furthering automation. It's a basic PHP API, if anyone wants some of that code. Let me know.
aqvitals.jpg
Bookmarks