Help combining three shades as one

I'm not sure about that as I've never tried doing that. Maybe @bravenel would know?

Editing the parent app would have no direct impact on the child apps, provided its name remains the same, and it's the same source 'file'. There is no way to reconnect or change the parent/child association of child apps. Deleting the parent app would delete all of its child apps. But, editing it, even by wholesale replacement, will not change the parent/child association (thankfully). Think about it, we have to make changes all of the time to parent apps and child apps, without upsetting the apple cart.

Worked like a charm! Thank you!

I keep getting this error in logs for 'Shade Controls':
2022-01-16 10:35:20.992 pm errororg.codehaus.groovy.runtime.metaclass.MissingMethodExceptionNoStack: No signature of method: user_app_hubitat_Shade_Controls_596.handler() is applicable for argument types: (com.hubitat.hub.domain.Event) values: [com.hubitat.hub.domain.Event@1237287] (handler)

Just what I was looking for. Thank you.

I have multiple shades in my home using this app for some time now. However, one group in particular just seems to have a mind of its own. My Back Shades are a set of two zigbee shades where one is operated in the forward direction and the other reverse. All of my other shade groups are in the same direction (forward).

Sometime for no reasons I can detect, the 1st shade (forward) in my pair while the shade control group is closing gets up to 10-15% from closed and decides it should open. Then in other cases, if opening it decides to go astray and close. It used to be once a month, now its nearly every day. I have the shades set to open around sunrise and close at sunset.

The only clear difference is that this pair has different direction settings for the two shades in the Shade Control Instance. Can this be the cause of the problem, is there a way to fix this or a procedure I am missing?

The reason they have to be in different directions is because they use Zemismart roller motors with AC supply cords on one end of the motor. The power sockets for each window are on the outside of this double window frame, so that one motor cord is on the right side of the window and the other on the left. Simple depiction shown below:

[X--------------] [-------------X]

Hello, new to all this. added Graber power blinds to our home and have them all working individually by rooms with my Hubitat hub. I have added Bruce's "Shade Controls" parent app and "Shade Control Instance" child app into my "Apps". I want to be able to raise all blinds in a room to 85% in the morning and close them in the evening (at set times if possible). I have been unable to create a dashboard tile to execute the "Shade Control" app for each room. Could someone please provide the steps, now that the apps are installed, to execute the code? I have created a virtual shade device, but that is as far as I have been able to stumble. I have also read hours of user posts and Hubitat "get started" docs but here I am. Thanks

I just did this with ThirdReality blinds. The Shade Controls app created/used a virtual shade device. You used that device for your rules. Just add that device to the devices for the Dashboard of choice. Then in the dashboard create a new tile using the devices and the Shades template.

1 Like

I am not sure by what you wrote whether you want to always set the shades to 85% via a dashboard, or if you want what ccoupe above outlines where you have a "dimmer" (slider) on the dashboard where you can control the shades?

If you want a button where you press it and the shades always do something, you would create a virtual button named "raise blinds morning". Go to a Basic Rule, and create a rule using this newly created button "When a button is pressed" do this action "Open shades to 85%". Then add this button to a Dashboard (be sure to add it to the Dashboard App in the Apps tab first)

You can do a second Basic Rule to close using a second virtual button if desired.

Thanks, your both right, I wasn't clear. All blinds are currently controlled individually. On the Dashboard I have defined individual rooms (eg. Bedroom, Family room). within each room is a tile for each blind using ccoupe's method (I imported the "Springs Window Fashions Roller Shade" device code from Github). Each morning my wife has to use the slider to open each blind to 85% - this is what she wants me to automate by room and one for all blinds.

I initially tried to create the automation with "Basic Rule" and failed miserably as I could never get the 85% to work. After more research that's when I found Bruce's code but maybe I don't need it.

I will work on this again per neonturbo instructions and let you know.

It depends on where the blinds and windows are used. In my office I have two windows so I named the blinds 'office shade left' and 'office shade right'. Then I defined a virtual shade 'office blinds' and grouped that with Shade controller for the two 'shade' devices. Note: I use the word 'shade' for individual devices and 'blinds' for a group.

The 'office blinds' device (group) is used on the Dashboard to set the position or close. I also use it with Alexa so I can say Alexa 'set office blinds to 80'. I also have a Alexa good morning routine that sets a virtual switch in Hubitat which triggers a rule to open all blinds groups.

ccoupe, I get no response from the dashboard tile - think I may not be linking the "virtual shade" correctly. I have all blinds individually created as "Devices". I have "Rooms" created for each grouping of devices.

I created a "Virtual Shade" in "Devices" called "Morning Blinds" with the standard defaults and added the following settings:
set position = 85
Transition time = ASAP
Room = Den (note, for testing purpose I only have 1 blind in Den. when I get this working I will create a room called House with all the blinds included)

I then went to "Apps" and selected my "Test" Dashboard and under "Choses Devices" I selected "Morning Blinds" (the virtual device created above)

I then went to "Dashboards" and selected the "Test" dashboard. The tile is defined using the Device "Morning Blinds" and Template "Button". The tile shows a finger pressing a button and labeled morning blinds.

When I select the tile I expected the Den blind to open to 85%, but nothing happens.

I think the problem is I am missing the step where I link/group devices to the virtual shade...maybe

I'm not familiar w/the app/device drivers in use with your shades, but shades are supported in the Room Lighting app. If your shades expose a % close/open setting, you should be able to use an RL scene set to activate based on time, or as a switch in a dashboard, to get what you want.

Set the shades to the desired opening manually (all three of them) then capture them as a scene in the Room Lighting app, and then set that scene to come on at the specific time you want.

In Room Lighting you can create an "activator" (basically just a virtual switch created by the app that is tied to your scene) to enable/disable the scene in a dashboard. Add the scene activator to a dashboard and all your wife should have to do is tap on it to set all the shades to the desired position if she wants to control the blinds from a dashboard.

Below is an example of what the scene activator from a blinds scene I have looks like.
Off
2022-10-17 12_27_21-Chrome Main

On
2022-10-17 12_29_27-Chrome Main

Read up on using Room Lighting here:

Here is where I defined one of my groups of shades/blinds


and here is a Rule Machine rule that sets the position of some of the groups

Danabw, after reading all the doc, I got your method to work with one small issue. After triggering the dashboard switch and the blinds open to 90% (set in the scene), when I go back to the App screen it says "Morning Open (Not Set)" . If I "Re-capture Scene" then it changes back to "Morning Open (On)" Did I miss a step/option to lock in the settings?

Good to hear.

The app page in the browser may just need a refresh (Ctrl-R or right-click reload) to show the current state...displayed state may not update in the UI right away. If the shades are opening as expected, then you should be fine.

I had to back out all the multi-shade automation. When I used the "Group and Scene", while it worked it did not update the individual blind dashboard tiles, so we had no way to know what percent the blinds were at (a key requirement for us). The key is to find automation that when grouping, still uses the same Device driver "Springs Window Fashions Roller Shade".

The easiest for new people like me would be if Hubitat added a "Group - Shade" using our device driver. This way, the group level tile would indicate the percent open/close (although it may not update the individual shade tiles).

If I understand Alexcapone's parent/child code, I think it would update a group tile open/close level, so when I get more time (break from home repairs) I will attempt to figure out how to trigger the code from a virtual shade tile on the dashboard.

I have implemented the Shade Control app provided by bravenel/alexcapone to combine two yoolax shaded into a single shade control. I am using the generic zigbee shade driver for these two blinds. My intent is to be able to control both blinds with a single command to Alexa.

I can open and close the shades using the device panel for the virtual device. However, I cannot set a position between open and close. When I enter a number into the position button, It fully opens the shades. This does work correctly on the individual blinds.

Am I missing something? Maybe this is not possible but from what I read it seemed to be possible.

The other issue is I cannot control the virtual from Alexa. Although Alexa has the virtual defined as a shade, and she says ok when told to open or close, it never results in the shades moving. I can go into Alexa and use the slider control for the device but again nothing ever happens. Maybe this is not possible as well.

Use the built-in Room Lighting app instead. That code was provided well before it's existence.

1 Like

I have looked at using Room Lighting but unless I am missing something it would only allow me to have predefined shade positions that I would then trigger from a virtual device. Which may be what I will have to do.

My intent was to be able to tell Alexa what position I wanted and control both blinds to that position.