home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
73.43k stars 30.67k forks source link

switchbot_cloud integrations does not support Temperature & Humidity values from Switchbot Hub 2 #124952

Open Tafkadasoh opened 2 months ago

Tafkadasoh commented 2 months ago

The problem

I've added the switchbot_cloud integration from https://www.home-assistant.io/integrations/switchbot_cloud, and in general, it works great: My SwitchBot MeterPlus and my three SwitchBot Indoor/Outdoor Thermo-Hygrometers ("WoIOSensors") show up with all expected values.

However, those devices are all connected to my SwitchBot Hub 2, which features also a temperature and a humidity sensor. And those two values unfortunately don't show up in Home Assistant, but they do in my SwitchBot Cloud Account.

Can you please extend the switchbot_cloud integration to also support the sensor values of SwitchBot Hub 2?

What version of Home Assistant Core has the issue?

core-2024.8.3

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant Container

Integration causing the issue

switchbot_cloud

Link to integration documentation on our website

https://www.home-assistant.io/integrations/switchbot_cloud

Diagnostics information

home-assistant_switchbot_cloud_2024-08-30T22-17-19.340Z.log

Example YAML snippet

No response

Anything in the logs that might be useful for us?

No response

Additional information

System Information

version core-2024.8.3
installation_type Home Assistant Container
dev false
hassio false
docker true
user root
virtualenv false
python_version 3.12.4
os_name Linux
os_version 4.4.180+
arch x86_64
timezone Europe/Berlin
config_dir /config
Home Assistant Cloud logged_in | false -- | -- can_reach_cert_server | ok can_reach_cloud_auth | ok can_reach_cloud | ok
Dashboards dashboards | 2 -- | -- resources | 0 views | 0 mode | storage
Recorder oldest_recorder_run | August 30, 2024 at 14:31 -- | -- current_recorder_run | August 30, 2024 at 16:31 estimated_db_size | 0.51 MiB database_engine | sqlite database_version | 3.45.3
home-assistant[bot] commented 2 months ago

Hey there @seraphicrav, @laurence-presland, mind taking a look at this issue as it has been labeled with an integration (switchbot_cloud) you are listed as a code owner for? Thanks!

Code owner commands Code owners of `switchbot_cloud` can trigger bot actions by commenting: - `@home-assistant close` Closes the issue. - `@home-assistant rename Awesome new title` Renames the issue. - `@home-assistant reopen` Reopen the issue. - `@home-assistant unassign switchbot_cloud` Removes the current integration label and assignees on the issue, add the integration domain after the command. - `@home-assistant add-label needs-more-information` Add a label (needs-more-information, problem in dependency, problem in custom component) to the issue. - `@home-assistant remove-label needs-more-information` Remove a label (needs-more-information, problem in dependency, problem in custom component) on the issue.

(message by CodeOwnersMention)


switchbot_cloud documentation switchbot_cloud source (message by IssueLinks)

SeraphicRav commented 2 months ago

@laurence-presland Can you please look at this one ?

doctordebug commented 1 month ago

+1 to this one. Any updates? Happy to support.

SeraphicRav commented 3 weeks ago

@Tafkadasoh @doctordebug One question though, why not using the matter or switchbot bluetooth integration for that to get data in real time instead of getting updates once every 30 minutes ?

Tafkadasoh commented 3 weeks ago

@SeraphicRav Of course I also use matter and the switchbot app. But only Home Assistant allows me right now to get a notification in case the temperature at one sensor is higher or lower than the temperature of another sensor.

IIIdefconIII commented 3 weeks ago

I have the same "issue/bug" i even contacten switchbot itself and they told me to get in contact of the developer of the HA intergration and they cant help me further

IIIdefconIII commented 3 weeks ago

image

SeraphicRav commented 3 weeks ago

@SeraphicRav Of course I also use matter and the switchbot app. But only Home Assistant allows me right now to get a notification in case the temperature at one sensor is higher or lower than the temperature of another sensor.

I mean you can add the Hub 2 sensors and buttons to Home Assistant using the matter integration. This is what I did: Screenshot_20241012-005527

IIIdefconIII commented 3 weeks ago

@SeraphicRav Of course I also use matter and the switchbot app. But only Home Assistant allows me right now to get a notification in case the temperature at one sensor is higher or lower than the temperature of another sensor.

I mean you can add the Hub 2 sensors and buttons to Home Assistant using the matter integration. This is what I did: Screenshot_20241012-005527

thank you for this info i will try, i first need to find a working bluetooth synology as im running it a a synology nas.