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

Optionally disable HVAC status #10

Closed
StrathCole opened this issue Oct 20, 2020 · 3 comments
Closed

Optionally disable HVAC status #10

StrathCole opened this issue Oct 20, 2020 · 3 comments

Comments

@StrathCole
Copy link

It seems my car (ZOE Phase 2) has no HVAC available. The API calls always result in error 403 just for this api endpoint. Instead of enabling the ignore api errors setting I'd like to simply disable this specific API call, but without disabling checkPreconAndCharge (which is the case when I don't ignore the api error).

@StrathCole
Copy link
Author

StrathCole commented Oct 20, 2020

Just for information, this is the result of the calls:

response:{"statusCode":403,"body":"{\"type\":\"FUNCTIONAL\",\"messages\":[{\"code\":\"err.func.403\",\"message\":\"{\\\"errors\\\":[{\\\"status\\\":\\\"403\\\",\\\"code\\\":\\\"403011\\\",\\\"title\\\":\\\"Operation not supported\\\",\\\"detail\\\":\\\"Operation not supported for this can (C1A)\\\"}]}\"}],\"errors\":[{\"errorCode\":\"err.func.403\",\"errorMessage\":\"{\\\"errors\\\":[{\\\"status\\\":\\\"403\\\",\\\"code\\\":\\\"403011\\\",\\\"title\\\":\\\"Operation not supported\\\",\\\"detail\\\":\\\"Operation not supported for this can (C1A)\\\"}]}\"}],\"error_reference\":\"FUNCTIONAL\"}"

fungus75 added a commit that referenced this issue Nov 17, 2020
@fungus75
Copy link
Owner

Please update (use the GitHub button and then enter this URL as user-defined-URL: https://github.com/fungus75/ioBroker.zoe2/tarball/master/") to the most recent version. You should now have another setup-parameter: useHVACApi which can enable/disable this api-call.

@StrathCole
Copy link
Author

Thank you, seems to have done it. No further errors in log.

zoe2.0 | 2020-11-17 20:30:13.201 | debug | (2682)  stateChange zoe2.0.xxx.gpsLongitude  {"val":12454,"ack":true,"ts":1605641413190,"q":0,"from":"system.adapter.zoe2.0","user":"system.user.admin","lc":1605612610978}
-- | -- | -- | --
zoe2.0 | 2020-11-17 20:30:13.198 | debug | (2682)  stateChange zoe2.0.xxx.gpsLatitude  {"val":1234,"ack":true,"ts":1605641413190,"q":0,"from":"system.adapter.zoe2.0","user":"system.user.admin","lc":1605612610977}
zoe2.0 | 2020-11-17 20:30:13.182 | debug | (2682) in:  checkPreconAndCharge v0.01
zoe2.0 | 2020-11-17 20:30:13.181 | info | (2682) getHVACStatus not enabled in config

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

No branches or pull requests

2 participants