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


Request Tado VD


pnutp0wer
 Share

Recommended Posts

Hi everbody,

 

I have a Tado Thermostat and was wondering if it is possible to create a VD for this thermostat?

I found this unofficially API on the internet: 

Please login or register to see this link.

 

If anybody knows someone who already got a VD for Tado please let me know! 

 

 

Link to comment
Share on other sites

  • 4 months later...
  • 6 months later...

Also interested in Fibaro getting access to info from Tado TRVs!

 

Could anything be achieved via Tado connected with IFTTT as an alternative?

Link to comment
Share on other sites

Tado recently updated it's IFTT applet functions. It's now possible to use the Tado's temperature as variable within IFTT. So you can let IFTT update a Fibaro variable with Tado's temperature, for example.

Link to comment
Share on other sites

25 minutes ago, Patriek said:

Tado recently updated it's IFTT applet functions. It's now possible to use the Tado's temperature as variable within IFTT. So you can let IFTT update a Fibaro variable with Tado's temperature, for example.

 

I must have missed the Fibaro HC2 IFTTT integration! When did that happen, how is it setup?

Link to comment
Share on other sites

25 minutes ago, budda said:

 

I must have missed the Fibaro HC2 IFTTT integration! When did that happen, how is it setup?

www.smarthome.com.au/smarthome-blog/fibaro-home-center-http-commands/

Link to comment
Share on other sites

  • Topic Author
  • 2 hours ago, Patriek said:

    Tado recently updated it's IFTT applet functions. It's now possible to use the Tado's temperature as variable within IFTT. So you can let IFTT update a Fibaro variable with Tado's temperature, for example.

    I'm wondering if you've an example of your setup with Fibaro and Tado. Could you share some pictures? 

    Link to comment
    Share on other sites

    I am also very much interested in this. I want to connect my Todo to my HC2 already for a long time. Would be a great time, especially with the new Fibaro Heat Controller out. 

    Link to comment
    Share on other sites

    • 2 weeks later...

    The possibilities that Tado is offering you are still very limited, as you need to create an IFTT applet for every change in temperature you'd like to monitor...

     

    So let's say you'd like to monitor the temperature between 15 and 25 degrees and you're fine with leading numbers (no decimals). In that case you need

    - 11 different Fibaro scene's that set your variable to the right temperature

    - 11 different HTTP commands to set your Fibaro variable to the right temperature: follow this link for help...

    Please login or register to see this link.

    - 22 different IFTT applets (a - v in my example) to lead Tado's triggers to Fibaro

     

    Please login or register to see this image.

    /monthly_2018_04/image.png.60eb4f36edd00c15d06ec304829dd98f.png" />

     

    Create a new applet and choose Tado's service:

    image.png.40f989cb685a29e00b2451feef7fe9a1.png

     

    image.png.f9bd4106d875a019dbc914f4b14ebd67.png

     

    image.png.d69c2592b37644c5e5a93e3720fe101f.png

     

    Then choose Webhooks as Action Service:

    image.png.aea0846c754324075a66f422570f3b07.png

     

    That's where you paste your Fibaro's HTTP command that starts the scene, wich then sets the variable to the right temperature:

    image.png.e36009e845f62bc0d2c697b78cb2f609.png

     

    Edited by Patriek
    Link to comment
    Share on other sites

    Hi all.. I got the following Json request for Tado..

     

    In JavaScript it would be:

    var request = new XMLHttpRequest();
    request.open('GET'
            , 'https://my.tado.com/api/v2/me'
            + '?username=' + encodeURIComponent(username) 
            + '&password=' + encodeURIComponent(password)
            , false);
    request.send();
    if (request.status == 200) {
        var me = JSON.parse(request.responseText);
        var myLocation = me.mobileDevices[0].location;
        
        var distance = myLocation.relativeDistanceFromHomeFence;
        var bearing = myLocation.bearingFromHome.degrees;
    }

    '[0]' could be '[1]' if your mobile is not the first but the second device registered under your account
     

    Is there somebody able to convert to lua request or similar?

    Thanks

    Link to comment
    Share on other sites

  • Topic Author
  • @Patriek Thanks for your input! 

     

    I'm not a big fan of using IFTT. First I'm testing the Geofence feature of Tado to create a good Home and Away mode in Fibaro.

    Unfortunately the Fibaro app uses a lot of battery so maybe this is a better solution. 

    Link to comment
    Share on other sites

  • Topic Author
  • @alexpelli

     

    First I made a variable named: mode with the options home and away. 

    IFTTT will do a HTTP command to my virtual device.  

    Please login or register to see this link.

     

    Secondly, I made a virtual device with 2 buttons, the IFTTT http commands refer to the button ID's. the Home button uses the following lua code: 

    Please login or register to see this code.

    So the first line is changing the "Mode" variable 

    The second line starts scene 94, which is a push message scene to my mobile devices. 

     

    The only thing is that I didn't port forward Fibaro to use IFTTT with it. So it's not working for me. Also I'm not sure if the way I've done it, is the right way. 

    Link to comment
    Share on other sites

    • 6 months later...
    Guest andyhud

    Any other success with this? I'd love to get Fibaro reporting temperature on the Fibaro App / Ipad app etc from the Tado Smart Thermostat (or even Tado Smart Radiator Valves)

     

    Cheers

     

    Andy

     

    Link to comment
    Share on other sites

    • 1 year later...

    Hi guys, do any of you have success to control some functions of Tado from HC3?

    According this manual:

    Please login or register to see this link.

    I have done little succes to generate commands i need with curl.

    Now my problem is to translate curl commands to HC3 QA or Scene format.

    Is it possible to get any help from community to doing that?

    The commands are:

    1. first of all i need to get oauth token

    curl -s "https://auth.tado.com/oauth/token" -X POST -d client_id=tado-web-app -d grant_type=password -d scope=home.user -d username="[email protected]" -d password="YourTadoPassword" -d client_secret=wZaXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX | perl -pe 's/^.*"access_token"\s*:\s*"([^"]*).*/$1/' > the_result_will_go_in_to_variable

    2. after i get authorisation token in to variable, i can use it to actually control Tado devices, in this example i want to put home into AWAY mode.

    curl -s

    Please login or register to see this link.

    -X PUT -H "Authorization: Bearer here_must_be_variable_from_step_1" -H "Content-Type: application/json;charset=utf-8" --data '{"homePresence":"AWAY"}'

     

    Link to comment
    Share on other sites

    Join the conversation

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

    Guest
    Reply to this topic...

    ×   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.

     Share

    ×
    ×
    • Create New...