PricelessToolkit / ESPClicker

BSD 3-Clause "New" or "Revised" License
224 stars 8 forks source link

Request for Help #9

Open sayam93 opened 2 weeks ago

sayam93 commented 2 weeks ago

Hi, This isn't an issue but rather a question / request. First of all, this looks like a great solution! Do you think it might be possible to create a similar device that’s battery-powered, perhaps by using a protocol like Zigbee or Thread instead of Wi-Fi? I have a battery-powered Tuya rim lock, but it doesn’t support remote unlock since the Wi-Fi module mostly stays in sleep mode unless a manual request is made from the lock itself. Here’s the lock I’m using: https://www.ilockey.com/product/tuya-app-waterproof-smart-rim-lock-for-outside-door/

If not, how about adding a small wake-up receiver to a Clicker device? This way, the Clicker would stay in sleep mode until it receives a low-power wake-up signal from a transmitter, like https://seanblanchfield.com/2023/02/esp32-microcontroller-wakeup-receiver or https://www.instructables.com/Remote-controlled-relay/ Once it receives the signal, the Clicker could wake up to activate a device (e.g., the coffee machine in this video).

Instead of using a simple remote key fob to send the wake-up signal, one can use something a combination of a transceiver and MCU that is connected to a power socket or mains. This transmitter could be integrated with IoT platforms like Home Assistant, as a button. When pressed in Home Assistant, the transmitter could send a wake-up signal to the battery-powered Clicker, which would then activate the relay to turn on the device.

The transmitter could also function as a hub, sending signals to multiple Clickers. This way, the transmitter would stay permanently powered, while the battery-operated Clickers could serve as low-power nodes.

PricelessToolkit commented 2 weeks ago

Hi there! Thanks for your interest and kind words about the project.

Given your requirements, I think the most practical solution would be a Zigbee-compatible lock that supports remote unlocking, as it’s designed for low power and integrates well with IoT platforms like Home Assistant. Building a similar device from scratch would be quite complex, especially since I don’t specialize in Zigbee, and the protocols involved would require a lot of extra work to optimize for battery power.

Plus, I’m personally not too keen on connecting locks to networks of any kind just a personal preference for simplicity and security!

Hope this helps, and best of luck with your setup! Let me know if you have any more questions.