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


  • 0

Flush of false push messages after restarting HC2


Question

Posted

Hi all,

 

I have defined several push messages which inform me once windows, doors or roller shutters are being opened or closed, plus once I leave my house then the system first informs me whether all windows and doors are closed before the alarm is enabled.

 

But I've noticed that every time I restart HC2 (.. because some scenes no longer work after some time) then the HC2 is flushing all these push messages to my devices although there hasn't been any real activity on these sensors at all. This is quite annoying because every time I then check the APP whether doors or windows are really opened or closed.

 

There is no real logic of when I will receive a push message after the restart, sometimes I get them all at once but sometimes also a few in the beginning and the rest over time (.. also during the night, so it wakes me up... for actually no reason).

 

  • Is there anyone that have noticed the same, or is it just me?
  • Fibaro support team, is there any trick or workaround to apply?

 

Thanks and best regards,

Mark

 

 

14 answers to this question

Recommended Posts

  • 0
Posted

Do set these notifications with scenes or in devices configuration?

  • 0
Posted

Why are scenes stopped working after some time? I do have the same.

@j.nowacki: I haven't contacted support about that, because I need those scenes running, so I reboot my HC2. Should I still contact support about this?

  • 0
  • Inquirer
  • Posted

    Hi j.nowacki,

     

    I've set these notifications as part of scenes because I'd like to get notified once a window or door is being opened AND being closed.

    Under device configuration you can only set one parameter, instead of the two I prefer.

    • 0
    Posted

    Isn't scene run at start up of HC2? Clear the checkbox responsible for that in scene configuration.

    • 0
  • Inquirer
  • Posted

    ah... ofcourse!

    I didn't realize that this checkbox could be the responsible factor.

     

    And for the LUA scenes I just remove the %%autostart from the code, right?

     

    Thanks a lot for this suggestion.

    • 0
    Posted

    Yes, removing %%autostart will do the job.

    • 0
  • Inquirer
  • Posted

    Hi j.nowacki,

     

    I've tried the adjustment as suggested above, but unfortunately it doesn't work for all the scenes (.. for most it did the trick).

    I'd like you to check below LUA scene to see if there's maybe something weird in the code that could cause the notification to be triggered. 

    This script basically changes a global variable when a specific door is opened or closed (the Door ID is 132) and according to the global variable the system will send me a push message whether the door is closed (128) or opened (127):

     

    ------------------------- script --------------------------

     

     

    --[[
    %% properties
    132 value
    %% globals
    --]]

     

    local startSource = fibaro:getSourceTrigger();
    if (
     ( tonumber(fibaro:getValue(132, "value")) > 0 )
    or
    startSource["type"] == "other"
    )
    then
      fibaro:setGlobal("Achterdeur", "Open");
      fibaro:call(67, "sendDefinedPushNotification", "127");
      else
      fibaro:setGlobal("Achterdeur", "Dicht");
      fibaro:call(67, "sendDefinedPushNotification", "128");
    end

     

     

    ----------------------- end script ------------------------

     

    I am thinking that maybe line 10 to 12 would trigger the false notification, but I honestly don't know whether that makes sense.

     

    What is your view on this?

    • 0
    Posted

    Add some debugs to the code to see when exactly it gets triggered.

    • 0
  • Inquirer
  • Posted

    Hi j.nowacki,

     

    I've done this now and will monitor.

    Thanks for your support so far.

     

    Best regards,

    Mark

    • 0
  • Inquirer
  • Posted

    Hi j.nowacki,


     


    I restarted the HC2 this morning at 07:10 AM, and at 07:21 AM I received a false notification from a door sensor, following by two other false notifications at 07:30 AM from two different window sensors.


     


    I'll do a restart later this afternoon again to see if the frequency of the false notifications is the same as this morning.


     


    From all scenes that have these notifications set up I've unchecked the "run scene at startup" option, and from the LUA scripts I have removed the %%autostart line.


     


    Keeping you posted.


     


    Best regards,


    Mark


    • 0
  • Inquirer
  • Posted

    Hi j.nowacki,

     

    At 10:28 AM I received a false notification from another window sensor (.. however this sensor did not generate a false notification earlier this morning).

     

    What I found out, is that it apparently only happens with Door or Window sensors where I set up the notification within the scene.

    I also have z-wave curtains, and roller shutters where I also include the notifications within the scene, but from these I never get the false notifications.

     

    I use the Fibaro Door/Window sensors on all of my windows, and have the Aeotec Door sensors (Aeotec ZW089) on my doors.

     

    Best regards,

    Mark

    • 0
  • Inquirer
  • Posted

    at 10:47 I received a false notification that a door is closed, at 10:49 I got a false notification that a window is closed and at 10:50 I get a false notification that another (different) window is closed.

     

    These Doors and Windows have not been opened, so it is the system that is flushing the notifications by itself.

     

    Best regards,

    Mark

    • 0
    Posted

    Create a scene that will be triggered by all of your D/W sensors, then print the one that triggered the scene. Maybe it is not a false push but false change of state of D/W itself?

    • 0
  • Inquirer
  • Posted

    Hi j.nowacki,

     

    This I tried already too, that's how I found out that it isn't a false change of state from the D/W sensors

    Please login or register to see this image.

    /emoticons/default_smile.png" alt=":)" srcset="https://forum.fibaro.com/uploads/emoticons/[email protected] 2x" width="20" height="20" />

    After making the changes as listed above and monitoring it for some days now, I notice that it now only happens once per sensor after I reboot the HC2 so I can live with it (.. I understand the complexity of the issue here).

     

    For me the topic can be closed, or at least get a much lower priority on your side.

     

    Thanks for your support and advice given.

     

    Best regards,

    Mark

    Join the conversation

    You can post now and register later. If you have an account, sign in now to post with your account.

    Guest
    Answer this question...

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