This is the forum archive of Homey. For more information about Homey, visit the Official Homey website.

The Homey Community has been moved to https://community.athom.com.

This forum is now read-only for archive purposes.

Support Toon from Eneco (dutch)

2456789

Comments

  • Still no app.... ;)
  • still no homey...
    what is worse?
  • @WathLamers closer then mine i think (preorder instead of backer)..... snick
  • Just kidding.
    Btw. Just receved email, homey is on its wat.  So... You Are Right.
  • Congratz...
  • sj3fk3 said:

    http://www.toonapi.com/documentation for documentation and download (but still needs eneco abo for Toon to use if i understand it correct, because you are NOT talking directly to Toon. Please correct me if i'm wrong)

    afaik the abbo is not needed, see: http://www.toonapi.com/news/2016-02-28-toon-api-pricing-plan
    A bit further down the documentation it says this:
    Enter ENECEO credentials = Subscription = paid = needed.
    But the API is free <100 connections.

    Step 4: Use by end users

    • When downloading your app, users can read and have to accept your privacy statement that explains what the app does with their data. 
    • Your app will have a login screen for end users. Toon owners should input their energy company account (Eneco account for many owners) details in the app, and you can use the API key to connect their Toon device to your app.
    • Your app can now read information from their TOON or send commands
    • We count the number of Toon devices connected to your API key.

  • Still no Toon App in the APPStore. Anybody working on this one?
  • RobinRobin Member
    Yes we are, however Eneco recently introduced an acceptation test program we have to go through which will take some time.
  • Ok,did not know that. @Robin THX for the quick reply!
  • Connecting toon to the homey will be the killer app :-)
    You can just say "Ok Homey, I'm cold" and make a flow to up the thermostat 1,5 degrees :)
  • Robin said:
    Yes we are, however Eneco recently introduced an acceptation test program we have to go through which will take some time.
    @Robin Any progress?
  • RobinRobin Member
    Still working on this acceptation test programme, hope to receive a testing unit soon!
  • @Robin THX for the quick reply. Ok, so programming is done, but no Toon available?
    You need a Toon abo to get it working? No beta test program?  ;)
  • RobinRobin Member
    Basically yeah, but we can not test it on live devices, so I am waiting on this test device. Not quite sure whether you need an Eneco subscription, working with dev accounts at the moment.
  • @Robin Ok, keep us informed
  • p0ntsp0nts Member
    edited May 2016
    I actualy found myself a workaround until the real app will be out.

    I use https://github.com/rvdm/toon with the already written script toonclient.py which allow me to do the following things with the toon:

    - Get current temperature
    - Get current power usage
    - Get current active profile (home/away/sleeping/vacation)
    - change temp to xx (numeric)
    - change active profile

    I run a cronjob for each of the first 3 options above on a mac mini inside my home network and create files in a local webserver, after that I use the http request app from the appstore to pull these numbers from the local webserver.

    I am still trying to find a proper way to change the temperature and active profile, will work on this tomorrow.

    --------

    EDIT:

    bash-3.2# ./toonclient.py -U <username> -P <password> -t
    current_temp:22.74

    bash-3.2# ./toonclient.py -U <username> -P <password> -p
    current_powerusage:284

    bash-3.2# ./toonclient.py -U <username> -P <password> -c
    active_state:3

  • p0ntsp0nts Member
    edited May 2016
    small update, please keep in mind that I am not a coding mastermind and therefore this code is most likely very weak.

    got a bash script running in cron every minute doing the following:

    #!/bin/bash

    # Get toon temperature
    API_TEMP=`/opt/toon/toonclient.py -U <username> -P <password> -t`
    if [ "${API_TEMP}" ]; then
      TEMP="{\"id\":1,\"temperatuur\":[{\"current\":$API_TEMP}]}"
      echo $TEMP > "/Library/WebServer/Documents/temp.html"
    fi

    # Get toon power usage
    API_POWER=`/opt/toon/toonclient.py -U <username> -P <password> -p`
    if [ "${API_POWER}" ]; then
      POWER="{\"id\":1,\"power\":[{\"current\":$API_POWER}]}"
      echo $POWER > "/Library/WebServer/Documents/power.html"
    fi

    # Get toon power state
    API_STATE=`/opt/toon/toonclient.py -U <username> -P <password> -c`
    if [ "${API_STATE}" ]; then
      STATE="{\"id\":1,\"state\":[{\"current\":$API_STATE}]}"
      echo $STATE > "/Library/WebServer/Documents/state.html"
    fi

    And for the temperature I currently have a working flow (testing):

    https://www.dropbox.com/s/22dr0ew24bs7v2x/Screenshot 2016-05-02 10.35.40.png?dl=0

    http://192.168.2.5/temp.html
    {}
    $.[0][current]
    temperatuur

    https://www.dropbox.com/s/uoe1j8mghoz8abp/Screenshot 2016-05-02 10.31.09.png?dl=0

    This works, homey tells me what temperature it is in the house plus I get a notification on my phone. With this workaround I can start creating more flows.

    I will come back with changing temp/state later.

  • rvdmrvdm Member
    p0nts said:
    I actualy found myself a workaround until the real app will be out.
    I use https://github.com/rvdm/toon with the already written script toonclient.py which allow me to do the following things with the toon:

    Nice. I wrote that script, and would be happy to get it working in Homey. Mine is crashed now (and I need to get my Z-wave stuff working) - but I'd really like to see temperature control and metering in there. What I don't like, is requiring a server to be on, so I'd much rather do it on toon (or somewhere else).
  • Robin said:
    Basically yeah, but we can not test it on live devices, so I am waiting on this test device. Not quite sure whether you need an Eneco subscription, working with dev accounts at the moment.
    If you need any help regarding the testing of the Toon app with a working Eneco device, feel free to send me a pm. ;) 
  • @Robin Any progress?
  • RobinRobin Member
    @kasteleman Nope.. Still waiting for a test device. Besides that, their API is not yet quite so ready it appears. I expect it will take a while..
  • @Robin :'( Not yet quite so ready it appears?
  • Robin said:
    @kasteleman Nope.. Still waiting for a test device. Besides that, their API is not yet quite so ready it appears. I expect it will take a while..


    Ik heb op het Toon forum maar een verzoekje geplaatst, zodat Athom verder aan de app kan werken.
  • fiekfiek Member
    Hi all,

    What is the current status on the toon app?
  • RobinRobin Member
    We will receive a test unit this week or begining of next week! However, the third party apps will not be launched on customer's devices until after July 1st.
  • @Robin specific reason for that?
  • Robin said:
    We will receive a test unit this week or begining of next week! However, the third party apps will not be launched on customer's devices until after July 1st.
    Is their API ready now then?
  • fiekfiek Member
    Robin said:
    We will receive a test unit this week or begining of next week! However, the third party apps will not be launched on customer's devices until after July 1st.
    That 's good news:)
  • RobinRobin Member
    @Robin specific reason for that?
    For that release that? Wouldn't know, ask Toon/Quby:p They chose that day to release their API out of beta.
    HansieNL said:
    Robin said:
    We will receive a test unit this week or begining of next week! However, the third party apps will not be launched on customer's devices until after July 1st.
    Is their API ready now then?
    Well, yeah, but as said, it has to be enabled on all Toon devices in order to work.
  • kastelemankasteleman Member
    edited June 2016
    Robin said:
    @Robin specific reason for that?
    For that release that? Wouldn't know, ask Toon/Quby:p They chose that day to release their API out of beta.
    HansieNL said:
    Robin said:
    We will receive a test unit this week or begining of next week! However, the third party apps will not be launched on customer's devices until after July 1st.
    Is their API ready now then?
    Well, yeah, but as said, it has to be enabled on all Toon devices in order to work.
    @Robin Receiced a Toon device or awaiting? (edited: almost 1st of July ... ;) )
Sign In or Register to comment.