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


Recommended Posts

Posted
8 minutes ago, cag014 said:

@gggizmo

No problem, do anything you need to prevent divorce ?

@Rover

Attached last version with bug fix (device name always shown).

 

Please login or register to see this attachment.

I have changed 2.8-->2.9

Please login or register to see this spoiler.

 

  • Topic Author
  • Posted (edited)
    On 9/21/2020 at 9:27 PM, Rover said:

    The constellation works fine already for many years in HC2.

    The reason I do not use turn On/Off is that I am using the color white in Fibaro RGBW for siren and outdoor flashdevice and not in the steering the indoor LED-array. Thats why the fourth number (White) is always 255 (so color red of indoor LED array = (255,0,0,255)). The white color is made of combining RGB (255,255,255,255). This is also the reason that I cannot use a programmed flash of the RGBW device, but have to make a homemade flash (so works fine in HC2). Now the task of making it workable in AOQ.

    @Rover

    I have an idea for your flash light

    define blank line with flash action disabled by default.

    {-10,"$blank",{state="value=blank",timeLoopAct={"`StatusLEDs`","turnOn;else;trunOff","","{`StatusLEDs`:value=0}"}}},

    Now in your original line set necessary color and active the blank line (assuming the blank line is the first line in jM)

    {0,"&Statuslicht",{state="value=Alarm",trueAct={{"`StatusLEDs`","setColor,255,255,255,255",""},{"$blank>1","setTimeSpan","0.03"}},

    falseAct={{"$blank>1","setTimeSpan","-10"}}},

     

    The idea is to enable/disable the blank line. On the blank line you can use setColor instead of turnOn/Off as fits your needs.

    I think On/Off is better option, because other lines can set different color and to use same blank line....

    Please use AOQ v2.9 for that... did some changes and don't know if previous versions can support such a short span time.

     

     

     

    Edited by cag014
    Posted (edited)
    25 minutes ago, SmartLifeSystems said:

    Hi cag,

     

    I downloaded the 2.8 version. I have got a Nice gate, and and this command open/close, but with the new release this don't working.

    What's the problem? Can you help me?

     

    [2020-09-23] [17:18:06] [DEBUG] [AOQ3681]: Global not defined. Local variables ("my_Var" "onState") won't be saved for next run...[2020-09-23] [17:18:06] [DEBUG] [AOQ3681]: Global not defined. Reminders won't be saved for next run...[2020-09-23] [17:18:07] [DEBUG] [AOQ3681]: Parsing jM[149] hash table data... <25 sec.[2020-09-23] [17:18:10] [DEBUG] [AOQ3681]:   [23 Sep 17:18:09] /opt/fibaro/AOQ3681.jM hash table:25:~: {0, "`bedroomButton`"...}
    {0,"166",{"state"="centralSceneSupport=1.Pressed","trueAct"={"468","close","","{420:value=true}"}}}

    (99) Action close not supported.
    AOQ Supported Actions: (32% in use)
    - addRmd armAlarm delAllRmd delLogRmd delRmd disableScene
    - disarmAlarm emitEvent enableScene killScene logRmd poll
    - powerOutage pressButton reboot runAction sendEmail sendNote
    - sendPush sendSms sendiPush setColor setConfiguration setGlobal
    - setProfile setRmd setSlider setState setStateDelay setStateFormula
    - setStateValue setTimeDrift setTimeSlot setTimeSpan setValue shutdown
    - startScene tts turnOff turnOn vacOff vacOn
    - verify 
    [2020-09-23] [17:18:10] [ERROR] [QUICKAPP3681]: QuickApp crashed

     

     

    I readd the 2.5 version. This codes working only with this version. :S

    Edited by SmartLifeSystems
  • Topic Author
  • Posted
    25 minutes ago, SmartLifeSystems said:

    Hi cag,

     

    I downloaded the 2.8 version. I have got a Nice gate, and and this command open/close, but with the new release this don't working.

    What's the problem? Can you help me?

     

    [2020-09-23] [17:18:06] [DEBUG] [AOQ3681]: Global not defined. Local variables ("my_Var" "onState") won't be saved for next run...[2020-09-23] [17:18:06] [DEBUG] [AOQ3681]: Global not defined. Reminders won't be saved for next run...[2020-09-23] [17:18:07] [DEBUG] [AOQ3681]: Parsing jM[149] hash table data... <25 sec.[2020-09-23] [17:18:10] [DEBUG] [AOQ3681]:   [23 Sep 17:18:09] /opt/fibaro/AOQ3681.jM hash table:25:~: {0, "`bedroomButton`"...}
    {0,"166",{"state"="centralSceneSupport=1.Pressed","trueAct"={"468","close","","{420:value=true}"}}}

    (99) Action close not supported.
    AOQ Supported Actions: (32% in use)
    - addRmd armAlarm delAllRmd delLogRmd delRmd disableScene
    - disarmAlarm emitEvent enableScene killScene logRmd poll
    - powerOutage pressButton reboot runAction sendEmail sendNote
    - sendPush sendSms sendiPush setColor setConfiguration setGlobal
    - setProfile setRmd setSlider setState setStateDelay setStateFormula
    - setStateValue setTimeDrift setTimeSlot setTimeSpan setValue shutdown
    - startScene tts turnOff turnOn vacOff vacOn
    - verify 
    [2020-09-23] [17:18:10] [ERROR] [QUICKAPP3681]: QuickApp crashed

    It worked with previous releases?

    Posted
    Just now, cag014 said:

    It worked with previous releases?

    Yes, but the last one, what I can use the 2.5

  • Topic Author
  • Posted
    4 minutes ago, SmartLifeSystems said:

    Yes, but the last one, what I can use the 2.5

    My HC3 doesn't support Nice devices...

    Could you please post API of the Nice device?

     

    Posted

    How can I see the API? This is a 433MHz device.

  • Topic Author
  • Posted

    On browser

    http://<HC3-IP>/api/devices/468

    Posted (edited)

    OK, I see.

     

    I think this is:

     

    Please login or register to see this code.

    Or this is:

     

    Please login or register to see this code.

    Edited by SmartLifeSystems
  • Topic Author
  • Posted

    Interesting how it works in 2.5 !!??

    I see the device hase parentID = 7

    Could you please post API of device 7?

    Posted
    7 minutes ago, cag014 said:

    Interesting how it works in 2.5 !!??

    I see the device hase parentID = 7

    Could you please post API of device 7?

    Of course.

     

    Please login or register to see this code.

  • Topic Author
  • Posted
    24 minutes ago, SmartLifeSystems said:

    Of course.

     

    Please login or register to see this code.

    Now it's understandable...

    Here a quick fix for you, let me know if it works.

     

    Please login or register to see this attachment.

    Posted (edited)
    16 minutes ago, cag014 said:

    Now it's understandable...

    Here a quick fix for you, let me know if it works.

     

    Please login or register to see this attachment.

    You are so great. Working fine.

     

    Thank you very much!

     

    Ooops. The buttons and key fobs doesn't work.?

    Edited by SmartLifeSystems
    Posted
    4 minutes ago, SmartLifeSystems said:

    You are so great. Working fine.

     

    Thank you very much!

     

    Ooops. The buttons and key fobs doesn't work.?

    Ooops. The buttons and key fobs doesn't work.?

  • Topic Author
  • Posted (edited)

    Are you sure? I have two key-fobs and they're working fine...

    What error you see?

    Please post jM lines with buttons and key-fobs

    Edited by cag014
    Posted (edited)
    26 minutes ago, cag014 said:

    Are you sure? I have two key-fobs and they're working fine...

    What error you see?

    Please post jM lines with buttons and key-fobs

     

    It does nothing.

     

    Two Fibaro button, and one key fob. No error message, only doesn't work.

    Example:

     

    {0, "`keyfob`",{state="centralSceneSupport=1.Pressed",trueAct={"`cinemaSystem`","turnOn",""}}},
    Edited by SmartLifeSystems
    Posted
    2 hours ago, cag014 said:

    @Rover

    I have an idea for your flash light

    define blank line with flash action disabled by default.

    {-10,"$blank",{state="value=blank",timeLoopAct={"`StatusLEDs`","turnOn;else;trunOff","","{`StatusLEDs`:value=0}"}}},

    Now in your original line set necessary color and active the blank line (assuming the blank line is the first line in jM)

    {0,"&Statuslicht",{state="value=Alarm",trueAct={{"`StatusLEDs`","setColor,255,255,255,255",""},{"$blank>1","setTimeSpan","0.03"}},

    falseAct={{"$blank>1","setTimeSpan","-10"}}},

     

    The idea is to enable/disable the blank line. On the blank line you can use setColor instead of turnOn/Off as fits your needs.

    I think On/Off is better option, because other lines can set different color and to use same blank line....

    Please use AOQ v2.9 for that... did some changes and don't know if previous versions can support such a short span time.

     

     

     

    TNX for the creativity cag!

    But this "flash" light is too slow: 2-3 seconds between each flash, but it works.

    I am using now a simpler construct:

    Please login or register to see this spoiler.

    with 1-2 seconds between each color change. This is good enough for the job.

    Posted
    18 minutes ago, SmartLifeSystems said:

     

    It does nothing.

     

    Two Fibaro button, and one key fob. No error message, only doesn't work.

    Example:

     

    {0, "`keyfob`",{state="centralSceneSupport=1.Pressed",trueAct={"`cinemaSystem`","turnOn",""}}},

     

    With the 2.5 version working the button. :S

  • Topic Author
  • Posted
    19 minutes ago, SmartLifeSystems said:

     

    It does nothing.

     

    Two Fibaro button, and one key fob. No error message, only doesn't work.

    Example:

     

    {0, "`keyfob`",{state="centralSceneSupport=1.Pressed",trueAct={"`cinemaSystem`","turnOn",""}}},

    Strange, in centralSceneSupport no changes from previous versions.

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