Closed mjpcomp closed 6 years ago
I would also like to see this as I am driving the same Volvo.
I am still fighting with the setup of this, any hint on how you did that?
Is the pre-climatization command working for your XC90?
@chixxi - I haven't tried the Parking Climate feature since I don't use it (I usually just use remote start to get the cabin temperature going). In terms of the VolvoOnCall code here, I ran it on Ubuntu 18.04 - didn't really take much. Just use PIP3 (not PIP, which is Python2 - I did that the first time and wondered why flake8 failed tests).
The only other changes I made (to make it easy) - set up the voc.conf file with the username, password, and region.. Since I only have a single Volvo, I could run the VOC commands directly without having to add any other options.
If I get time, and get my Python skills up to par, I was thinking it would be great to add the following additional features:
When running the "Status" option - if the vehicle is a hybrid/EV, show the battery status as well (range, charging, time to full charge, etc...).
Also, just saw the following change when I ran the print command:
"serverVersion": "4.18.17-feature-att_paygo_rateplan-voc-deployable",
I also got it working. Now working on a driver for NEEO so that the Volvo can be integrated in my smart home controller. Thanks for your feedback.
@chixxi If you get a chance, when you create that NEEO driver, could you post it? I have 3 of them and it would be great to get that integrated as well. I'm hoping someone can get a SmartThings device handler made for this, as well, since that would be the ultimate win.
Wow, cool to hear that you have three NEEOs! I only have two but I fell in love with them ;-)
It is very very basic and just proof of concept, I will keep working on it, but I am no actual developer either: https://github.com/chixxi/neeo-voc
There seems to be a distance limit for honking etc., to I have to figure out a way to get the vehicle position and send that right back with the call to make the API think the distance is zero.
I don't own smart things, but I know you can add NEEO as a secondary controller. That is not a full integration, but at least you can then control the z-wave devices at least. I have also seen drivers for Athom and openHAB, so I think it's not unrealistic
What states and commands do you think would make sense to have on NEEO for the Volvo.
@chixxi - I'll head over to your codebase and check it out!
I know with this codebase, you can read back the position and feed it to itself, so, it solves the distance limitations.
With the NEEO, I was one of the first few when they started their Kickstarter, so, ended up getting 3... Only have one in use, though, since they took forever to arrive, and Amazon Fire TV support wasn't there in the beginning.
Would definitely like to see the ability to lock/remote start/precondition, but, then, there aren't really many things left :p
Please submit separate pull requests for any new feature you wish to add. Please see https://github.com/molobrakos/volvooncall/blob/master/volvooncall.py#L329 for example.
On the 2017 XC90 T8, within the App, I'm able to flash the lights, or do both the Horn and Flash... Pulling the status from your script, I noticed this:
It looks like the honkandblink supported needs to be adjusted to support the separate commands? I don't know if I have time to fork and modify and submit, but, just wanted to bring up the breakout for the honk and blink.
From here: https://forums.swedespeed.com/showthread.php?526450-Getting-acclimated-with-VOC-API-WOW-so-much-potential! it looks like the following commands were found:
Here's the full Status Dump in case there's any difference between what you've seen/written for, and what might be available now: