# Sync speed Switchbot \<-\> Homey, how to get it (near) realtime

**URL:** <https://community.homey.app/t/sync-speed-switchbot-homey-how-to-get-it-near-realtime/127227>\
**Category:** Questions & Help\
**Tags:** app\
**Created:** [January 10, 2025, 8:11am UTC](https://community.homey.app/t/sync-speed-switchbot-homey-how-to-get-it-near-realtime/127227 "2025-01-10T08:11:53Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Michel\_Bos](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/michel_bos/32/5481_2.png) [@Michel\_Bos](https://community.homey.app/u/Michel_Bos)\
**Post date:** [January 10, 2025, 8:11am UTC](https://community.homey.app/t/sync-speed-switchbot-homey-how-to-get-it-near-realtime/127227/1 "2025-01-10T08:11:53Z")

</div>

Hi,

I have added a few extra temp/humidity devices from Switchbot. However… the data is not synced as fast as I need it to. Sometimes it takes up to an hour to get new measured data from the Switchbot app to the Homey device. I haven’t found a way to improve this process. Does anyone have an idea how to get to near ‘real-time’ data sync?

---

<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:** [January 10, 2025, 8:16am UTC](https://community.homey.app/t/sync-speed-switchbot-homey-how-to-get-it-near-realtime/127227/2 "2025-01-10T08:16:50Z")

</div>

How have you connected to the devices (hub or BLE)?

---

<div class="post-metadata">

**Author:** ![Michel\_Bos](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/michel_bos/32/5481_2.png) [@Michel\_Bos](https://community.homey.app/u/Michel_Bos)\
**Post date:** [January 10, 2025, 8:34am UTC](https://community.homey.app/t/sync-speed-switchbot-homey-how-to-get-it-near-realtime/127227/3 "2025-01-10T08:34:08Z")

</div>

Hub. I had BLE, but that had the same result. Should one of those work faster than the other?

---

<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:** [January 10, 2025, 8:38am UTC](https://community.homey.app/t/sync-speed-switchbot-homey-how-to-get-it-near-realtime/127227/4 "2025-01-10T08:38:44Z")

</div>

Hmm. That should get notifications via a webhook, but I think the values have to change by a certain amount before being reported.

If you don’t mind purchasing an ESP32 and are willing to load code on to it, I have made my BLE hub code available on my GitHub account. That does provide updates to Homey within a second or two.

---

<div class="post-metadata">

**Author:** ![Michel\_Bos](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/michel_bos/32/5481_2.png) [@Michel\_Bos](https://community.homey.app/u/Michel_Bos)\
**Post date:** [January 10, 2025, 8:49am UTC](https://community.homey.app/t/sync-speed-switchbot-homey-how-to-get-it-near-realtime/127227/5 "2025-01-10T08:49:45Z")

</div>

I don’t mind purchasing an ESP32, but I have no device to put it in ☹ The only extra hardware besides Homey is a Dell Optiplex 3000 thin Client for Home Assistant.

---

<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:** [January 10, 2025, 11:39am UTC](https://community.homey.app/t/sync-speed-switchbot-homey-how-to-get-it-near-realtime/127227/6 "2025-01-10T11:39:02Z")

</div>

Sorry, do you mean you have no PC / mac to program it?

---

<div class="post-metadata">

**Author:** ![Michel\_Bos](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/michel_bos/32/5481_2.png) [@Michel\_Bos](https://community.homey.app/u/Michel_Bos)\
**Post date:** [January 10, 2025, 12:24pm UTC](https://community.homey.app/t/sync-speed-switchbot-homey-how-to-get-it-near-realtime/127227/7 "2025-01-10T12:24:50Z")

</div>

I have a macbook air, an old iMAC from before 2010 and an even older Windows computer (from before 2005 I think)… So just the MAcbook air that I use daily.

So it’s a no go for me if I need the ESP32?

---

<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:** [January 10, 2025, 12:58pm UTC](https://community.homey.app/t/sync-speed-switchbot-homey-how-to-get-it-near-realtime/127227/8 "2025-01-10T12:58:58Z")

</div>

I think the macbook air will be OK, but I’m not sure about the flash loaded for that as I only know of a Windows tool.  
The repo is [GitHub - AdyRock/SwitchBotBLEHub: Code for a ESP32, Arduino compatible board to make into to a network local hub for SwichBot BLE devices.](https://github.com/AdyRock/SwitchBotBLEHub) and there are some instruction on there.  
Basically, when you purchase an ESP32 make sure it has 4MB or more of FLASH. Then connect the ESP32 to your computer via a USB cable to program it. Once it is programmed it just needs a USB power supply, so no need to keep it plugged into your computer. The rest of the instructions are on the GitHub page.

---

<div class="post-metadata">

**Author:** ![Michel\_Bos](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/michel_bos/32/5481_2.png) [@Michel\_Bos](https://community.homey.app/u/Michel_Bos)\
**Post date:** [January 11, 2025, 8:58am UTC](https://community.homey.app/t/sync-speed-switchbot-homey-how-to-get-it-near-realtime/127227/9 "2025-01-11T08:58:16Z")

</div>

Hi @Adrian_Rockall thx for this tip. I will implement this possible solution. Will plan some time to get ‘aquainted’ with it all 🙂 Looking forward to the experience and maybe get back to you if I hav e any questions. Thx so far! Appreciate your swift responses!!
