Love the integration! Quick question on connection #40
-
Thank you for making this its really awesome! Has anyone else noticed the constant connection/disconnection with their mugs? I am running the latest firmware on Ember Mug 2 with Home Assistant running in a docker container with Ubuntu as my host machine passing in that bluetooth. Everything with HA is working fine but find my Ubuntu machine is doing constant connection/disconnections from the mug. I believe it may be related to logic in the cup as it disconnects while stationary and reconnects when it moves. Makes the metrics a little annoying with mostly unavailable with brief moments of good data. But it could be just cup logic to save on battery life rather than constant Bluetooth connection. Just wanted to see if anyone else notices this? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 6 replies
-
Thanks! I'm glad it can be of use to you. Is this a new issue that could be related to #38 or something that you experienced before that? Before Home Assistant came out with their Bluetooth integration, this integration used to maintain a constant connection to the mug (unless it was out of range of course), but when it was migrated to the new one it had to be a little more flexible in case other devices need to use it. It should still maintain a connection as long as possible, but if you have other bluetooth devices or Home Assistant is doing things internally it might get disconnected. It should retry every 15 or 30 seconds to poll data though, unless it is unable to re-establish a connection. If you want to try Bluetooth proxies, they are far more reliable and seem to have few issues. |
Beta Was this translation helpful? Give feedback.
Oh ok, yeah, I definitely don't think the issue is range then. It might be interference though. The Home Assistant documentation lists of ton of potential culprits. Before Proxies were widely supported I ran a long USB 2 cable to move my dongle away from my server and that really helped in my case. I doubt your mug itself is a problem though. Yeah, the Ember app is pretty unreliable I had tons of issues with it and was one of the reasons I started working on this. haha.