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

I see in the AOQ-Remote QA a feature to change the color of the labels when actived, but no color changing to be seen in Web UI and on iPhone.

 

Thinking about a way to change the color of a AOQ-Remote label from AOQ. In fact just dynamicly changing from grey to red or green. Starting from creating a list of colors for every button in the QA.

How to realise this?

  • Topic Author
  • Posted
    23 hours ago, Sjakie said:

    Hi Cag,

    If I want to use

    jSlave={ 
        hc2={user=.........
    What to write in the j2Sn table?
    If I use HC2 ID's it give an error
     
    //Sjakie

    For example: motion sensor in HC2 defined in jS2n as

    jS2n={Motion="<DeviceID>'hc2"}

     

  • Topic Author
  • Posted (edited)
    21 hours ago, Rover said:

    How to stop a rptAction before all defined repetitions have been finished?

    Currently it's not possible...

    Why you need to stop it? I mean if you've defined to repeat the command then what is the reason to stop it?

    3 hours ago, Rover said:

    I see in the AOQ-Remote QA a feature to change the color of the labels when actived, but no color changing to be seen in Web UI and on iPhone.

     

    Thinking about a way to change the color of a AOQ-Remote label from AOQ. In fact just dynamicly changing from grey to red or green. Starting from creating a list of colors for every button in the QA.

    How to realise this?

    What you refer to? buttons color when activated or the label at the top of AOQ_remote?

    In any case:

    1. The buttons color changed by the mobile app. itself (when pressing)

    2. The label color at the top of the screen, is coded in AOQ_Remote. 

    Edited by cag014
    Posted
    Just now, cag014 said:

    Currently it's not possible...

    Why you need to stop it? I mean if you've defined to repeat the command then what is the reason to stop it?

    In the alarm procedure I started alarmsound.mp3 on Sonos devices with rptAction for 1 hour. If the alarm has to be stopped by a disarm procedure then also all sirens and the "siren" on Sonos devices has to be stopped.

  • Topic Author
  • Posted (edited)
    27 minutes ago, Rover said:

    In the alarm procedure I started alarmsound.mp3 on Sonos devices with rptAction for 1 hour. If the alarm has to be stopped by a disarm procedure then also all sirens and the "siren" on Sonos devices has to be stopped.

    I don't think that rptAct for siren (I assume when is breached) is the correct approach.

    Just create another line that every hour sounds alarm if it's breached.

    On 11/13/2020 at 7:53 AM, SmartLifeSystems said:

     

    This problem is only on my HC3?

    Again..

    Once again please post debug window where it happens.

    In addition please post the jM line of the last executed command before restart

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

    I don't think that rptAct for siren (I assume when is breached) is the correct approach.

    Just create another line that every hour sounds alarm if it's breached.

    The alarmsound.mp3 has a duration of only a few minutes so I have to repeat it until the hour has been reached. It is not the intention to hear every hour an alarm sound for a few minutes. BTW I have different alarm sounds for burglary, smoke or fire with different duration, so the number of repeats differ per type of alarm.

    The alternative for rptAct is of course a bunch of jM lines with different delays.

    Edited by Rover
  • Topic Author
  • Posted (edited)
    On 11/13/2020 at 7:56 AM, gggizmo said:

    No i'm talking about system global vars. Every system global var returns to false when i restart aoq, except the one calculated in oninit stage...

    Are you sure you don't have setting to false somewhere, which is executed/initialized  on startup?

    Please set initialize on startup to false.

    There are two options to do it:

    1. To avoid initialize for the entire line - initOnStartup=false

    2. If you need to avoid initialization only at specific command - {"&GV","setGlobal","Gvalue",false}

    Edited by cag014
  • Topic Author
  • Posted (edited)
    11 minutes ago, Rover said:

    The alarmsound.mp3 has a duration of only a few minutes so I have to repeat it until the hour has been reached. It is not the intention to hear every hour an alarm sound for a few minutes. BTW I have different alarm sounds for burglary, smoke or fire with different duration, so the number of repeats differ per type of alarm.

    OK, so create a line for every type that will sound an alarm every XX minutes and stops after one hour or while the alarm state is breached.

    Please post the jM line of that?

    Edited by cag014
    Posted
    8 minutes ago, Rover said:

    The alarmsound.mp3 has a duration of only a few minutes so I have to repeat it until the hour has been reached. It is not the intention to hear every hour an alarm sound for a few minutes. BTW I have different alarm sounds for burglary, smoke or fire with different duration, so the number of repeats differ per type of alarm.

    The alternative for rptAct is of course a bunch of jM lines with different delays.

    I see now the @10der has in his newest SonosHub QA a function QuickApp:addToQueue(ipaddr, uris) by which it is possible to fill a playlist with mp3's. By function QuickApp:clearQueue(ipaddr) this can be stopped.

  • Topic Author
  • Posted (edited)
    4 minutes ago, Rover said:

    I see now the @10der has in his newest SonosHub QA a function QuickApp:addToQueue(ipaddr, uris) by which it is possible to fill a playlist with mp3's. By function QuickApp:clearQueue(ipaddr) this can be stopped.

    I think sometime is better to have bunch of the lines rather than bunch of commands in the same line... based on my experience, after few weeks it is more understandable than searching in commands... could be very fast changed or removed.

    Edited by cag014
    Posted
    3 minutes ago, cag014 said:

    OK, so create a line for every type that will sound an alarm every XX minutes and stops when after one hour or when the sensor state alarm is not breached.

    Please post the jM line of that?

    I did it this way, but the solution by direct steering of Sonos devices is more direct and elegant. 

    Please login or register to see this spoiler.

     

    Posted

    Question:

     

    {"&Tuinpomp2uur","setGlobal","~?2*60*60?~Uit","if {`Tuinpomp`:value=true}"},

     

    Does the event `Tuinpomp`:value went false before the execution of the setGlobal delay of ~?2*60*60?~ prevents the execution of the setGlobal?

    Or does "if {`Tuinpomp`:value=true}"} only prevent putting "&Tuinpomp2uur","setGlobal","~?2*60*60?~Uit" in the action queue?

    Posted
    1 hour ago, cag014 said:

    I don't think that rptAct for siren (I assume when is breached) is the correct approach.

    Just create another line that every hour sounds alarm if it's breached.

    Again..

    Once again please post debug window where it happens.

    In addition please post the jM line of the last executed command before restart

     

    @cag014,

     

    Here is the debug window.

     

    Please login or register to see this attachment.

    Posted

    Good evening all, 

    I'm trying to replicate a working scene in AIO. The scene use a Hue Dimmer to switch off a light. The trouble I have is that I don't know how to set as trigger in a jm the conditions which are made of key attribute & key id.

    How could look such a jm line?

    Thanks!

     

    {
      conditions = { {
          id = 493,
          isTrigger = true,
          operator = "==",
          property = "centralSceneEvent",
          type = "device",
          value = {
            keyAttribute = "Pressed",
            keyId = 4
          }
        } },
      operator = "all"
    }
     
    fibaro.call(424'turnOff')
  • Topic Author
  • Posted
    20 minutes ago, SmartLifeSystems said:

     

    @cag014,

     

    Here is the debug window.

     

    Please login or register to see this attachment.

    I think I have found the problem... not sure

    Please try attached. If it's still restarts, please post your jM line 70

    Please login or register to see this attachment.

    13 minutes ago, GaelP said:

    Good evening all, 

    I'm trying to replicate a working scene in AIO. The scene use a Hue Dimmer to switch off a light. The trouble I have is that I don't know how to set as trigger in a jm the conditions which are made of key attribute & key id.

    How could look such a jm line?

    Thanks!

     

    {
      conditions = { {
          id = 493,
          isTrigger = true,
          operator = "==",
          property = "centralSceneEvent",
          type = "device",
          value = {
            keyAttribute = "Pressed",
            keyId = 4
          }
        } },
      operator = "all"
    }
     
    fibaro.call(424'turnOff')

    Very simple

    {0,"<remoteID>",{state="centralSceneSupport=4.Pressed", trueAct={.....}}},

    Posted
    8 minutes ago, cag014 said:

    I think I have found the problem... not sure

    Please try attached. If it's still restarts, please post your jM line 70

    Please login or register to see this attachment.

     

    Sorry, but restart again.

    Here is the JM70:

     

    This is a Satel Integra door sensor. If I opening the door, the Hall Light turn on, and turn off, when the livingroom motion sensor is breached. The livingroom ms too a Satel Integra MS.

     

    Please login or register to see this attachment.

    Posted
    2 hours ago, cag014 said:

    Are you sure you don't have setting to false somewhere, which is executed/initialized  on startup?

    Please set initialize on startup to false.

    There are two options to do it:

    1. To avoid initialize for the entire line - initOnStartup=false

    2. If you need to avoid initialization only at specific command - {"&GV","setGlobal","Gvalue",false}

    it's just something that starts with new releases...but for now it's nothing to worry about.

    I'l investigate and analize my jm lines and send you a feedback asap

    Posted
    1 hour ago, cag014 said:

    Very simple

    {0,"<remoteID>",{state="centralSceneSupport=4.Pressed", trueAct={.....}}},

    many thanks!

    This was ... simple... yes.... once I had it in from of my eyes :-) 

     

    Well another simple one for which I can't find the solution... which I'm sure is simple as well.

     

    Simple use case that I succeed (no merit): switch on a light when a motion sensor is breach then turn it down 3 mn later:

    {0,"`mEntree`",{state="value=true",timeSlot="$sunsetHour~$sunriseHour",trueAct={{"`lSuspensionPressoir`","turnOn",""},{"`lSuspensionPressoir`","turnOff","180"}}}},

    where mEntree is a motion sensor and lSuspensionPressoir a fibaro switch that triggers a light.

     

    The downside of the above is that if the light was already switched on -manually actioned for instance- then the above will switch it off. What I would like to is for the line not to be executed the light was already on but I can't find how to do so. 

     

     

  • Topic Author
  • Posted (edited)

     

    4 hours ago, GaelP said:

    many thanks!

    This was ... simple... yes.... once I had it in from of my eyes :-) 

     

    Well another simple one for which I can't find the solution... which I'm sure is simple as well.

     

    Simple use case that I succeed (no merit): switch on a light when a motion sensor is breach then turn it down 3 mn later:

    {0,"`mEntree`",{state="value=true",timeSlot="$sunsetHour~$sunriseHour",trueAct={{"`lSuspensionPressoir`","turnOn",""},{"`lSuspensionPressoir`","turnOff","180"}}}},

    where mEntree is a motion sensor and lSuspensionPressoir a fibaro switch that triggers a light.

     

    The downside of the above is that if the light was already switched on -manually actioned for instance- then the above will switch it off. What I would like to is for the line not to be executed the light was already on but I can't find how to do so. 

     

     

     

    In case this is a switch add

    lineState={"{`lSuspensionPressoir`:value=false}"}

    if it is a dimmer add

    lineState={"{`lSuspensionPressoir`:value=0}"}

     

    The line should be like:

    {0,"`mEntree`",{lineState={"{`lSuspensionPressoir`:value=false}"},state="value=true",timeSlot="$sunsetHour~$sunriseHour",trueAct={{"`lSuspensionPressoir`","turnOn",""},{"`lSuspensionPressoir`","turnOff","180"}}}},

     
    • Drag files here to attach, or

      Please login or register to see this link.

    •  

     

    Edited by cag014
  • Topic Author
  • Posted (edited)
    8 hours ago, SmartLifeSystems said:

     

    Sorry, but restart again.

    Here is the JM70:

     

    This is a Satel Integra door sensor. If I opening the door, the Hall Light turn on, and turn off, when the livingroom motion sensor is breached. The livingroom ms too a Satel Integra MS.

     

    Please login or register to see this attachment.

     

    Another try, please download attached.

     

    Please login or register to see this attachment.

    Edited by cag014

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