I can understand it
He is probably in the garage sitting there with the button flicking it on and off, just amazed and he needed to share
...and I'm back to feeling like an idiot. I assumed that the switches that tell the opener if the door is all the way open as a simple contact switch. However, that doesn't seem to be the case somehow. Or at least my little chip can't figure out if the circuit is open or closed. It just constantly thinks it open. Also, the sensor doesn't seem to work when I have this thing inline. Fuck.
Draw up a diagram of how it's all wired up....and I'm back to feeling like an idiot. I assumed that the switches that tell the opener if the door is all the way open as a simple contact switch. However, that doesn't seem to be the case somehow. Or at least my little chip can't figure out if the circuit is open or closed. It just constantly thinks it open. Also, the sensor doesn't seem to work when I have this thing inline. Fuck.
I looked again. It literally is a contact switch. The 'block' that actually pulls the door up and down reaches a plastic lever at the end of its travel. That switch has a single wire on it. When the 'block' hits that lever, it closes a circuit with the metal track stopping the door. I verified this by opening the door and then manually grounding the wire to track. When I did that, it stopped.Draw up a diagram of how it's all wired up.
I call this "penguin debugging", because I do it all the time - I talk the algorithm out to the stuffed penguin on my desk, and we discover what's wrong together that way.Now that I type this out, I know I have it wired wrong (yet again). I cut the door closed sensor wire and basically spliced the Wemos in the middle, one side of the wire connected to the contact pin (D3) and the other side connected to GND. That isn't going to work.
How often does the penguin judge you?I call this "penguin debugging", because I do it all the time - I talk the algorithm out to the stuffed penguin on my desk, and we discover what's wrong together that way.
8vGot a multimeter? Open the door halfway or disconnect the switch, and measure the sense voltage that the opener drives into the switch.
.39Now take the same measurement with your DMM set to milliamps.
Yeah, that was my reasoning for mounting it next to the opener: I thought it would be easy to also monitor the contact switch. Oops!That's a tough one to do with optoisolation/relays/etc. Where are you mounting the wireless doohickey, up next to the garage opener motor or elsewhere?
Also, what's the model # of the opener?
Its so I can open the door when I'm not here you grumpy old manjust open the door by hand like normal people ffs