SamY wrote: > Hello all. I have a question for you. I regularly experience a situation > where my AVR won't respond to a "power on" command from the client, no > matter how many times I try. It only happens after the AVR has been > powered off overnight or longer, and the only way to clear it up is to > manually turn the AVR on and off. From then on, everything is > fine....until the next time. I have isolated the problem to a timeout on > the initial 'PW?' command and, using a TCP client, have discovered that > it is not a matter of increasing the timeout value --- the command is > never responded to. My Denon is an AVR-3311ci and is 11 years old, so it > might be something specific to this model's firmware. I have coded a fix > and am waiting for the situation to occur again so I can test it. In the > meantime, my question is: > > Have you ever experienced this problem? If you have, how often does it > happen and what is your AVR model?
I've seen something similar, but far more frequently, sometimes just a small number of minutes apart and while the AVR was powered on. It's been so long since I dealt with this, but several versions back in my DenonSerial plugin I added logic to clear my command queue and close my TCP or serial connection for any given AVR if LMS had sent a command but had not seen a response in the last 10 seconds -- once that much time had elapsed, I knew not to expect a response. In January 2021, my 10 second timeout was reached only four times, and I think back then I had the same basic configuration as today, with LMS polling my AVR every 30 seconds (commands MV?, SI?, and PW? since I use the master zone). In previous months I've seen timeouts more frequently, but I expect that's because in the past I sent more commands (I used to control home theater volume by sending Slim Devices codes to my SB3 and relying on LMS + DenonSerial to relay those to the AVR, but now in the home theater our normal IR remote sends Denon commands and we rely on the every-30-second polling to let LMS know about the change.) Unfortunately I have not been logging the specific commands I've been sending, even in these hang situations. I'm using an AVR 2309CI which only has an RS232 port, so I have a Raspberry Pi running 'ser2net' on Raspbian to allow me to communicate with the AVR over basic TCP. owner of the stuff at https://tuxreborn.netlify.app/ (which used to reside at www.tux.org/~peterw/) Note: The best way to reach me is email or PM, as I don't spend much time on the forums. *Free plugins:* AllQuiet Auto Dim/AutoDisplay BlankSaver ContextMenu DenonSerial FuzzyTime KidsPlay KitchenTimer PlayLog PowerCenter/BottleRocket SaverSwitcher SettingsManager SleepFade StatusFirst SyncOptions VolumeLock ------------------------------------------------------------------------ peterw's Profile: http://forums.slimdevices.com/member.php?userid=2107 View this thread: http://forums.slimdevices.com/showthread.php?t=60114 _______________________________________________ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins