Importing Lighting Apps into Room Lighting

Importing Lighting Apps into Room Lighting

It is possible to import existing instances of Motion Lighting, Mode Lighting, Scene-1.2, Group-2.1 and Scene Transition into Room Lighting. A new Room Lights app is created for each import, and implements an equivalent automation.

When this import is done, you can open the now fully installed imported Room Lights from the link provided, or from the Apps page. When first imported, the new Room Lights app is Paused. This is because at that moment you have two identical automations, the original and the new imported Room Lights. To put the imported Room Lights into service, you should first Pause or Disable the original app (Disable is better), and then Resume the Room Lights app. To disable the old app, use the hidden column of check boxes, revealed by clicking on the X in the upper right portion of the Apps page;

Motion Lighting

All of the features of Motion Lighting are supported in Room Lights. Most options in ML have direct counterparts. The created Room Lights will use modes if the original ML uses modes.

Mode Lighting

All of the features of Mode Lighting are supported in Room Lights. The created Room Lights will use the same modes as the original Mode Lighting app. The options are all directly available.

Scene-1.2

When a Scene-1.2 is imported into Room Lighting, the resulting Room Lights app will have the same settings as those currently captured in the Scene. It will also have an activation device with the same name as the Scene, that works the same way. If a capture device is used with the Scene-1.2, a similar child device will be created for the Room Lights app. This device would Re-Capture the settings for the then current mode.

If Restrictions are used in the Scene, those are set up in Room Lights with one minor exception: Restrictions in Scene apply equally to activating the Scene and turning it off. If the Restriction 'Only When Mode Is' is used, only the corresponding Condition that Limits Activation will be set, not the one that limits Turning Off. This is because the sense of the Restriction for turning off is backwards from how the Condition that Limits Turning Off works. It is still possible to have an equivalent Condition, if this is needed, but it will have to setup manually.

Group-2.1

When a Group-2.1 is imported the resulting Room Lights app will include the same devices, and will have an Activation Device created with the same name as the Group. This Activation Device will work the same way as it does for Group. There are 4 different drivers that might be automatically selected, depending on the types of devices in the Group:

  • Room Lights Activator Bulb
  • Room Lights Activator Dimmer
  • Room Lights Activator Switch
  • Room Lights Activator Shade

There is also a 5th driver used: Room Lights Activator that has all of the attributes of the other 4 in a single driver. Should the Activator Device that is created for the Room Lights instance not have the driver needed, it is possible to use any of the other Room Lights Activator drivers by changing the driver selection of the Activator Device's device page.

Scene Transition

A Scene Transition may be imported, and the resulting Room Lights will incorporate both of the two Scenes that comprised the original Scene Transition app. The Activation Devices is created. When a Transition is run, the assumption is that the beginning Scene was already activated when the transition begins. A Scene Transition makes this assumption as well, and transitions from what would be the settings of the first Scene. As such, the activation of either a Scene Transition or of the resulting imported Room Lights runs the defined transition.

The settings of the target transition are shown on the main page of Room Lights. The source scene settings can be seen and adjusted on the Setup Modes page.

3 Likes

24 posts were split to a new topic: Importing Room Lighting (beta feedback)

Download the Hubitat app