Garage Door Monitor
github.com
github.com
These sort of things usually end in tragedy. I worked at a chemical plant that had an explosion where the safety systems (SIS) were bypassed. The engineers were trying to light off a boiler and were having trouble. The safety system had a 30 minute time delay between unsuccessful light off attempts to allow the fuel to disperse. The engineers bypassed the time delay and attempted multiple unsuccessful light offs in a row which flooded the boiler with fuel. Finally, it lit and went boom. Those near the equipment in the field were all killed.
Hope you don't have any pets, children, or slow moving adults around.
When a garage door doesn't close when requested (or does open when not requested) it will spray notifications to everyone's phone, but it won't try to close the door again.
that to me looks like an ok architecture from the safety pov, where the gadget behaves as an eye and maybe a finger pushing the control remote, so the safety is delegated to the garage control.
to state the obvious, I'm fully with you that there should be no override bypass inactive whatever on any kind of safety sensor, and the sensor should always be fail safe, i.e. if a sensor fails the motor stops, if an electronics compinent fails, the motor stops, if not locked shut it should be possible to manually completely reopen the door, etc.
obligatory pointer to Nancy Leveson http://sunnyday.mit.edu/
The most common cause of destroyed engines is exactly like you describe for the boiler, it didn't start the first time and someone ignores the cooldown limits and/or cause of the failed start (e.g. not enough power in the batteries to get the turbine up to minimum speed before adding fuel, try again now with even less power because you used some on the first attempt)
What aspect of a garage door status monitor do you consider a safety item? This has nothing to do with the various safety systems built in to garage doors (IR sensors, pressure sensors, etc) - it just alerts the owner if they forgot to close the garage door. The bypass silences those reminders.
We had a terrible problem leaving ours open, and I got one of these to help solve the problem. It's been pretty great, though it does require a phone app, network connectivity, and an account with Chamberlain. OTOH, it's HELLA cheap -- like $25.
I don't know if Amazon links are okay here, but that's where I got mine. The item name there is "Chamberlain MyQ Smart Garage Hub - Wi-Fi enabled Garage Hub with Smartphone Control, Model MYQ-G0301".
There's not much easily steal-able in my garage, and the door from my house to my garage is a heavy fire door with a deadbolt. The Chamberlain device adds convenience and nagging when we DO leave it open, but because of these other measures isn't a major part of household security like a hackable doorlock would be.
There's a link to my source code too. It's, uhh, pragmatic rather than elegant.
Edit: I realize that this is a bit outdated because it references irssi-notifier, rather than Pushbullet. I will update the writeup.
Edit edit: updated it!
They can take you really far.
Presumably by bouncing everything through some anonymous Alibaba cloud ip addresses, effectively granting permission to the Chinese government to open your garage door whenever they like... :sigh:
(Actually, it seems like its at least not completely awful, security wise: https://www.mcafee.com/blogs/other-blogs/mcafee-labs/we-be-j... )
It’s quite nice though. You can even have Amazon drop their packages inside the garage through some single use token or something. I for one have way too much value of tools and whatnot in my garage to grant that trust but I wish I could.
We had 5 garage door openers in our apartment at the beginning of the work from home period for her testing.
First of all, their app usually takes about 30-60 seconds to load up which is pretty frustrating when you're waiting outside your garage and trying to get in, just waiting on a spinner as it has to go talk to some cloud server somewhere.
Second, I use Home Assistant for pretty much everything, and Chamberlain has a habit of breaking their API every few months. From what I've gleaned they seem to change how they allowlist user-agent headers to try to intentionally break things like Home Assistant.
Eventually I got tired of it constantly being slow and/or not working, and I threw it away. I replaced it with a programmable Z-Wave contact relay (Zooz ZEN16). It works much better now.
Lastly, the newer Chamberlain motor units actually don't use simple push buttons anymore, so what I've done isn't even an option. I believe it's some kind of PWM over the wire to the wall-mounted buttons. I would recommend not buying any Chamberlain product because of their anti-consumer behavior.
MyQ is probably the best $30 I’ve ever spent.
I’m under no illusion that that APIs are appropriately handled, or that it’s great for all workflows. But for me, it delivered the expected functionality, no RPi hacking required.
If you solder, even just a little, you can attach a pair of wires to the board in the wall mounted button so you can control it from whatever project you are doing. I using pins on a pi to flip a relay and complete the circuit as if I pressed the button.
The button panel for my ancient opener runs off of two wires, and each button is connected through a different value resistor, so I'm assuming the way it works is it measures the voltage drop to tell if you pressed the door or the light button. But, just connecting the two leads from the opener is enough to open or close the door, and I never use the built in bulbs on the opener anyways.
I did this about 8 years ago, and hooked it to an Insteon network, which is ultimately connected to my HomeAssistant setup. If I was doing it today I'd probably do the same soldering but wire it to something I could run tasmota on (and control via mqtt).
Compare this with AladdinConnect that comes with the Genie lifts - they have broken people approximately zero times.
I'm curious as to why human size doors in garages have become so unpopular in residential architecture. Security concerns? Energy efficiency? Streamlined appearance? Cost cutting?
https://www.michevan.id.au/posts/garage-door-sensor/
It's worked very well for us. You pretty much can't miss it flashing when you're heading towards the front of the house.
I recognise it may not be a good fit for other people though, but sometimes simpler can be betterer.
I haven't tried it with a garage door, but I do see the home bridge community has built some plugins with some garage doors.
I don’t think the OP is actually doing any sort of control though. I personally would recommend a Zigbee door sensor as part of a Zigbee + Home Assistant (open source) automation system which gives you the flexibility of not having to run wires and not having to write code to configure the automations.
[1] https://riveducha.onfabrica.com/raspberry-pi-gpio-send-radio...
I have one in our postbox flap to detect when we get mail - the sonoff needed 2-3 seconds to detect anything being open (and thus would miss the event) - and the flap being closed by then made it harder to send out the signal. The aqara's are almost instant and send out while the flap is lifted.
I would avoid basic RF wherever possible; stick with a wired connection between the motor and your microcontroller, and use 802.11 wifi for communications. This is where the ESP32 (or ESP8266) makes perfect sense.