# \[APP\]\[Cloud & Pro\] SwitchBot (Release 2.0.87, Test 2.0.96)

**URL:** <https://community.homey.app/t/app-cloud-pro-switchbot-release-2-0-87-test-2-0-96/42296>\
**Category:** Apps\
**Tags:** app\
**Created:** [February 2, 2021, 7:31pm UTC](https://community.homey.app/t/app-cloud-pro-switchbot-release-2-0-87-test-2-0-96/42296 "2021-02-02T19:31:36Z")\
**Posts on this page:** 20\
**Page:** 28

<div class="post-metadata">

**Author:** ![Adrian\_Rockall](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/adrian_rockall/32/13209_2.png) [@Adrian\_Rockall](https://community.homey.app/u/Adrian_Rockall)\
**Post date:** [May 21, 2022, 12:49pm UTC](https://community.homey.app/t/app-cloud-pro-switchbot-release-2-0-87-test-2-0-96/42296/543 "2022-05-21T12:49:01Z")

</div>

Obviously the Webhook will only come through when the contact state changes.  
The thermometer also supports the Webhook but if it is the old type then it only updates every 10 minutes. The new bigger unit updates when the readings change.

---

<div class="post-metadata">

**Author:** ![SortOfSmart](https://avatars.discourse-cdn.com/v4/letter/s/9dc877/32.png) [@SortOfSmart](https://community.homey.app/u/SortOfSmart)\
**Post date:** [May 21, 2022, 12:56pm UTC](https://community.homey.app/t/app-cloud-pro-switchbot-release-2-0-87-test-2-0-96/42296/544 "2022-05-21T12:56:57Z")

</div>

> [@SortOfSmart](#):
>
> Do any of the other Switchbot products have webhooks incorporated now? I also have a thermometer and a Switchbot bot in use. The latter very obviously still relies only on polling, it’s still going strong & slow 😉

Wait, I spoke too fast there. I repaired all of my Switchbot devices before I started posting here today, and the bot is using webhooks now. WOW I’m stoked for this. It’s controlling a door, so the polling interval was pretty annoying. I mean… contact sensors are both not working now, but if this is all that today brought me, I am a very happy gal. This is… wow.

OK, back to the contact sensors… so they both don’t work. One of them (the one I already re-added a couple of days ago) does have a status change from this morning, but I tried the door just now and it doesn’t read. Same as the other one.

Edit:

> [@Adrian\_Rockall](#):
>
> Obviously the Webhook will only come through when the contact state changes.

Oh yeah, I’m not _that_ much of a noob 😉 I just was concentrated on the one that stopped working this morning, had not checked it for the other door yet.

---

<div class="post-metadata">

**Author:** ![Adrian\_Rockall](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/adrian_rockall/32/13209_2.png) [@Adrian\_Rockall](https://community.homey.app/u/Adrian_Rockall)\
**Post date:** [May 21, 2022, 1:06pm UTC](https://community.homey.app/t/app-cloud-pro-switchbot-release-2-0-87-test-2-0-96/42296/545 "2022-05-21T13:06:58Z")

</div>

Can you see if there are any updates available for the contact sensors in the Switchbot app?  
When I get home I will check the version of mine.  
Mine have been reliably reporting via the Webhook so not sure why yours aren’t.

---

<div class="post-metadata">

**Author:** ![SortOfSmart](https://avatars.discourse-cdn.com/v4/letter/s/9dc877/32.png) [@SortOfSmart](https://community.homey.app/u/SortOfSmart)\
**Post date:** [May 21, 2022, 1:34pm UTC](https://community.homey.app/t/app-cloud-pro-switchbot-release-2-0-87-test-2-0-96/42296/546 "2022-05-21T13:34:55Z")

</div>

None that I can see, but to be honest I don’t know where one would look for that? I have it on auto-update, but that didn’t seem to update my bot as it just started to use webhooks after a manual repair.

I re-installed my two contact sensors, and the one I’ve been struggling with since today flawlessly updated it’s contact status (no webhook though) exactly one time. Now it’s back to only updating the motion sensor part.

I’m gonna step away from it for a while now. You get to it when you get to it. As I said I’m very glad my bot responds so fast now, and the contact sensors don’t work in many flows because they were too slow (sans webhooks, at least).

But it’s weird, right? I’d almost say it’s a hardware issue, if it wasn’t for the native Switchbot app still updating correctly. And the kinda suspicious timing of two sensors breaking in a similar way around the same time.

---

<div class="post-metadata">

**Author:** ![Adrian\_Rockall](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/adrian_rockall/32/13209_2.png) [@Adrian\_Rockall](https://community.homey.app/u/Adrian_Rockall)\
**Post date:** [May 21, 2022, 1:48pm UTC](https://community.homey.app/t/app-cloud-pro-switchbot-release-2-0-87-test-2-0-96/42296/547 "2022-05-21T13:48:34Z")

</div>

How far away are the sensors from the hub?

When you use the native app it will try to connect directly via BLE if it can, so if you have your phone next to the sensors when you operate them they will have a good signal.  
You could try switching off the phones Bluetooth to see if you get the same results.  
Also try moving the hub closer to the sensors.

---

<div class="post-metadata">

**Author:** ![SortOfSmart](https://avatars.discourse-cdn.com/v4/letter/s/9dc877/32.png) [@SortOfSmart](https://community.homey.app/u/SortOfSmart)\
**Post date:** [May 21, 2022, 3:59pm UTC](https://community.homey.app/t/app-cloud-pro-switchbot-release-2-0-87-test-2-0-96/42296/548 "2022-05-21T15:59:33Z")

</div>

> [@Adrian\_Rockall](#):
>
> How far away are the sensors from the hub?

30 cm, for the one that I’ve been struggling with today. The other one could in theory cause more problems, but even that is 3 or 3,5 meter. With a wall in between, though. But shouldn’t the Switchbot hub solve issues with distance you could experience with BLE? Also I don’t really get why that would cause issues for one of the sensors and not for the other. Although… some of the smart home sensors have issues reporting more than one change at the time, in my experience. Like a vibration sensor not reporting vibration if it’s also tilted, or a motion sensor not reporting back movement when the tamper alert is activated. Just my personal experience. But the Switchbot sensors never seem to have had these kind of issues in the past.

The contact sensor did give me another contact sensor activation. But then it was back to only reporting motion again. What’s more, the quicker response time for my bot seems te be spotty as well. Less hit and more miss. Does a phone have any role in sending or receiving a webhook? Because it _looks_ like it is, but again I don’t really understand how webhooks work. It’s not using my phone as a hotspot or anything?

---

<div class="post-metadata">

**Author:** ![Adrian\_Rockall](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/adrian_rockall/32/13209_2.png) [@Adrian\_Rockall](https://community.homey.app/u/Adrian_Rockall)\
**Post date:** [May 21, 2022, 4:32pm UTC](https://community.homey.app/t/app-cloud-pro-switchbot-release-2-0-87-test-2-0-96/42296/549 "2022-05-21T16:32:14Z")

</div>

30cm should certainly be OK. 3m with a wall between, depends on the type of wall. The hub talks to the devices using BLE so it will still have limited range just like Homey (although not as bad in my experience). The advantage is you can have more than one and position them closer to the devices.  
The phone has no direct influence over the webhook, other than it will relay the signal from the BLE to the cloud via WiFi and the webhook is generated by the cloud.

The firmware on my contact sensor is V1.1. If yours is lower then contact SwitchBot via the app and ask for them to make the update available.

This is the sort of information I get logged:

```auto
* 2022-05-21T16:30:46.170Z
* BLE Finished Discovery

* 2022-05-21T16:30:46.183Z
* Polling BLE: waiting for devices to update

* 2022-05-21T16:30:47.030Z
* Parsed Bot BLE (f4:7a:e9:a5:04:17): No service data

* 2022-05-21T16:30:48.714Z
* Parsed Presence BLE: No service data

* 2022-05-21T16:30:48.717Z
* Parsed Curtain BLE (ee:df:c1:eb:30:7b): No service data

* 2022-05-21T16:30:48.719Z
* ------------------------------------ Polling BLE Finished

* 2022-05-21T16:30:48.720Z
* Next BLE polling interval = 30000

* 2022-05-21T16:30:48.746Z
* Got a webhook message! {
  "eventType": "changeReport",
  "eventVersion": "1",
  "context": {
    "deviceType": "WoPresence",
    "deviceMac": " ***********",
    "detectionState": "DETECTED",
    "timeOfSample": 1653150647420
  }
}

* 2022-05-21T16:30:48.752Z
* Got a webhook message! {
  "eventType": "changeReport",
  "eventVersion": "1",
  "context": {
    "deviceType": "WoContact",
    "deviceMac": " ***********",
    "detectionState": "DETECTED",
    "doorMode": "OUT_DOOR",
    "timeOfSample": 1653150648154
  }
}

* 2022-05-21T16:30:50.814Z
* Success sending command to ************** using OAuth

* 2022-05-21T16:30:54.086Z
* Got a webhook message! {
  "eventType": "changeReport",
  "eventVersion": "1",
  "context": {
    "deviceType": "WoContact",
    "deviceMac": " ***********",
    "detectionState": "NOT_DETECTED",
    "doorMode": "OUT_DOOR",
    "timeOfSample": 1653150653683
  }
}

```

---

<div class="post-metadata">

**Author:** ![Wilfried83](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/wilfried83/32/47824_2.png) [@Wilfried83](https://community.homey.app/u/Wilfried83)\
**Post date:** [May 22, 2022, 11:26am UTC](https://community.homey.app/t/app-cloud-pro-switchbot-release-2-0-87-test-2-0-96/42296/550 "2022-05-22T11:26:29Z")

</div>

Good day Adrian\_Rockall

Is the air conditioning koenic kac 3352 also supported on the switchbot hub?

I’d like to hear it from you

Yours sincerely  
Wilfried

---

<div class="post-metadata">

**Author:** ![Adrian\_Rockall](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/adrian_rockall/32/13209_2.png) [@Adrian\_Rockall](https://community.homey.app/u/Adrian_Rockall)\
**Post date:** [May 22, 2022, 12:23pm UTC](https://community.homey.app/t/app-cloud-pro-switchbot-release-2-0-87-test-2-0-96/42296/551 "2022-05-22T12:23:22Z")

</div>

I can’t see that one specifically listed, but if it works with an infrared remote then you should be able to teach it using the remote control of the AC unit. That’s what I did with my AC unit and it works OK.

---

<div class="post-metadata">

**Author:** ![Wilfried83](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/wilfried83/32/47824_2.png) [@Wilfried83](https://community.homey.app/u/Wilfried83)\
**Post date:** [May 22, 2022, 12:29pm UTC](https://community.homey.app/t/app-cloud-pro-switchbot-release-2-0-87-test-2-0-96/42296/552 "2022-05-22T12:29:06Z")

</div>

I don’t know if it works with infrared at all

---

<div class="post-metadata">

**Author:** ![Adrian\_Rockall](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/adrian_rockall/32/13209_2.png) [@Adrian\_Rockall](https://community.homey.app/u/Adrian_Rockall)\
**Post date:** [May 22, 2022, 12:51pm UTC](https://community.homey.app/t/app-cloud-pro-switchbot-release-2-0-87-test-2-0-96/42296/553 "2022-05-22T12:51:02Z")

</div>

If its not IR then it won’t be compatible.  
If you cup your hand over the end of the remote, to block it’s transmission, does it still work?  
If it stops working then it’s probably IR.

---

<div class="post-metadata">

**Author:** ![SortOfSmart](https://avatars.discourse-cdn.com/v4/letter/s/9dc877/32.png) [@SortOfSmart](https://community.homey.app/u/SortOfSmart)\
**Post date:** [May 27, 2022, 9:07am UTC](https://community.homey.app/t/app-cloud-pro-switchbot-release-2-0-87-test-2-0-96/42296/554 "2022-05-27T09:07:15Z")

</div>

> [@Adrian\_Rockall](#):
>
> 30cm should certainly be OK. 3m with a wall between, depends on the type of wall. The hub talks to the devices using BLE so it will still have limited range just like Homey (although not as bad in my experience).

Yes, I read somewhere the BLE of the Switchbot hub is better than that of Homey. But the main problem seems to be with the one that’s closest to the hub, so it doesn’t seem to be a BLE thing. I also don’t see how that would cause the motion sensor to work but not the contact sensor.

> [@Adrian\_Rockall](#):
>
> The phone has no direct influence over the webhook, other than it will relay the signal from the BLE to the cloud via WiFi and the webhook is generated by the cloud.

Apparently, I had to switch on bluetooth tethering on my phone. The bot is working great now, without the delay it had before 👍

I’ll have a look at the firmware and contact Switchbot if needed. I do have another theory that I want to run by you though. Would it be possible that the polling interval, and as such the delay, could cause a contact sensor to not register if it’s only opened for a short time? If one would open and close the door again in between the scheduled polling, would that read as if it hadn’t opened at all?  
That still wouldn’t explain why the sensors don’t use webhooks right now, but it would explain why the ‘back-up’ information doesn’t come through. Also why the motion sensors seem to work better than the contact ones, and why the front door sensor, though further from the hub, works better than the indoor ones. The front door usually remains open for longer before it’s closed again.

---

<div class="post-metadata">

**Author:** ![Adrian\_Rockall](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/adrian_rockall/32/13209_2.png) [@Adrian\_Rockall](https://community.homey.app/u/Adrian_Rockall)\
**Post date:** [May 27, 2022, 9:55am UTC](https://community.homey.app/t/app-cloud-pro-switchbot-release-2-0-87-test-2-0-96/42296/555 "2022-05-27T09:55:34Z")

</div>

> [@SortOfSmart](#):
>
> Apparently, I had to switch on bluetooth tethering on my phone. The bot is working great now, without the delay it had before

Very strange, as the phone should be required once the bot is added to your account.

> [@SortOfSmart](#):
>
> Would it be possible that the polling interval, and as such the delay, could cause a contact sensor to not register if it’s only opened for a short time?

When just using polling then yes, that is one of the know issues.

To try and track down the webhook issue, could you enable “Full Information” on the Log screen, then restart the app. As it starts up you should see a message in the output window on the log tab:

```auto
* Homey Webhook registered for devices {
  "$keys": [
a list of devices should appear hear
  ]
}

```

---

<div class="post-metadata">

**Author:** ![B3rt](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/b3rt/32/9435_2.png) [@B3rt](https://community.homey.app/u/B3rt)\
**Post date:** [May 27, 2022, 7:18pm UTC](https://community.homey.app/t/app-cloud-pro-switchbot-release-2-0-87-test-2-0-96/42296/556 "2022-05-27T19:18:26Z")

</div>

@Adrian_Rockall  
Can you confirm that switchbot did an update onto there API of the humidifier?  
I believe i get sooner messages that the tank is empty, not sure but it looks like the status is now updated more frequently, maybe the homey app needs also fine tuning?

---

<div class="post-metadata">

**Author:** ![Adrian\_Rockall](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/adrian_rockall/32/13209_2.png) [@Adrian\_Rockall](https://community.homey.app/u/Adrian_Rockall)\
**Post date:** [May 27, 2022, 7:22pm UTC](https://community.homey.app/t/app-cloud-pro-switchbot-release-2-0-87-test-2-0-96/42296/557 "2022-05-27T19:22:24Z")

</div>

I’m not aware of any changes but will investigate.

---

<div class="post-metadata">

**Author:** ![Undertaker](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/undertaker/32/53278_2.png) [@Undertaker](https://community.homey.app/u/Undertaker)\
**Post date:** [May 27, 2022, 7:27pm UTC](https://community.homey.app/t/app-cloud-pro-switchbot-release-2-0-87-test-2-0-96/42296/558 "2022-05-27T19:27:00Z")

</div>

I have taken my humidifier out of operation over the summer. However, it is not completely disconnected from the power supply. I get the message that the tank is empty at least once a day. I don’t think Switchbot has changed anything. The firmware is still the same.

---

<div class="post-metadata">

**Author:** ![Mike1233](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/mike1233/32/20991_2.png) [@Mike1233](https://community.homey.app/u/Mike1233)\
**Post date:** [May 27, 2022, 11:05pm UTC](https://community.homey.app/t/app-cloud-pro-switchbot-release-2-0-87-test-2-0-96/42296/559 "2022-05-27T23:05:43Z")

</div>

I was looking for an app for a airconditioner, type Haier, model Pearl.  
When i search in the Homey app store on “Haier” this app pops up.  
Is this app supporting the Haier airconditioner?  
It has wifi and IR.  
For now this is only research, I do not own one at this moment.

---

<div class="post-metadata">

**Author:** ![Undertaker](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/undertaker/32/53278_2.png) [@Undertaker](https://community.homey.app/u/Undertaker)\
**Post date:** [May 28, 2022, 5:55am UTC](https://community.homey.app/t/app-cloud-pro-switchbot-release-2-0-87-test-2-0-96/42296/560 "2022-05-28T05:55:18Z")

</div>

The Switchbot Hub supports any air conditioner. The air conditioner only needs to have an IR remote control. You can learn all the buttons via the Switchbot Hub and then control the individual options via Homey.

---

<div class="post-metadata">

**Author:** ![Mike1233](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/mike1233/32/20991_2.png) [@Mike1233](https://community.homey.app/u/Mike1233)\
**Post date:** [May 28, 2022, 8:33am UTC](https://community.homey.app/t/app-cloud-pro-switchbot-release-2-0-87-test-2-0-96/42296/561 "2022-05-28T08:33:49Z")

</div>

Ah, ok. So I have toe add the Switchbot hub to Homey and place the hub in line of sight with the ac and that’s it.  
Right?

---

<div class="post-metadata">

**Author:** ![Adrian\_Rockall](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/adrian_rockall/32/13209_2.png) [@Adrian\_Rockall](https://community.homey.app/u/Adrian_Rockall)\
**Post date:** [May 28, 2022, 9:14am UTC](https://community.homey.app/t/app-cloud-pro-switchbot-release-2-0-87-test-2-0-96/42296/562 "2022-05-28T09:14:24Z")

</div>

Almost right. You add the AC to your SwitchBot account, via the hub, using the native SwitchBot app. Then you can add the AC unit to Homey using the Homey SwitchBot app.  
Homey connects to your SwitchBot account in the cloud to control the devices.  
As you say, the hub needs to be in line of sight with the AC, as that sends the IR commands.

[Previous page](https://community.homey.app/t/app-cloud-pro-switchbot-release-2-0-87-test-2-0-96/42296.md?page=27)

[Next page](https://community.homey.app/t/app-cloud-pro-switchbot-release-2-0-87-test-2-0-96/42296.md?page=29)
