logo elektroda
logo elektroda
X
logo elektroda

Automatic poultry house door with TUYA module - operation without internet and electricity

szopik 1017 2
ADVERTISEMENT
Treść została przetłumaczona polish » english Zobacz oryginalną wersję tematu
  • #1 20962144
    szopik
    Level 10  

    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?
  • ADVERTISEMENT
  • #2 20962163
    Anonymous
    Level 1  
  • #3 20963177
    szopik
    Level 10  
    szopik wrote:
    2. What if, for example, the power is temporarily taken away e.g. during the night the battery runs out of power in the morning it is recharged, will this cause the door to open with a delay or will you have to program from scratch?

    You will not need to program, but yes, without power you will not open the door. However, as if you went energy efficient, you'd be able to keep the electronics alone running on batteries for a few hours, and the actuator would need a power supply.[/quote]

    I mean, yes, it would be on a battery all the time, which is charged from the panel. So assuming such a scenario that the opening is at 6am, the power went off at 5 and on at 7 because the sun came out, will the controller realise it's after time and open the door? Perhaps trivial questions, but quite interesting to me ;)

    And then there's the question about the connection to the actuator itself. How will the controller know how long to give current to the actuator? Is it set in the scenario time in seconds - because the actuator itself has a safety feature that when it gets to the end, it stops working.
ADVERTISEMENT