Hi,
I am planning to make an automatic chicken coop door using a module. I am thinking of one such: 2-Channel WiFi Relay Module - TUYA - NO / NC (https://allegro.pl/oferta/beznapieciowy-przekaznik-wifi-2kanalowy-tuya-5-32v-13094522584) and a 12V actuator - all connected to the battery.
The plan is that at a certain time the actuator will extend or retract the door, opening or closing it. In addition, it will be possible to open or close the door remotely via WiFi outside the schedule if necessary.
And here I have some doubts, and unfortunately I have not been able to find an answer:
1. Can this module be controlled via an app? Are there different scenarios and can the hours be set in the app? What if the internet runs out or if the controller or the phone on which the app is installed is switched off? Does this module remember the scenario settings or must it always have internet access?
2. What happens if the power runs out for a while, for example at night, and the battery runs out? Will the door open with a delay once the battery is recharged, or will it have to be programmed from scratch?
3. Is it possible to add some sort of safety feature to prevent the door from opening if something blocks it, such as a chicken, so that it is not squashed?