Open AnalogThinker opened 3 weeks ago
Hey there @steveeasley, @msavazzi, mind taking a look at this issue as it has been labeled with an integration (jvc_projector
) you are listed as a code owner for? Thanks!
(message by CodeOwnersMention)
jvc_projector documentation jvc_projector source (message by IssueLinks)
From scrolling through the previous HACS community-driven project, there were reports of issues from command sequence/ACK and internal command delays were implemented to avoid some similar behaviours.
Yeah I worked on a similar issue before in https://github.com/home-assistant/core/issues/116233. This is the first I have heard it happening since the fix for it. Would you mind enabling debugging and attaching some logs?
Turn on logging by going to Settings | Devices and Services, click the JVC integration, then click Enable debug logging.
Now see if you can get it to fail.
View the logs by going to Settings | System | Logs, and click Load Full Logs (you may need refresh the logs a few times to get it all.
home-assistant_jvc_projector_2024-09-03T01-28-54.504Z.log
Hey @SteveEasley It happened another few times since my post, and was able to have the Log enabled on my last Movie/Gaming session. Please see attached.
For pointers, if this helps: HA reports JVC became Unknown at 06:07:50PM HA reports JVC became Unavailable at 06:07:57 PM
Since that time, all options are greyed out, and my projector is unresponsive, regardless of the input method (It doesn't ping anymore, no Remote/Physical unit buttons do anything). That will be another power cord pull.
The unit lock-up is so odd... I don't feel like I'm ready to take the unit down for JTAG logging tho, hope you can see something from the log haha!
Edit : It doesn't ping anymore, just checked. Cisco switch says Physical link is Up to the JVC, and RJ45 on the Projector indeed shows Link from lit green LED, with Orange activity blinking as expected.
@AnalogThinker I would suggest a ticket is opened with JVC as is really a bad behavior, in any case the projector should not lock completely to force a power disconnection.
This is where something weird happens: “ 2024-09-02 18:07:13.619 DEBUG (MainThread) [homeassistant.components.jvc_projector.coordinator] Finished fetching JVC Projector data in 1.831 seconds (success: True) 2024-09-02 18:07:18.782 DEBUG (MainThread) [jvcprojector.device] Connecting to 192.168.2.5 2024-09-02 18:07:18.785 DEBUG (MainThread) [jvcprojector.device] Handshake received b'PJ_OK' 2024-09-02 18:07:18.786 DEBUG (MainThread) [jvcprojector.device] Handshake sending 'PJREQ' 2024-09-02 18:07:18.788 DEBUG (MainThread) [jvcprojector.device] Handshake received b'PJACK' 2024-09-02 18:07:18.788 DEBUG (MainThread) [jvcprojector.device] Sending ref 'PW (b'?\x89\x01PW\n')' 2024-09-02 18:07:18.863 DEBUG (MainThread) [jvcprojector.device] Received ack b'\x06\x89\x01PW\n' 2024-09-02 18:07:18.864 DEBUG (MainThread) [jvcprojector.device] Received ref b'1' (b'@\x89\x01PW1\n') 2024-09-02 18:07:19.366 DEBUG (MainThread) [jvcprojector.device] Sending ref 'IP (b'?\x89\x01IP\n')' 2024-09-02 18:07:34.368 WARNING (MainThread) [jvcprojector.device] Response timeout for 'IP' 2024-09-02 18:07:34.919 DEBUG (MainThread) [jvcprojector.device] Sending ref 'SC (b'?\x89\x01SC\n')' 2024-09-02 18:07:49.921 WARNING (MainThread) [jvcprojector.device] Response timeout for 'SC' 2024-09-02 18:07:50.424 DEBUG (MainThread) [jvcprojector.device] Disconnected 2024-09-02 18:07:50.425 DEBUG (MainThread) [homeassistant.components.jvc_projector.coordinator] Finished fetching JVC Projector data in 31.643 seconds (success: True) “ As there are 2 time outs on a normal IP command and then there is the time out on the SC command (each 15 sec). Overall the data check returns true even if an error occurred. From then on the projector becomes unresponsive.
All the previous interactions are the 5sec pool on the status, I do not see any special command in the sequence
Also the time is not too much: 2024-09-02 16:27:17.911 ERROR (MainThread) [homeassistant.components.jvc_projector.coordinator] Unexpected error fetching JVC Projector data ConnectionResetError: [Errno 104] Connection reset by peer
Last good one: 2024-09-02 18:07:13.617 DEBUG (MainThread) [jvcprojector.device] Disconnected
The problem
I was recommended to open a new ticket for this issue.
Problem:
Projector details : Make : JVC Model : DLA-RS45U
Potential issue: From scrolling through the previous HACS community-driven project, there were reports of issues from command sequence/ACK and internal command delays were implemented to avoid some similar behaviours. May be related or not.
What version of Home Assistant Core has the issue?
core-2024.8.2
What was the last working version of Home Assistant Core?
No response
What type of installation are you running?
Home Assistant OS
Integration causing the issue
jvc_projector
Link to integration documentation on our website
https://www.home-assistant.io/integrations/jvc_projector/
Diagnostics information
No response
Example YAML snippet
No response
Anything in the logs that might be useful for us?
followed by :
Also found this: