ericvitale / ST-LIFX-Group-of-Groups

Allows you to create a device based on a set of LIFX groups. If you have a group called "Kitchen" and a group called "Dining Room", you can create a group of groups called "First Floor" (or whatever) and add the two LIFX groups to it. You can treat the two groups as a single device. This handles up to 10 groups per device.
Apache License 2.0
5 stars 10 forks source link

DH and SmartApp changes. #4

Closed ghost closed 2 years ago

ghost commented 6 years ago

DH has following changes:

  1. UI updates.
  2. Changes to display of Light Status. UI displays proper status of bulbs that are on vs. off.
  3. Changes to sync functionality. Sync SmartApp is also updated for these changes.
  4. Added preference for refresh schedule, which is set to 1 minute. With updated sync smartapp, it should be okay to set the sync schedule to a higher number (I thought 1 minute is too many requests to LIFX without a lot of gain)
  5. Added some extra logging and fixed typos.
  6. Added a bulb status tile, to display the number of bulbs that are responding from LIFX.

SmartApp has following changes:

  1. There's no need to configure 2 automations for 2-way sync. Single automation should handle this now.
  2. SmartApp now sends a 'partial' sync status to the groups. This is useful for scenarios where LGoG-A contains LGoG-B and LGoG-C. When LGoG-B turns off, LGoG-A shows partial status and a poll is triggered.

I've been testing these changes for a week now and they seem to work pretty good. Some of these are personal preference, so let me know what you think and/or if you have any concerns.