[OBSOLETE] Trend Setter

Thanks. I’ll try it.

Dear @Kriskit

Firstly, I would like to thank you for your contribution to our community.

Secondly, I want to try and install your application, but after reading 261 posts and 3 years of history, I am a bit confused on what steps to follow.

When you have some time, I (and I think other noobs like myself), would find it very helpful if we could have an idiots guide to setting this up. Alternatively if this has already been done and is somewhere out there, can anybody send me a link?

Thanks!!

Installation instructions are in the 1st post. Just go in order.

But I read that the first post is not correct because Kriskit is unable to edit it. This caused many problems for some users, so I do not want to make the same mistake.

Believe me, I just spent more than 1 hour reading 2 years of posts…

Oh ok. Yeesh that sux. Seems like a new thread is in order with updated instructions…

@Kriskit

Yeah you’re probably right. I’ll have to try and get time to sort it out.

For now, if you are able to use GitHub integration, this post should help:

If not, then you’ll need to add all the SmartApp and Device Handler files in this repository manually into the IDE using the “From Code” mechanism:

I don’t currently have the time to make step by step instructions, and if I did, the worry is that they’ll change and I won’t be able to edit them again, so if I make a new thread, I’ll have to think of a better way.

Hope that’s of some help!

I’d like to remind everyone of this wonderful resource that we tend to forget about… Things That Are Smart, Wiki.

If someone would like to take the time to compile the steps to install there, and we were to utilize it for all new SmartApps, edited for any instruction changes, etc, then new releases could be directly linked there with all of the necessary information…
It would always be in the first post of a thread announcing something new, and could be contributed to by the community, including FAQ type information.

1 Like

So,

I have done the Github integration and I have found in they My Apps section of ST “Group” and “Trend Setter”

  1. which one should I be using and what is the difference between the two?

  2. Device Type: I am using 3 Inner RGBW, dimmable bulbs, so I assume the correct device type would be Colorful Light? What is the difference between Color and ColorFUL?

  3. Grouping: This looks straight forward, I put the name that I like and I select the 3 bulbs from the list that I want to group

  4. Controller, Colorful Light Name: I have no clue what I need to input here, I tried to use the same name that I inputed in (3) above but when I tried to save I get “An unexpected error has occurred.”

Thats all for now. Let me apologize to all in advance for my noobish questions.

Hi,

Apologies, there’s no need to publish anything other than the Trend Setter SmartApp. Easy way to rectify this and remove the Group app from the list in the My Apps section is to delete the Group SmartApp in the IDE, and then update from the repository again.

  1. Trend Setter
  2. You want the one that’s called “Colorful Light” (Colorful Light is just RGBW lights, Color Temperature Light is just for lights that support colour temperature and not RGBW, Colorful Temperature Light is for lights that support colour temperature AND RGBW)
  3. :slight_smile:
  4. This is the name of the virtual device that gets created that controls the devices in the group, normally I just use the same name as the Group. I had originally wanted it to use the same name as the Group but due to some weird bug or limitation I wasn’t able to so had to have separate names.

Hope that helps!

Ive added the 4 handlers and the smart app, but when i try to create a new Trend Setter group it just spins and spins, never actually makes a group (. any advice>
thanks

there are two smart apps…

and 6 device handlers…
com-2017-12-12-20-38-59

all can be found at his github repository…

ok thank you… i was using older things.

either way, the bulbs still dont work… they are just too flaky to be of any use, all 26 of my osram bulbs are being returned.
you click a group to do a job and sometimes they all go, sometimes only 50% of them, sometimes most of them. its never consistent. a real bummer because they are very cost effective

I tried to delete by clicking on the edit button next to the kriskit-trendsetter : Group, and then clicking “delete” at the bottom of the page but i get the following error: “This SmartApp can’t be deleted at this time because it is installed by one or more users”

Now I go into the App, I select Device Type (I tried both “colorful Temp Light” and “colorful light” as shown below:

I try to save and get get following error: " ! An unexpected error occurred. "

Anybody know what I am doing wrong?

It won’t delete whilst there is an instance of it in use in the app. You’d likely have to remove TrendSetter from the app before you can delete the Group SmartApp from the IDE.

As for the error, the only thing I can suggest is to open up the Logging page in the IDE whilst trying to save the group and see if it outputs an error in there and post it on here if it does. I suspect it’s gotten into an odd state somewhere.

Is this what you are looking for?

92577079-602b-4ce7-b893-d0db5bcabb69 4:14:38 PM: debug Parse returned {{ linkText }} has left
b483fd66-08fa-4d82-bb09-1fee1642568c 4:14:23 PM: debug createChildDeviceEvent(‘0017887BDC7C/4’, [name:color, value:#FF0000, descriptionText:Color has changed, displayed:true])
b483fd66-08fa-4d82-bb09-1fee1642568c 4:14:23 PM: debug createChildDeviceEvent(‘0017887BDC7C/4’, [name:saturation, value:100, descriptionText:Color has changed, displayed:false])
b483fd66-08fa-4d82-bb09-1fee1642568c 4:14:23 PM: debug createChildDeviceEvent(‘0017887BDC7C/4’, [name:colorTemperature, value:2000, descriptionText:Color temperature has changed])
b483fd66-08fa-4d82-bb09-1fee1642568c 4:14:23 PM: debug createChildDeviceEvent(‘0017887BDC7C/4’, [name:level, value:100, descriptionText:Level has changed to 100%])
b483fd66-08fa-4d82-bb09-1fee1642568c 4:14:23 PM: debug createChildDeviceEvent(‘0017887BDC7C/4’, [name:switch, value:off])
b483fd66-08fa-4d82-bb09-1fee1642568c 4:14:23 PM: debug createChildDeviceEvent(‘0017887BDC7C/5’, [name:saturation, value:100, descriptionText:Color has changed, displayed:false])
b483fd66-08fa-4d82-bb09-1fee1642568c 4:14:23 PM: debug createChildDeviceEvent(‘0017887BDC7C/6’, [name:color, value:#05FF00, descriptionText:Color has changed, displayed:true])
b483fd66-08fa-4d82-bb09-1fee1642568c 4:14:23 PM: debug createChildDeviceEvent(‘0017887BDC7C/6’, [name:saturation, value:100, descriptionText:Color has changed, displayed:false])
b483fd66-08fa-4d82-bb09-1fee1642568c 4:14:23 PM: debug createChildDeviceEvent(‘0017887BDC7C/6’, [name:hue, value:33, descriptionText:Color has changed, displayed:false])
b483fd66-08fa-4d82-bb09-1fee1642568c 4:14:23 PM: debug createChildDeviceEvent(‘0017887BDC7C/6’, [name:level, value:100, descriptionText:Level has changed to 100%])
b483fd66-08fa-4d82-bb09-1fee1642568c 4:14:23 PM: debug createChildDeviceEvent(‘0017887BDC7C/4’, [name:hue, value:0, descriptionText:Color has changed, displayed:false])
b483fd66-08fa-4d82-bb09-1fee1642568c 4:14:23 PM: debug createChildDeviceEvent(‘0017887BDC7C/5’, [name:color, value:#FF0000, descriptionText:Color has changed, displayed:true])
b483fd66-08fa-4d82-bb09-1fee1642568c 4:14:23 PM: debug createChildDeviceEvent(‘0017887BDC7C/6’, [name:switch, value:off])
b483fd66-08fa-4d82-bb09-1fee1642568c 4:14:23 PM: debug createChildDeviceEvent(‘0017887BDC7C/1’, [name:color, value:#F9FCFF, descriptionText:Color has changed, displayed:true])
b483fd66-08fa-4d82-bb09-1fee1642568c 4:14:23 PM: debug createChildDeviceEvent(‘0017887BDC7C/1’, [name:saturation, value:2, descriptionText:Color has changed, displayed:false])
b483fd66-08fa-4d82-bb09-1fee1642568c 4:14:23 PM: debug createChildDeviceEvent(‘0017887BDC7C/1’, [name:hue, value:58, descriptionText:Color has changed, displayed:false])
b483fd66-08fa-4d82-bb09-1fee1642568c 4:14:23 PM: debug createChildDeviceEvent(‘0017887BDC7C/2’, [name:hue, value:13, descriptionText:Color has changed, displayed:false])
b483fd66-08fa-4d82-bb09-1fee1642568c 4:14:23 PM: debug createChildDeviceEvent(‘0017887BDC7C/2’, [name:colorTemperature, value:2732, descriptionText:Color temperature has changed])
b483fd66-08fa-4d82-bb09-1fee1642568c 4:14:23 PM: debug createChildDeviceEvent(‘0017887BDC7C/1’, [name:switch, value:off])
b483fd66-08fa-4d82-bb09-1fee1642568c 4:14:23 PM: debug createChildDeviceEvent(‘0017887BDC7C/2’, [name:color, value:#FFCE77, descriptionText:Color has changed, displayed:true])
b483fd66-08fa-4d82-bb09-1fee1642568c 4:14:23 PM: debug createChildDeviceEvent(‘0017887BDC7C/2’, [name:saturation, value:55, descriptionText:Color has changed, displayed:false])
b483fd66-08fa-4d82-bb09-1fee1642568c 4:14:23 PM: debug createChildDeviceEvent(‘0017887BDC7C/3’, [name:color, value:#F9FCFF, descriptionText:Color has changed, displayed:true])
b483fd66-08fa-4d82-bb09-1fee1642568c 4:14:23 PM: debug createChildDeviceEvent(‘0017887BDC7C/2’, [name:level, value:100, descriptionText:Level has changed to 100%])
b483fd66-08fa-4d82-bb09-1fee1642568c 4:14:23 PM: debug createChildDeviceEvent(‘0017887BDC7C/2’, [name:switch, value:off])
b483fd66-08fa-4d82-bb09-1fee1642568c 4:14:23 PM: debug createChildDeviceEvent(‘0017887BDC7C/3’, [name:saturation, value:2, descriptionText:Color has changed, displayed:false])
b483fd66-08fa-4d82-bb09-1fee1642568c 4:14:23 PM: debug createChildDeviceEvent(‘0017887BDC7C/3’, [name:hue, value:58, descriptionText:Color has changed, displayed:false])
b483fd66-08fa-4d82-bb09-1fee1642568c 4:14:23 PM: debug createChildDeviceEvent(‘0017887BDC7C/3’, [name:colorTemperature, value:4149, descriptionText:Color temperature has changed])
b483fd66-08fa-4d82-bb09-1fee1642568c 4:14:23 PM: debug allHueDevices: [Window Lamp, Top Light, Middle Lamp, wave top left, wave top right, wave bottom]
b483fd66-08fa-4d82-bb09-1fee1642568c 4:14:23 PM: debug createChildDeviceEvent(‘0017887BDC7C/3’, [name:level, value:100, descriptionText:Level has changed to 100%])
b483fd66-08fa-4d82-bb09-1fee1642568c 4:14:23 PM: debug createChildDeviceEvent(‘0017887BDC7C/3’, [name:switch, value:off])
b483fd66-08fa-4d82-bb09-1fee1642568c 4:14:23 PM: debug pollResponseHandler()
b483fd66-08fa-4d82-bb09-1fee1642568c 4:14:23 PM: debug checkBridgeStatus()
b483fd66-08fa-4d82-bb09-1fee1642568c 4:14:23 PM: debug poll()
e9ac330c-8376-4f0b-869d-1fe683c1a433 4:14:07 PM: error physicalgraph.app.exception.UnknownDeviceTypeException: Device type ‘Colorful Temperature Light Group Device’ in namespace ‘kriskit-trendsetter’ not found.
e9ac330c-8376-4f0b-869d-1fe683c1a433 4:14:07 PM: debug Installing switch group controller device…
e9ac330c-8376-4f0b-869d-1fe683c1a433 4:14:07 PM: debug Installed with settings: [deviceType:colorTempLight, devices:[wave top right, wave top left, wave bottom], deviceName:Virtual Wave Lamp, bidirectional:false]
e9ac330c-8376-4f0b-869d-1fe683c1a433 4:13:19 PM: debug getChildDevices(false), children=0
e9ac330c-8376-4f0b-869d-1fe683c1a433 4:13:19 PM: debug Building type definitions…
e9ac330c-8376-4f0b-869d-1fe683c1a433 4:13:19 PM: debug getChildDevices(false), children=0
e9ac330c-8376-4f0b-869d-1fe683c1a433 4:13:07 PM: debug Building type definitions…
e9ac330c-8376-4f0b-869d-1fe683c1a433 4:13:07 PM: debug getChildDevices(false), children=0
d95075e4-7653-43d8-a5b6-f29e3ffd3b03 4:12:55 PM: trace getPhrases(), state.welcomeIssue = null

The “Colorful Temperature Light Group” device handler is missing, make sure you’ve added them all in the IDE either through the GitHub integration or manually :slight_smile: (you don’t need to publish them)

Thanks Chris!

This is something that I have never done before, can you point me towards the right direction?

Since you used the GitHub integration previously, it should be very similar to how you installed the SmartApps:

Got to “My device handlers”, then click “Update from Repo” and select “SmartThings (TrendSetter)”
image

You should get a list of device handlers that haven’t been added

Select them and click “Execute Update” - you don’t need to tick the publish box.

@Kriskit Great! Looks like it is working smoothly :smile: Thank you very much.

1 Like

Hoping someone can help - I was trying to create a group, but the app crashed and now after opening the smartapp it’s got a group called signal. There’s no device called signal and cannot delete the group - can’t even open the group. How do I get rid of it?