Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Air conditioner went offline #28

Closed
witmannmark opened this issue Oct 14, 2019 · 17 comments
Closed

Air conditioner went offline #28

witmannmark opened this issue Oct 14, 2019 · 17 comments
Labels
bug Something isn't working research required Additional research required for this issue wait for stable release This issue is fixed and will be available for users in the next stable release

Comments

@witmannmark
Copy link

Hi!

I have same problem what have some guys. I have 3x gree u-crown air conditioners. If i add it work fine but after a few hours go offline and homey cant control ac-s.

I add it again and again maybe 10-15x but every time same problem.

@aivus
Copy link
Owner

aivus commented Oct 17, 2019

Hello @witmannmark

Do they work for some time and then stop?

Based on the report you've sent I see that homey can not reach your HVACs and mark them as offline.

Could you please check that you ACs and homey are in the same network subnet?
Your ACs are in 192.168.245.*

Related ticket #22

@aivus aivus added bug Something isn't working research required Additional research required for this issue labels Oct 17, 2019
@witmannmark
Copy link
Author

Yes, the same network. Now i added theese again. 192.168.245.81, 192.168.245.85, 192.168.245.192.168.245.79 . Its that possible the AC-s change IP adress during the time?

@aivus
Copy link
Owner

aivus commented Oct 17, 2019

Application uses mac address to find specific HVAC from the all known.

Could you please try to restart an Gree app when any HVAC goes offline.
It can be done from the same page where you sent diagnostic report.

Will HVAC start work after the app restart?

@witmannmark
Copy link
Author

Now i find the reason of the problem. I dont know why but when i add now again climatisation the ip was different. Sutuatin is that climatisations ip adres is not static.

Existing some to fix that problem?

@aivus
Copy link
Owner

aivus commented Oct 17, 2019

@witmannmark could you restart an app in case when it's showing offline status like described in my previous message?

@witmannmark
Copy link
Author

Now i try and its a true. When i go back to gree app after closing it air conditioner go online again in homey app.

@witmannmark
Copy link
Author

I set up in router fix ip adresses for ac-s. At now looks like ac-s cant go offline. Now homey see it few hours more...

@aivus
Copy link
Owner

aivus commented Oct 17, 2019

@witmannmark I'm fixing the bug related to switching to offline in case of changing ip address of AC.

Please share your email address which is used for homey with me and I'll release alpha version with fix to test when it will be ready.

@witmannmark
Copy link
Author

At now i have other errors. (Device not avaiable, maybe app was disabled. You do it?). Mail adress is: witmannmark@gmail.com

@witmannmark
Copy link
Author

Hi!

Unfortunately, the app crashed while I was doing the following:

(...)

This is the stack trace:dgram.js:638
throw new errors.Error('ERR_SOCKET_DGRAM_NOT_RUNNING');
^

Error [ERR_SOCKET_DGRAM_NOT_RUNNING]: Not running
at Socket._healthCheck (dgram.js:638:11)
at Socket.close (dgram.js:516:8)
at Client.disconnect (/node_modules/gree-hvac-client/lib/client.js:131:22)
at Timeout._socketTimeoutRef.setTimeout [as _onTimeout] (/node_modules/gree-hvac-client/lib/client.js:118:22)
at ontimeout (timers.js:498:11)
at tryOnTimeout (timers.js:323:5)
at Timer.listOnTimeout (timers.js:290:5)

@aivus
Copy link
Owner

aivus commented Oct 18, 2019

Unfortunately, the app crashed while I was doing the following:

Thanks for the info. I got this crash report.
It's fixed in v0.1.4

At now i have other errors. (Device not avaiable, maybe app was disabled. You do it?)

It's related to the crash above.

Mail adress is:

I've added you as an alpha tester.
Now you can install alpha version 0.1.4 from the https://apps.athom.com/app/com.gree.
Please revert your changes in the router (remove static ip for the ACs) and check how app works now on the 0.1.4

@witmannmark
Copy link
Author

Thx, now i changed the version the app to the alpha, but i go home only sunday. I cant change now IP adresses. I do it on sunday and i write after.

@aivus
Copy link
Owner

aivus commented Oct 18, 2019 via email

@aivus
Copy link
Owner

aivus commented Oct 21, 2019

Hey @witmannmark
Did you have a chance to check it?

@witmannmark
Copy link
Author

Hi, i checked it now (I changed static ip in router) After that i added a AC-s again into homey. This was yesterday, and everything is good until that. AC-s working and cant go offline at this time. Thx much!

@aivus aivus added the wait for stable release This issue is fixed and will be available for users in the next stable release label Oct 21, 2019
@aivus
Copy link
Owner

aivus commented Oct 22, 2019

@witmannmark thanks for feedback.
Will push this fix to the next stable version 0.1.5

@aivus
Copy link
Owner

aivus commented Nov 7, 2019

Released in v0.2.1

@aivus aivus closed this as completed Nov 7, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working research required Additional research required for this issue wait for stable release This issue is fixed and will be available for users in the next stable release
Projects
None yet
Development

No branches or pull requests

2 participants