How can you set device offline notification to trigger a scene

I want to trigger a scene anytime a device goes offline. Any help

I don’t think it is possible in the eWeLink app, maybe you should turn to other platforms like HA or Node-Red for such automations.

It will not be simple and nice because ewelink does not have such functionality.

Macrodroid and ewelink application.
Web browser + PageProbe and web ewelink.