Open antonbek89 opened 1 year ago
Did someone find any solution to the situation?
Try to use code from my PR, and latest ESPHome gateway code. It eliminated similar problems for me - but for some locks it doesn't work.
Try to use code from my PR, and latest ESPHome gateway code. It eliminated similar problems for me - but for some locks it doesn't work.
Where can I find it?
PR: #25 Gateway code: https://github.com/formatBCE/Airbnk-MQTTOpenGateway/blob/main/src/esphome/airbnk-gateway.h
PR: #25 Gateway code: https://github.com/formatBCE/Airbnk-MQTTOpenGateway/blob/main/src/esphome/airbnk-gateway.h
PR: #25 Gateway code: https://github.com/formatBCE/Airbnk-MQTTOpenGateway/blob/main/src/esphome/airbnk-gateway.h
I use D1 mini ESP32 ESP-32 WiFi+Bluetooth So your PR not going to work with ESP ? only with AirbnkGatway ?
I use same device.
Everything here is working with Airbnk. PR is for Home Assistant integration (namely, you should replace code, that was changed in PR, in custom_device.py file). Gateway code is for using with ESPHome. If you still use completely custom firmware (like, code, compiled in Platformio) - I highly recommend to switch to ESPHome. You can find detailed instructions on that project's page.
If the lock already open and I tried open again via HA I got "operating" but actually nothing happens
And then I reload the integration again and now want to close and again - operating
It's become to useful again only If I close/open via Wehere APP and then everything back to normal
Bottom line The bug when the lock already open/close and we do the same status via HA