Android M support improved

Well, the permission model of Android M is something to get used to, and I failed. So this version has several fixes due to this change in Android. See Version History.

The user-defined color curve for Hue helps using “old” and “new” strips, as the old ones – they are incapable of dimming very low – can be forced to switch on later. In addition, it allows nicer colors if you like. They are not easy to define, as I interpolate H and S values of the HSL color model in a linear way. But there are test buttons everywhere.

1.8.2 WiFi management rewritten, and Cover issues fixed

Unfortunately, the wakeup cycle was not played when the cover was closed – a problem of Android, which did not leave the alarm screen active in that case. But it nevertheless needed a fix. My daughter complained because she sometimes closed the device in the night, and the alarm sound did not play.

  • plays sound on closed cover
  • plays hue cycle on closed cover (yes, here’s the advantage of the extra light system!)

In addition, I re-wrote the part that checks whether WiFi is OFF and needs to be switched on

  • as Hue, Weather Forecast, and a Music Stream need a connection, or
  • one of the WiFi options is set in the app’s settings.

Thus the “Alarm time” in the system (>= Android 5) is one minute even before the sequence start time. Might be a bit confusing, but I cannot do anything about it. To make the Wifi management easier, the CHANGE_WIFI_STATE permission is now requested.

Successful: “Philips Hue”

The version is not yet released. Beta testers welcome!

Supported are multiple Lights, each with a configurable maximum brightness.

Recommended are the new “LightStrips+”, as they really start very dim. The normal “LightStrips” (without the ‘+’) start with about 30% brightness, so they must be placed somewhere for indirect illumination.

Experience with other lights is always welcome! Drop me a note!