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

State is not refreshing #39

Open
dudzio12 opened this issue May 25, 2019 · 4 comments
Open

State is not refreshing #39

dudzio12 opened this issue May 25, 2019 · 4 comments
Labels

Comments

@dudzio12
Copy link

dudzio12 commented May 25, 2019

Hi,

Thanks for the big work ;)

The state of AC is not refreshing.

I have on AC log:

0|HVAC_0  | [MQTT] Message "fixedTop" received for homeassistant/greehvac/swingvert/set
0|HVAC_0  | [UDP] Status updated on 1e53f1d2
0|HVAC_0  | [MQTT] Message "cool" received for homeassistant/greehvac/mode/set
0|HVAC_0  | [UDP] Status updated on 1e53f1d2
0|HVAC_0  | [MQTT] Message "auto" received for homeassistant/greehvac/mode/set
0|HVAC_0  | [UDP] Status updated on 1e53f1d2
0|HVAC_0  | [MQTT] Message "cool" received for homeassistant/greehvac/mode/set
0|HVAC_0  | [UDP] Status updated on 1e53f1d2
0|HVAC_0  | [MQTT] Message "22.0" received for homeassistant/greehvac/temperature/set
0|HVAC_0  | [UDP] Status updated on 1e53f1d2
0|HVAC_0  | [MQTT] Message "cool" received for homeassistant/greehvac/mode/set
0|HVAC_0  | [UDP] Status updated on 1e53f1d2
0|HVAC_0  | [MQTT] Message "fixedMid" received for homeassistant/greehvac/swingvert/set
0|HVAC_0  | [UDP] Status updated on 1e53f1d2

And on the MQTT log there is nothing.
It works when I change stats, but I'm not receiving any status updates at all.

What could be wrong?

I've also one minor problem with repo readme - it was confusing for me, that hass.io addon manual is on the same level as Running locally, so it looks like you have to do both things to get it work (but it is not the case, I guess?) :)

@arthurkrupa
Copy link
Owner

Hi, thanks for the report! The latest releases are very buggy because I hadn't had enough time to test them properly.

Can you describe the scenario in more detail?

  1. "It works when I change stats". Using Hass.io, publishing directly to MQTT or with the AC remote?
  2. "I'm not receiving any status updates at all". On the AC, MQTT server or Hass.io?

PS: I think this part of the readme does seem a bit confusing. I'll update it with the next release.

@stickermajom
Copy link

Hi,

I can help describing the scenario a bit more in detail:
Since the newest release it seems the AC doesn't broadcast its state after turning it on/setting fan mode/setting the temp/etc., as the climate control in Hassio remains empty. The control of the AC works just fine, just Hassio doesn't know about it. I'm using 0.93.2.

@dudzio12
Copy link
Author

dudzio12 commented Jun 15, 2019

@arthurkrupa Sorry for delay:

I'm switching on the AC via: Google Home App (it's actually via Hass), Hass itself, Gree remote control, Gree+ App - it doesn't matter.

The temperature switch doesn't appear, but other switches are working as expected (changing AC mode or fan), but after it changes I see no change on the Hass.

I found out that when I restart Mosquitto broker, the MQTT server fetches the AC mode (and other stuff):
homeassistant/greehvac/mode/get

When I switch the mode I can see the log (when it's working!)

560634099: |-- aclcheck(homeassistant, homeassistant/greehvac/temperature/set, 2) CACHEDAUTH: 0
(...)
1560634101: |-- aclcheck(homeassistant, homeassistant/greehvac/temperature/get, 1) CACHEDAUTH: 0

And when it doesn't work I can see only homeassistant/greehvac/mode/set without get call so that must be the case.

Sorry for the chaotic comment, but I made above steps one by one and it surprisingly worked after MQTT restart.

I think you should add get method running periodically to "pick up" the state's changing on AC itself.

Let me know what I can check for you :) Thanks for the help!

@dudzio12
Copy link
Author

Home Assistant 2019-06-15 23-16-55
Home Assistant 2019-06-15 23-13-12

And that how it looks inside Hass when it's working and when it doesn't.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants