PoE Shade Manual Integration via Virtual Switch

I have a number of PowerShades PoE 2.0 shades, however they don't have a lot of integrations options, nothing that will allow the hub to directly interact with the shade that I have found so far. There used to be a Smartthings integration, but that went away when they moved to Edge drivers.

The 2.0 version of the shades do however have onboard webservers that will accept a html GET to set the shade level to a certain value 0-100.

I was able to test out the functionality of setting a value with a virtual switch using RM5, setting a rule that if the switch was set to "10" then send the position change to the shade ip of 10, and it works fine, but I would like to figure out a way to relay the setting of the virtual switch to the shade without having to set 100 rules per shade.

Hopefully I'm missing something obvious.

Use a Virtual Dimmer or Virtual Shade instead.

I have tried both Dimmer and Shade, both work fine for a single value, the problem is sending different values to the webserver for each percentage of the level without needing a separate rule for each 1%

I would set up a virtual shade, and then have a rule that activated the shade to a position based on the input of the virtual shade.

So set up a global variable that is populated by the position of the virtual shade (lets say 75). On change of that variable the rule then would send the position of 75 with your current rule (modified to read the variable of course) to the shade. That in theory should work. (Someone correct me if I'm wrong, and when it comes to rules there is certainly a good chance lol). You could then put that virtual shade slider on a dashboard. You could also write other rules to the the virtual shade position...

1 Like

You would not even need a global variable. A single rule with a rule variable should work.

Trigger: Virtual Shade Level Changes

Actions:
Save level of virtual shade to a variable
(may need second variable, to build the http string)
Set second variable to http string + the level variable where it belongs
Send the http call out.

That should be it...

4 Likes

@jtp10181 Much more elegant…

Thanks that’s what I needed.

Took me a second to figure out how to work with the variable, but after I created a local variable, I set one action to assign the variable the “position “ from the shade virtual switch, and the second action using that variable to send the new value to the web server.

Once I remembered to update the trigger “changed” it started working as expected.

Thanks again for the help!