I am using DayDream on my device as a screensaver and HomeHabit is permanently running as homescreen. A few months ago this was working fine, however now I can see that when I exit DayDream the data is old and it takes a few seconds until it is refreshed again. Also when I want to switch a light, the first time I try it it gets stuck in “Turning on” state (even though the light is being switched on), when I tap on it again it goes to “Off” (light is also being turned off) and tapping on it again it switches to “On” (and light goes on). My device is keeping wifi connectivity alive all the time, so this shouldn’t be any issue. Maybe there should be an option to keep HomeHabit alive either all the time, just when charging or never/just when in foreground.
@Flole This behavior is expected since Android runs Daydream as a separate application, so this is no different from you switching to another app. HomeHabit does not keep connection while in background since there is usually no reason to do that for a dashboard app.
Adding optional connection in background is possible, but is easy to drain resources, so it is a delicate feature. Let me see what can be done.