Advice on scene for automating dust extraction

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 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 scene is usually not included in the execution queue when another scene is running, which means that when the first scene ends, the second one was just a ghost that does not affect anything.

I wrote about it in other threads on the forum in the context of other Sonoff devices, but the concept of scene logic is the same.

I can show you an example…






When Ring detects current on the wire, it will start suction and send ON for STATUS.
Nothing else is happening at the moment.

When Ring detects no current, it will turn off the device, but only by sending OFF for STATUS.

Then TIME starts, which waits for 30 seconds and turns off the indicated Sonoff device, then sets STATUS as Null.

What if you start the saw, turn it off and then turn it on again within 30 seconds… The TIME sequence will be stopped and the device will not be turned off. Only turning it off again and sending OFF for STATUS will initiate 30s off again.
Unlike ewelink, stopping the sequence midway is possible and works.

You will have what you want.