I’ll look into getting an ESP32 for tinkering, I wish there was a way to leverage my existing RPi4 instead though.
FYI:
I’m using the HomeKit controller so the WiFi connection is local.
Additionally, the native Home Assistant integration for SwitchBot now uses local polling.
ok cool. only the newer plug minis support homekit, they had a hardware update. yes all BLE is local. The switchbot integration does not use wifi from my understanding. cheers
You should be able to use the SwitchBot cloud API to pull data as it is a WiFi connected device. I think you just need to have cloud (web) services enabled in the SwitchBot app.
I should have a video out next week talking about the Plug Minis. I am not an expert on HomeKit devices but using the web API you can do almost anything with them.
Unfortunately that API doesn’t provide the Energy (KWh) neither it’s History, while those details are available in the App.
Do someone knows a way to retrieve those?
It would be very useful in order to track costs and usage in a long timeframe.