MikeJMcGuire / hass-actronque

Actron Que/Neo Air Conditioner Add-On for Home Assistant
GNU General Public License v3.0
13 stars 5 forks source link

Issues on latest version #7

Closed aguinane closed 2 years ago

aguinane commented 2 years ago

Hi Mike, Thanks for making this add-on!

I only recently set this up for the first time with v2022.1.2 and everything worked great! After updating to v2022.1.3 (and v2022.1.4 didn't fix it either) the values have all been stale and controls no longer work.

The only things in the log that look like they might be abnormal are:

01-02-2022 09:22:52.44 Que.ProcessPartialStatus() [0x00000003] Unable to read state information: RemoteZoneInfo[3].Sensors[0].Battery_pc
01-02-2022 09:22:52.44 Que.ProcessPartialStatus() [0x00000003] Unable to read state information: RemoteZoneInfo[4].Sensors[0].Battery_pc
01-02-2022 09:50:59.94 Que.GetAirConditionerEvents() [0x0000000C] Responded (Encoding N/A, N/A bytes)

All the other logs seem okay. I have a NEO device.

I tried uninstalling the add-on and re-installing and it picked up the air-con fine according to the logs - but does not show up as a new device and entities in MQTT.

Any ideas?

MikeJMcGuire commented 2 years ago

Yep, can you capture all of the logs from startup - enough to show that it's received data and processed it. Thx

aguinane commented 2 years ago

Hmm can't seem to work out how to get it to show more than last 50 or so rows.

Anyways, I found this error which I think could be the problem:

01-02-2022 11:34:57.91 Que.GetAirConditionerEvents() [0x00000003] Error (System.Collections.Generic.KeyNotFoundException): Unable to process API HTTP response. The given key '8' was not present in the dictionary.

I have 7 zones.

MikeJMcGuire commented 2 years ago

Thanks – can you send the log entries surrounding that line?

From: Alex Guinman @.> Sent: Tuesday, 1 February 2022 12:37 PM To: MikeJMcGuire/hass-actron @.> Cc: Mike McGuire @.>; Comment @.> Subject: Re: [MikeJMcGuire/hass-actron] Issues on latest version (Issue MikeJMcGuire/hass-actronque#7)

Hmm can't seem to work out how to get it to show more than last 50 or so rows.

Anyways, I found this error which I think could be the problem:

01-02-2022 11:34:57.91 Que.GetAirConditionerEvents() [0x00000003] Error (System.Collections.Generic.KeyNotFoundException): Unable to process API HTTP response. The given key '8' was not present in the dictionary.

— Reply to this email directly, view it on GitHub<MikeJMcGuire/hass-actronque#7>, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AEGUQM4QMT5RQS4G43PTOZDUY42M5ANCNFSM5NHV6C7Q. Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub. You are receiving this because you commented.Message ID: @.**@.>>

MikeJMcGuire commented 2 years ago

Add a comment to the blog page, and I'll email you separately for the log info: https://blog.mikejmcguire.com/2021/02/11/actron-neo-and-home-assistant/

aguinane commented 2 years ago

I've re-installed everything and now working again on the latest version. Thanks for the quick fix!

MikeJMcGuire commented 2 years ago

Brilliant!