Right now I get the status of the following btw:
longitude / lattitude (which make a google maps link)
averageFuelConsumption
averageSpeed
brakeFluid
carLocked
connectionStatus
distanceToEmpty
doors frontLeftDoorOpen
doors frontRightDoorOpen
doors hoodOpen
doors rearLeftDoorOpen
doors rearRightDoorOpen
doors tailgateOpen
engineRunning
fuelAmount
fuelAmountLevel
fuelTankVolume
grossWeight
hvBattery distanceToHVBatteryEmpty
hvBattery distanceToHVBatteryEmptyTimestamp
hvBattery hvBatteryChargeModeStatus
hvBattery hvBatteryChargeStatus
hvBattery hvBatteryChargeStatusDerived
hvBattery hvBatteryChargeWarning
hvBattery hvBatteryLevel
hvBattery timeToHVBatteryFullyChargedTimestamp
odometer
position heading
position latitude
position longitude
position speed
remoteClimatizationStatus
serviceWarningStatus
tripMeter1
tripMeter2
tyrePressure frontLeftTyrePressure
tyrePressure frontRightTyrePressure
tyrePressure rearLeftTyrePressure
tyrePressure rearRightTyrePressure
windows frontLeftWindowOpen
windows frontRightWindowOpen
windows rearLeftWindowOpen
windows rearRightWindowOpen
I am also now using https://github.com/molobrakos/volvooncall to read position, status, lock the car and start the heater.
/Mike
Just to clarify-- did you actually find scripts for blink/honk? What was the VOC URL you used for those?
Thanks in advance if you have any hints there.
I have tried, but it returned an error in my case. I would have to trace again to see what the headers or body need to be when running the post-call. Previously I used Charles Proxy as proxy for the Android device on which I used Oncall to trace. I then tested with Postman to see which Headers and Body I needed to set for it to work…
Hello. Im trying to get this to work on Indigo. Im not so good at programming and python. Is there a readme file out there I can read me up on?
My latest testing indicates that VOC has tightened the API, and I do not get the calls to work (receive http 500). Are you still able to run this?
Hi there. Anyone still using the VOC API? I can login and retreive my car data but I fail in sending commands like starting preclimatization. Any help in the HTTP set would be great! /roy
@nikagl : would you mind sharing your scripts, rules and items ? I also own a VOC enabled car
@glhopital: I have used the code on the following site: https://github.com/molobrakos/volvooncall
All,
I just bought a Volvo and would like to connect it as well.
Anyone who already prepared OH (items etc) and connected ot to https://github.com/molobrakos/volvooncall?
I still don’t understand how to install volvooncall mentioned above because the readme is quite short, but I guess I will figure it out.
Any help to accellerate my progress is greatly appreciated.
I failed to run it, because it requires Python 3.
My openhabian just comes with 2.something.
I read that python 2.x and 3 are not compatible.
But I need tv current python for my km200 binding.
Any suggestions?
sudo apt-get install python3
Then use python3 something.py
to use python 3 instead of python something.py
It’s that easy? A parallel installation - great.
Thank you so much Vincent!
Actually I am still stuck.
And I am not familiar with python - as you can see
I installed volvo on call with:
python setup.py install
This installs a script in /usr/local/bin/ named voc.
Which looks like:
#!/usr/bin/python
# EASY-INSTALL-SCRIPT: 'volvooncall==0.5.0','voc'
__requires__ = 'volvooncall==0.5.0'
__import__('pkg_resources').run_script('volvooncall==0.5.0', 'voc')
When I run:
python3 /usr/local/bin/voc
I get
Traceback (most recent call last):
File "/usr/local/bin/voc", line 4, in <module>
__import__('pkg_resources').run_script('volvooncall==0.5.0', 'voc')
File "/usr/lib/python3/dist-packages/pkg_resources.py", line 2876, in <module>
working_set = WorkingSet._build_master()
File "/usr/lib/python3/dist-packages/pkg_resources.py", line 449, in _build_master
ws.require(__requires__)
File "/usr/lib/python3/dist-packages/pkg_resources.py", line 745, in require
needed = self.resolve(parse_requirements(requirements))
File "/usr/lib/python3/dist-packages/pkg_resources.py", line 639, in resolve
raise DistributionNotFound(req)
pkg_resources.DistributionNotFound: volvooncall==0.5.0
When I run:
/usr/local/bin/voc
I get:
Python 3 required
So:
Did the installation (no error messages) succeed?
Do I still need the original folder I installed voc from?
How to run the voc script correctly?
Any help is greatly appreciated.
Hi,
Remove the file /usr/local/bin/voc
and run the install again with:
python3 setup.py install
The file line of the file should now be: #!/usr/bin/python3
Yeah, that did the job!
Thanks again!
Hi Nika,
I am able to connect to my XC60 for the first time and get GPS, fuel level ans VIN.
However, I would like to request a bit more than that.
The documentation of the github project voc is quite limited.
Would you please share your stuff?
Hi Michael,
would you be willing to share your stuff?
I would like to start my heater and lock the car as well (among other things).
Any help would be greatly appreciated.
NCO
Not sure what you want us to share? The stuff is on the github:
Questions about it? Ask here or on the Github page:
Regards,
Nika.
I thought about re-using OH items and rules from you guys based on the VOC from github.
You are right, I was a bit impatient and figured some things out already.
Thanks for your response though.