Hi all! Since Nissan disabled carwings for the Netherlands I decided to try this route. I’ve installed a GL-s10 and I was able to add a vgate obd dongle I had laying around. (The same as @128203ro) Everything looks to be working perfectly on the integration side, thank you for your work on this.
But I have one strange phenomenon. If I leave the OBD dongle plugged in, it won’t restart after the car has been powered off and then powered on again. At the moment I just replug the OBD dongle on my way to home so it connects as soon as I enter the driveway. But I thought the dongle should be starting with the car.
Yeah, so what’s happening here:
When the dongle is plugged in, HA can communicate with it, but the dongle can’t talk to the car
HA <-----> Dongle <—X—> Car
In this scenario, HA polls occasionally (5 mins by default) in case the car happens to turn on.
When the dongle is unplugged or out of range, HA obviously can’t talk to it:
HA <—X—> Dongle <—?—> Car
In this scenario, when the dongle comes into range, HA is triggered by a BLE advertisement, which in turn kicks the integration to go a fetch data.
Note: just unplugging and replugging the dongle probably won’t trigger this, since I think the BLE discover layer needs to give up on reaching it. Not sure how long that takes.
The likely scenario is that when you have powered up the car, you need to wait for the next scheduled poll from HA (could be up to 5 mins). As a workaround, I added a button to trigger a sync on demand:
If you power up the car, you can try hitting this to get an immediate update.
If you don’t see this button, you might need to get the latest build from HACS.
v0.3.1 — significant stability improvements. Have been testing this for several weeks and haven’t had a single lock-up.
v0.4.0b1 — pre-release: @128203ro have implemented, but not tested, a scheme for customising the decoders without needing the modify the python package. Please experiment.