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

QuickApp for Renault car


Question

Posted

Hi I found application for Renault car on homeassistant. Has anyone tried to do this to fibaro HC3? Does anyone want to help me make it to fibaro?

 

Please login or register to see this link.

Please login or register to see this link.

Please login or register to see this link.

Please login or register to see this link.

3 answers to this question

Recommended Posts

  • 0
  • Inquirer
  • Posted

    Hi I would like to try create quick app fro Renault car like Hommeassistante. Can somebody help?  

    Where do I go wrong if I get a response from host not found (authorative)

     

    -- Definuj svoje prihlasovacie údaje

    local email = "

    Please login or register to see this link.

    XXX"  

    local password = "XXX"  

    local region = "eu" 

     

     

    local url = "

    Please login or register to see this link.

    "

    local form_data = "grant_type=password&username=" .. email .. "&password=" .. password .. "&region=" .. region

     

    local http = net.HTTPClient({timeout=3000})  

     

    http:request(url, {

        options = {

            method = 'POST', 

            headers = {

                ["Content-Type"] = "application/x-www-form-urlencoded"

            },

            data = form_data  

        },

        success = function(response)

           

            if response.status == 200 then

                local jsonResponse = json.decode(response.data)

                local access_token = jsonResponse.access_token

                local client_id = jsonResponse.client_id  

                local client_secret = jsonResponse.client_secret  

     

                print("Získaný access token: " .. access_token)

                print("Získaný client_id: " .. client_id)

                print("Získaný client_secret: " .. client_secret)

            else

                print("Error: " .. response.status)

            end

        end,

        error = function(err)

            

            print("Error: " .. err)

        end

    })

    • 0
    Posted (edited)

    Hi Martin.

    I'd like to help you to create this Qapp.

    Have you got somes news ?

    Edited by stipower
    • 0
    Posted

    You can check my qapp here : 

    Please login or register to see this link.

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