lolouk44 / xiaomi_mi_scale

Connector for Xiaomi Mi Scale
MIT License
321 stars 69 forks source link

Feature request: Use release versions #14

Closed jihonrado closed 4 years ago

jihonrado commented 4 years ago

Coult it be possible to keep all versions on Docker Hub? Currently, only the latest version is available. If previous versions were available, we would be able to:

Thanks!

lolouk44 commented 4 years ago

Thanks, will add releases going forward

lolouk44 commented 4 years ago

Thanks again for your feedback. I've now added releases to the repo and to the docker hub. I've not tagged the latest release (0.1.1) as :latest on docker hub while I run some tests with a few users. Feel free to try though and let me know how it goes

jihonrado commented 4 years ago

Thanks @lolouk44, great news. I pinned 0.1.1 version on my set up but I am still unable to test it because I am still experiencing #13.

lolouk44 commented 4 years ago

what errors are displayed?

jihonrado commented 4 years ago

Sorry @lolouk44, turns out that I did not recreate properly the container in docker-compose. I forced a container recreation with the 0.1.1 version and it works now. The data now flows from the service to MQTT. No more Error while running the script, continuing. If you see this message too often/constantly there is probably a real issue... errors, as explained in #13.

For completion:

Could it be something you fixed in c47614f?

lolouk44 commented 4 years ago
  • latest does not work (#13)

not pushed 0.1.1 to latest yet, wanted to test before pushing it to the masses :)

Could it be something you fixed in c47614f?

most definitely. Did a few changes that should make the connection more stable and I've also added a way to reset the BT interface (hciconfig hci0 reset) if I get 5 consecutive BT management errors... That said I still experienced issues last night where I actually had to reboot the PI to be able to turn BT back on... There are issues with bluepy that screws the BT interface, and by the looks of it, it doesn't look like the owner is maintaining it (155 open issues, 16 open PRs)

  • 0.1.1 works

Great, I'll finally close this issue :)