gpio delays #539
-
Hello, I want to connect my reed switch directly to gpio 2 of the NuKiHub but I would like to set a delay of 5000ms so that the door closes after 5 seconds after gpio2 has become low. thank you |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
No this is not possible with Huki Hub alone. What you could do is to configure the pin as general input, and write a script that reacts to input of pin 2. It should delay the reaction 5 seconds and send a command to lock the door back to Huki Hub. |
Beta Was this translation helpful? Give feedback.
-
thanks for the reply |
Beta Was this translation helpful? Give feedback.
No this is not possible with Huki Hub alone. What you could do is to configure the pin as general input, and write a script that reacts to input of pin 2. It should delay the reaction 5 seconds and send a command to lock the door back to Huki Hub.