*BUG* with colorControl working for routines on Android

I am working on custom driver loosely based on the zwave-bulb and this profile: SmartThingsEdgeDrivers/drivers/SmartThings/zwave-bulb/profiles/fibaro-rgbw-controller.yml at main · SmartThingsCommunity/SmartThingsEdgeDrivers · GitHub

It has multiple components in the profile, to allow separate controls for the RGB and W channels on this LED controller.

During testing this is the issue that was found

  • When trying to make a routine only the on/off options show up for the non-main components. The color picker does not show on the RGB channel, and the Dimmer does not show on White (not in the example but it is in my custom driver).
  • Issue is Android Only - iOS app seems to work correctly.
  • Tested on two totally different Android devices by two separate people.
  • Issue only happens in routines, the details view works correctly.
  • Issue only happens with non-main components (I tested adding colorControl to main which works).
  • I used the CLI to check the generated presentation ID and everything looks normal.

iOS:

Android:

Also, is there an easy way I can just force that example driver/profile I linked up above on to a device or virtual device or something for testing? Other than copying the driver, modifying it to allow it for my device and publishing it to my channel, which I know how to do but it is annoying.

I have confirmed this bug exists on the SmartThings official driver using this profile: SmartThingsEdgeDrivers/drivers/SmartThings/zwave-bulb/profiles/fibaro-rgbw-controller.yml at main · SmartThingsCommunity/SmartThingsEdgeDrivers · GitHub

To test I modified the fingerprint to include the device I am working on with that profile as default and pushed it to my own channel for testing.

Hi @jtp10181

To help us investigate further, could you please share the following information with us?

• Account access so the team can review some details.

  1. Confirm the email account registered in the forum is the same one you use for SmartThings. If not, please share it with me over DM.
  2. Enable support access to your account:
  1. Go to the SmartThings Web (my.smartthings.com)
  2. Log in to your Samsung Account
  3. Select Menu (⋮) and choose Settings
  4. Toggle on Account Data Access
  5. Select the time period and confirm - In this step, please select “Until turned off”, once the team finishes, we’ll let you know so you can disable it again.

More info about this access here: https://support.smartthings.com/hc/en-us/articles/36170233944852-Enabling-Account-Data-Access-for-Support

• Device name so we can obtain the device ID and presentationId
• App logs from both iOS and Android devices

Android

  1. Go to Menu > Gear Icon > About SmartThings
  2. Tap the SmartThings logo 10 times.
  3. This will open the developer’s space > tap ‘report a problem’
  4. This will send you to the report page. Select a frequency and write a short description of the issue.
  5. Click on “Report” and a log file will be generated for you to send over email, please do to build@smartthings.com

iOS
First:

  1. Enable the creation of additional logs in the app:
  1. In the ST app, go to “menu” > “settings”.
  2. At the bottom of that page, you’ll find a section called “Troubleshooting”. Please, enable the option that says “Create Additional SmartThings Log”.
  3. Restart the app
    Then:
  1. In the app menu, go to “contact us”
  2. Then, tap on “Error reports”
  3. On the opened page, tap 10 times on the title/label “What is the error about?” or until the prompt to create a log appears.
  4. Click on “ok” and wait for the process to finish. Then, save the generated file in the place you prefer and share it with us at build@smartthings.com

For the app logs, please reproduce the issue first by opening the app, attempting to create a routine, and then immediately collecting and sharing the app logs from the device.

  • Account is the same email.
  • Access enabled
  • Device name is “zooz-zen56-rgbw”
    • label is “Zooz ZEN56 RGBW Dimmer 1”
    • With Driver: “Z-Wave Bulb” (ST driver barley modified) Presentation ID is c019dd32-5732-3bb4-815c-163a81faef9c
    • With my new driver: “Zooz RGBW Dev”, ID is 5b463043-a595-3b0c-8eb6-8e5a60ce676e
  • Android logs sent (twice because the instruction to reproduce the error first is at the bottom) request #1624987
  • iOS Legs sent request #1624985
1 Like