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

Hello Cag,

I noticed a few thing when AllinOne restarts;

This line makes the light flicker, it should light its within the time slot?

>>{0, "`hallocatieGezin`|`hoofdSlaapKamerlader`",{state="value=true",timeSlot="07:00~23:45",
trueAct={"`woonKamerkerstboom`","turnOn",""},
falseAct={"`woonKamerkerstboom`","turnOff",""}}},

>>the light lights up at 7:01 instead off 07:00

Remark: HC2 Slave>>hallocatieGezin`|`hoofdSlaapKamerlader

              HC3 device>> woonKamerkerstboom

//Sjakie

  • Topic Author
  • Posted (edited)

    Yes, I'm doing mathematical calculation if time > timeSLot, so the timeSlot starts  at 7.01 and initializes the line according to the state status (true/false).

    Regarding is it flickers when timeSlot starts?

    Please verify that `hallocatieGezin`|`hoofdSlaapKamerlader` are  in the same status. If one of them true and other is false then it will flicker.... you can add initOnStarup=false to stop initialization at restart and when timeSlot starts or to set one of the actions (trueAct or falseAct) to avoid initialization.

    for example:

    trueAct={"`woonKamerkerstboom`","turnOn",false},

    It means do not initialize trueAct{} only

    Edited by cag014
  • Topic Author
  • Posted
    1 hour ago, SmartLifeSystems said:

     

    Hi @cag014,

     

    How can i set up this?: if the RAM > 85% reboot the HC3.

    Add reboot command and I suggest with few seconds of delay (to make sure that notification sent)

    See marked changes...

    {0, "$RAM",{state="value>85",trueAct={{"RAM>85%","sendNote","Warning. \nSystem memory is $RAM%, rebooting... ",true},{"","reboot","10"},{"|$lineId|","setStateValue","80"}},falseAct={{"|$lineId|","setStateValue","85"},{"RAM<80%","sendNote","System memory is $RAM%"}}}},

     

    Posted

    Cag,

    This drives me crazy!

    This error didt come the whole morning and suddenly I saw it?

    line 371 error (empty line between ,  and --CURTAINS

    unexpected symbol near '}'

     

    --Mainbedroom Charger on, all inside lights off  
    {0,"`hoofdSlaapKamerlader`",{state="value=true",
    trueAct={"`woonKamerverlbasis`|`woonKamerverlabsent`|`woonKamerverltvuit`|`woonKamerverltvaan`","turnOff","","{`hoofdSlaapKamerlader`:value=on}"}}}},

     

    --CURTAINS------------------------------  sjakie

     

    Posted
    6 hours ago, Rover said:

    using in scene fibaro.call(212, "play", "192.168.1.19")  delivers the same error as the AOQ string, so it must have something to do with playing an empty queue.

    Please login or register to see this spoiler.

     

    Hi, 

    @cag014

    Again I am not smart enough to implement Sonos operation on AOQ, now with Sonos ZC of Krikroff:

    {"`SonosZoneControllerKeuken`", '+playFile,"Mediacenter/d/SonosGeluiden/Deurbel.mp3",true,40'},  works!

    But 

    {"`SonosZoneControllerKeuken`", '+addURIToQueue,"Mediacenter/d/SonosGeluiden/Deurbel.mp3"'},

    followed by 

    {"`SonosZoneControllerKeuken`", "+playSavedQueue"},

    or

    {"`SonosZoneControllerKeuken`", "+startQueue"},

    does not produce a sound.

    Maybe it is the main problem how to get a mp3 in the Sonos queue?

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

    Cag,

    This drives me crazy!

    This error didt come the whole morning and suddenly I saw it?

    line 371 error (empty line between ,  and --CURTAINS

    unexpected symbol near '}'

     

    --Mainbedroom Charger on, all inside lights off  
    {0,"`hoofdSlaapKamerlader`",{state="value=true",
    trueAct={"`woonKamerverlbasis`|`woonKamerverlabsent`|`woonKamerverltvuit`|`woonKamerverltvaan`","turnOff","","{`hoofdSlaapKamerlader`:value=on}"}}}},

     

    --CURTAINS------------------------------  sjakie

     

    Yes you have an error too many curly brackets at the end. Please remove one.

    {0,"`hoofdSlaapKamerlader`",{state="value=true",
    trueAct={"`woonKamerverlbasis`|`woonKamerverlabsent`|`woonKamerverltvuit`|`woonKamerverltvaan`","turnOff","","{`hoofdSlaapKamerlader`:value=on}"}}},

    5 hours ago, Rover said:

     

    Hi, 

    @cag014

    Again I am not smart enough to implement Sonos operation on AOQ, now with Sonos ZC of Krikroff:

    {"`SonosZoneControllerKeuken`", '+playFile,"Mediacenter/d/SonosGeluiden/Deurbel.mp3",true,40'},  works!

    But 

    {"`SonosZoneControllerKeuken`", '+addURIToQueue,"Mediacenter/d/SonosGeluiden/Deurbel.mp3"'},

    followed by 

    {"`SonosZoneControllerKeuken`", "+playSavedQueue"},

    or

    {"`SonosZoneControllerKeuken`", "+startQueue"},

    does not produce a sound.

    Maybe it is the main problem how to get a mp3 in the Sonos queue?

    OK, will try to see what the problem is...

    Posted

    Good morning Cag,

    In debug you see some actions of <id>HC2

    Please login or register to see this attachment.

    Manualy I switched in HC3 devices 3 pieces of wall plugs at 08:13 NOT visible???

    I have also one motion sensor not visible???

    Those devices are HC3 devices.

    What to do?

    //Sjakie

    Posted

    Hi @cag014,

     

    I think I find the restart problem. Look, this is very interesting.

    So I use the Satel Integra AlarmSystem's sensors. I think, the problem is the motion sensor.

    Example: If I breached the motion sensor in the livingroom, the AOQ is restarting. If I breached the MS 3 times, the AOQ is restarting 3 times, in every minutes.

     

    Look the times on the screenshot.

     

    When I breach the MS, the AOQ is restarting xx:xx:09, xx:yy:09, ...

     

    Please login or register to see this attachment.

    Please login or register to see this attachment.

    Please login or register to see this attachment.

    Please login or register to see this attachment.

    Posted

    Cag,

    I have a few devices that triggers a lot of other things.

    In debug I see AllinOne is combining that device with all actions in one line.

    Can I do for a better reading and understanding:

    {0,"`hoofdSlaapKamerlader`",{state="value=true",
        trueAct={"`stekkers`|`stekkersvertraagd`|`stekkersuit`","turnOff","","{`hallocatieGezin`:value=off}"},
        trueAct={"`woonKamerverlbasis`|`woonKamerverlabsent`|`woonKamerverltvuit`|`woonKamerverltvaan`|`voorTuinSpotvlag`","turnOff","","{`hoofdSlaapKamerlader`:value=on}"}}},  
        falseAct={"`stekkers`|`stekkersvertraagd`","turnOn",""}}},

    If yes is there a limit on the number of true or false acts?

    //Sjakie

     

    Posted

    And another problem. I useing iPhone, and in every push notifications have a \n characters, between the subject, and the message.

    Posted

    @SmartLifeSystemsI have the same on my IPhone.

    //Sjakie

    Posted
    1 hour ago, Sjakie said:

    @SmartLifeSystemsI have the same on my IPhone.

    //Sjakie

     

    So I'am not alone with this problem. :) 

    @Sjakie how many phone what do your AOQ useing for the notifications?

    Posted

    If this was the biggest problem at the moment with my HC3 I should be a happy camper!

    I am busy to convert my scenes into AllinOne so I face a lot of "problems".

    But I know what the problem is>> the user behind the keyboard!

    //Sjakie

    Posted

    Hi, all,

    Can one of you give me some examples of arming/disarming?

    Thanks in advance,

    //Sjakie

  • Topic Author
  • Posted (edited)
    2 hours ago, Sjakie said:

    Cag,

    I have a few devices that triggers a lot of other things.

    In debug I see AllinOne is combining that device with all actions in one line.

    Can I do for a better reading and understanding:

    {0,"`hoofdSlaapKamerlader`",{state="value=true",
        trueAct={"`stekkers`|`stekkersvertraagd`|`stekkersuit`","turnOff","","{`hallocatieGezin`:value=off}"},
        trueAct={"`woonKamerverlbasis`|`woonKamerverlabsent`|`woonKamerverltvuit`|`woonKamerverltvaan`|`voorTuinSpotvlag`","turnOff","","{`hoofdSlaapKamerlader`:value=on}"}}},  
        falseAct={"`stekkers`|`stekkersvertraagd`","turnOn",""}}},

    If yes is there a limit on the number of true or false acts?

    //Sjakie

     

    No limit... but all actions must be in the same array. Means  only one  trueAct{}  table (or any other) could be defined.

    According to that please include all trueAct in one table, same for others.

    When defining more than one command the action table starts and ends with double curly brackets and please keep correct number of brackets.

    {0,"`hoofdSlaapKamerlader`",{state="value=true",
        trueAct={{"`stekkers`|`stekkersvertraagd`|`stekkersuit`","turnOff","","{`hallocatieGezin`:value=off}"}, {"`woonKamerverlbasis`|`woonKamerverlabsent`|`woonKamerverltvuit`|`woonKamerverltvaan`|`voorTuinSpotvlag`","turnOff","","{`hoofdSlaapKamerlader`:value=on}"}},  
        falseAct={"`stekkers`|`stekkersvertraagd`","turnOn",""}}},

     

    By the way if same action table defined more than once, only the last table will be executed.

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

    Hi, all,

    Can one of you give me some examples of arming/disarming?

    Thanks in advance,

    //Sjakie

    What do you mean?

     

    Example I use the GPS localization for the DayArming, and PanicButton for the Night Arming.

    Edited by SmartLifeSystems
  • Topic Author
  • Posted
    2 hours ago, SmartLifeSystems said:

    Hi @cag014,

     

    I think I find the restart problem. Look, this is very interesting.

    So I use the Satel Integra AlarmSystem's sensors. I think, the problem is the motion sensor.

    Example: If I breached the motion sensor in the livingroom, the AOQ is restarting. If I breached the MS 3 times, the AOQ is restarting 3 times, in every minutes.

     

    Look the times on the screenshot.

     

    When I breach the MS, the AOQ is restarting xx:xx:09, xx:yy:09, ...

     

    Please login or register to see this attachment.

    Please login or register to see this attachment.

    Please login or register to see this attachment.

    Please login or register to see this attachment.

    OK, at least we're moving forward.

    Please post this sensor API

    http://<hc-IP>/api/devices/<Satel Integra sensor-ID>

    Posted
    3 minutes ago, cag014 said:

    OK, at least we're moving forward.

    Please post this sensor API

    http://<hc-IP>/api/devices/<Satel Integra sensor-ID>

     

    Here is:

     

    Please login or register to see this code.

    Just now, SmartLifeSystems said:

     

    Here is:

     

    Please login or register to see this code.

     

    That's will true for all Satel sensors?

    Posted

    @cag014,

     

    This is a D/W sensor for satel, if this help for you.

     

    Please login or register to see this code.

  • Topic Author
  • Posted
    Just now, SmartLifeSystems said:

    @cag014,

     

    This is a D/W sensor for satel, if this help for you.

     

    Please login or register to see this code.

    Question, are these sensors included in HC3 alarm zones?

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