@jthornton Well, I had to go in to work today... I had installed VNC at work PC.
for some dumb reason, when I was putting my Rpi address, it would not connect today.
solution... fire up "Teamviewer" (basically the same as VNC for PC's)
I access PC (at home) from PC (at work) to access VNC (at home) to get connected to Rpi.
(what a crazy daisy chain of computers!)
I managed to install your files on the Rpi via Filezilla, edited my location as
"PBTZ = pytz.timezone('US/Eastern')
#PBMO = LocationInfo("Your City", "Your Area", "Time Zone", Latitude, Longitude)
PBMO = LocationInfo("Cutler Bay", "Southeast", "US/Eastern", 25.584416, -80.349980)
HM = '%I:%M %p' "
I hope that is correct...
When I execute coop3, I do get
"rob@coop:~ $ coop3
libEGL warning: DRI2: failed to authenticate
qt5ct: using qt5ct plugin
qt5ct: D-Bus global menu: no"
(within a second later)
I then get a another window to pop open and the title of the window is "chicken coop tres"
the Sun times seem accurate for my location, so I do believe the location stuff is correct.
So I do think I have made progress..
What is next?
I would assume hooking up stuff (wires) to Rpi... lol
I do have this
5V relay board.
Does
@Mouthpear's wiring diagram with the relay board look good?
Just not sure which pin is which, etc...
If yes... I have read over your code
DOOR_UP =17
DOOR_DOWN =18
what confuses me, is probably a stupid question,
is it GPIO 17/pin 11?
GPIO 18/pin12?
The GPIO/pin numbering is confusing, but I'm sure the Rpi guys have their reason
I don't want to let out the "magic smoke" out of my Rpi... (everything worked until they let the magic smoke out, lol) ...electronic joke.
I also ordered the window switches he referenced... where would I install them
Yes that relay board should do. Having the HI / Low feature might come in handy. You never know.
Active 12V PoE Splitter Power Over Ethernet Adapter
DC 2.1 5.5 MM 1 to 2 Power Adapter Splitter
12V 5.5mm x 2.1mm DC Power Connector Adapter
DC-DC 12V to 5V 3A Micro USB Converter Voltage Step Down Regulator
I had already made the diagram with the original board and could not find a straight head on view to make a good diagram with the preferred red board.
View attachment 2374835
I went ahead and did the Motor Shield also just in case.
View attachment 2374836
Side note... I ordered
this webcam which does have a very good image...few questions.
1) how do I get the Rpi csi camera (for the coop) AND the webcam (for the run) both working.
2) how do I get the webcam microphone working (its all on one USB plug)
3) I have viewed the webcam images at 192.xxx.x.xx:8081
4) Can I install MotioneyeOS (I know its an operating system on its own) and run your coop3 program. I do think that would be the golden ticket.
Right now I'm tinkering with all of this on a coffee table... I still have to run the network cables, switches, hub, mount stuff to the coop door etc... and eventually get time to install my security cameras...
( I have so many coals in the fire)