# \[APP\]\[Pro\] Sensibo - Air Conditioning and Quality

**URL:** <https://community.homey.app/t/app-pro-sensibo-air-conditioning-and-quality/90295>\
**Category:** Apps\
**Tags:** app, homey-pro\
**Created:** [September 26, 2023, 2:39pm UTC](https://community.homey.app/t/app-pro-sensibo-air-conditioning-and-quality/90295 "2023-09-26T14:39:49Z")\
**Posts on this page:** 20\
**Page:** 12

<div class="post-metadata">

**Author:** ![Joergen\_Ask](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/joergen_ask/32/56630_2.png) [@Joergen\_Ask](https://community.homey.app/u/Joergen_Ask)\
**Post date:** [April 15, 2024, 12:15pm UTC](https://community.homey.app/t/app-pro-sensibo-air-conditioning-and-quality/90295/224 "2024-04-15T12:15:20Z")

</div>

Perfect! Thanks for quick reply 🙂 hoping for the best

---

<div class="post-metadata">

**Author:** ![OH2TH](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/oh2th/32/111414_2.png) [@OH2TH](https://community.homey.app/u/OH2TH)\
**Post date:** [April 15, 2024, 2:06pm UTC](https://community.homey.app/t/app-pro-sensibo-air-conditioning-and-quality/90295/225 "2024-04-15T14:06:55Z")

</div>

I will need to do some refactoring of the HTTP client side to make it support compressed data. Sensibo Support had already created issue: [Add "Accept-Encoding: gzip" to increase rate limit according to HTTP 429 rate limit response received · Issue #38 · oh2th/com.sensibo · GitHub](https://github.com/oh2th/com.sensibo/issues/38), and I will work on that.

Mean while you could try to increase the update interval on your devices.

---

<div class="post-metadata">

**Author:** ![Joergen\_Ask](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/joergen_ask/32/56630_2.png) [@Joergen\_Ask](https://community.homey.app/u/Joergen_Ask)\
**Post date:** [April 15, 2024, 2:13pm UTC](https://community.homey.app/t/app-pro-sensibo-air-conditioning-and-quality/90295/226 "2024-04-15T14:13:10Z")

</div>

Sounds good!  
I disabled my flow for controling my AC yesterday, so update interval should not be an issue after that. But still I get the “403 forbidden” error.

Not sure if I should try to delete the sensibo device in homey and add it again.

---

<div class="post-metadata">

**Author:** ![OH2TH](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/oh2th/32/111414_2.png) [@OH2TH](https://community.homey.app/u/OH2TH)\
**Post date:** [April 15, 2024, 3:26pm UTC](https://community.homey.app/t/app-pro-sensibo-air-conditioning-and-quality/90295/227 "2024-04-15T15:26:23Z")

</div>

You could create a new Api key and just re-pair. 403 clearly is an authentication issue. 429 is for the rate limit issue.

---

<div class="post-metadata">

**Author:** ![Joergen\_Ask](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/joergen_ask/32/56630_2.png) [@Joergen\_Ask](https://community.homey.app/u/Joergen_Ask)\
**Post date:** [April 15, 2024, 4:08pm UTC](https://community.homey.app/t/app-pro-sensibo-air-conditioning-and-quality/90295/228 "2024-04-15T16:08:24Z")

</div>

I did update the api key and it seems to have changed from the 403 error to the 429 error now 😅 but it is strange… I have waited many minutes between everytime I try to change something ( temperature etc. ) but still I get the 429 error.

Edit: I was able to actually change the temperature now with sensibo in Homey Pro. Haven’t dared to try my flow yet. Not sure how often one could make changes without getting the error

Edit 2: Still 429 error with loads of time between each time I try

---

<div class="post-metadata">

**Author:** ![OH2TH](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/oh2th/32/111414_2.png) [@OH2TH](https://community.homey.app/u/OH2TH)\
**Post date:** [April 16, 2024, 5:52am UTC](https://community.homey.app/t/app-pro-sensibo-air-conditioning-and-quality/90295/229 "2024-04-16T05:52:56Z")

</div>

Sensibo API has become sensitive to the rate limit of 10 queries over 10 seconds. Internally the app itself will hit the limit quickly. Will need to review the code and look at some refactoring.

---

<div class="post-metadata">

**Author:** ![Joergen\_Ask](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/joergen_ask/32/56630_2.png) [@Joergen\_Ask](https://community.homey.app/u/Joergen_Ask)\
**Post date:** [April 16, 2024, 6:42am UTC](https://community.homey.app/t/app-pro-sensibo-air-conditioning-and-quality/90295/230 "2024-04-16T06:42:07Z")

</div>

Ahh okay!  
I just tried to change the temperature this morning and get the “429 too many requests” error.  
I have not tried to change anything since yesterday evening and no flow running.  
So a bit strange it tells me “too many requests” for one request 😅

---

<div class="post-metadata">

**Author:** ![OH2TH](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/oh2th/32/111414_2.png) [@OH2TH](https://community.homey.app/u/OH2TH)\
**Post date:** [April 16, 2024, 1:18pm UTC](https://community.homey.app/t/app-pro-sensibo-air-conditioning-and-quality/90295/231 "2024-04-16T13:18:16Z")

</div>

# New update (Test: [1.18.2](https://homey.app/a/com.sensibo/test))

> ## Changes include
> 
> - **FIX** : Switch from http.min to axios, add support for gzipped results from the Sensibo API.
> - **FIX** : Add some delays in API queries to mitigate rate limiting. Not the perfect solution, but helps.
> - **FIX** : Missed a few http calls that should be replaced with axios.
> - **FIX** : More Axios related adjustments

To test this version, please install from above test version link.

If you do not want to test this version anymore, you can return to the [live version](https://homey.app/a/com.sensibo/) by installing it from the app store.

@Joergen_Ask and @Sindre_Langberg, please test this one. It doesn’t solve the root cause, but could help. Also make sure you don’t use a Polling\_Interval less than 60 seconds in the device settings.

@Anton_Hooghiemstra, please install next test version. Missing http has been fixed.

---

<div class="post-metadata">

**Author:** ![Anton\_Hooghiemstra](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/anton_hooghiemstra/32/14090_2.png) [@Anton\_Hooghiemstra](https://community.homey.app/u/Anton_Hooghiemstra)\
**Post date:** [April 16, 2024, 2:21pm UTC](https://community.homey.app/t/app-pro-sensibo-air-conditioning-and-quality/90295/232 "2024-04-16T14:21:39Z")

</div>

Hi,

i have the same problem, and i’ve installed the testversion but then i get the message “http is not defined”.

greetings Anton

---

<div class="post-metadata">

**Author:** ![Joergen\_Ask](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/joergen_ask/32/56630_2.png) [@Joergen\_Ask](https://community.homey.app/u/Joergen_Ask)\
**Post date:** [April 16, 2024, 3:43pm UTC](https://community.homey.app/t/app-pro-sensibo-air-conditioning-and-quality/90295/233 "2024-04-16T15:43:00Z")

</div>

@OH2TH Thanks I will try tomorrow when I get back from work 😊 I suppose if i install the test version I have to add the sensibo device again and re-add all the cards in my flows?

Many thanks!

---

<div class="post-metadata">

**Author:** ![OH2TH](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/oh2th/32/111414_2.png) [@OH2TH](https://community.homey.app/u/OH2TH)\
**Post date:** [April 16, 2024, 4:24pm UTC](https://community.homey.app/t/app-pro-sensibo-air-conditioning-and-quality/90295/234 "2024-04-16T16:24:58Z")

</div>

All you need is to just install it from the given link. Do not uninstall.

---

<div class="post-metadata">

**Author:** ![Sindre\_Langberg](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/sindre_langberg/32/80542_2.png) [@Sindre\_Langberg](https://community.homey.app/u/Sindre_Langberg)\
**Post date:** [April 16, 2024, 8:14pm UTC](https://community.homey.app/t/app-pro-sensibo-air-conditioning-and-quality/90295/235 "2024-04-16T20:14:30Z")

</div>

Hi, I tried this version - first it gave the “429” error, then suddenly it worked. So I need to test it a bit and Ill get back to you 🙂

---

<div class="post-metadata">

**Author:** ![Anton\_Hooghiemstra](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/anton_hooghiemstra/32/14090_2.png) [@Anton\_Hooghiemstra](https://community.homey.app/u/Anton_Hooghiemstra)\
**Post date:** [April 16, 2024, 8:31pm UTC](https://community.homey.app/t/app-pro-sensibo-air-conditioning-and-quality/90295/236 "2024-04-16T20:31:32Z")

</div>

Version 1.18.2 works for me.  
Thanx for that.  
Now i can use the airco again as before.

---

<div class="post-metadata">

**Author:** ![OH2TH](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/oh2th/32/111414_2.png) [@OH2TH](https://community.homey.app/u/OH2TH)\
**Post date:** [April 17, 2024, 3:01am UTC](https://community.homey.app/t/app-pro-sensibo-air-conditioning-and-quality/90295/237 "2024-04-17T03:01:55Z")

</div>

I will be working on i to get the last rate limit issues out. You should know that this doesn’t yet fix it, and there may still be some rate limiting.  
Will need to look deeper into to the code and figure out some of them.

---

<div class="post-metadata">

**Author:** ![Joergen\_Ask](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/joergen_ask/32/56630_2.png) [@Joergen\_Ask](https://community.homey.app/u/Joergen_Ask)\
**Post date:** [April 17, 2024, 8:20am UTC](https://community.homey.app/t/app-pro-sensibo-air-conditioning-and-quality/90295/238 "2024-04-17T08:20:56Z")

</div>

@OH2TH the test version seems to be working for me as well 🙂 I can make changes now from homey. thanks! Will be trying a flow later tonight to see if that also works. Before I used to update every minute in this flow. Maybe I should go with every two minutes?

Regards from  
Jørgen

---

<div class="post-metadata">

**Author:** ![OH2TH](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/oh2th/32/111414_2.png) [@OH2TH](https://community.homey.app/u/OH2TH)\
**Post date:** [April 18, 2024, 7:11am UTC](https://community.homey.app/t/app-pro-sensibo-air-conditioning-and-quality/90295/239 "2024-04-18T07:11:45Z")

</div>

I will push these changes now to the Live version also.

---

<div class="post-metadata">

**Author:** ![ThomasNO](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/thomasno/32/78979_2.png) [@ThomasNO](https://community.homey.app/u/ThomasNO)\
**Post date:** [April 18, 2024, 9:01am UTC](https://community.homey.app/t/app-pro-sensibo-air-conditioning-and-quality/90295/240 "2024-04-18T09:01:24Z")

</div>

Request failed with status code 429 on the version 1.18.2

---

<div class="post-metadata">

**Author:** ![OH2TH](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/oh2th/32/111414_2.png) [@OH2TH](https://community.homey.app/u/OH2TH)\
**Post date:** [April 18, 2024, 12:03pm UTC](https://community.homey.app/t/app-pro-sensibo-air-conditioning-and-quality/90295/241 "2024-04-18T12:03:14Z")

</div>

> [@OH2TH](#):
>
> **FIX** : Add some delays in API queries to mitigate rate limiting. Not the perfect solution, but helps.

As already stated, it’s not perfect but helps.

---

<div class="post-metadata">

**Author:** ![OH2TH](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/oh2th/32/111414_2.png) [@OH2TH](https://community.homey.app/u/OH2TH)\
**Post date:** [April 18, 2024, 12:14pm UTC](https://community.homey.app/t/app-pro-sensibo-air-conditioning-and-quality/90295/242 "2024-04-18T12:14:22Z")

</div>

I will be making another change to the Polling Interval setting on the device settings page. Minimum Interval will be increased from the 15 seconds to 90 seconds.

There is no need to keep polling the Sensibo API any faster for two reasons:

- API rate limit
- Sensibo devices report back to the API only every 90 seconds

---

<div class="post-metadata">

**Author:** ![Tor\_Rustad](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/tor_rustad/32/49838_2.png) [@Tor\_Rustad](https://community.homey.app/u/Tor_Rustad)\
**Post date:** [April 18, 2024, 5:02pm UTC](https://community.homey.app/t/app-pro-sensibo-air-conditioning-and-quality/90295/243 "2024-04-18T17:02:18Z")

</div>

Hi, Thank you for a very good and stable app.  
But three days ago it started to fail and today I see that a new version is installed 1.18.2 on my HomeyPro “Homey Pro (Early 2019)”. I saw that it was recommended to change the API key. Repaired the Sensibo app and entered a new key from [https://home.sensibo.com/me/api](https://home.sensibo.com/me/api). After the new app is installed the command “Climareact on/off” do not work anylonger. The errorcode “Request failed with status code 400” apper

[Previous page](https://community.homey.app/t/app-pro-sensibo-air-conditioning-and-quality/90295.md?page=11)

[Next page](https://community.homey.app/t/app-pro-sensibo-air-conditioning-and-quality/90295.md?page=13)
