I have similar(ish) needs for my just recently aquired switchbot meters - which are almost useless because of lack of integration. Funny enough switchbot does tell in their FAQ there isn’t integration quite honestly, but… who check’s anything before buying, right?
I have 0 experience on python (and about as much from HA), but I decided to gamble and the previous night I “uploaded” all othe switchbot_cloud integration files and switchbot API to ChatGPT and asked it to build support for Meter. Alas, I have now modified files that seem quite legit. I doubt it will work without edits, but … I’m quite optimistic it’s not far from a functional integration. Once I get it to work, I’ll offer a commit.
The Switchbot Cloud integration did essentially nothing for me. I could set it up but got no Switchbot Bot, no data from the Hub 2 and no data from the outdoor meters.
I managed to integrate the Bot and Hub into HA via Matter, but the Outdoor meters don’t work with that either. They keep claiming there is a Firmware available, but when I select “Upgrade” then nothing happens.
My Outdoor Meters all run on Firmware 0.4
@CommanderROR Could you say a bit more about how you integrated the Bot and Hub via Matter into HA? Do the sensors show up in HA automatically? Is there a lot of manual setup? I’d also like to be able to use Switchbot Cloud, since I have their hubs and bluetooth isn’t an option for me. The current Switchbot Cloud integration for HA seems super limited in terms of supported devices.
I simply enabled Matter in the Switchbot app and then went through the process. Once done, you can use the code generated there to integrate the Hub and Bot in HA via Matter. Sadly the outdoor temp sensors don’t work via Matter yet (but supposedly that is coming eventually) so I added them by linking Switchbot and Samsung Smarthings and then pull the temperature data from Smarthings in Home Assistant…a bit over-complex but it works.
Ooh ok! Had no idea that Switchbot already had Matter working. Just found this page about that and the requirement of using their Hub v2 (not v1). Thanks for the info!