Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
CQC to PowerView Hub via Serial Driver
#11
Something has changed with my hacking around trying things. I tried PuTTy again and I don't get the command through to the Hub. Shade does not respond, and I get the !EE response indicating a problem. However, I can still get the proper response with ?SO which is the Scene detail.

I'll have to figure out what is going on before moving back to CQC testing.
Reply
#12
Hunter has given me the information to access the Hub with IP rather than Serial.  That's good since Gen 2 of the Hub only has IP access, no Serial.  I'm still on Gen 1, but the process is the same.

Here's what I get when I request what's in the Hub.  From this, I can figure out what the command should be to operate the Shade or Scene.

{"shadeIds":[63086,18232],"shadeData":[{"id":63086,"name":"U2hhZGUgMg==","roomId":57748,"groupId":54569,"order":0,"type":6,"batteryStrength":178,"batteryStatus":3},{"id":18232,"name":"U2hhZGUgMQ==","roomId":57748,"groupId":54569,"order":1,"type":6,"batteryStrength":175,"batteryStatus":3}]}

Hunter gave me a Base 64 decoder that tells me that "U2hhZGUgMg==" is Shade 1.

My question now is, how do I send this information from CQC to the Hub via IP?  Is there a driver available?

Deane
Reply
#13
I can also get the Scene information.  Each Scene determines whether it's an UP Command or Down Command.  In the string below, #8043 lowers the shades at Sunrise and #28541 raises them at noon when the sun goes off the windows.

The timers in the Hub are fine for sun control, but I want to be able to send them up or down from my CQC iPad so that when I start the home theater, in addition to everything else CQC does, it lowers the shades, or raises them as the need may be.

{"sceneIds":[8043,28541],"sceneData":[{"id":8043,"networkNumber":0,"name":"U3VucmlzZQ==","roomId":57748,"order":0,"colorId":10,"iconId":0},{"id":28541,"networkNumber":1,"name":"Tm9vbiBQb3dlclZpZXcgT3Blbg==","roomId":57748,"order":1,"colorId":3,"iconId":0}]}
Reply
#14
If it requires any complex formatting, and it looks like it will since they are using a JSON format, it would be better to have an actual driver. Can you send me the protocol document they gave you?
Dean Roddey
Software Geek Extraordinaire
Reply
#15
I have requested a protocol document if one exists.  Meantime, I received the following information and tried it in my browser.  The Scene that the end number refers to executed and the shades performed the Scene as expected.  I only changed the URL and the SceneID # to my actual. 


"To activate the Scene, send:

   http://192.168.1.3/api/scenes?sceneId=36677

The response will come back telling which shades were activated in the Scene: {"shadeIds":[28813]}

Jim Langdon
Senior Sales Engineer
New Product Development"
Reply
#16
Ask him if he'd like to talk with me about supporting this product. I'd be happy to talk with him about it.
Dean Roddey
Software Geek Extraordinaire
Reply
#17
(05-14-2018, 12:15 PM)Dean Roddey Wrote: If it requires any complex formatting, and it looks like it will since they are using a JSON format, it would be better to have an actual driver. Can you send me the protocol document they gave you?

The response I get is that it is this one:

http://cdn.hunterdouglas.com/static/prod...al_API.pdf

The same commands seem to work using IP.

Deane
Reply
#18
(05-14-2018, 12:37 PM)Dean Roddey Wrote: Ask him if he'd like to talk with me about supporting this product. I'd be happy to talk with him about it.

Will do.

Deane

UPDATE: Message sent.
Reply
#19
Response is positive. Check your PM for a copy of the response and contact information.

Deane
Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
  HAI Driver Issue avtexan 6 778 04-06-2018, 02:06 PM
Last Post: Dean Roddey
  Monoprice 8x8 HDMI matrix Driver NightLight 13 3,217 09-04-2017, 09:45 AM
Last Post: Dean Roddey
  ELK V2 Driver - AreaArm field & Triggers? sic0048 4 1,210 08-19-2017, 04:46 PM
Last Post: Dean Roddey
  UPB Driver Issue tcmcgec 6 2,322 01-27-2017, 07:18 PM
Last Post: Dean Roddey
  HAI OmniProII Driver problems MBurger 4 1,863 12-24-2016, 07:59 AM
Last Post: Dean Roddey
  Onkyo NR646 and Universal Integra Driver? Sendero 6 2,367 10-31-2016, 11:22 PM
Last Post: Sendero
  Train HTTP Trigger Driver jkmonroe 24 7,430 10-25-2016, 11:55 AM
Last Post: karenlee
  ISY driver repeatedly losing connection Sendero 14 3,851 09-28-2016, 07:44 PM
Last Post: Dean Roddey
  EventGhost alternatives to getting driver/field *TO* SmartPhone? IVB 37 6,359 08-13-2016, 07:32 PM
Last Post: IVB
  Help figuring out projector serial control! Deane Johnson 19 2,808 07-30-2016, 11:08 AM
Last Post: Deane Johnson

Forum Jump:


Users browsing this thread: 1 Guest(s)