trympet / homebridge-volvo

Volvo plugin for Homebridge
https://npm.im/homebridge-volvo
Apache License 2.0
26 stars 6 forks source link

Climate feature no response #19

Open jonpeng opened 3 years ago

jonpeng commented 3 years ago

Issues: The climate feature no response, the feature is grayed out in Home app. The other feathers all work fine.

Homebridge logs: [2021-03-07, 3:27:00 p.m.] [Volvo] Initializing Volvo accessory... [2021-03-07, 3:27:00 p.m.] [Volvo] Starting homebridge-volvo [2021-03-07, 3:27:02 p.m.] [Volvo] Features available: carLocatorSupported honkAndOrBlink honkAndBlink unlockSupported lockSupported preclimatizationSupported engineStartSupported [2021-03-07, 3:27:02 p.m.] [Volvo] Features enabled: carLocatorSupported honkAndOrBlink honkAndBlink unlockSupported lockSupported preclimatizationSupported engineStartSupported [2021-03-07, 3:27:02 p.m.] [Volvo] Got vehicle 2019 XC40 with registration number null.

Homebridge config: "accessories": [ { "name": "Volvo", "email": "xxx", "password": "xxx", "region": "na", "engineStartDuration": 15, "enabledFeatures": { "carLocatorSupported": true, "honkAndOrBlink": true, "honkAndBlink": true, "remoteHeaterSupported": true, "unlockSupported": true, "lockSupported": true, "preclimatizationSupported": true, "engineStartSupported": true, "highVoltageBatterySupported": true }, "accessory": "Volvo" }

Home app screenshot: image Volvo on Call app screenshot: image

Environment: Node.js Version: v14.15.5: NPM Version: v7.5.4: Homebridge Version v1.3.2: Homebridge Volvo Plugin Version: v1.0.5: Homebridge Config UI X Plugin Version: v4.39.1: Operating System: Raspian:

costispavlou commented 3 years ago

even if you turn it off it still shows as not responding. i think the developer gave up.

drakkhen commented 3 years ago

even if you turn it off it still shows as not responding. i think the developer gave up.

@costispavlou: FYI if you update the plugin should now observe the checked/unchecked Features in the config (GH-25)

drakkhen commented 3 years ago

Created GH-27 to disable disable preclimatization by default. This doesn't fix the problem--it just buries it (which is probably preferable for now).

@trympet:

I just got my first Volvo (🔥) so I'm not at all familiar with the history of this API. I'm assuming the status response object used to include a key called heater? But that no longer seems to be the case (in NA, at least).

As you of course know, this plugin is hitting the wirelesscar.net API. But quick googling shows that Volvo is currently advertising a different API service with endpoints located at api.volvocars.com. The documentation shows that it exposes climatization-start, climatization-stop, and several additional nice-to-haves that might translate to HomeKit such as temperature at vehicle (which could show up as a thermostat sensor).

Do you think it's safe to assume that it's unlikely that preclimatization is coming back to the wirelesscar.net API (and we should just comment it out indefinitely) and that .....some day, when time allows..... this plugin should adopt Volvo's new API?