# Fridge door open for 1 minute with speaker announcement

**URL:** <https://forum.ewelink.cc/t/fridge-door-open-for-1-minute-with-speaker-announcement/33056>\
**Category:** Free discussion\
**Created:** [May 13, 2024, 5:02am UTC](https://forum.ewelink.cc/t/fridge-door-open-for-1-minute-with-speaker-announcement/33056 "2024-05-13T05:02:07Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![HondaSkier](https://avatars.discourse-cdn.com/v4/letter/h/8e7dd6/32.png) [@HondaSkier](https://forum.ewelink.cc/u/HondaSkier)\
**Post date:** [May 13, 2024, 5:02am UTC](https://forum.ewelink.cc/t/fridge-door-open-for-1-minute-with-speaker-announcement/33056/1 "2024-05-13T05:02:07Z")

</div>

I have a scene where the frige door is open for more than 1 minute the speaker sends a notification. This is done with google automations and google speaker. I am using a SNZB-04. When it openes it has a small lag until it reaches google, but this I consider normal… the probles is that if the door is opened and closed under approx 5 seconds it sometines does not update in google home and it gives a false positive. Can something be done to improve this ?

I see that there is a SNZB-04P available that does what I need (open for time) but is there a way to announce this on the google speaker?

---

<div class="post-metadata">

**Author:** ![jam3](https://dub1.discourse-cdn.com/flex005/user_avatar/forum.ewelink.cc/jam3/32/7918_2.png) [@jam3](https://forum.ewelink.cc/u/jam3)\
**Post date:** [May 13, 2024, 5:26am UTC](https://forum.ewelink.cc/t/fridge-door-open-for-1-minute-with-speaker-announcement/33056/2 "2024-05-13T05:26:09Z")

</div>

The SNZB-04P will not change anything. Even if one assumes that the time lag with SNZB-04P is indeed lower, response inertia is unavoidable. In my opinion, this problem is extremely difficult or impossible to solve with the eWeLink/Google combination. Google Home does not offer any “confirm for xx seconds” type of automation.

---

<div class="post-metadata">

**Author:** ![jonniugr](https://avatars.discourse-cdn.com/v4/letter/j/13edae/32.png) [@jonniugr](https://forum.ewelink.cc/u/jonniugr)\
**Post date:** [May 13, 2024, 8:09am UTC](https://forum.ewelink.cc/t/fridge-door-open-for-1-minute-with-speaker-announcement/33056/3 "2024-05-13T08:09:44Z")

</div>

This problem can be solved by releasing a new smart speaker product for ewelink. And I don’t understand why this hasn’t been done yet!!! A smart speaker is one of the most important links in a smart home. Googl, Alexa… Does not solve this problem because 1. it has a delay, 2. In my country there is no required language on googl devices, but it is in alexa, but not everyone has apple devices. Target device will solve this problem!!!

---

<div class="post-metadata">

**Author:** ![jam3](https://dub1.discourse-cdn.com/flex005/user_avatar/forum.ewelink.cc/jam3/32/7918_2.png) [@jam3](https://forum.ewelink.cc/u/jam3)\
**Post date:** [May 13, 2024, 8:19am UTC](https://forum.ewelink.cc/t/fridge-door-open-for-1-minute-with-speaker-announcement/33056/4 "2024-05-13T08:19:51Z")

</div>

Forget Google Home and the speaker. Buy a cheap switch (e.g. BASICR2), connect a (school) bell to it and create a scene. You will hear and understand the alarm, guaranteed 😁  
 ![image](https://europe1.discourse-cdn.com/flex005/uploads/ewelinkforum/original/2X/7/76f2057d46756dae1ee8192703ad39f57d469047.jpeg)

---

<div class="post-metadata">

**Author:** ![jonniugr](https://avatars.discourse-cdn.com/v4/letter/j/13edae/32.png) [@jonniugr](https://forum.ewelink.cc/u/jonniugr)\
**Post date:** [May 13, 2024, 8:21am UTC](https://forum.ewelink.cc/t/fridge-door-open-for-1-minute-with-speaker-announcement/33056/5 "2024-05-13T08:21:24Z")

</div>

There is a workaround for you. If you use app cast on a tablet, you can use Macro Droid to intercept push messages from the sensor and set the execution of the “speak text” command pre-defined in Macro Droid. The same can be done on the phone. But there is a huge delay on the phone if it is in sleep mode. The downside of this solution is that you can’t put a tablet in each room. Having a speaker with normal functionality for a smart home is much more convenient!!!

---

<div class="post-metadata">

**Author:** ![jonniugr](https://avatars.discourse-cdn.com/v4/letter/j/13edae/32.png) [@jonniugr](https://forum.ewelink.cc/u/jonniugr)\
**Post date:** [May 13, 2024, 8:23am UTC](https://forum.ewelink.cc/t/fridge-door-open-for-1-minute-with-speaker-announcement/33056/6 "2024-05-13T08:23:39Z")

</div>

I think the neighbors will be happy 😂

---

<div class="post-metadata">

**Author:** ![jam3](https://dub1.discourse-cdn.com/flex005/user_avatar/forum.ewelink.cc/jam3/32/7918_2.png) [@jam3](https://forum.ewelink.cc/u/jam3)\
**Post date:** [May 13, 2024, 8:35am UTC](https://forum.ewelink.cc/t/fridge-door-open-for-1-minute-with-speaker-announcement/33056/7 "2024-05-13T08:35:15Z")

</div>

This will force you to pay close attention to the fridge door 😜

---

<div class="post-metadata">

**Author:** ![HondaSkier](https://avatars.discourse-cdn.com/v4/letter/h/8e7dd6/32.png) [@HondaSkier](https://forum.ewelink.cc/u/HondaSkier)\
**Post date:** [May 13, 2024, 8:42am UTC](https://forum.ewelink.cc/t/fridge-door-open-for-1-minute-with-speaker-announcement/33056/8 "2024-05-13T08:42:36Z")

</div>

I already have a buzzer in the ZBBridge-P 🙂 although not as loud 🙂  
I was thinking of getting SNZB-04P and using the “time open” function and this buzzer, as a workaround, but I would still prefer to use the Speaker, since it’s nicer.

I already have these automations for the windows, and they work perfecty since you do not open and close the windows in a 5 second timeframe.

This is what the script looks like:  
starters:  
- type: device.state.OpenClose  
state: openPercent  
# Indicates the percentage that a device is opened, where 0 is closed and 100 is fully open.  
is: 100  
for: 10min  
device: Big Bathroom window - Big Bathroom

For the fridge I use 1 min instead of 10.

---

<div class="post-metadata">

**Author:** ![morgan](https://dub1.discourse-cdn.com/flex005/user_avatar/forum.ewelink.cc/morgan/32/3184_2.png) [@morgan](https://forum.ewelink.cc/u/morgan)\
**Post date:** [May 13, 2024, 6:21pm UTC](https://forum.ewelink.cc/t/fridge-door-open-for-1-minute-with-speaker-announcement/33056/9 "2024-05-13T18:21:29Z")

</div>

> [@HondaSkier](#):
>
> I have a scene where the frige door is open for more than 1 minute the speaker sends a notification. This is done with google automations and google speaker. I am using a SNZB-04. When it openes it has a small lag until it reaches google, but this I consider normal… the probles is that if the door is opened and closed under approx 5 seconds it sometines does not update in google home and it gives a false positive. Can something be done to improve this ?
> 
> I see that there is a SNZB-04P available that does what I need (open for time) but is there a way to announce this on the google speaker?

If I understand your need correctly, it can probably be improved, at least a little, but a lot depends on whether your Google is able to accept webhooks?

If you are able to pass the command to google from [https://sequematic.com](https://sequematic.com) then you can achieve the correct behavior.

Don’t count the time on Google’s side, Google only has to receive the command and immediately perform the action.  
We count the time at [https://sequematic.com](https://sequematic.com) and there we control the start/stop of the countdown to sending the command to Google.

I’ve written about it several times on the forum…

> [@Advice on scene for automating dust extraction](https://forum.ewelink.cc/t/advice-on-scene-for-automating-dust-extraction/32980/2):
>
> Known problem with automation and ways to perform logic in ewelink. This can be bypassed, but not using ewelink alone. You have to use [https://sequematic.com](https://sequematic.com) and therefore everything must have access to the Internet… Maybe ewelink will improve it someday in the future, maybe not. The problem here is the way the scenes are performed by ewelink. If a scene is initialized, it will be executed until the very end, regardless of whether a new scene is initiated during it. In addition, this new sce…

> [@Scenes does not enabled or disabled from a manual scene or from auto scene](https://forum.ewelink.cc/t/scenes-does-not-enabled-or-disabled-from-a-manual-scene-or-from-auto-scene/16295/35):
>
> So you want to have a stopwatch that will be reset every time the sensor is activated… You can achieve this using ewelink + [https://sequematic.com](https://sequematic.com) On the ewelink side you will need two scenes. On the SM side you will need three sequences and pairing your ewelink account and one variable. On the ewelink side, you need two scenes, one to start the countdown and the other to change the value of the variable so that there are no mistakes, let’s call it STOP. On the SM side, we need thre…

However, your Google speaker must be able to share the webhook url, **I don’t remember if there is such an option.**

Another option is to create a loop and use [https://sequematic.com](https://sequematic.com) → ewelink webhook and send the command to Google via ewelink.

 ![dt4](https://europe1.discourse-cdn.com/flex005/uploads/ewelinkforum/original/2X/d/dec1b3d58b3a0387974747c1277af28c69a48c4e.png)  
 ![dt5](https://europe1.discourse-cdn.com/flex005/uploads/ewelinkforum/original/2X/4/41e5faf574c37ad655ea225e7221fea0c9d68206.png)  
 ![dt7](https://europe1.discourse-cdn.com/flex005/uploads/ewelinkforum/original/2X/a/a3750ca12b85c56e1e77253eb400152a9fa4ce16.png)  
 ![dt1](https://europe1.discourse-cdn.com/flex005/uploads/ewelinkforum/original/2X/2/2e350421072820c4c90677eb7b665f614f40838c.png)  
 ![dt2](https://europe1.discourse-cdn.com/flex005/uploads/ewelinkforum/original/2X/7/7c332ffc5b04163be1e74436d324e2cd45cb55f8.png)  
 ![dt3](https://europe1.discourse-cdn.com/flex005/uploads/ewelinkforum/original/2X/9/9d78b2a27759b61a40e63c66f12f1d571c48e69c.png)

By doing it this way, the speaker will not receive any command for 60 seconds. If the state changes from Open to Closed before 1 minute has passed, the sequence will stop and the speaker will never receive any command…

If the variable remains Open after 1 minute, the speaker will receive the command. This model is extremely simple and will not be repeated again for the Open variable, it is one-time.

---

<div class="post-metadata">

**Author:** ![Tamer\_Salah](https://dub1.discourse-cdn.com/flex005/user_avatar/forum.ewelink.cc/tamer_salah/32/4047_2.png) [@Tamer\_Salah](https://forum.ewelink.cc/u/Tamer_Salah)\
**Post date:** [May 13, 2024, 9:32pm UTC](https://forum.ewelink.cc/t/fridge-door-open-for-1-minute-with-speaker-announcement/33056/10 "2024-05-13T21:32:49Z")

</div>

got sharp fridge . it got alarm if door were opened more than 5 minutes 🤣

---

<div class="post-metadata">

**Author:** ![Teki](https://dub1.discourse-cdn.com/flex005/user_avatar/forum.ewelink.cc/teki/32/1161_2.png) [@Teki](https://forum.ewelink.cc/u/Teki)\
**Post date:** [May 14, 2024, 3:32am UTC](https://forum.ewelink.cc/t/fridge-door-open-for-1-minute-with-speaker-announcement/33056/11 "2024-05-14T03:32:57Z")

</div>

maybe try this:

in eWeLink, if the SNZB-04P open for 10s → turn on a certain light (with inching settings like 10s)

in google, if the light is turned on → speaker send notification

---

<div class="post-metadata">

**Author:** ![jam3](https://dub1.discourse-cdn.com/flex005/user_avatar/forum.ewelink.cc/jam3/32/7918_2.png) [@jam3](https://forum.ewelink.cc/u/jam3)\
**Post date:** [May 14, 2024, 4:40am UTC](https://forum.ewelink.cc/t/fridge-door-open-for-1-minute-with-speaker-announcement/33056/12 "2024-05-14T04:40:37Z")

</div>

> [@Tamer\_Salah](#):
>
> got sharp fridge

And I have a wife who is sharp when it comes to closing the fridge door carefully. I’d rather make sure it’s closed than listen to lectures 🤷‍♂️

---

<div class="post-metadata">

**Author:** ![HondaSkier](https://avatars.discourse-cdn.com/v4/letter/h/8e7dd6/32.png) [@HondaSkier](https://forum.ewelink.cc/u/HondaSkier)\
**Post date:** [May 14, 2024, 4:56am UTC](https://forum.ewelink.cc/t/fridge-door-open-for-1-minute-with-speaker-announcement/33056/13 "2024-05-14T04:56:52Z")

</div>

This is a great idea, that is why we need a vritual switch, so we do not need to sacrifice a light or anything else.

---

<div class="post-metadata">

**Author:** ![dwdube](https://avatars.discourse-cdn.com/v4/letter/d/ac8455/32.png) [@dwdube](https://forum.ewelink.cc/u/dwdube)\
**Post date:** [August 24, 2024, 5:43pm UTC](https://forum.ewelink.cc/t/fridge-door-open-for-1-minute-with-speaker-announcement/33056/14 "2024-08-24T17:43:38Z")

</div>

Hi Guys, l have a solution to the virtual relay that has been working for me. For $5 at AlieX you can get the equivalent of a Sonoff 4ChPro control module. It has no relays or push buttons, only the brains on a 1" x 2" pcb. You feed it 5v (old cell phone charger) and only need to short 2 solder pads to initiate pairing mode. From there the app sees a 4ChPro, giving 4 virtual switches to use as flags, etc. I have my pcb and charger fit nicely in a DualR2 empty case.

[https://www.aliexpress.com/item/1005001681781989.html?spm=a2g0o.detail.0.0.67ffc713PAeLYy](https://www.aliexpress.com/item/1005001681781989.html?spm=a2g0o.detail.0.0.67ffc713PAeLYy)

[https://www.aliexpress.com/item/1005002294923250.html?spm=a2g0o.detail.pcDetailTopMoreOtherSeller.4.67ffc713PAeLYy&gps-id=pcDetailTopMoreOtherSeller&scm=1007.40050.354490.0&scm\_id=1007.40050.354490.0&scm-url=1007.40050.354490.0&pvid=563e7c0a-7e45-474c-abfa-ffe2c909f79d&\_t=gps-id:pcDetailTopMoreOtherSeller,scm-url:1007.40050.354490.0,pvid:563e7c0a-7e45-474c-abfa-ffe2c909f79d,tpp\_buckets:668%232846%238114%231999&isseo=y&pdp\_npi=4%40dis!CAD!9.99!6.99!!!7.22!5.05!%402103011617119982134257427e70c6!12000019957110137!rec!CA!710493053!&utparam-url=scene%3ApcDetailTopMoreOtherSeller|query\_from%3A](https://www.aliexpress.com/item/1005002294923250.html?spm=a2g0o.detail.pcDetailTopMoreOtherSeller.4.67ffc713PAeLYy&gps-id=pcDetailTopMoreOtherSeller&scm=1007.40050.354490.0&scm_id=1007.40050.354490.0&scm-url=1007.40050.354490.0&pvid=563e7c0a-7e45-474c-abfa-ffe2c909f79d&_t=gps-id:pcDetailTopMoreOtherSeller,scm-url:1007.40050.354490.0,pvid:563e7c0a-7e45-474c-abfa-ffe2c909f79d,tpp_buckets:668%232846%238114%231999&isseo=y&pdp_npi=4%40dis%21CAD%219.99%216.99%21%21%217.22%215.05%21%402103011617119982134257427e70c6%2112000019957110137%21rec%21CA%21710493053%21&utparam-url=scene%3ApcDetailTopMoreOtherSeller%7Cquery_from%3A)

---

<div class="post-metadata">

**Author:** ![john.e.dixon](https://dub1.discourse-cdn.com/flex005/user_avatar/forum.ewelink.cc/john.e.dixon/32/1626_2.png) [@john.e.dixon](https://forum.ewelink.cc/u/john.e.dixon)\
**Post date:** [August 24, 2024, 6:55pm UTC](https://forum.ewelink.cc/t/fridge-door-open-for-1-minute-with-speaker-announcement/33056/15 "2024-08-24T18:55:39Z")

</div>

Cool.  
Does it show as LAN on the eWelink app?

---

<div class="post-metadata">

**Author:** ![dwdube](https://avatars.discourse-cdn.com/v4/letter/d/ac8455/32.png) [@dwdube](https://forum.ewelink.cc/u/dwdube)\
**Post date:** [August 24, 2024, 8:01pm UTC](https://forum.ewelink.cc/t/fridge-door-open-for-1-minute-with-speaker-announcement/33056/16 "2024-08-24T20:01:52Z")

</div>

Yes, it does.

---

<div class="post-metadata">

**Author:** ![ociepa.ekotox](https://avatars.discourse-cdn.com/v4/letter/o/c68b51/32.png) [@ociepa.ekotox](https://forum.ewelink.cc/u/ociepa.ekotox)\
**Post date:** [August 25, 2024, 7:07am UTC](https://forum.ewelink.cc/t/fridge-door-open-for-1-minute-with-speaker-announcement/33056/17 "2024-08-25T07:07:55Z")

</div>

cool. I wonder if there is a zigbee version?

---

<div class="post-metadata">

**Author:** ![john.e.dixon](https://dub1.discourse-cdn.com/flex005/user_avatar/forum.ewelink.cc/john.e.dixon/32/1626_2.png) [@john.e.dixon](https://forum.ewelink.cc/u/john.e.dixon)\
**Post date:** [August 25, 2024, 9:46am UTC](https://forum.ewelink.cc/t/fridge-door-open-for-1-minute-with-speaker-announcement/33056/18 "2024-08-25T09:46:50Z")

</div>

If you have an iHost, like me, and run through Matter to another platform then I think it will do just as good by wifi than Zigbee. Alexa and Google will recognise it in turn with their eWelink skills.  
I’ve ordered one just to try it out, because although I already have virtual switches which I use in Smartthings I sometimes have the annoying issue that when we have here an Internet or power outage the virtual switches don’t come back online. I’m referring to ‘switch’, as other types of virtual devices like sensors do reestablish themselves without much delay.  
Worth spending 5€ just to see if this could be more stable.

---

<div class="post-metadata">

**Author:** ![ociepa.ekotox](https://avatars.discourse-cdn.com/v4/letter/o/c68b51/32.png) [@ociepa.ekotox](https://forum.ewelink.cc/u/ociepa.ekotox)\
**Post date:** [August 25, 2024, 10:17am UTC](https://forum.ewelink.cc/t/fridge-door-open-for-1-minute-with-speaker-announcement/33056/19 "2024-08-25T10:17:47Z")

</div>

I have created a virtual device in node-red in ihost. I will probably order this board for testing. I would use the zigbee version in nspanel pro to create local scenes, without using the internet. Because in nspanel you can’t control wifi devices without the internet.

---

<div class="post-metadata">

**Author:** ![john.e.dixon](https://dub1.discourse-cdn.com/flex005/user_avatar/forum.ewelink.cc/john.e.dixon/32/1626_2.png) [@john.e.dixon](https://forum.ewelink.cc/u/john.e.dixon)\
**Post date:** [August 25, 2024, 12:07pm UTC](https://forum.ewelink.cc/t/fridge-door-open-for-1-minute-with-speaker-announcement/33056/20 "2024-08-25T12:07:43Z")

</div>

> [@ociepa.ekotox](#):
>
> I have created a virtual device in node-red in ihost.

As I have, several of them - and do you find that the ‘switch’ virtual devices, different to other virtual device types, don’t come back online after an outage?  
(If you do better we start another topic🤷‍♂️)

[Next page](https://forum.ewelink.cc/t/fridge-door-open-for-1-minute-with-speaker-announcement/33056.md?page=2)
