Jump to content

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


  • 0

Tesla Model S Control


Question

Guest
Posted

Hi Everyone,

 

Anyone who can help out starting the creating of a virtual device for Model S control?

 

Found this, and believe it should be what the experience users might need to setup a simple login and command?

I can then take it further with all the various commands once I get a template.

 

Please login or register to see this link.

 

Tor H.

13 answers to this question

Recommended Posts

  • 0
Posted

Hi, this looks great!

 

Did you manage to create a VD for the MS?

 

Thanks!

 

Karsten

  • 0
Guest
  • Inquirer
  • Posted

    Sorry for the late reply.. No unfortunately,

     

    Picking up the ball again now..

    • 0
    Posted

    uhm,

    are you creating real life sized RC car or is this pretaining to radio, nav etc. ?

    because if you are making RC for your real sized car than awsome XD

    • 0
    Posted

     

    On 8. 6. 2015 at 0:19 PM, tortho said:

    Hi Everyone,

     

    Anyone who can help out starting the creating of a virtual device for Model S control?

     

    Found this, and believe it should be what the experience users might need to setup a simple login and command?

    I can then take it further with all the various commands once I get a template.

     

    Please login or register to see this link.

     

    Tor H.

    Is it what i think it is? Control a car with json API?

    • 0
    Guest
  • Inquirer
  • Posted

    Correct.

    Control Charging, climate, doors, windows, various information etc.

    The issue is that I have no experience what so ever with http / https post / get......

    The only thing I have learned is that it seems like I will have to use scenes in addition to a VD as VD does not allow https?

    • 0
    Guest
  • Inquirer
  • Posted (edited)

    Well, it is status, pre heating, start/stop charging etc for a real car, not RC..

     

    Some examples from the mobile apps... but I want it in the Fibaro..

    Please login or register to see this link.

     

    Edited by tortho
    • 0
    Guest
  • Inquirer
  • Posted

    Hi again,

     

    I'll break it down to further detail in hope to get the first one running, and I will then create the rest myself.

     

    I will have 2 variables with preset details:

    client_secret (with a code in it, mixed numbers and characters)

    client_id (same as above)

     

    Send a post request to

    Please login or register to see this link.

     with the following attributes

    grant_type (string)

    client_id

    client_secret

    email (my email adr)

    password (my password)

     

     

    in return I will receive :

    Response 200

    Headers

    Content-Type:application/json

     

    Body

    {

    "access_token": "abcd123",

    "token_type": "bearer"

    "expires_in": 7776000

    }

     

    I would then like to save the access_token in a variable for further calls.

     

    Brgds

    Tor Harald

     

    • 0
    Posted

    Hi Tortho,

     

    I know this is a REALLY old thread but I'm working on this at the moment. Taking delivery of my car in a few weeks so can do some final testing but I've got a VD and Scene setup with some basics and once tested and working I can add more commands.

    • 0
    Guest
  • Inquirer
  • Posted

    Great news ! :-)

     

    If you like me to test, just send some code, vd or whatever and I'll test it right away.

    • 0
    Posted

    Hi tortho,

     

    Testing is going fine and I'm picking my car up at the end of the month so will do my final testing then but it shouldn't be too long now.

    I will create a new thread when it is ready and link to it here :)

    • 0
    Posted (edited)

    How is this going Desmo? Wouldve been great to put preheating in fibaro. Much easier to automate the morningschedule :)

     

    if you havent recieved your car yet you can send code to me and ill test

    Edited by sindrejl
    • 0
    Posted

    Picking my car up in the morning so will be able to test in the week :)

    • 0
    Posted

    My Tesla control VD is now here.... 

     

    Join the conversation

    You can post now and register later. If you have an account, sign in now to post with your account.

    Guest
    Answer this question...

    ×   Pasted as rich text.   Paste as plain text instead

      Only 75 emoji are allowed.

    ×   Your link has been automatically embedded.   Display as a link instead

    ×   Your previous content has been restored.   Clear editor

    ×   You cannot paste images directly. Upload or insert images from URL.

    ×
    ×
    • Create New...