[App][Pro] LIFX (LAN)

Known Issues

Issue: Some flow cards are missing on Homey Pro 2023
Reason: This is due to bug in the new Homey firmware for the 2023 model.
Update: This should be fixed starting with firmware version v10.0.0-rc.118

Issue: LIFX Switch has not the correct icon or no icon.
Reason: Unfortunately I got no suitable icon for these, yet.

Issue: Devices show capabilities they actually do not have.
Reason: Seen in Homey v7.1.3 - Capabilities up-/downgrade is broken in this Homey version. The problem should disappear with future Homey firmware updates.

Issue: The app store shows flowcards for devices which do not even support those flowcards.
Reason: Unfortunately, this is caused by a design decision by Athom, on how the App Store works. And the related feature clashes with the way I am generating the devices seen. Even more unfortunately, I cannot implement a simple fix for that.

Change Log

v2.0.3

  • Fixed: Effects flowcards cannot find data files on Homey Pro 2023.

v2.0.2

  • Update: App migrated to Homey App SDK v3.

v1.6.1

  • Updated: Support for all new devices until 2023-01-07.
  • Added: Formatted card titles.

v1.5.2

  • Added: Support for LIFX Z (Model 118).

v1.5.1

  • Added: Support for HEV light features of LIFX Clean lights.
  • Added: HEV light toggle (for configured standard duration) in Homey App UI.
  • Added: HEV light status data to the sensors tab of the Homey App UI.
  • Added: Action flowcards for starting and stopping HEV light cycles.
  • Added: Condition flowcard for probing whether an HEV light cycle is active.
  • Added: Trigger flowcards for HEV cycle status and progress update.
  • Fixed: Potential fix to remove flowcards shown in the App Store, which do not really exist.

v1.4.0

  • Added: Support for new device variants as state of 2021-09-16.
  • Added: Firmware effects are now available for matrix devices like LIFX Candle Color.
  • Changed: Relaxed status polling to improve responsivness on large amount of devices.
  • Changed: Minor corrections for already known devices have been applied.

v1.3.0

  • Added: Support for new LIFX Switch model (PID:71).
  • Added: Support for kelvin ranges based on device firmware version.

v1.2.0

  • Added: The kelvin behavior can now be modified in the app settings.
  • Updated: The kelvin behavior is now aligned with the original LIFX apps (default setting).
  • Updated: The app settings page has received a styling update, to visuallly group information.
  • Fixed: Previously used color saturation is now restored instead of being reset to 50%, when switching into color mode.

v1.1.2

  • Fixed: Duration on auto generated flowcards been ignored by the new v1.0 engine.
  • Fixed: Missing duration option for auto generated set color flowcards.
  • Updated: New app store info as requested by Athom.

v1.1.0

  • Fixed: A glitch, introduced in v1.0, in the new update logic causing the in app color picker to act up when used to set colors and whites.
  • Fixed: Device status information should now update in realtime when using zone specific flow cards.
  • Fixed: Infrared status also updated when changed from within another LIFX app. There was a glitch in the migrated feature from v0.12.x version.
  • Fixed: Added a safty check in case devices report faulty light temperature values causing an out of range error in the app.
  • Fixed: The wifi strength indicator in the app settings menu now drops to zero when a device goes offline.
  • Fixed: A bug making the show progress flowcards for multizone devices behave wrong if not the full length of zones is used.
  • Added: Option to reverse the direction of the progress show progress flowcards for the multizone devices.
  • Added: Generic action card to stop all predefined, user defined or both types of effects at once.

v1.0.2

  • Fixed: Get infrared status error handler bug leading to an app crash.

v1.0.1

  • Major rewrite of the software core for better maintainability and easier improvement.
  • Improved responsiveness massively.
  • Improved reliability of commands on bad network connections and high amount of lights.
  • Added: Support for LIFX Switch
  • Added: Device specific icons are here! The icon assignment happens during device pairing. Unknown devices will have no icon, but the icon will appear once it has been added to the app. Please contact me if you have icons missing.
  • Added: App Settings page now includes LIFX communication error rate statistics for testing and diagnostic purposes.
  • Added: A new experimental feature was added to play predefined effects in a Homey zone.
  • Added: A new experimental feature was added to play user predefined effects. This will be available for closed beta on release of v1.0. I will update the app description at the very top about this when ready.
  • Added: Zones and devices’ zones membership cache to reduce cloud traffic, RAM and CPU consumption.
  • Added: Pre-pairing info message with some important notes.
  • Changed: You can now pair devices, even if they are already paired with a different LIFX app.
  • Removed: Ambient Flux has been disabled/removed because it is not officially supported. I will reenable it, should it ever serve an official purpose.
  • Fixed: Infrared value not updated if level was changed from within another app.
  • Fixed: A race condition which would kill the flow editor when trying to select a Homey zone.
  • Fixed: Zone command set color by hex code not accepting color from logic variables.
  • Updated: Imported latest bugfix updates of all involved node modules.
  • Known Issues: Energy data is currently not available for device id 15 (Color 1000), 19 (White 900 BR30 HV) and 96 (Candle White To Warm)

v0.12.4

  • Fixed: Set color by rgb hex code card not working with flow tokens

v0.12.3

  • Fixed: Zone action set temperature not switching to temperature mode

v0.12.2

  • Updated: athom-api to v3.2.7

v0.12.1

  • Updated: athom-api to v3.2.3
  • Updated: lodash to v4.17.15
  • Updated: uft8-binary-cutter to v0.9.2

v0.12.0

  • Added: Additional Show Progress action card for multizone devices, taking a custom scale as input

v0.11.1

  • Maintenance only. No functional changes.

v0.11.0

  • Added: Zone flowcard for advanced random colors
  • Added: Set random led color for mulitzone devices (BEAM, LIFX Z, …)
  • Added: Show Progress card to use multizone devices (BEAM, LIFX Z, …) as progress bar
  • Fixed: UI typos

v0.10.5

  • Minor UI improvement for zone selectors

v0.10.4

  • Maintenance only, no functional changes

v0.10.2

  • Changed: Changing the dim level of a single light by flow card does no longer cause the light to turn on. Except if it is matter to the logic behavior rules (see App Settings for details)
  • Added: Ability to manually choose the desired dim level logic (see App Settings for details)
  • Fixed: A potential crash problem if using whites only lights

v0.9.4

  • Fixed: Light mode change not detected if done by 3rd party app

v0.9.3

  • Just minor corrections for the app store

v0.9.2

  • Changed: Simplified app store info and replaced GitHub Links with Athom Community topic link

v0.9.1

  • Fixed: Wrong or no name during device pairing

v0.9.0

  • Added: App settings now shows a product version code for all devices
  • Added: Zone Card for setting random colors
  • Added: Energy Consumption data for all devices except LIFX Z, Z2, BEAM & Tile (These require some special handling)
  • Added: Device advanced settings dialog now includes energy consumption data as known by the driver app in addition to what was actually set
  • Changed: Now using icons for wifi strength to save space in app settings dialog

v0.8.1

  • Fixed: Reduced memory footprint by removing deprecated network queries
  • Fixed: Homey firmware required is now >=3.0.0
  • Fixed: Trigger device online/offline is now using the Homey device name instead of the LIFX device name

v0.8.0

  • Added: Action cards to control lights based on Homey Zones hierarchy (requires new permission)

v0.7.0

  • Initial Version using SDKv2