Single scene multiple door status check for any left open set to trigger a buzzer alarm

Hi Ewelink Team,

I need assistance with automating a daily scene that triggers an action at a specific time if any of the 40-50 doors are open (Fire safety for AH). We are using SNZB-04P sensors to monitor the doors and a ZB Mini to activate a buzzer alarm. I’d rather not setup another 50 additional scenes :crazy_face:

Could you please guide me on how to set this up?

Thank you for your help.

You can create multiple triggers in one smart scene and set the IF mode to

“any condition is met”

Then select all the sensors you need to trigger alarm

1 Like

Thanks.
I want this to trigger a t a specific time “and” include all the other “if” sensor open conditions.

I realized I can do an if trigger condition but how to add a time condition?

Do you want to add a ‘at a specified time’ or ‘within a specified period’ condition?

Thank you for assisting.
I would prefer a specified period which I found using the eWelink web platform scene editor. This allows me to set an extended effective time in my scene. So that fixes my initial problem but unfortunately creates another.
At face value using the eWelink Web scene creator, the scene action does not look at the current state of the sensor instead it only triggers when the door sensor changes modes into one of the chosen states. In my case opened. I have attached snippets from Web and iOS scene editing to try explaining better.

My end goal is to have nearly all doors which is now nearing 80 in the building. To be monitored using SNZB-04P. This will be a backup alarm system to the main building alarm as well as triggering area alerts via buzzers on each floor that doors have been left open before the building is vacated for the night. I plan on using this scene to trigger for 5 minutes before shutdown daily so employees can easily find open doors on their way out and close them to stop the buzzer. Our fire safety protocol includes all doors need to be closed when building unoccupied. I can’t think of a better solution than using eWelink, I just gotta find a better solution for not having to create 80 scenes.


I am afraid that there is no way within eWeLink to solve the problem. This would require setting up and checking condition. The eWeLink platform does not facilitate this. It is designed to implement simpler and more obvious automations. It is, after all, designed to handle the most common situations in a domestic condition.
Testing the state of the sensors and checking the conditions for performing the automation is a complex task. I recently faced a similar issue in Home Assistant, creating an automation for an air purifier. After many hours of testing, I finally achieved the desired goal. Compared to eWeLink scenes, HA automations offer significantly more possibilities. There is a wizard but the biggest difficulty was understanding the dependencies and establishing the correct sequence of events. I have the impression that you have chosen a tool that is not particularly suited to do the job expected.
If you want to automate sensors at your location I think you should turn your attention to other solutions. If you want to stay with the eWeLink platform, perhaps NodeRED would be the right path. However, for this you need an iHost (CUBE).

Thanks.
I have an ihost so will see if I can apply that.

I personally have most of my ‘smart’ home on another platform, but equally the limitations of automations on that, like eWelink and most others is the same. Node-red on my iHost opens up a world of possibilities with automations - there is a learning curve but I think it’s worth it. So I second the recommendation from @jam3 above.

+1 for Node Red.

Like already said, there is a learning curve. To start with you’ll mostly be looking to copy existing flows or for guides but from there you’ll create your own and try things out.
You’ll never learn everything as it keeps improving and expanding as will your flows.

eWeLink CUBE on iHost now supports more time-based triggers and effective period

1 Like