Hunter Douglas Powerview component - expanding this API

hey mate - mentioned over here Adding Tilt to the Hunter Douglas PowerView Cover integration (Luxaflex) - #9 by peterclark

it’s coming.

Your Issue you raised would indicate you are ok hitting the api yourself. Can you go to http://yourip/api/shades and make sure your top/down blind is either type 8 or 47

I havent been able to find any API documentation detailing all the different shade types and these are the only two currently supported in the API

The Duette units I’ve got are type 8.

It’s tedious wading through the /api/shades data since they use Base64 to encode the shade names. Notepad++ and the MIME plugin to the rescue!

@wkearney99 I want to share some information with you about top down bottom up shades, and I wanted to PM you, but since I just created this user account today, I am apparently forbidden to PM you, can you please PM me and I can reply with the information.

I have a bunch of Duolite shades, and the API lists them as type 9. I also have a single top-down/bottom-up Duette shade which is type 8. Home Assistant seems to be exposing both identically though. It’s very frustrating to me that this integration only exposes the bottom rail and not the middle rail.

The cover platform doesn’t seem to have direct support for top-down/bottom-up shades for some reason. Absent that, the powerview integration could always expose a second entity here for the middle rail, that just has the potential to be confusing with the position slider. I suppose the middle rail entity could interpret its position relative to the bottom rail, e.g. 100% open would mean “calculate the appropriate position based on the current position of the bottom rail” and moving the bottom rail could then just calculate a new middle rail position accordingly. That should be doable with the cover platform today, although I have to imagine that top-down/bottom-up shades aren’t that uncommon so maybe the cover platform should be extended to support this notion directly instead.

There is an open pull request that might get you there: Add support for topdown shades to hunterdouglas_powerview by kingy444 · Pull Request #62788 · home-assistant/core · GitHub

There is an architecture discussion open on this topic here Extending Cover Entity - Support for multiple motors · home-assistant/architecture · Discussion #745 · GitHub

1 Like

Just sent you a PM for the info i need to include these

sorry to bug on this, curious on the state of tdbu (such a mouth full to write/say! top down bottom up) blinds, it looks like this PR was merged? 2022.7 perhaps?

Will be in beta on the 29th
https://calendar.google.com/calendar/render?cid=p07n98go11onamd08d0kmq6jhs%40group.calendar.google.com

We hope you’ll join us for the beta and provide feedback

100% will!

@Kingy444 you already have Pirouette done! they are type 18 and capabilities 1; with tilt support already…

Yea at the time I didn’t realise this :joy: Made sense because no other shade used two type codes for one type

Made including them much easier :wink:

I recently upgraded to HA 2022.7.3 — and looks like TDBU was merged already?! amazing. I thought it’d be in beta for much longer.

here is my understanding of how TDBU works via HA:

top blind is the top bar. 0 is when the bar is at top. 100 is when the bar is as far away from top as possible. bottom blind is the bottom bar. 0 is when the bar is at the bottom. 0 is when the bar is at the top. so:

close blind:
top blind = 0
bottom blind = 0

open blind:
top blind = 0
bottom blind = 100

top half closed:
top blind = 0
bottom blind = 50

bottom half closed:
top blind = 50
bottom blind = 0

if anyone was working on some form of middle ware for how to control blinds with remotes i’d love to see it because my node red is becoming insanity! 1 pico remote controls 3 blinds in one room. https://share.cleanshot.com/LXZxZy

Positioning is all in the doco - update to 2022.7.4 if you have tdbu there was a fix I needed to push

What are you trying to get at about middleware ? Isn’t HA the middleware in this circumstance lol
Get some cheap IKEA remotes :slight_smile:

Kingy444,

I’m interested in the DuaLite Roller Shades (Blackout, Type 79) functionality. Looks like you wrote code to support this in the API, but its not yet implemented in the HA integration. I’m new to HA, and Python, but willing to lend a hand however I can (coding, testing, etc).

Right now I have to use scenes to control the back blackout shade (which actually isn’t too terrible), but would love the same concept as the TDBU with a separate shade.

Let me know how I can help!

@jhstroebel any shades listed over in the doco will eventually be added to the core plugin we however require the api to be updated to do so (which you have noted above)

We should only need to test shades that aren’t listed in the documentation as I have worked through all current shades testing. Once API is updated I will port code to core.

Awesome! I kinda figured as much… I started down the rabbit hole of how would I update the API (then realized you had), and figured I’d reach out. Thanks for all your hard work on this!

Any idea when we might see that?

Does anyone have type 69, 70 or 71 shades ?
We need to check the JSON out on these

With upstream now being updated code is almost ready to get all shades into core.

If there is anyone in this thread that fits the below testing/bug reports are welcome to make migration into core run smoothly

Hi Kingy444, I clicked on the link for “Instructions on how to setup Hunter Douglas PowerView scenes within Home Assistant” but it just took me to the Integration page and there’s no mention of how to set up scenes.
Do you have other instructions elsewhere to set up scenes?

Whatever scenes you have setup in PowerView are imported automatically