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
Explorans limites defectum
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
Explorans limites defectum
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
  RFXcom driver or Tellstick driver kernal69 8 4,252 01-25-2020, 03:06 PM
Last Post: simplextech
  Dune driver wait for config error ellisr63 44 15,447 11-28-2019, 06:35 PM
Last Post: ellisr63
  TTS II Driver requirements znelbok 1 1,418 05-20-2019, 09:34 PM
Last Post: Dean Roddey
  HAI Driver Issue avtexan 6 4,604 04-06-2018, 02:06 PM
Last Post: Dean Roddey
  Monoprice 8x8 HDMI matrix Driver NightLight 13 11,030 09-04-2017, 09:45 AM
Last Post: Dean Roddey
  ELK V2 Driver - AreaArm field & Triggers? sic0048 4 4,387 08-19-2017, 04:46 PM
Last Post: Dean Roddey
  UPB Driver Issue tcmcgec 6 6,261 01-27-2017, 07:18 PM
Last Post: Dean Roddey
  HAI OmniProII Driver problems MBurger 4 4,769 12-24-2016, 07:59 AM
Last Post: Dean Roddey
  Onkyo NR646 and Universal Integra Driver? Sendero 6 5,522 10-31-2016, 11:22 PM
Last Post: Sendero
  Train HTTP Trigger Driver jkmonroe 24 15,571 10-25-2016, 11:55 AM
Last Post: karenlee

Forum Jump:


Users browsing this thread: 1 Guest(s)