-
Notifications
You must be signed in to change notification settings - Fork 40
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is it possible to switch a PIN of ESP32 low/high for showing Lock status? #148
Comments
Well, there are more than two states, but it could be mapped like the binaryState for HA. What's your use case? |
Thx for fast answer. I have a second Door for my garage where is installed an electric door opener. I look for a solution to lock the garage door when i lock the nuki. I asked by nuki if it possible to lock two doors with one Keypad/app/... but that is not possible. So when it ist possible to trigger a pin of ESP i can break the wire to the electric door opener and nobody can access. In best case i can input a delay to trigger the pin or can change the pin via MQTT so node red can trigger the pin to the nuki state. |
You use a NUKI lock for your door and a NUKI Opener for the garage? |
No, i use a NUKI Lock for my door und for the garage a brand free electric door opener switched by a contact simular to a NUKI Opener. When i leave my house i close the door and lock the NUKI Lock by a keypad. My wish is that after I have left the property with the car the door to the garage is automatically locked. So the ESP can easy do that by one of the PINs i think. Thx for your time. |
I'm not against this idea, actually I've though about this so you could drive some LEDs with it. However, it has to be configurable and I'm not exactly sure how to do this ... it has to be tailored to the opener you are using (is it just a single contact with on/off, or several contacts one of opening, one for closing, ...). Which home automation system are you using? I'm thinking if it maybe is easier to just install some other device to control the garage opener. I guess you'd have to drive the garage opener using a relay anyway, since directly connecting the ESP doesn't sound like a good idea. Some kind of Wifi relay should do it, you could triggered via some kind of automation when the lock state changes. |
For me its enough to have such LED PIN. I can do this also with a second esp witch toggle the relay (i have to supply 12V to the opener for opening means 12V -> Open, 0V -> close) but the NUKI-HUB is 50 cm away from the Opener and for me it is easy to grab the PIN and toggle a transistor/relay. Maybe it is also good for opening/closing yard gate or Garage door. I can do this with Homeassistent when it possible to change PIN state via MQTT. I prefer NodeRed. Maybe you can implement to passthrough unused PINs of ESP to MQTT. |
@BennoB666 Check release 8.22 |
Hi, First of all thanks for this amazing work. Was using HA addons to act as bridge but this solution is great. I'm trying something similar. Currently I have an eWelink relay to open my building's entrance (something similar to the Nuki Opener) behind the intercom. I can then from HomeAssistant trigger the relay and open the main entrance. Would this be possible to accomplish with the current If it's not supported, is there a way it could be extended to enable one GPIO to be configurable in MQTT to trigger a high state with a particular topic? Maybe also with some kind of inching to hold the intercom opened for Thank you! |
Thx a lot. |
Is it possible in future release to have a PIN which state the status of the NUKI Lock?
The text was updated successfully, but these errors were encountered: