Buy the Digital Voltage Control Relay Module, then you need to modify a smart door sensor that you will connect to the contacts of the relay module. Look here for such a module https://vi.aliexpress.com/item/32977883482.html?gatewayAdapt=glo2vnm
I have described the modification of the door sensor in this topic
Trigger a device ( if lamp is offline) - #12 by euv
1 Like