angoyd / freshintelliventHacs

Integration of Fresh Intellivent Sky for Home Assistant.
MIT License
12 stars 2 forks source link

Change of settings not updated? #39

Open Uffepuff opened 6 months ago

Uffepuff commented 6 months ago

First my compliments for a great job on the integration, a humble thank you for your efforts!

Unfortunately, I really can't get some functions to work regarding the control of the fan. Connection went well on both my sites, set with authentication key, but I can't get airing, light and VOC settings to work.

As for VOC, any attempt to change the sensitivity in HASS will be reset to High. In the app I can change off/../high for VOC, but these values are not displayed in HASS. Light mode is also not possible for me to turn off, always resets to medium.

Regarding airing, the control för off/low/medium/high is missing in my setup compared to the app. Setting airing minutes or active time minutes resets each other.

Setting RPM for the different modes and constant speed switch works flawlessly.

I am running HASS on Intel Nuc's, and since there seems to be a problem with bluetooth drivers I first tried with Bluetooth proxies on each site. With the proxies active a problem with unavailable fans was reduced, but the settings problems are still there.

I have fan hardware version 01.02 and firmware version 01.01, HASS 24.1.6/24.1.2, HASS-OS 11.4/11.3. Manually installed (no HACS).

This is most likely a problem related to my mistakes and doings, but I really cant figure out what went wrong. Any ideas on what could be the problem?

Maybe related to #38?

sorenfisker commented 6 months ago

Seeing the same thing on both 0.2.1 and 0.3.0-rc3.

Uffepuff commented 5 months ago

I find hundreds of lines in the log looking like this:

2024-04-04 01:15:51.349 ERROR (MainThread) [custom_components.fresh_intellivent_sky] Error fetching fresh_intellivent_sky data: Unable to fetch data: Failed to read 2024-04-04 01:28:44.756 ERROR (MainThread) [custom_components.fresh_intellivent_sky] Error fetching fresh_intellivent_sky data: Unable to fetch data: [org.bluez.Error.Failed] Operation failed with ATT error: 0x0e (Unlikely Error)

or this:

2024-04-04 07:14:26.591 ERROR (MainThread) [custom_components.fresh_intellivent_sky] Error fetching fresh_intellivent_sky data: Unable to fetch data: Failed to write 2024-04-04 07:21:09.567 ERROR (MainThread) [custom_components.fresh_intellivent_sky] Error fetching fresh_intellivent_sky data: Unable to fetch data: Failed to read 2024-04-04 07:28:55.275 ERROR (MainThread) [custom_components.fresh_intellivent_sky] Error fetching fresh_intellivent_sky data: Unable to fetch data: [org.bluez.Error.Failed] Operation failed with ATT error: 0x0e (Unlikely Error)

As the numbers work ok, could it possibly be related to string handling or related to bluez in hass-os for the Intel Nuc?