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

[Request] Support for Toon/Quby NL


tcviper

Question

Hello Fibaro,

Love your Homecenter but the only thing im missing is a good way to work with our Toon from Eneco (by Quby.nl) device which is based on z-wave and measures energy, gas and is a full thermostat. I really hope Fibaro or someone knows a good way to make these devices work together.

Just connecting the Toon to HC2 doesnt work as it will disconnect the z-wave controlled meters from toon.

More info on Toon:

Please login or register to see this link.

Please login or register to see this link.

Link to comment
Share on other sites

20 answers to this question

Recommended Posts

  • 0

I think that's not going to happen, as lots of the features of "Toon" are part of the vendor lock-in strategy of Eneco. By disabling many of the features of Toon once you leave Eneco, they try to keep you from switching to one of their competitors.

If they would allow us to connect it to HC2 (and still be able to use the nice features that Toon provides that way), then there is less reason for people to stay at Eneco.

But who knows, perhaps there's a smart guy around here that figures out a way to circumvent these hurdles...

Link to comment
Share on other sites

  • 0
  • Inquirer
  • Eneco is opening up the API soon for Toon so hopefully this will b e able soon

    Please login or register to see this image.

    /emoticons/default_smile.png" alt=":)" srcset="https://forum.fibaro.com/uploads/emoticons/[email protected] 2x" width="20" height="20" />

    Link to comment
    Share on other sites

    • 0

    i have a py script running on a webserver which interacts with toon.

    its called toon-master and can be downloaded from github i think

    so there is allready some interaction possible.

     

    i personaly made a webpage in php to interact with the pu script and hc2

     

     

    and yes toon api will be availible soon according to the toon forum moderator.

    Please login or register to see this link.

    Link to comment
    Share on other sites

    • 0
  • Inquirer
  • Now the only thing we need is a real Fibaro plugin for Toon

    Please login or register to see this image.

    /emoticons/default_smile.png" alt=":)" srcset="https://forum.fibaro.com/uploads/emoticons/[email protected] 2x" width="20" height="20" />
    So it can integrate as thermostat and show gas/energy usage.

    Link to comment
    Share on other sites

    • 0

    Actually, all they need to do is re-open the plugin part. There already is a plugin that can convert virtual device values into something the fibaro recognizes

     

    Please login or register to see this link.

    Link to comment
    Share on other sites

    • 0
  • Inquirer
  • Toon seems to work fine fully in Domoticz.... can someone please see if this would be possible with Fibaro?

    Please login or register to see this image.

    /emoticons/default_smile.png" alt=":)" srcset="https://forum.fibaro.com/uploads/emoticons/[email protected] 2x" width="20" height="20" />

    Please login or register to see this link.

     not sure but i think they use

    Please login or register to see this link.

    Please login or register to see this link.

    Link to comment
    Share on other sites

    • 0

    Same here 

     

    waiting for toon support 

     

    got it working in domoticz 

     

    but it does not send gas readings in fibarolink 

     

    so hoping for support 

    Link to comment
    Share on other sites

    • 0
  • Inquirer
  • Any update on this by any chance Fibaro?

    Please login or register to see this image.

    /emoticons/default_smile.png" alt=":)" srcset="https://forum.fibaro.com/uploads/emoticons/[email protected] 2x" width="20" height="20" />

    Link to comment
    Share on other sites

    • 0
  • Inquirer
  • The API is out; 

    Please login or register to see this link.

    Link to comment
    Share on other sites

    • 0

    Is there someone who has tried the API

    Im one of the beta testers For Quby (the creator of toon) And have contacts there

    But im Not an programmer

    Next week we Will have an meeting with Quby so i could ask Some questionnaires there regarding the API

    Link to comment
    Share on other sites

    • 0

    I've used Domoticz running on Synology and created a VD which can control Toon... I'm Noob in lua but managed to get it working 

    Please login or register to see this image.

    /emoticons/default_icon_biggrin.gif" alt=":-D" />

     

    Of course you can also get the consumption values, just sent the request to Domoticz instead of using fibarolink

     

     

    Please login or register to see this attachment.

    Link to comment
    Share on other sites

    • 0

    I've used Domoticz running on Synology and created a VD which can control Toon... I'm Noob in lua but managed to get it working 

    Please login or register to see this image.

    /emoticons/default_icon_biggrin.gif" alt=":-D" />

     

    Of course you can also get the consumption values, just sent the request to Domoticz instead of using fibarolink

     

    Hello Sebaszz, would you share your code used? I am trying the some, but cannot get it working correctly. 

     

    Another question, is it possible to create a virtual heating device, so that it is possible to use the Fibaro heating panel?

    Link to comment
    Share on other sites

    • 0

    See attached file... is far from perfect. you can use the debug in the button to see how it works.

     

    Please login or register to see this attachment.

    Link to comment
    Share on other sites

    • 0

    you can't use VD devices in the heating panel, however you can create a scheduler in VD 

    Link to comment
    Share on other sites

    • 0
    Guest DPKok

    Is there anyone who got the HC2 connected to the Toon? I would love to change the setpoint in scenes. E.a. if I start scène 'go to bed' the Toon also switches to the setpoint 'slapen' (sleeping).

    Link to comment
    Share on other sites

    • 0

    i will soon post my virtual device, but it only works with domoticz and toon plugin.

    i saw the code on gifthub for domoticz but for me bridge too far to change this code for a VD.

    Link to comment
    Share on other sites

    • 0
    I'm working on a connection with Toon, my goal... set a state when I leave home.

    Please login or register to see this image.

    /emoticons/default_smile.png" alt=":)" srcset="https://forum.fibaro.com/uploads/emoticons/[email protected] 2x" width="20" height="20" />
    Getting some results.
     
    First part of the code (Scene)
    ---------------------------------------------------------------------------------------------------------------------------------
     
     
    function encode(data) local b='ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/'; return ((data:gsub('.', function(x) local r,b='',x:byte() for i=8,1,-1 do r=r..(b%2^i-b%2^(i-1)>0 and '1' or '0') end return r; end)..'0000'):gsub('%d%d%d?%d?%d?%d?', function(x) if (#x < 6) then return '' end local c=0 for i=1,6 do c=c+(x:sub(i,i)=='1' and 2^(6-i) or 0) end return b:sub(c+1,c+1) end)..({ '', '==', '=' })[#data%3+1]) end
     
    local Username =  ""
    local Password = ""
    local Key = ""
    local Secret = ""
    local ManagerBaseAddress = "

    Please login or register to see this link.


    local BaseAddress = "/toon/api/v1/"
    local APIBaseAddress  = ManagerBaseAddress .. BaseAddress
    local AppendedKeyAndSecret = Key .. ":" .. Secret
    local AutorizationHeader = "Basic " .. encode(AppendedKeyAndSecret)
    local urlParameters = "grant_type=password&username=" .. Username .. "&password=" .. Password
     

    local http = net.HTTPClient({ timeout = 3000 })
     
     http:request(ManagerBaseAddress .. '/token', {
     options = {
     headers =
      {
      ['Authorization'] = AutorizationHeader,
            ['Content-Type'] = 'application/x-www-form-urlencoded',
      },
     method = 'POST',
     data=urlParameters},
     success = function(param)
            if param.status == 200 then
        fibaro:setGlobal("access_token", "")
              local tmpdata = json.decode(param.data) 
              local access = tmpdata.access_token
              fibaro:setGlobal("access_token", access)
           end  
       end,
            error = function(error)      end
            })
     
        local access_token = fibaro:getGlobalValue("access_token")
     
     http:request('

    Please login or register to see this link.

    {
     options = {
     headers =
      {
      ['Authorization'] = 'Bearer '.. access_token,
      },
     method = 'GET',},
     success = function(param)
            if param.status == 200 then
               fibaro:debug(json.encode(param))
           end  
       end,
            error = function(error)      end
            })
     
    Can I connect to the Toon in my home?

    The Toon Open API is deployed in an Acceptance environment at the moment. Out of the box you get access to a virtual Toon with the developer account you can register on the 

    Please login or register to see this link.

     website. You can also test with an actual Toon device by contacting us at

    Please login or register to see this link.

     and requesting an Acceptance Toon. It is not possible out of the box to connect to home-owner Toons.

    Link to comment
    Share on other sites

    • 0
    On 2015-4-15 at 1:06 PM, ROBBshop said:

    Actually, all they need to do is re-open the plugin part. There already is a plugin that can convert virtual device values into something the fibaro recognizes

     

    Please login or register to see this link.

    kan daar de virtual device niet downloaden, stomme fransen

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