Needing help: Hunter Douglass / Powerview Shades

@rsteve how's it working?

perfectly! thank you so much! that was the last thing to convert over from ST. so happy!

Nice job getting this converted over! I have one question. Do you have the capability to set the blinds at variable positions utilizing a dimmer switch on your dashboard? I am debating on going hunterdouglas or Bali (somfy).

New user moving devices to Hubitat from WINK.

I’ve updated my Hubitat with your three code sets (app, driver-shade, driver-scene) and have seen the hub IP prompt. However, when I enter the IP address for my PowerView V2 (round, white) hub, it sits at the following prompt:

Fetching hub info...

Shades

Searching for installed shades...

Scenes

Searching for installed scenes...

Thoughts?

I have the same issue, I would love to get this working, but do not know enough to tweak it.

Sorry...I have been out of touch. I don't know the difference with the V2. I have an old original. The app is fairly simple, if you can figure out API.

Regarding the dimmer settings, I also don't know. I use scenes and just activate those like a switch.

Hi Steve/All,

I really appreciate the code for this but I am having an issue getting it to work. It found the powerview hub and scenes from within hubitat but it’s not running the scenes.

BTW, I am on a Gen2 powerview hub and the latest hub from habitat. I also reserved the IP address for the powerview hub.

Can someone help me out asap as I am at a client now?

If I goto a browser for the scene to close the drapes, i typed this but the drapes do not close.

http://192.168.1.45/api/scenes?sceneid=1283

{"sceneIds":[58315,57093,1283],"sceneData":[{"roomId":29870,"name":"T2ZmaWNlIFZhaW5zIE9wZW4=","colorId":15,"iconId":168,"networkNumber":171,"id":58315,"order":2,"hkAssist":false},{"roomId":29870,"name":"T2ZmaWNlIFVw","colorId":15,"iconId":168,"networkNumber":61,"id":57093,"order":1,"hkAssist":false},{"roomId":29870,"name":"T2ZmaWNlY2xvc2Vk","colorId":15,"iconId":168,"networkNumber":140,"id":1283,"order":0,"hkAssist":false}]}

Does it matter that the sceneid is all in lowercase? I read somewhere that sceneId needs to have the uppercase "I" in it?

Here is the log for this scene:

dev:242019-09-20 01:41:22.458 pm debugCMD off()
dev:242019-09-20 01:41:21.848 pm warnparse() not implemented! Got: 'mac:CCC079264752, ip:c0a8012d, port:50, headers:SFRUUC8xLjEgMjAwIE9LDQpYLVBvd2VyZWQtQnk6IEV4cHJlc3MNCkNvbnRlbnQtVHlwZTogYXBwbGljYXRpb24vanNvbjsgY2hhcnNldD11dGYtOA0KQ29udGVudC1MZW5ndGg6IDQyOA0KRGF0ZTogRnJpLCAyMCBTZXAgMjAxOSAxNzo0MToyMCBHTVQNCkNvbm5lY3Rpb246IGtlZXAtYWxpdmUNCg==, body:eyJzY2VuZUlkcyI6WzU4MzE1LDU3MDkzLDEyODNdLCJzY2VuZURhdGEiOlt7InJvb21JZCI6Mjk4NzAsIm5hbWUiOiJUMlptYVdObElGWmhhVzV6SUU5d1pXND0iLCJjb2xvcklkIjoxNSwiaWNvbklkIjoxNjgsIm5ldHdvcmtOdW1iZXIiOjE3MSwiaWQiOjU4MzE1LCJvcmRlciI6MiwiaGtBc3Npc3QiOmZhbHNlfSx7InJvb21JZCI6Mjk4NzAsIm5hbWUiOiJUMlptYVdObElGVnciLCJjb2xvcklkIjoxNSwiaWNvbklkIjoxNjgsIm5ldHdvcmtOdW1iZXIiOjYxLCJpZCI6NTcwOTMsIm9yZGVyIjoxLCJoa0Fzc2lzdCI6ZmFsc2V9LHsicm9vbUlkIjoyOTg3MCwibmFtZSI6IlQyWm1hV05sWTJ4dmMyVmsiLCJjb2xvcklkIjoxNSwiaWNvbklkIjoxNjgsIm5ldHdvcmtOdW1iZXIiOjE0MCwiaWQiOjEyODMsIm9yZGVyIjowLCJoa0Fzc2lzdCI6ZmFsc2V9XX0='
dev:242019-09-20 01:41:21.712 pm debugsendRequest: GET 192.168.1.45:80/api/scenes?sceneid=1283
dev:242019-09-20 01:41:21.709 pm infoHost for sendRequest: ${host}
dev:242019-09-20 01:41:21.707 pm debugCMD push(1283)
dev:242019-09-20 01:41:21.703 pm debugCMD on()
dev:242019-09-20 01:32:43.450 pm debugCMD off()
dev:242019-09-20 01:32:41.793 pm debugCMD off()
dev:242019-09-20 01:26:31.170 pm debugcalled setHubInfo() - hubMAC=null hubIP=192.168.1.45 hubPort=80 pvSceneId=1283
dev:242019-09-20 01:26:31.151 pm infoCMD installed()
--- Loading Past Logs... ---

After further research, I see people at the vera hub community had similar issues. It seems some have gotten it to work with v2 of the powerview hub. My client just spent a fortune on these powerview motors and expects this to work. Any ideas please?

See more here:

similiar issues with vera and powerview

Hunter Douglas PowerView API

Hey Steven. Sorry for your troubles. If I remember correctly, I had a similar issue when I was on SmartThings. My solution was to just find a used v1 on eBay. I don't think there's any difference in functionality. Been working flawlessly ever since.

Hi, so it turns out that if I goto a browser and use the URL with the sceneId having the "I" in upper case, it works.

So how do I either edit the existing code or am I able to just simply make a tile run that exact url that works?

If am supposed to edit the code, which file and row do I edit?

I think its row 124 in this file, but I am not sure if that's it and is there anything else I need to do?

The code is:
sendRequest("GET", "/api/scenes?sceneid=${state.pvSceneId}")

Thanks for any help.

Steve

I haven't tried this yet. Is that all I need to change?

Please let me know,
Thanks!