Hi,
Thank you very much for getting back to me on this.

It seems it was my fault that the volume wasn't working - the bit that
I'd removed from the Plugin.pm file which checked for a digital output
had just stopped the volume working all together.

In the end I gave up with SoftSqueeze, installed squeezelite which seems
to allow you to fix the volume at 100% and re-installed your plugin. It
now works, except what I presume is a slight incompatibility with my
amp. Looking at the instructions
http://www.awe-europe.com/documents/Control%20Docs/Denon/Archive/avr3310_rs232.pdf
zones 2 and 3 don't support the .5 increments in volume, so the likes of



Code:
--------------------
    
  [13-06-25 12:56:52.1206] Plugins::DenonSerial::Plugin::volumeSBToDenon (315) 
sbvol 40 -> denon 38.5 -> SB 40
  [13-06-25 12:56:52.1209] Plugins::DenonSerial::Plugin::setAmpVolume (355) for 
Kitchen should set amp volume to 38.5 of 98 (SB volume 40)
  [13-06-25 12:56:52.1212] Plugins::DenonSerial::Plugin::enqueue (381) opening 
control socket to 192.168.185.68:23
  [13-06-25 12:56:52.1217] Plugins::DenonSerial::Plugin::enqueue (425) run MV 
for 00:04:20:e1:18:3f at next convenience
  [13-06-25 12:56:52.1219] Plugins::DenonSerial::Plugin::enqueue (429) indicate 
that processCommandFromQueue() should run
  [13-06-25 12:56:52.7217] 
Plugins::DenonSerial::Plugin::processCommandFromQueue (481) for 
00:04:20:e1:18:3f , send command Z2385, queue length 1
  [13-06-25 12:56:52.7220] Plugins::DenonSerial::Plugin::sendCommand (863) send 
command: (connection IP, address 192.168.185.68, command Z2385)
  [13-06-25 12:56:52.7223] Plugins::DenonSerial::Plugin::sendCommand (911) for 
00:04:20:e1:18:3f, indicate we're working on a command, queue length now 1
  [13-06-25 12:56:52.7224] 
Plugins::DenonSerial::Plugin::processCommandFromQueue (492) not done with queue
  [13-06-25 12:56:52.8722] 
Plugins::DenonSerial::Plugin::processCommandFromQueue (454) look for response 
for 00:04:20:e1:18:3f command Z2385
  [13-06-25 12:56:52.8723] Plugins::DenonSerial::Plugin::getResponse (525) for 
00:04:20:e1:18:3f, indicate we're done with the current command since we're 
reading responses, queue length now 1
  [13-06-25 12:56:55.1428] Plugins::DenonSerial::Plugin::closeTCPSocket (673) 
closing TCP connection for IP:192.168.185.68
  
--------------------


are ignored (noted, I guess, by the lack of response).

But:


Code:
--------------------
    
  
  [13-06-25 12:56:44.5067] Plugins::DenonSerial::Plugin::volumeSBToDenon (315) 
sbvol 74 -> denon 72 -> SB 74
  [13-06-25 12:56:44.5069] Plugins::DenonSerial::Plugin::setAmpVolume (355) for 
Kitchen should set amp volume to 72 of 98 (SB volume 74)
  [13-06-25 12:56:44.5072] Plugins::DenonSerial::Plugin::enqueue (381) opening 
control socket to 192.168.185.68:23
  [13-06-25 12:56:44.5077] Plugins::DenonSerial::Plugin::enqueue (425) run MV 
for 00:04:20:e1:18:3f at next convenience
  [13-06-25 12:56:44.5079] Plugins::DenonSerial::Plugin::enqueue (429) indicate 
that processCommandFromQueue() should run
  [13-06-25 12:56:45.1078] 
Plugins::DenonSerial::Plugin::processCommandFromQueue (481) for 
00:04:20:e1:18:3f , send command Z272, queue length 1
  [13-06-25 12:56:45.1080] Plugins::DenonSerial::Plugin::sendCommand (863) send 
command: (connection IP, address 192.168.185.68, command Z272)
  [13-06-25 12:56:45.1083] Plugins::DenonSerial::Plugin::sendCommand (911) for 
00:04:20:e1:18:3f, indicate we're working on a command, queue length now 1
  [13-06-25 12:56:45.1085] 
Plugins::DenonSerial::Plugin::processCommandFromQueue (492) not done with queue
  [13-06-25 12:56:45.2582] 
Plugins::DenonSerial::Plugin::processCommandFromQueue (454) look for response 
for 00:04:20:e1:18:3f command Z272
  [13-06-25 12:56:45.2584] Plugins::DenonSerial::Plugin::getResponse (525) for 
00:04:20:e1:18:3f, indicate we're done with the current command since we're 
reading responses, queue length now 1
  [13-06-25 12:56:45.2586] Plugins::DenonSerial::Plugin::getResponse (558) for 
00:04:20:e1:18:3f, command "Z272", got response "Z272" from remote host
  [13-06-25 12:56:45.5290] Plugins::DenonSerial::Plugin::processResponses (778) 
for 00:04:20:e1:18:3f, command "Z272", process response "Z272"
  [13-06-25 12:56:47.5296] Plugins::DenonSerial::Plugin::closeTCPSocket (673) 
closing TCP connection for IP:192.168.185.68
  
  
--------------------



works!

I'm guessing now that I need to make a change to the "volumeSBToDenon"
function to change the volume to the nearest whole number? any pointers
on this would be greatly appreciated!


------------------------------------------------------------------------
JamesMcBride's Profile: http://forums.slimdevices.com/member.php?userid=60475
View this thread: http://forums.slimdevices.com/showthread.php?t=67182

_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/plugins

Reply via email to