HomeyDuino issues / failure

If it’s the app, debugging will be difficult. A common workaround for any app that’s misbehaving is to restart it periodically (like every night). You need to enable the “Power user” experiment for that (in the Homey app).