I have some lights that go into the wall, that I've plugged into [this smart outlet](https://www.amazon.co.uk/gp/product/B0779Q1ZLN/ref=oh_aui_detailpage_o01_s00?ie=UTF8&psc=1) so I can control these through my phone. I want to also be able to power them through a movement activated sensor.

So it would either be a button on my phone telling it to be always on, or someone being present in the garden activating it while it's off.

Is such design possible?