biemond / com.athom.philipsair

Philips AIR purifier app for Homey
GNU General Public License v3.0
4 stars 3 forks source link

Humidity #1

Closed iFac3 closed 4 years ago

iFac3 commented 4 years ago

Hi biemond,

First of all I’d like to thank you so much this Homey app!

What I experienced is regards to Humidity. The device shows target humidity instead of measured humidity. I can not access the integrated humidity sensor data even from insights, however would be awesome to set up automations based on this.

EC2DFE03-497D-471C-817C-0B03D5C7F97E

Other thing is connected to HomeKit Experiment. Philips device appears as a switch instead of purifier/humidifier and shows in the details target instead of current humidity.

My device is 3000i 2 in 1 Purifier and Humidifier (AC3829/10)

iFac3 commented 4 years ago

I've played a bit with this recently, and found something.

Since I wrote you I've done reset device, reinstall app, readd device multiple times, but run into the same failure at some point. Everything goes well for a while, but once when issue comes, it has one visible thing every time:

IMG_4979

Writes "Error on filter" at Product section.

Connecting result is that automated reporting stops, update on status happens only when I set anything on the device. (I can check it under "Latest update date") It's weird, becuase all started with lost control over the device, but now ability of control remains, however updating is missing.

biemond commented 4 years ago

Great info, let me check it again. mostly a failure should not block the next run 2 minutes later.

biemond commented 4 years ago

also can you try if it has something to do with the wifi connection and using 2.4ghz

iFac3 commented 4 years ago

WiFi is definitely not an issue here, spectrum is clear, I have UniFi ac system, what works very good indeed.

Rgds,

Gergely. On 2020. Apr 10. 16:19 +0200, Edwin Biemond notifications@github.com, wrote:

also can you try if it has something to do with the wifi connection and using 2.4ghz — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

biemond commented 4 years ago

oh wow , I have the same issue. error on filter and last update from 2 days ago. plus control does not work.

biemond commented 4 years ago

restart app from the homey app works for me , nice I also got this issue

iFac3 commented 4 years ago

It worked for me too now, I’m gonna check time by time and report you.

Rgds,

Gergely. On 2020. Apr 10. 22:16 +0200, Edwin Biemond notifications@github.com, wrote:

restart app from the homey app works for me , nice I also got this issue — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

biemond commented 4 years ago

I see the errors in debug mode, status goes well , filter and firmware is failing.

biemond commented 4 years ago

found an error where there is a restart/ re-init of the app, 1st step went well but the old shared key was used on the 2 minute crontask .now I will always use the new key instead.

can you test it again https://homey.app/a/com.athom.philipsair/test/

biemond commented 4 years ago

also I had to restart the philips device after too many retries , I was getting connection resets

iFac3 commented 4 years ago

Is something changed in the Philips Air device behaviour, or Homey behavier differs?

Üdv,

G. On 2020. Apr 10. 23:48 +0200, Edwin Biemond notifications@github.com, wrote:

also I had to restart the philips device after too many retries , I was getting connection resets — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

biemond commented 4 years ago

I think in homey

iFac3 commented 4 years ago

I guessed... since the updated Homey FW...

Üdv,

G. On 2020. Apr 11. 0:13 +0200, Edwin Biemond notifications@github.com, wrote:

I think in homey — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

biemond commented 4 years ago

I hope philips auto updates its firmware, they changed protocol on late 2019 devices and I don't have 1 or I don't know how I can upgrade the firmware.

biemond commented 4 years ago

got it again after 4 hours, Status is now 6 hours behind, cron is still working. I see error on product. will try to find out why the key is not valid anymore and do some re-init when we got some failure

biemond commented 4 years ago

added a fix so secret is renewed after a communication error , plus store secret on device https://homey.app/a/com.athom.philipsair/test/

iFac3 commented 4 years ago

Nice, thanks for update!

Test of 0.0.19 has just started...

...I’ll get back to you with feedback.

Rgds,

Gergely. On 2020. Apr 11. 13:04 +0200, Edwin Biemond notifications@github.com, wrote:

added a fix so secret is renewed after a communication error , plus store secret on device https://homey.app/a/com.athom.philipsair/test/ — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

biemond commented 4 years ago

for me it is stable for the last 24 hours. I don't know what is changed on homey or philips but it is good. I will retrieve/refresh its secret key on error at least so next time should be good again. I saw somehow the key was not valid anymore. maybe we got some silence philips update.

iFac3 commented 4 years ago

Hi Edvin,

Worked fine till now. The device has just became unreachable by Homey.

IMG_5047

(IP exists, it has been fixed, device is reachable through the AirMatters app.

Rgds,

Gergely. On 2020. Apr 12. 11:32 +0200, Edwin Biemond notifications@github.com, wrote:

for me it is stable for the last 24 hours. I don't know what is changed on homey or philips but it is good. I will retrieve/refresh its secret key on error at least so next time should be good again. I saw somehow the key was not valid anymore. maybe we got some silence philips update. — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

iFac3 commented 4 years ago

A restart solved this, I'm testing continuously

iFac3 commented 4 years ago

Allright! App is perfect again!