Cor, thanks a lot for the trace.
Not sure why the last 5 minutes were missing, just to double check, before you grab the log file, do you turn the log to disk flag off? That is important because that's when all info is written to disk.
The trace was very helpful, it didn't tell me why the remote stopped working but it shows that each time you turn the TV on/off , some things go wrong in the PI and after each power on, the messages that flow during discovery, doubles, triples, quadruples and by the time this log ended, I could see that the previous discovery processes was already taking 15 seconds and a small gazillion bytes back and forth. My suspicion is that becomes overwhelming and there is a ping/pong 5 second check between TV and PI that I suspect times out and the TV (I suspect) releases the connection.
I believe I have fixed the issue of TV on/off, tweaked the logging somewhat so that we capture a ton less. Attached a new version. I think the key is to turn your TV on/off a couple of times, while we are logging. Something like turn tv off, then on, do some commands (not WOL), wait at least a minute, rinse and repeat. Say 5 cycles. Then turn log flag off and zip log file. The last improvement I'm thinking off is to monitor the arrival of ping messages from the TV, in absence of them , I would declare the connection dead but before I go there, some more logs would be great.
Thanks again,
Dirk
Not sure why the last 5 minutes were missing, just to double check, before you grab the log file, do you turn the log to disk flag off? That is important because that's when all info is written to disk.
The trace was very helpful, it didn't tell me why the remote stopped working but it shows that each time you turn the TV on/off , some things go wrong in the PI and after each power on, the messages that flow during discovery, doubles, triples, quadruples and by the time this log ended, I could see that the previous discovery processes was already taking 15 seconds and a small gazillion bytes back and forth. My suspicion is that becomes overwhelming and there is a ping/pong 5 second check between TV and PI that I suspect times out and the TV (I suspect) releases the connection.
I believe I have fixed the issue of TV on/off, tweaked the logging somewhat so that we capture a ton less. Attached a new version. I think the key is to turn your TV on/off a couple of times, while we are logging. Something like turn tv off, then on, do some commands (not WOL), wait at least a minute, rinse and repeat. Say 5 cycles. Then turn log flag off and zip log file. The last improvement I'm thinking off is to monitor the arrival of ping messages from the TV, in absence of them , I would declare the connection dead but before I go there, some more logs would be great.
Thanks again,
Dirk
Comment