PostLogical / ooler

This is a custom component to allow control of Ooler Sleep System devices in Home Assistant using bluetooth.
MIT License
24 stars 4 forks source link

Sometimes showing Celsius instead of Fahrenheit #18

Closed mikesalz closed 1 year ago

mikesalz commented 1 year ago

System Health details

System Information

version core-2023.5.4
installation_type Home Assistant Container
dev false
hassio false
docker true
user root
virtualenv false
python_version 3.10.11
os_name Linux
os_version 4.4.180+
arch x86_64
timezone America/New_York
config_dir /config
Home Assistant Community Store GitHub API | ok -- | -- GitHub Content | ok GitHub Web | ok GitHub API Calls Remaining | 5000 Installed Version | 1.32.1 Stage | running Available Repositories | 1287 Downloaded Repositories | 9
AccuWeather can_reach_server | ok -- | -- remaining_requests | 34
Home Assistant Cloud logged_in | false -- | -- can_reach_cert_server | ok can_reach_cloud_auth | ok can_reach_cloud | ok
Dashboards dashboards | 6 -- | -- resources | 1 views | 11 mode | storage
Recorder oldest_recorder_run | May 26, 2023 at 3:25 PM -- | -- current_recorder_run | May 31, 2023 at 5:02 PM estimated_db_size | 89.72 MiB database_engine | sqlite database_version | 3.40.1

Checklist

Describe the issue

For starters, THANK YOU for creating this integration! I have been hoping for something like this since we bought our Oolers a couple of years ago.

I just added the integration today. I read that Water Level and Wattage are still being worked on. No problem. I'm especially looking forward to Water Level.

But I also notice that one of our two Oolers is showing what appears to be Celsius instead of Fahrenheit. Mike's is good, but Jamie's is not: image

image

Thoughts?

Reproduction steps

  1. I can provide later if needed.
  2. ...

Debug logs

I can provide later if needed.

Diagnostics dump

No response

PostLogical commented 1 year ago

So glad to see someone is using this code! Sorry I've been busy and didn't yet find a solution to your issue. I'm assuming it either resolved itself or you found a fix. If there's something to be fixed, please do let me know.

mikesalz commented 1 year ago

Yeah, it was just me being dumb. My wife’s Ooler was set to Celsius and I didn’t realize it :)

I did end up having some other issues. Maybe a Bluetooth thing. But it kept losing the connection to HA and also to the Ooler app. I disabled for now but would love to give it another shot. Can the app and integration not run at the same time?

Thanks for getting back to me!

PostLogical commented 1 year ago

Yeah unfortunately the Bluetooth implementation Ooler uses can only have one connection at a time, so if you're accessing it with the app then home assistant can't connect, and if home assistant is connected, the app can't connect. That's why I created the Bluetooth connection toggle, but it currently tries to reconnect immediately so it is not well done. I click that toggle and immediately open the app and then keep hitting the toggle if that didn't work right away. But I have to force quit the app or otherwise disconnect to give access back to HASS. Open to ideas on how to make this work better.