NUVO v4 Family Device Driver (Questions)

Forum to discuss plugin support for the Nuvo brand of products.
jeffdoo
Intermediate
Intermediate
Posts: 329
Joined: Sat Aug 25, 2007 9:19 pm
Location: Huntersville, NC
Contact:

Re: NUVO v4 Family Device Driver (Questions)

Postby jeffdoo » Tue Jun 05, 2012 9:05 pm

CinemarDave wrote:When a key press comes in the driver will tell MLServer to execute a macro called Nuvo.<<keyname>> and passing the Zone and Source as parameters. As an example pressing the Prev key should result in a Nuvo.Prev|1~3 command being sent to MLServer.

The core macros you need to define are
Nuvo.Prev|Zone~Source
Nuvo.Next|Zone~Source
Nuvo.PlayPause|Zone~Source
Nuvo.Macro|Zone~Source~Macro


Okay, understand but I think there is a defect with the parameters being passed.

I have two macros created "Nuvo.Next" and "Nuvo.Prev" and I have a logic statement testing if <P2> = "4" ... But according to the MLS Event log the conditional test is receiving "P" when I press Previous or "N" when I press Next.

Here is an example from the MLS log:

Code: Select all

6/5/2012 9:54:33 PM   MLProcess   (1) [Nuvo.Prev|12~P] from [Server]
6/5/2012 9:54:33 PM   MLProcess   (2) [Conditional|IsEqual##P##4##MusicLobby|PrevTrack~1##Conditional|IsEqual##P##5##MusicLobby|PrevTrack~2##Conditional|IsEqual##P##6##MusicLobby|PrevTrack~3##] from [Server]
6/5/2012 9:54:33 PM   Conditional   IsEqual? [P]=[4]
6/5/2012 9:54:33 PM   MLProcess   (3) [Conditional|IsEqual] from [Server]


"12~P" should actually be "12~4" because the zone is 12 and the source is 4, which is really MuL server #1 .... Yes, apparently my if-then-else logic is wrong, I'll get to it next ....

I would show you the Nuvo GC log but the FDD is non-responsive for some reason, I can double-click on it and nothing happens. The other FDD (TED) opens and closes just fine.

Thanks!

- Jeff

freak69
Senior Member
Senior Member
Posts: 111
Joined: Sun Mar 25, 2007 3:00 pm
Contact:

Re: NUVO v4 Family Device Driver (Questions)

Postby freak69 » Sat Jun 09, 2012 4:10 pm

I concur with Jeff on this one.

I press the previous key on zone 1 source 3, and I get in the Nuvo driver logs

09/06/2012 21:56:28 ProcessResponse RX: <<#Z1S3PREV>>
09/06/2012 21:56:28 ProcessResponse RX: <<#OK>>
which is correct.

In the MLserver logs I get
09/06/2012 21:56:28 MLProcess (1) [Nuvo.Prev|1~P] from [Server]
09/06/2012 21:56:28 MLProcess (2) [LogEvent|param1 is 1 Param2 is P~Verbose] from [Server]
09/06/2012 21:56:28 Delegate param1 is 1 Param2 is P

(for testing, my command macro is LogEvent|param1 is <P1> Param2 is <P2>~Verbose)

I would expect to see a "3" instead of the "P"

Looking pretty damn good other than that.

Even better, I notice you've done a lot of the hard work in calculating the 10th's of seconds for the elapsed scrollbar on the GC panel. Enabled me to remove my hack using MLMath and MLstrings. All I do now is

Whenever music_source1_elapsedtime changes value
AV|2~SetDisplayTrackStatus~3~{{music_source1_tracktime}}~{{music_source1_elapsedtime}}~Normal

Paul

jeffdoo
Intermediate
Intermediate
Posts: 329
Joined: Sat Aug 25, 2007 9:19 pm
Location: Huntersville, NC
Contact:

Re: NUVO v4 Family Device Driver (Questions)

Postby jeffdoo » Sat Jun 09, 2012 4:50 pm

freak69 wrote:Even better, I notice you've done a lot of the hard work in calculating the 10th's of seconds for the elapsed scrollbar on the GC panel. Enabled me to remove my hack using MLMath and MLstrings. All I do now is

Whenever music_source1_elapsedtime changes value
AV|2~SetDisplayTrackStatus~3~{{music_source1_tracktime}}~{{music_source1_elapsedtime}}~Normal


Paul,

Every time I've tried the 1 second update I end up with an unstable Mainlobby setup, previously I would crash in < 24 hours (v3.99 edition). Are you experiencing any issues with MLServer? Right now I've been experiencing a memory leak I've been trying to track which was originally thought to be the Nuvo GC v3.99.x plugin, because the more I updated the faster I would crash. If this is working fine for you I'm going to put it back in my setup, right now I change the time based on the percentage complete,

Note: I now suspect it's the Event Logger (but that's a different story covered elsewhere)

Thanks!

- Jeff

freak69
Senior Member
Senior Member
Posts: 111
Joined: Sun Mar 25, 2007 3:00 pm
Contact:

Re: NUVO v4 Family Device Driver (Questions)

Postby freak69 » Sat Jun 09, 2012 5:47 pm

Its getting late here (midnight), so I'm just about to signoff, but I'll leave an album on repeat overnight with the 1 second update turned on.

My MLserver is currently at 102Mb and 5% CPU (SQL server is at 891Mb...) Lets see what it is tomorrow.
btw, I'm running on Win2K8 standard...

Paul

freak69
Senior Member
Senior Member
Posts: 111
Joined: Sun Mar 25, 2007 3:00 pm
Contact:

Re: NUVO v4 Family Device Driver (Questions)

Postby freak69 » Sun Jun 10, 2012 3:05 am

Just stopped it after a 9 hour run on repeat. MLserver still running fine. Its at 208Mb now...

Paul

freak69
Senior Member
Senior Member
Posts: 111
Joined: Sun Mar 25, 2007 3:00 pm
Contact:

Re: NUVO v4 Family Device Driver (Questions)

Postby freak69 » Mon Jun 18, 2012 12:25 pm

Noticed there was a new version, which I installed. Alas, still getting the same problem.

18/06/2012 18:20:01 Pop [0] Server Nuvo.Prev|1~P
18/06/2012 18:20:01 MLProcess (1) [Nuvo.Prev|1~P] from [Server]
18/06/2012 18:20:01 MLProcess (2) [LogEvent|param1 is 1 Param2 is P~Verbose] from [Server]
18/06/2012 18:20:01 Delegate param1 is 1 Param2 is P

Paul

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

Re: NUVO v4 Family Device Driver (Questions)

Postby CinemarDave » Mon Jun 18, 2012 1:10 pm

Today's update should resolve the macro parameter issue.

freak69
Senior Member
Senior Member
Posts: 111
Joined: Sun Mar 25, 2007 3:00 pm
Contact:

Re: NUVO v4 Family Device Driver (Questions)

Postby freak69 » Mon Jun 18, 2012 2:37 pm

Conformed working for me in test mode.

Thanks Dave!

jeffdoo
Intermediate
Intermediate
Posts: 329
Joined: Sat Aug 25, 2007 9:19 pm
Location: Huntersville, NC
Contact:

Re: NUVO v4 Family Device Driver (Questions)

Postby jeffdoo » Thu Jun 28, 2012 4:55 pm

CinemarDave wrote:Today's update should resolve the macro parameter issue.


Dave,

Sorry, work/family life has been extremely busy...

I too have confirmed the Nuvo Keypad presses are working and I have them in place now (huge WAF!). I don't have any formal macros to test, just the usual Next, Prev, and PlayPause... All is good in the regard.

Any update regarding support the non-basic ASCII like the V3 plugin?

Thanks!

ps: Minor possible confusion here.... MLS is complaining I need to purchase the AV Family Manager (which is fine, I'm more than happy to support you) but how is AV, which to me means Audio/Video, different then Video, which apparently means Video/Surveillance? Sorry, just looking the the web site trying to make a purchase it seems confusing....

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

Re: NUVO v4 Family Device Driver (Questions)

Postby CinemarDave » Sat Jun 30, 2012 11:39 am

>>> Any update regarding support the non-basic ASCII like the V3 plugin?

No, I have not yet found a good algorithm for converting UTF-8 to plain ascii that doesn't butcher the accented characters

>>> ps: Minor possible confusion here...

The Audio / Video family is for AVR receivers (Denon, Onkyo, Yamaha, Marantz), Audio controllers (NUVO, CAV), Video players (ArctSoft, VLC)

The Video Family (no device drivers at this time) is where I.P. Cameras and the like will live.

jeffdoo
Intermediate
Intermediate
Posts: 329
Joined: Sat Aug 25, 2007 9:19 pm
Location: Huntersville, NC
Contact:

Re: NUVO v4 Family Device Driver (Questions)

Postby jeffdoo » Sun Jul 01, 2012 9:35 am

Dave,

I think a small part of the initialization is missing... I don't have the zone details as the previous plugin provided.

This would be Pg 33, section 10.1 & 10.2 .... I really need the zone Name and Enable status for proper rendering. I store the names on the Nuvo GC, not in ML, so I use the names as pulled from GC on my displays and, if I can figure out how, the Enable variable.

Also, if you could, I would greatly appreciate adding all of the 10.x commands (or as much of 10.x as possible). I really, really would like to see 10.10 (DND) made available!!! I've never really dug into the RS-232 commands for the Nuvo and this seems to be what I've been missing all these years. I would like the ability to change the DND while the keypad is turned off. Specifically for the back porch and garage, no need to have paging enabled if the keypad isn't turned on or say evening paging turned off in the all bedrooms but the master. I've tried a variety of solutions in the past without success and this appears to be the most correct. Keep in mind, you already have section 9.x covered but these commands (ie; DND Toggle, DND On, DND Off) only work when the keypad is "ON" and do nothing if the keypad is "OFF".

Thanks!

- Jeff

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

Re: NUVO v4 Family Device Driver (Questions)

Postby CinemarDave » Mon Jul 02, 2012 11:09 am

See if today's update helps you out. You should see new Zone variables, have a new SetZoneDND command and a new NuvoCmd that allow you to send any valid Nuvo command for testing.

jeffdoo
Intermediate
Intermediate
Posts: 329
Joined: Sat Aug 25, 2007 9:19 pm
Location: Huntersville, NC
Contact:

Re: NUVO v4 Family Device Driver (Questions)

Postby jeffdoo » Mon Jul 02, 2012 4:43 pm

CinemarDave wrote:See if today's update helps you out. You should see new Zone variables, have a new SetZoneDND command and a new NuvoCmd that allow you to send any valid Nuvo command for testing.


Dave,

Initial test, the variables are not being populated properly, the zone number is missing from the name

av_1_zone__name = ZONE 20

Select any of the new variables (exclusive, group, ir, locked, nomute, nopage, noparty, slavedto, and sources) and the zone # is missing.

Here is the log output from the Nuvo Device Driver:

Code: Select all

7/2/2012 5:40:26 PM   ProcessResponse   RX: <<#ZCFG1,ENABLE1,NAME"Back Porch",SLAVETO0,GROUP0,SOURCES63,XSRC0,IR0,DND1,LOCKED0,SLAVEEQ0>>
7/2/2012 5:40:28 PM   ProcessCommand   Cmd=[1~GETZONECONFIG~2] Client=[]
7/2/2012 5:40:28 PM   SendCommand   TX: av1|*ZCFG2STATUS?
7/2/2012 5:40:28 PM   ProcessResponse   RX: <<#ZCFG2,ENABLE1,NAME"Kitchen",SLAVETO0,GROUP0,SOURCES63,XSRC0,IR2,DND0,LOCKED0,SLAVEEQ0>>
7/2/2012 5:40:30 PM   ProcessCommand   Cmd=[1~GETZONECONFIG~3] Client=[]
7/2/2012 5:40:30 PM   SendCommand   TX: av1|*ZCFG3STATUS?
7/2/2012 5:40:30 PM   ProcessResponse   RX: <<#ZCFG3,ENABLE1,NAME"Family Room",SLAVETO0,GROUP0,SOURCES63,XSRC0,IR2,DND0,LOCKED0,SLAVEEQ0>>
7/2/2012 5:40:32 PM   ProcessCommand   Cmd=[1~GETZONECONFIG~4] Client=[]
7/2/2012 5:40:32 PM   SendCommand   TX: av1|*ZCFG4STATUS?
7/2/2012 5:40:33 PM   ProcessResponse   RX: <<#ZCFG4,ENABLE1,NAME"Dining Room",SLAVETO0,GROUP0,SOURCES63,XSRC0,IR2,DND0,LOCKED0,SLAVEEQ0>>


Please let me know if you need more information.

Thanks!

- Jeff

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

Re: NUVO v4 Family Device Driver (Questions)

Postby CinemarDave » Tue Jul 03, 2012 11:45 am

Sorry a victim of an incomplete copy and paste. New version is available.

jeffdoo
Intermediate
Intermediate
Posts: 329
Joined: Sat Aug 25, 2007 9:19 pm
Location: Huntersville, NC
Contact:

Re: NUVO v4 Family Device Driver (Questions)

Postby jeffdoo » Tue Jul 03, 2012 6:24 pm

CinemarDave wrote:Sorry a victim of an incomplete copy and paste. New version is available.


Dave,

We're getting there.... Now the problem is the zone names are being converted to upper case, not really "pretty"....

Code: Select all

7/2/2012 5:40:25 PM   ProcessCommand   Cmd=[1~GETZONECONFIG~1] Client=[]
7/2/2012 5:40:25 PM   SendCommand   TX: av1|*ZCFG1STATUS?
7/2/2012 5:40:26 PM   ProcessResponse   RX: <<#Z4,OFF>>
7/2/2012 5:40:26 PM   ProcessResponse   RX: <<#ZCFG1,ENABLE1,NAME"Back Porch",SLAVETO0,GROUP0,SOURCES63,XSRC0,IR0,DND1,LOCKED0,SLAVEEQ0>>


results in

av_1_zone_1_name = BACK PORCH

which isn't what was returned, "Back Porch".... hopefully it's an easy fix.... sorry, I just haven't had time to test the rest...

Thanks!


Return to “Nuvo”

Who is online

Users browsing this forum: No registered users and 1 guest