I've experimented off and on with smart home devices for the past few years and wrote about some of the challenges I've run into and how to overcome them.
https://willvaughan.design/debugging-the-smart-home
https://willvaughan.design/debugging-the-smart-home