# Mistake in Scene and i cannot find it

**URL:** https://forum.ewelink.cc/t/mistake-in-scene-and-i-cannot-find-it/118303
**Category:** Free discussion
**Created:** [January 11, 2025, 2:48am UTC](https://forum.ewelink.cc/t/mistake-in-scene-and-i-cannot-find-it/118303 "2025-01-11T02:48:39Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![thomas1](https://avatars.discourse-cdn.com/v4/letter/t/5f9b8f/32.png) [@thomas1](https://forum.ewelink.cc/u/thomas1)
#### Post date: [January 11, 2025, 2:48am UTC](https://forum.ewelink.cc/t/mistake-in-scene-and-i-cannot-find-it/118303/1 "2025-01-11T02:48:39Z")

</div>

Good morning,

ewelink doesn’t know about brightness sensors, so I’m trying to do it using Tuya. In Tuya I have 2 scenes, if brightness then switch (Tuya) on or off. That works.

In the next step I use two processes in Google Home. If Tuya switch is on or off then Ewelink Switch on or off. That also works.

A scene in Ewelink, if movement then light on works. The same scene supplemented with the switch, i.e. if movement and switch on then light on, works unreliably. Then I tried it without the Ewelink switch, created manual scenes which activate or deactivate the scene (if movement then light). I start this scene via Google instead of the switch. It runs, the scene (if movement then light) is correctly displayed as activated or deactivated.

But regardless of this status the light is switched on or not. It seems random.

Where is my mistake?

---

<div class="post-metadata">

### Author: ![spoustaml](https://avatars.discourse-cdn.com/v4/letter/s/a4c791/32.png) [@spoustaml](https://forum.ewelink.cc/u/spoustaml)
#### Post date: [January 11, 2025, 2:27pm UTC](https://forum.ewelink.cc/t/mistake-in-scene-and-i-cannot-find-it/118303/2 "2025-01-11T14:27:52Z")

</div>

can you take some screenshots? It is not clear from the description exactly what you mean.

---

<div class="post-metadata">

### Author: ![thomas1](https://avatars.discourse-cdn.com/v4/letter/t/5f9b8f/32.png) [@thomas1](https://forum.ewelink.cc/u/thomas1)
#### Post date: [January 11, 2025, 3:42pm UTC](https://forum.ewelink.cc/t/mistake-in-scene-and-i-cannot-find-it/118303/3 "2025-01-11T15:42:56Z")

</div>

Of course, as I said, I’m looking for a way to have the motion detectors active only in the dark.

So (A) Tuya light sensor switches on Tuya switch. (B) Google Home when Tuya is on then Ewelink (Frei1) on and activate scene (C).

Everything works up to this point.

Nevertheless, the scene (D) is only executed unreliably and is not in the log. I have the feeling that the scene is shown as activated, but it is not.

(E) shows the action when movement is detected,

Frei1 is a normal wall switch that I use for control and also to manually override the automatic function

 ![SmartSelect_20250111_091528_eWeLink](https://europe1.discourse-cdn.com/flex005/uploads/ewelinkforum/original/2X/1/1b2b634d7caf54b409244b82151c12eafd9d4c91.jpeg)  
 ![SmartSelect_20250111_091440_eWeLink](https://europe1.discourse-cdn.com/flex005/uploads/ewelinkforum/original/2X/e/e482a2aa5d0cca05eec0032e7c9dee9ce1d52362.jpeg)  
 ![SmartSelect_20250111_091117_eWeLink](https://europe1.discourse-cdn.com/flex005/uploads/ewelinkforum/original/2X/2/25c5aa01f2fbfeca4f1513d03e580cfd95a3470a.jpeg)  
 ![SmartSelect_20250111_090947_Google](https://europe1.discourse-cdn.com/flex005/uploads/ewelinkforum/original/2X/a/ad62e8fb3f380c9cdecb5ddecf29a6385dc3de15.jpeg)  
 ![SmartSelect_20250111_090831_Tuya Smart](https://europe1.discourse-cdn.com/flex005/uploads/ewelinkforum/original/2X/e/ea23ede3bdb44e1c171818eaf1d3a0f29410229a.jpeg)
