I have a couple of ST motion sensors and I know these can run locally with the Smart Lighting app.
So I thought I would use this for my simple automations.
This is where my confusion starts.
The current device handler I am using is SmartSense Motion Sensor.
When I look at my local devices in the ide no ST motion sensors appear.
So I changed the DH to SmartSense Motion and sure enough the device now appears in the local devices.
Sorted you may say.
NO.
When there is motion I see it in my app using the SmartSense Motion Sensor but NOT if I use the SmartSense Motion DH.
So although the first one works it does not run locally. The second does not work, but does run locally.
Using custom DH code can cause some of the things you are seeing with local execution. It is harder than you might expect to move from the cloud to local and back again. Please reach out to support if some of your devices aren’t local and they should be able to help you.