wondering if this is the way to go. I have a raspberrypi mod b. it has dust on it.
My end game is to have a list of on and off dates and times of my central ac, and calculate the duration of on and off times, and do it as simply as possible.
I can clamp a vane to my supply duct that activates a momentary contact micro switch when ac comes on and the airflow moves the vane, and again activates switch when ac turns off. I could use this switch closure to trigger a bluetooth camera shutter remote (hacking into the remote's switch) to take a picture (of a digital thermometer for additional info) using an old smartphone/camera, complete with date/time stamps.
The problem with this method is having to manually step thru the pics, write down the times, calculate time on, time off manually.
I would rather connect the micro switch to a port on rp and use some sort of software to date/time stamp each event, and then calculate on/off times automatically, and make that available as a printed report, or at least a file ready to dl to a pc. I'm not too sure how to begin.
So, searching for your ideas on whether or not my rp is the device to use, and what programming I need to learn for switch input, logging date/time, calculating time on/off, and ending with a report.
Any help would be greatly appreciated.