Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Bug or don’t know how to: with Client side Driver for Global Cache GC-100
#1
You can invoke test commands from the Client side to any of the zones but I didn’t see a way to assign a device to a port/zone from the driver other than port/zone 1 as a result no calls can be made from IV to other than zone 1
Reply
#2
This is covered in the driver docs. You append a zone suffix to the command. So if you were sending the command Denon1601.Power, you'd do Denon1601.Power:2 to send it to zone 2.

You may want to set up in the main template a set of globals on load, which map to the zones, and use those anywhere you want to indicate a zone, so that you can change them easily later.
Dean Roddey
Explorans limites defectum
Reply
#3
Is it possible to add a future enhancement to be able to specify it in the admin area - same way we do it for com ports? It makes the programming more portable (even so you offer to use globals).
Reply
#4
The problem is that many people have more than one of the same device. So there's no way at the device model level to set a zone. They want to address individual instances of the same model via separate zones.
Dean Roddey
Explorans limites defectum
Reply
#5
Dean Roddey Wrote:The problem is that many people have more than one of the same device. So there's no way at the device model level to set a zone. They want to address individual instances of the same model via separate zones.


Dean,

From the admin, we should be able to assign a model and give it alias (or a client moniker). This alias will be specify in the command's action.

Example
From the client side we specify:
GC-100 zone1, Denon1601, BedroomAVR
GC-100 zone2, Denon1601, LivingroomAVR
GC-100 zone3, DirecTV, BedroomSatBox
GC-100 zone4, DirecTV, LivingroomSatBox

On the actions we call the alias:
BedroomAVR.Power

This will address both requirements.


Rocker
Reply
#6
I'll add it to the list. Probably it's not going to be an immediate priority though. The downside of it is that it means going to the server to get the aliases every time an IR command is invoked, in order to do the translation, whereas the zone number is much lighter weight. And it also requires special casing IR field writes and at the level where that would be best done it doesn't know what the device is. Just even figuring out it's an IR device would require another trip to the server.
Dean Roddey
Explorans limites defectum
Reply
#7
Dean Roddey Wrote:I'll add it to the list. Probably it's not going to be an immediate priority though. The downside of it is that it means going to the server to get the aliases every time an IR command is invoked, in order to do the translation, whereas the zone number is much lighter weight. And it also requires special casing IR field writes and at the level where that would be best done it doesn't know what the device is. Just even figuring out it's an IR device would require another trip to the server.


Portability is important even if we have to pay the small price in speed (this is the reason, most of us use hi level languages and not choose to optimize using assembly language).

Thank you for adding it to the list
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Driver for Amazon 4k Stick Darrie 3 510 01-15-2022, 02:21 PM
Last Post: znelbok
  Only flushed 0 bytes from the output stream cache znelbok 0 281 01-13-2022, 11:24 AM
Last Post: znelbok
  CQSL Interface Driver connects but no control NightLight 3 569 10-26-2021, 01:12 PM
Last Post: NightLight
  ClickPLC driver now failing after upgrade znelbok 2 996 09-21-2020, 10:48 PM
Last Post: znelbok
  Pentair driver tom 5 1,984 08-02-2020, 11:29 PM
Last Post: kblagron
  Global Variables in the Event Server context lleo 1 1,067 05-16-2020, 11:21 AM
Last Post: Dean Roddey
  Marantz receiver driver (IP) dlmorgan999 6 2,084 05-15-2020, 03:32 PM
Last Post: dlmorgan999
  Variables Driver Client gReatAutomation 4 1,672 04-25-2020, 12:46 PM
Last Post: gReatAutomation
  Reconfig of Driver Causes Built In Triggers to Fire gReatAutomation 2 1,239 03-25-2020, 04:09 PM
Last Post: gReatAutomation
  Lutron RadioRA2 Driver and Lutron Visor Control gReatAutomation 29 11,284 03-19-2020, 01:03 PM
Last Post: gReatAutomation

Forum Jump:


Users browsing this thread: 1 Guest(s)