jxg81 / homebridge-actron-que

Homebridge plugin for Actron Que Controller
Apache License 2.0
8 stars 0 forks source link

API returned bad data issues #5

Closed djxplor closed 1 year ago

djxplor commented 1 year ago

Hi @jxg81

Julian

Have just loaded the plug-in today but seeing Bad Data issues consistently for at least 8 hours Plugin is authorised to access API Have a 7 zone Actron Que system Thoughts ?

Thanks Darryl

[21/10/2022, 22:45:54] [ActronQue] API Returned Bad Data - Schema Validation Failed [21/10/2022, 22:45:54] [ActronQue] Failed to refresh status, Actron Que Cloud unreachable or returned invalid data [21/10/2022, 22:45:54] [homebridge-actron-que] This plugin generated a warning from the characteristic 'Heating Threshold Temperature': characteristic was supplied illegal value: number 0 exceeded minimum of 10. See https://homebridge.io/w/JtMGR for more info. [21/10/2022, 22:45:54] [homebridge-actron-que] This plugin generated a warning from the characteristic 'Cooling Threshold Temperature': characteristic was supplied illegal value: number 0 exceeded minimum of 20. See https://homebridge.io/w/JtMGR for more info. [21/10/2022, 22:45:54] [ActronQue] Actron Que cloud error, refreshing HomeKit accessory state using cached data

jxg81 commented 1 year ago

Hey Darryl,Thanks for reaching out. Seems a little odd. Let me take a look at what my recent logs show and come back to you. May need a little more info from you - standby @. | +61 409 439 207Sent from my mobile device.Please excuse any typos.On 21 Oct 2022, at 22:49, djxplor @.> wrote: Hi Have just loaded the plug-in today but seeing Bad Data issues consistently for at least 8 hours Plugin is authorised to access API Have a 7 zone Actron Que system Thoughts ? Thanks Darryl [21/10/2022, 22:45:54] [ActronQue] API Returned Bad Data - Schema Validation Failed [21/10/2022, 22:45:54] [ActronQue] Failed to refresh status, Actron Que Cloud unreachable or returned invalid data [21/10/2022, 22:45:54] [homebridge-actron-que] This plugin generated a warning from the characteristic 'Heating Threshold Temperature': characteristic was supplied illegal value: number 0 exceeded minimum of 10. See https://homebridge.io/w/JtMGR for more info. [21/10/2022, 22:45:54] [homebridge-actron-que] This plugin generated a warning from the characteristic 'Cooling Threshold Temperature': characteristic was supplied illegal value: number 0 exceeded minimum of 20. See https://homebridge.io/w/JtMGR for more info. [21/10/2022, 22:45:54] [ActronQue] Actron Que cloud error, refreshing HomeKit accessory state using cached data

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you are subscribed to this thread.Message ID: @.***>

jxg81 commented 1 year ago

Ok - reviewed my logs. I can see that there were some intermittent issues yesterday but not for very long. Would you be able to turn on debug logging on your homebridge and send me the logs produced over ~5min duration starting from when homebridge boots. This should allow me to see where exactly the issue is coming from. Let me know if you need any pointers in getting debugging mode turned on.

Also, can you please browse to the following url and send me the dump of JSON data returned: https://que.actronair.com.au/api/v0/client/ac-systems/status/latest?serial=**your_ac_serial_number Where your_ac_serial_number** = the serial number of your que system You will need to login to https://que.actronair.com.au before you can access that url If you are not sure what your que serial number is you will be able to find it listed here https://que.actronair.com.au/client/devices under "My Air Conditioners"

jxg81 commented 1 year ago

@djxplor Can you please try the beta version i have just published. 1.2.4-beta.0 It turned out to be some pretty straight-forward schema updates. I have loaded the beta locally for myself and its working fine, but will obviously need you to confirm it works for you. You will need to browse to plugins in the hb web interface, hit the spanner on the plugin tile and choose install alternate version and select the beta version manually. Once loaded you will need to restart homebridge. Let me know if you need any additional help getting the beta version running. If you see additional errors please capture the homebridge logs and email them to me directly as before.

djxplor commented 1 year ago

@jxg81

Well done Julian. It’s working now. Just throwing one warning. The minimum master temperature on my unit goes down to 19.5 degrees not just 20. If I change it to 20 the warning goes away. Have attached a screenshot of the warning.

Let me know if you need the log itself 32B32947-035E-4ED3-8319-E5F25C7D6047

Thanks

Darryl

jxg81 commented 1 year ago

@djxplor I have published an updated beta which will allow you to adjust the heating/cooling threshold min/max settings. Can you load 1.2.4-beta.1. In the configuration you will see a checkbox to "Modify default heating cooling threshold temperatures" which will allow you to overwrite the current defaults for one or more of the thresholds. Let me know how you go and if its all smooth sailing ill update docs and move to mainline release.

djxplor commented 1 year ago

@jxg81 Works perfectly now with no warnings. Many thanks Darryl