[APP][Cloud & Pro] SwitchBot (Release 2.0.14, Test 2.0.17)

Hi @Adrian_Rockall not sure what you mean. When I try to add a device (Switchbot) it gives me these options:


Selecting either of the top left 3 ones does not result in a new device. The device I purchased is the Pan Tilt Cam 2k: SwitchBot Pan/Tilt Cam 2K | Advanced Surveillance Camera | SwitchBot Internatioanl – SwitchBot International

Open the app settings page for the app and select the Detected tab, then tap on Get Hub Devices followed by Send Log.

1 Like

Thanks @Adrian_Rockall I did this. In the log I see the Camera’s. I have send it

It is in Dutch. The camera is the “Kantel/Draaicamera Plus 2K 17”

Hi there, hope you guys can help me with a odd one.

In short I recently got a Meter Pro but for some reason I’m unable to add it to Homey. I tried to change location, but I always get the info that the device isn’t found when I try to pair it.

The odd part it that I can see it via the Get HUB Devices

{
“deviceList”: [
{
“deviceId”: “************”,
“deviceName”: “Meter Pro C8”,
“deviceType”: “MeterPro”,
“enableCloudService”: false,
“hubDeviceId”: “”
},

Any idea? I may be missing something

(I sent the logs just in case :))

1 Like

Have you tried with the test version as it was only recently added?

The cameras are not reporting a device type, so the app won’t recognise them. Could you use the SwitchBot mobile app to send a support request and state that your cameras are not provided a device type via the API.
I will also mention it to my contact.

Hi Adrian, thanks for the quick reply. I’m on the 2.0.7 version is that the one?
Sorry for my ignorance not sure if that is the test version

I’m new to the SwitchBot ecosystem. I have 3 Indoor/Outdoor Thermo-Hygrometer connected via a Hub 2. Thank you for creating the Homey app for SwithBot.

Shortly after installing, I noticed that Homey was reporting the battery level at 60%. The SwithBot FAQ claimed an expected battery life up to 1 year, so I was quite surprise to see this low number. So I had a look at the same device on the SwitchBot app on iOS (so not the Homey app). To my surprise, the battery level reported there is 100%.

When checking the status of the device through the app settings in the Home SwitchBot app, it is clear that the battery is reported as “60”:

{ "version": "V0.8", "temperature": 21.4, "battery": 60, "humidity": 58, "deviceId": "D7xxxxxxxxxx", "deviceType": "WoIOSensor", "hubDeviceId": "000000000000" }

I’m not reporting this with the intention of having adjustments made, but rather as sharing a “strange observation”. I’ll keep an eye on it and report if I notice any other strange behavior.

Hi, I wanted to know if the SwitchBot WiFi Smart Lock Pro with Touchscreen Keyboard is compatible with the app.
Thanks!

Hello @Adrian_Rockall, hope you are doing well. I was just wondering whether you read my earlier post on Homey not receiving updates from the ESP32 hub. I don’t want to rush you, of course :blush:; please let me know if I can provide you with any additional info that helps in solving this issue. Thanks.

Sorry, I did see it and wanted to check the code when I got back to a computer, but forgot. I see you were still getting error 500 codes, so wondering if you have to many and hitting a memory problem.

Could you open the ESP32 web page and look at the device list and send it to me

No worries, I am gratefully for your help :grinning:. I only have one device connected: a Curtain 3 motor:

[{"hubMAC":"18:ac:1f:76:ef:d0","address":"C5:BD:1D:AB:C0:E1","rssi":-50,"serviceData":{"model":"{","modelName":"WoCurtain3","calibration":true,"battery":63,"position":5,"lightLevel":1}}]

Ok, so that’s not the problem then. Back to the drawing board.

I am not sure whether it helps, but I was going through your code on GitHub of the SwitchBot app for Homey. Based on the detailed logging produced by your app, I was trying to understand at which point in the code the issue might be triggered by following the trail of logged messages. I noticed the following section that logs a ‘Post: retrieve data’ message. I don’t see that message pop up in my log:

Hi guys, I’m new to ESP32 boards and need some help. I have an Arduino board, installed the software, and connected it to Wi-Fi. So far, so good. Then, I connected it to power in the kitchen, with the SwitchBot 2 meters away. However, it is not detected by Homey. What am I doing wrong? Do I need to link the ESP32 board to Homey, or how does this work? When I go to the IP address, I can see that the SwitchBot is detected. Thanks in advance for your help!

What do you mean by this?

Did you install the SwitchBot app on your Homey? As that app communicates with you ESP32 hub.

Yes, I did. Beginner’s question: how does it communicate? I installed the app and the ESP32, and placed the ESP32 in the kitchen, where the bot is located as well.

If the ESP32 hub is connected to the same local network as your Homey, the SwitchBot app on Homey should find the ESP32 automatically (in my case within seconds). It’s not something you should nor can configure yourself.

Then, when you issue a command on Homey to a SwitchBot device, it should use Bluetooth antenna of the ESP32 hub to send the command in stead of Homey’s antenna.

There is also a log of the communication between Homey and the ESP32 hub in the SwitchBot app settings, which might give you some info. Does it show errors?

What is the issue you are running into?

1 Like

Thanks for your explanation! Now I understand how it works, and I got it to work. I rebooted Homey, but after that, the ESP32 data became visible. I can even see the curtain sliders of my neighbors. Could I control those too? :stuck_out_tongue_closed_eyes: