Russound Driver Released

Topics for MLServer Device Drivers
User avatar
CinemarDave
Site Admin
Site Admin
Posts: 10535
Joined: Fri Feb 07, 2003 8:56 am
Location: Planet Earth
Contact:

Re: Russound Driver Released

Postby CinemarDave » Wed May 07, 2014 4:20 pm

The Russound driver was updated today. Today's changes added support for more keypad events coming from MCA keypads. If you have an MCA-3 or MCA-5 see if this driver is now picking up all the keypad presses.

rileydog
Expert
Expert
Posts: 667
Joined: Wed Jun 02, 2004 12:25 am
Location: Kalamazoo, Michigan
Contact:

Re: Russound Driver Released

Postby rileydog » Fri May 09, 2014 11:03 am

Perfect - I see all the keys pressed (except the home button on the keypads) are calling macros! I can't see why I would need a home button macro so no biggie. Great job. I also noticed the controller display is being captured in variables (artist, song, etc.) - didn't notice that before. I use the Myro:Bridge which is incredible - it displays meta data from my whole house sonos on the displays and it responds to key commands on the keypads (next song, pause, etc.). With that meta data, now ML reads then into variables so I am able to see what is playing in each zone via ML scenes. Myro just release the Myro:Air which is an Airplay device so I can play iTunes through the whole house and all meta data goes to the controllers and thus, to ML through the device driver... Really nice!

The keypad message still doesn't work but I am sure that is a lot more work. Thanks!

User avatar
CinemarDave
Site Admin
Site Admin
Posts: 10535
Joined: Fri Feb 07, 2003 8:56 am
Location: Planet Earth
Contact:

Re: Russound Driver Released

Postby CinemarDave » Fri May 09, 2014 11:16 am

Ok, that is great progress. If you can run an experiment for me. Press the home button on a keypad and see if it generates an Unknown Event type message in the Russound log. If it does send me the log and I will had that event into the mix.

I didn't do any work with the message command. That will take some more testing.

rileydog
Expert
Expert
Posts: 667
Joined: Wed Jun 02, 2004 12:25 am
Location: Kalamazoo, Michigan
Contact:

Re: Russound Driver Released

Postby rileydog » Fri May 09, 2014 8:00 pm

Home is working - I had the macro wrong... So, all is well!

User avatar
Oronomus
Intermediate
Intermediate
Posts: 346
Joined: Mon Aug 14, 2006 1:18 pm
Location: Atlanta
Contact:

Russound Driver Gone Wild with Russound update

Postby Oronomus » Sat Jul 12, 2014 9:00 pm

Updated my MCA-C5 to Russound firmware version 7.01 and the MainLobby driver has gone into orbit. One command fired in Mainlobby using RNet Driver triggers 1000's of lines of code (endless loop?) under "Process Response - Event Messages". Eventually, Russound Driver locks up MLServer and I have to restart. Maybe time for a fresh look at RNet and IP-RIOS drivers. Dave, email sent to look at through TeamViewer when you have the time.

**Never mind - had to set my second controller ID switch to "1" to perform the update. Forgot to reset the switch to "2" when I restarted the two controllers. Must have been cross-talk...
Last edited by Oronomus on Sun Jul 13, 2014 3:10 am, edited 1 time in total.

rileydog
Expert
Expert
Posts: 667
Joined: Wed Jun 02, 2004 12:25 am
Location: Kalamazoo, Michigan
Contact:

Re: Russound Driver Released

Postby rileydog » Sat Jul 12, 2014 10:45 pm

I am using firmware 7.01 with (2) MCA-C5's with no issues...

User avatar
bigbrother
Intermediate
Intermediate
Posts: 384
Joined: Thu Aug 19, 2004 11:56 am
Contact:

Re: Russound Driver Released

Postby bigbrother » Sun Jul 20, 2014 11:36 am

If I want to change to the NEXT song playing in MuL by using the Russound keypad "Next" button, for all of the zones,

Using Command Macros,
Name: Keypad.Russound.Next
Command: Conditional|IsEqual##av_5_zone_1_source##5##MusicLobby|NextTrack~{{music_activesource_{{clientname}}}}##

However, I want it to be universal for all zones, but unique to the source.

IE: when Russound.Keypad.Next (any zone 1-6) (source 5) is pressed, MusicLobby|NextTrack~{{music_activesource_{{clientname}

How do I write this?

Thanks BB

User avatar
CinemarDave
Site Admin
Site Admin
Posts: 10535
Joined: Fri Feb 07, 2003 8:56 am
Location: Planet Earth
Contact:

Re: Russound Driver Released

Postby CinemarDave » Sun Jul 20, 2014 2:47 pm

The CAV driver should automatically be passing in the AV device ID and zone where the press came from as <P1> and <P2> parameters. So your command can become something like

If|IsEqual##{{av_<P1>_zone_<P2>_source}}##5##MusicLobby|NextTrack~{{music_activesource_{{clientname}}}}##

User avatar
bigbrother
Intermediate
Intermediate
Posts: 384
Joined: Thu Aug 19, 2004 11:56 am
Contact:

Re: Russound Driver Released

Postby bigbrother » Sun Jul 20, 2014 4:46 pm

It does for an individual Zone Source.
But I am trying to make it work so Source 5 on zones 1-6 do the same thing.

Do I need to write a conditional line for all 6 zones? Do I create a command macro for that?
IE:
Conditional|IsEqual##av_5_zone_1_source##5##MusicLobby|NextTrack~{{music_activesource_{{clientname}}}}##
Conditional|IsEqual##av_5_zone_2_source##5##MusicLobby|NextTrack~{{music_activesource_{{clientname}}}}##
Conditional|IsEqual##av_5_zone_3_source##5##MusicLobby|NextTrack~{{music_activesource_{{clientname}}}}##
Conditional|IsEqual##av_5_zone_4_source##5##MusicLobby|NextTrack~{{music_activesource_{{clientname}}}}##
Conditional|IsEqual##av_5_zone_5_source##5##MusicLobby|NextTrack~{{music_activesource_{{clientname}}}}##
Conditional|IsEqual##av_5_zone_6_source##5##MusicLobby|NextTrack~{{music_activesource_{{clientname}}}}##

User avatar
CinemarDave
Site Admin
Site Admin
Posts: 10535
Joined: Fri Feb 07, 2003 8:56 am
Location: Planet Earth
Contact:

Re: Russound Driver Released

Postby CinemarDave » Sun Jul 20, 2014 6:00 pm

No, you don't need 6 conditionals because the one conditional is dynamic based on the parameters being passed to the macro.

User avatar
bigbrother
Intermediate
Intermediate
Posts: 384
Joined: Thu Aug 19, 2004 11:56 am
Contact:

Re: Russound Driver Released

Postby bigbrother » Sun Jul 20, 2014 6:40 pm

Is that command
If|IsEqual##{{av_<P1>_zone_<P2>_source}}##5##MusicLobby|NextTrack~{{music_activesource_{{clientname}}}}##

Placed in Command Marcos?
Do I use the Macro Name Russound.Keypad.Next?

Thanks BB

User avatar
CinemarDave
Site Admin
Site Admin
Posts: 10535
Joined: Fri Feb 07, 2003 8:56 am
Location: Planet Earth
Contact:

Re: Russound Driver Released

Postby CinemarDave » Sun Jul 20, 2014 7:28 pm

Yes create a Command macro called Russound.Keypad.Next and set the MLServer command to

If|IsEqual##{{av_<P1>_zone_<P2>_source}}##5##MusicLobby|NextTrack~{{music_activesource_{{clientname}}}}##

Note that "If|" is the same as "Conditional|"

The other macro commands called from the driver include the following: All are passed DeviceID and Zone.
Russound.Keypad.Source
Russound.Keypad.Prev
Russound.Keypad.Next
Russound.Keypad.Plus
Russound.Keypad.Minus
Russound.Keypad.Power
Russound.Keypad.Pause
Russound.Keypad.Fav1
Russound.Keypad.Fav2
Russound.Keypad.VolUp
Russound.Keypad.VolDown
Russound.Keypad.VolUpHold
Russound.Keypad.VolDownHold
Russound.Keypad.Home
Russound.Keypad.Menu
Russound.Keypad.Select
Russound.Keypad.SelectItem

randyf
Member
Member
Posts: 55
Joined: Fri Jun 13, 2014 7:57 am
Location: Northern Virginia
Contact:

Re: Russound Driver Released

Postby randyf » Mon Jul 21, 2014 6:38 pm

I'm trying to get my CAV66 configured to use MusicLobby for music tracks/playlists and I have the MusicLobby sources configured to use 3 of the outputs on my M-Audio Delta sound card. What is the trick to getting the following items working:

1. Associating a source from the CAV66 to a source within MusicLobby - when the user presses the Source button on the Uno S2 keypad, I would like it to cycle thru the sources from MusicLobby.

2. How can I add logic to have the Uno S2 F1 (or F2) button display the playlists for the current MusicLobby source so that the person can select a different playlist for that CAV zone?

3. How do I get the current track artist/song title displayed in the Uno S2 message area?

Thanks
Randy

randyf
Member
Member
Posts: 55
Joined: Fri Jun 13, 2014 7:57 am
Location: Northern Virginia
Contact:

Command Macro not getting correct zone parameter?

Postby randyf » Mon Aug 11, 2014 7:54 pm

I'm working to create the interaction with my CAV66 and UNO-S2 keypads and ML. I have Russound.Keypad.Next and Russound.Keypad.Previous command macros created with this debug line in them for testing purposes:

Logger|Log~CAV~KEYPAD~Russound.Keypad.Next~P1=<P1>, P2=<P2>
Logger|Log~CAV~KEYPAD~Russound.Keypad.Previous~P1=<P1>, P2=<P2>

It seems like the zone parameter <P2> is not being passed to the command macro properly - it seems to only send 1 as the value. The way I tested is by turning on the keypad power, pressing the next button, pressing the previous button, and finally pressing the power button again. Here is Russound log output for the test - you can see that when the power button is pressed, it "sees" the right CAV controller (in this case, 2) and it shows zone 5, which is the keypad I was testing with:

Code: Select all

8/11/2014 8:27:38 PM   ProcessResponse   Event Message [F0 01 00 7F 01 04 00 05 03 02 00 04 02 04 03 6C 00 00 00 00 00 01 0F F7]
8/11/2014 8:27:38 PM   ProcessResponse   Uno Power Button Released. [6C] 2/0/4@4/3
8/11/2014 8:27:38 PM   MacroExists   Looking for Russound.Keypad.Power
8/11/2014 8:27:38 PM   ProcessResponse   Set Data Message [F0 01 04 7D 01 00 7F 00 03 04 04 06 02 04 00 00 00 01 00 01 00 02 23 F7]
8/11/2014 8:27:38 PM   ProcessResponse   Data Message Controller:2 Zone:5 BGColor=2
8/11/2014 8:27:38 PM   ProcessResponse   Set Data Message [F0 01 04 7D 01 00 7F 00 03 04 04 00 02 04 00 00 00 01 00 01 00 0A 25 F7]
8/11/2014 8:27:38 PM   ProcessResponse   Display Message [F0 01 04 7D 01 00 7F 06 41 00 00 00 05 4B F7]
8/11/2014 8:27:38 PM   ProcessResponse   Source 1
8/11/2014 8:27:38 PM   ProcessResponse   Event Message [F0 01 04 7D 01 00 7F 05 02 01 00 02 01 00 DC 00 01 00 04 00 01 2D F7]
8/11/2014 8:27:38 PM   ProcessResponse   Zone Power Event Controller:2 Zone:5 Power=1
8/11/2014 8:27:38 PM   ProcessResponse   Event Message [F0 00 00 7F 01 00 7F 05 02 01 00 02 01 00 CB 00 01 00 01 00 00 37 F7]
8/11/2014 8:27:38 PM   ProcessResponse   Update System On Event Controller:1 Zone:1
8/11/2014 8:27:39 PM   ProcessResponse   Set Data Message [F0 00 04 7D 01 00 7F 00 02 01 01 02 01 01 00 00 01 00 10 00 00 64 00 48 65 6C 6C 6F 00 5A 5A 5A 5A 5A 5A 5A 7C F7]
8/11/2014 8:27:39 PM   ProcessResponse   Event Message [F0 7E 04 7F 01 00 7F 05 02 01 00 02 01 00 C8 00 01 00 01 00 00 3C F7]
8/11/2014 8:27:39 PM   ProcessResponse   Update Source Selection Event Controller:2 Zone:5 Data=1
8/11/2014 8:27:39 PM   ProcessResponse   Event Message [F0 01 7D 00 01 00 7F 05 02 01 00 02 01 00 27 00 7F 04 00 00 01 39 F7]
8/11/2014 8:27:39 PM   ProcessResponse   Unknown Event [27] 1/0@1/0
8/11/2014 8:27:40 PM   ProcessResponse   Event Message [F0 7E 00 7F 00 00 7F 05 02 01 00 02 01 00 C5 00 00 00 01 00 00 39 F7]
8/11/2014 8:27:40 PM   ProcessResponse   Unknown Event [C5] 1/0@1/0
8/11/2014 8:27:40 PM   ProcessResponse   Event Message [F0 7E 00 7F 00 00 7F 05 02 01 00 02 01 00 C5 00 00 00 01 00 00 39 F7 F0 7F 00 7F 00 00 7F 00 03 04 04 03 02 04 00 00 00 01 00 01 00 01 1A F7]
8/11/2014 8:27:40 PM   ProcessResponse   Unknown Event [C5] 1/0@1/0
8/11/2014 8:27:53 PM   ProcessResponse   Event Message [F0 7E 00 7F 00 00 7F 05 02 01 00 02 01 00 C8 00 00 00 00 00 00 35 F7]
8/11/2014 8:27:53 PM   ProcessResponse   Update Source Selection Event Controller:1 Zone:1 Data=0
8/11/2014 8:28:03 PM   ProcessResponse   Event Message [F0 01 00 7F 01 04 00 05 03 02 00 04 02 04 03 68 00 00 00 00 00 01 0B F7]
8/11/2014 8:28:03 PM   ProcessResponse   Uno Next Button Released. [68] 2/0/4@4/3
8/11/2014 8:28:03 PM   MacroExists   Looking for Russound.Keypad.Next
8/11/2014 8:28:03 PM   ProcessResponse   Event Message [F0 01 7D 00 01 00 7F 05 02 01 00 02 01 00 0E 00 00 04 00 01 01 22 F7]
8/11/2014 8:28:03 PM   ProcessResponse   Unknown Event [0E] 1/0@1/0
8/11/2014 8:28:08 PM   ProcessResponse   Event Message [F0 01 00 7F 01 04 00 05 03 02 00 04 02 04 03 67 00 00 00 00 00 01 0A F7]
8/11/2014 8:28:08 PM   ProcessResponse   Uno Previous Button Released. [67] 2/0/4@4/3
8/11/2014 8:28:08 PM   MacroExists   Looking for Russound.Keypad.Previous
8/11/2014 8:28:08 PM   ProcessResponse   Event Message [F0 01 7D 00 01 00 7F 05 02 01 00 02 01 00 0F 00 00 04 00 01 01 23 F7]
8/11/2014 8:28:08 PM   ProcessResponse   Unknown Event [0F] 1/0@1/0
8/11/2014 8:28:41 PM   ProcessResponse   Event Message [F0 7E 7D 00 01 00 7F 05 02 01 00 02 01 00 C8 00 01 00 01 00 00 36 F7]
8/11/2014 8:28:41 PM   ProcessResponse   Update Source Selection Event Controller:2 Zone:126 Data=1
8/11/2014 8:28:53 PM   ProcessResponse   Event Message [F0 7E 00 7F 00 00 7F 05 02 01 00 02 01 00 C8 00 00 00 00 00 00 35 F7]
8/11/2014 8:28:53 PM   ProcessResponse   Update Source Selection Event Controller:1 Zone:1 Data=0
8/11/2014 8:29:41 PM   ProcessResponse   Event Message [F0 7E 7D 00 01 00 7F 05 02 01 00 02 01 00 C8 00 01 00 01 00 00 36 F7]
8/11/2014 8:29:41 PM   ProcessResponse   Update Source Selection Event Controller:2 Zone:126 Data=1
8/11/2014 8:29:53 PM   ProcessResponse   Event Message [F0 7E 00 7F 00 00 7F 05 02 01 00 02 01 00 C8 00 00 00 00 00 00 35 F7]
8/11/2014 8:29:53 PM   ProcessResponse   Update Source Selection Event Controller:1 Zone:1 Data=0
8/11/2014 8:30:23 PM   ProcessResponse   Event Message [F0 01 00 7F 01 04 00 05 03 02 00 04 02 04 03 6C 00 00 00 00 00 01 0F F7]
8/11/2014 8:30:23 PM   ProcessResponse   Uno Power Button Released. [6C] 2/0/4@4/3
8/11/2014 8:30:23 PM   MacroExists   Looking for Russound.Keypad.Power
8/11/2014 8:30:23 PM   ProcessResponse   Set Data Message [F0 01 04 00 01 00 7F 00 02 01 01 02 01 01 00 00 01 00 10 00 00 64 00 47 6F 6F 64 62 79 65 00 5A 5A 5A 5A 5A 21 F7]
8/11/2014 8:30:24 PM   ProcessResponse   Handshake Message [F0 01 00 7F 01 04 00 02 02 02 F7]
8/11/2014 8:30:24 PM   ProcessResponse   Handshake Message [F0 01 00 7F 01 04 00 02 02 02 F7 F0 01 04 7D 01 00 7F 00 03 04 04 06 02 04 00 00 00 01 00 01 00 00 21 F7]
8/11/2014 8:30:24 PM   ProcessResponse   Set Data Message [F0 01 04 7D 01 00 7F 00 03 04 04 00 02 04 00 00 00 01 00 01 00 48 63 F7]
8/11/2014 8:30:24 PM   ProcessResponse   Set Data Message [F0 01 04 7D 01 00 7F 00 03 04 04 04 02 04 00 00 00 01 00 01 00 00 1F F7]
8/11/2014 8:30:24 PM   ProcessResponse   Data Message Controller:2 Zone:5 Party=0
8/11/2014 8:30:24 PM   ProcessResponse   Set Data Message [F0 01 04 7D 01 00 7F 00 03 04 04 05 02 04 00 00 00 01 00 01 00 00 20 F7]
8/11/2014 8:30:24 PM   ProcessResponse   Data Message Controller:2 Zone:5 PartyMaster=0
8/11/2014 8:30:25 PM   ProcessResponse   Set Data Message [F0 01 04 7D 01 00 7F 00 03 04 04 02 02 04 00 00 00 01 00 01 00 00 1D F7]
8/11/2014 8:30:25 PM   ProcessResponse   Data Message Controller:2 Zone:5 Shared=0
8/11/2014 8:30:25 PM   ProcessResponse   Set Data Message [F0 01 04 7D 01 00 7F 00 03 04 04 02 02 04 00 00 00 01 00 01 00 00 1D F7 F0 01 04 7D 01 00 7F 00 02 01 01 02 01 01 00 00 01 00 10 00 00 00 00 00 5A 5A 5A 5A 5A 5A 5A 5A 5A 5A 5A 5A 67 F7]
8/11/2014 8:30:25 PM   ProcessResponse   Data Message Controller:2 Zone:5 Shared=0
8/11/2014 8:30:25 PM   ProcessResponse   Set Data Message [F0 01 04 7D 01 00 7F 00 03 04 04 02 02 04 00 00 00 01 00 01 00 00 1D F7 F0 01 04 7D 01 00 7F 00 02 01 01 02 01 01 00 00 01 00 10 00 00 00 00 00 5A 5A 5A 5A 5A 5A 5A 5A 5A 5A 5A 5A 67 F7 F0 01 04 7D 01 00 7F 05 02 01 00 02 01 00 DC 00 00 00 04 00 01 2C F7]
8/11/2014 8:30:25 PM   ProcessResponse   Data Message Controller:2 Zone:5 Shared=0
8/11/2014 8:30:25 PM   ProcessResponse   Set Data Message [F0 01 04 7D 01 00 7F 00 03 04 04 02 02 04 00 00 00 01 00 01 00 00 1D F7 F0 01 04 7D 01 00 7F 00 02 01 01 02 01 01 00 00 01 00 10 00 00 00 00 00 5A 5A 5A 5A 5A 5A 5A 5A 5A 5A 5A 5A 67 F7 F0 01 04 7D 01 00 7F 05 02 01 00 02 01 00 DC 00 00 00 04 00 01 2C F7 F0 00 00 7F 01 00 7F 05 02 01 00 02 01 00 CB 00 01 00 00 00 00 36 F7]
8/11/2014 8:30:25 PM   ProcessResponse   Data Message Controller:2 Zone:5 Shared=0
8/11/2014 8:30:25 PM   ProcessResponse   Set Data Message [F0 01 04 7D 01 00 7F 00 03 04 04 02 02 04 00 00 00 01 00 01 00 00 1D F7 F0 01 04 7D 01 00 7F 00 02 01 01 02 01 01 00 00 01 00 10 00 00 00 00 00 5A 5A 5A 5A 5A 5A 5A 5A 5A 5A 5A 5A 67 F7 F0 01 04 7D 01 00 7F 05 02 01 00 02 01 00 DC 00 00 00 04 00 01 2C F7 F0 00 00 7F 01 00 7F 05 02 01 00 02 01 00 CB 00 01 00 00 00 00 36 F7 F0 7E 00 7F 01 00 7F 05 02 01 00 02 01 00 C8 00 01 00 00 00 00 37 F7]
8/11/2014 8:30:25 PM   ProcessResponse   Data Message Controller:2 Zone:5 Shared=0
8/11/2014 8:30:26 PM   ProcessResponse   Event Message [F0 7E 00 7F 00 00 7F 05 02 01 00 02 01 00 C5 00 00 00 00 00 00 38 F7]
8/11/2014 8:30:26 PM   ProcessResponse   Unknown Event [C5] 1/0@1/0
8/11/2014 8:30:26 PM   ProcessResponse   Event Message [F0 7E 00 7F 00 00 7F 05 02 01 00 02 01 00 C5 00 00 00 00 00 00 38 F7 F0 7F 00 7F 00 00 7F 00 03 04 04 03 02 04 00 00 00 01 00 01 00 00 19 F7]
8/11/2014 8:30:26 PM   ProcessResponse   Unknown Event [C5] 1/0@1/0

Here is the output from the MLServer log for the same test, when calling the command macro, where the zone is being shown as 1 instead of 5 as I would expect:

Code: Select all

8/11/2014 8:28:03 PM   MLProcess Primary [1]   (1) [Russound.Keypad.Next|4~1] from [Server]
8/11/2014 8:28:03 PM   MLProcess Primary [1]   (2) [Logger|Log~CAV~KEYPAD~Russound.Keypad.Next~P1=4, P2=1] from [Server]
8/11/2014 8:28:03 PM   MLProcess Primary [1]   Exiting MLProcess
8/11/2014 8:28:03 PM   MLProcess Primary [1]   Exiting MLProcess
8/11/2014 8:28:08 PM   MLProcess Primary [1]   (1) [Russound.Keypad.Previous|4~1] from [Server]
8/11/2014 8:28:08 PM   MLProcess Primary [1]   (2) [Logger|Log~CAV~KEYPAD~Russound.Keypad.Previous~P1=4, P2=1] from [Server]
8/11/2014 8:28:08 PM   MLProcess Primary [1]   Exiting MLProcess
8/11/2014 8:28:08 PM   MLProcess Primary [1]   Exiting MLProcess

Attached is an image of my AV section with the CAVs defined. Am I not doing something right or does this sound like a bug?

Thanks
You do not have the required permissions to view the files attached to this post.

randyf
Member
Member
Posts: 55
Joined: Fri Jun 13, 2014 7:57 am
Location: Northern Virginia
Contact:

Command Macro not getting correct zone parameter?

Postby randyf » Fri Aug 15, 2014 12:16 pm

Since I have two CAV units, I decided to shut one of them down to see if the zone/command macro problem was related to having two CAV units but with just one unit running, I was seeing the same problem.

I also started just pressing each button on a keypad to see what would happen and for the Pause button, I received the following error:

Code: Select all

8/14/2014 6:44:13 PM   ProcessResponse   Event Message [F0 00 00 7F 00 01 00 05 03 02 00 01 02 04 03 6E 00 00 00 00 00 01 09 F7]
8/14/2014 6:44:13 PM   ProcessResponse   Uno Pause Button Released. [6E] 2/0/1@4/3
8/14/2014 6:44:13 PM   MacroExists   Looking for Russound.Keypad.Pause
8/14/2014 6:44:13 PM   ProcessResponse   Error at ProcessResponse at line #3015 - 'MLServer.frmMain' does not contain a definition for 'cmdReceive'

Dave - any ideas?

Thanks


Return to “MLServer 4 Device Drivers”

Who is online

Users browsing this forum: No registered users and 1 guest