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


HC3 QuickApps coding - tips and tricks


jgab

Recommended Posts

15 minutes ago, jgab said:

v1.14 uploaded.

Please @jgab, every time you release a new version I'm browsing many pages to find it, can you point me there?

Link to comment
Share on other sites

  • Topic Author
  • 22 minutes ago, Bodyart said:

    Please @jgab, every time you release a new version I'm browsing many pages to find it, can you point me there?

    I have to browse too to find it :-)

    Maybe it's mature enough to add to the download section...

     

     

    • Thanks 1
    Link to comment
    Share on other sites

    Jan,

    Thank you very much for the QA.

    Still a few things wrong with my HC3

    //Sjakie

    Link to comment
    Share on other sites

    @tinman

    Hi Tinman, I bought from Intuitech a IFTTT QA, made by you.

    ifttt_quickapp.fqa has an upload failed error when trying to install.

    All other .fqa files can be installed successfully.

    Please login or register to see this spoiler.

    I made a ticket on the Intuitech helpdesk with the information above at 9.11.2020, but till now no response.

    I have sent an email to Intuitech with title "Not functioning Helpdesk" at 13.11.2020, but till now no response.

    Is this forum the only channel with @tinman?

    Edited by Rover
    Link to comment
    Share on other sites

    30 minutes ago, Rover said:

    @tinman

    Hi Tinman, I bought from Intuitech a IFTTT QA, made by you.

     

    this one was created by @boomx

     

    It looks like the file got broken somehow, first 3 bytes are trash, when one delete them, the QA can be imported. 

     

    I will send you proper version via PM, sorry for the trouble (and delay ...)

    Link to comment
    Share on other sites

    11 hours ago, jgab said:

    The idea was to use only one button and not use 'Released' status.

    But we can have it both ways.

     

    v1.14 uploaded.

     

    The command is now toggleDim(bool)

     

    Ex. fibaro.call(ID,"toggleDim",false) toggles without explicit stop. You need to call stopLevelChange or let it dim all the way.

     

    Ex. fibaro.call(ID,"toggleDim",true) toggles with stop. One button to cycle between dim up -> stop > dim down -> stop -> etc.

     

    I got toggle without explicit stop working - it really great - thank you

    - This keymap is working - but no with no true or false.

    So just for my understanding - how would the command be if fibaro.call(ID,"toggleDim",true) should be used ?

    HeldDown={'toggleDim, false'} is not the right syntax 

     

    local keyMap = {
        [1] = { 
          HeldDown={'toggleDim'}, 
          Released={'stopLevelChange'}, 
          Pressed={'toggle'},
          Pressed2={'setValue',99},
          Pressed3=P3,                 -- "Dynamic" parameters can be decided by a function...
          deviceID=HueLampID4 
        },

     

     

     

    Link to comment
    Share on other sites

    2 hours ago, tinman said:

     

    this one was created by @boomx

     

    It looks like the file got broken somehow, first 3 bytes are trash, when one delete them, the QA can be imported. 

     

    I will send you proper version via PM, sorry for the trouble (and delay ...)

    TNX for the response @tinman ?

    The repaired .fqa could be imported.

    Edited by Rover
    Link to comment
    Share on other sites

    26 minutes ago, Rover said:

    TNX for the response @tinman ?

    The repaired .fqa could be imported.

     

    Hi, @tinman,

    I want to set temperature of NEST thermostat from HC3 via IFTTT.

    Therefore I can connect a HC3 scene via IFTTT to my NEST thermostat.

    But how to use the IFTTT QA for this? In IFTTT I only see scenes and no QA's.

    Link to comment
    Share on other sites

  • Topic Author
  • 11 hours ago, ChristianSogaard said:

    I got toggle without explicit stop working - it really great - thank you

    - This keymap is working - but no with no true or false.

    So just for my understanding - how would the command be if fibaro.call(ID,"toggleDim",true) should be used ?

    HeldDown={'toggleDim, false'} is not the right syntax 

     

    local keyMap = {
        [1] = { 
          HeldDown={'toggleDim'}, 
          Released={'stopLevelChange'}, 
          Pressed={'toggle'},
          Pressed2={'setValue',99},
          Pressed3=P3,                 -- "Dynamic" parameters can be decided by a function...
          deviceID=HueLampID4 
        },

     

    HeldDown={'toggleDim', false}

    Link to comment
    Share on other sites

    On 11/17/2020 at 2:26 PM, Rover said:

    Dear Krikroff,

    I like your amazing implementation of QA_Sonos_ZC_1.3.1_RC. But the CPU load is hugh!! I wished it was not true.

    At the picture beneath you can see at the right site the effect of deleting the QA.

    Please login or register to see this spoiler.

     

    Link to comment
    Share on other sites

    12 hours ago, Rover said:

     

    Hi, @tinman,

    I want to set temperature of NEST thermostat from HC3 via IFTTT.

    Therefore I can connect a HC3 scene via IFTTT to my NEST thermostat.

    But how to use the IFTTT QA for this? In IFTTT I only see scenes and no QA's.

     

    honestly, please send @boomx PM

    Link to comment
    Share on other sites

    On 11/19/2020 at 10:48 AM, Rover said:

    I must admit that the CPU load is moderate at the moment:

    Please login or register to see this spoiler.

    I hope you are willing to repair this extreme CPU load, so that I can use your magnificent Sonos player.

    Link to comment
    Share on other sites

    Hi @Rover

    Sorry I don’t have the problem.

    why do you have 99 notifications, are the QA configured correctly?

    Edited by Krikroff
    Link to comment
    Share on other sites

    Checked now with fresh five QAs installation and playing two zones

     

    Please login or register to see this image.

    /monthly_2020_11/image.png.c8737442c5256b956db0954a0f86af67.png" />

     

    Please login or register to see this attachment.

     

    I do not detect anything, sorry.

     

    Link to comment
    Share on other sites

    On 11/22/2020 at 12:07 PM, Krikroff said:

    Hi @Rover

    Sorry I don’t have the problem.

    why do you have 99 notifications, are the QA configured correctly?

    The 99 notifications are gone, so I cannot see them at the moment.

    The QA got as only configuration change in the variable the IP number of the Sonos speaker. Should I have done more than this?

    Link to comment
    Share on other sites

    Updating the variable for the IP is sufficient for configuration.

    Link to comment
    Share on other sites

    5 minutes ago, Krikroff said:

    Updating the variable for the IP is sufficient for configuration.

    Tja, how to detect the origin of the troubles?

    Link to comment
    Share on other sites

    6 hours ago, Rover said:

    Tja, how to detect the origin of the troubles?

    Maybe are these notifications a finger to the right way:

    Please login or register to see this spoiler.

     

    Edited by Rover
    Link to comment
    Share on other sites

    Hum... Strange.

    i will try to reproduce when sonos are not available on network.

    have you any problems with wifi ?

     

    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.

    ×
    ×
    • Create New...