Welcome to Smart Home Forum by FIBARO
Dear Guest,
as you can notice parts of Smart Home Forum by FIBARO is not available for you. You have to register in order to view all content and post in our community. Don't worry! Registration is a simple free process that requires minimal information for you to sign up. Become a part of of Smart Home Forum by FIBARO by creating an account.
As a member you can:
- Start new topics and reply to others
- Follow topics and users to get email updates
- Get your own profile page and make new friends
- Send personal messages
- ... and learn a lot about our system!
Regards,
Smart Home Forum by FIBARO Team
Question
riemers 20
Hi,
Here is my working Volvo interface. Most things you can do with your Volvo On Call app, you can also read out and do with the following Scene + VD.
To start off, it is
Please login or register to see this link.
so if you don't use that, start using that or strip it away in the Scene/VD. You need to add a entry in your jT.hometable called 'volvo' an example looks like this (yes all here is dummy data and also the 'time' one)Please login or register to see this code.
And add this line because it uses it to run every xx minutes, add this to your homeTable too.
Please login or register to see this code.
Sceneid will be the number of the scene you will create, the 'YOURVINNUMBER' you can get by going into the technical information in your app (usually settings, then technical information, it will be at the bottom)
Please login or register to see this attachment.
Your basic auth is just a username:password which is base64 encoded. To keep it simple and also have a nice tool to test out api's, i suggest you install Postman. You can add your credentials here:
Please login or register to see this attachment.
Then click on update request and find your basic auth line here:
Please login or register to see this attachment.
Next up create your scene:
Please login or register to see this code.
As you might have noticed it also uses a GlobalVar called "volvoTable" you need to make this one too.
Please login or register to see this attachment.
You can leave the value empty for now.
Now install the VD (yes remember the ID to fill it in the jT table)
Please login or register to see this attachment.
And then make it fancy with a nice picture for the scene:
Please login or register to see this image.
/monthly_2017_01/manager.png.1d1800245828561dc588d97169e81d03.png" />And one for the lua.
And if all goes well, you can see this one:
Please login or register to see this attachment.
There is more you can do, but for now i think this is sufficient. I own a V40 hence why it says that. Some cars don't have preheating or have other features (but these are most common)
If it doesn't work, let me know since this is my first 'bigger' scene & vd scripts in lua. It uses the global var to send over the url it needs to post to the api, while status commands are get commands for example.
Have fun (this really should be just a proper plugin)
Added time and links to homeTable from frank howto
Link to comment
Share on other sites
13 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.