aso824 / yeehack

Alternative way to control bluetooth Yeelock devices
Apache License 2.0
20 stars 2 forks source link

Add Docker & Home Assistant support #5

Closed codyc1515 closed 1 year ago

codyc1515 commented 1 year ago

Thank you for your work to date. I started on a Home Assistant integration but found it too complicated. I have containerised the great work you have done and provided some instructions on how to utilise the server from the container in Home Assistant.

codyc1515 commented 1 year ago

Also added some changes to catch errors when calling the Battery service. Same needs to happen for locking too.

aso824 commented 1 year ago

Thanks for your work! I'll add more logging and error catching in next days.

The error with communication (that you mentioned in README) occurs also without anything locking BT adapter - more interesting, it seems to happen after some uptime. I have only yeehack server on my RPi and it stops working after 1 to 2 days, but if I'm not using it, it'll work again. Very strange, so I'll add more logs and will try to debug that.