AVS Forum banner
  • Manufacturing, Myths, and Misfires with HDMI Cables. Episode 9 of the AVSForum Podcast is now live! Click here for details.

41 - 60 of 184 Posts
Still the same error in the log :
2023-06-20 21:49:46.928 ERROR (SyncWorker_3) [custom_components.jvc_projectors.remote] timeout getting HDR level

So retrieving the HDR_Level value seems not to work. Neither does setting it.
Were you able to get the latest command documentation from JVC? As they renamed the whole setting in the menu, I assume they also changed the command.
Here are the current states that my NZ8 is providing to HA:
Image
 
Discussion starter · #42 ·
Still the same error in the log :
2023-06-20 21:49:46.928 ERROR (SyncWorker_3) [custom_components.jvc_projectors.remote] timeout getting HDR level

So retrieving the HDR_Level value seems not to work. Neither does setting it.
Were you able to get the latest command documentation from JVC? As they renamed the whole setting in the menu, I assume they also changed the command.
Here are the current states that my NZ8 is providing to HA:
View attachment 3463189
Okay cool since I know thats the one thats failing I can fix it and release a new version. I tonemap to SDR so I didn't encounter it
 
Discussion starter · #43 ·
Still the same error in the log :
2023-06-20 21:49:46.928 ERROR (SyncWorker_3) [custom_components.jvc_projectors.remote] timeout getting HDR level

So retrieving the HDR_Level value seems not to work. Neither does setting it.
Were you able to get the latest command documentation from JVC? As they renamed the whole setting in the menu, I assume they also changed the command.
Here are the current states that my NZ8 is providing to HA:
View attachment 3463189
I checked the latest docs and the command is correct. Are you able to set HDR level in the menu ? I wonder if frame by frame is the cause. There is no difference from JVC if a command is wrong or if its not allowed to run. If it works in the menu, can you send debug logs please ideally after a restart as its a lot of logs to sort through.

Image
 
Hi cricket9998, first, I want to thank you for making this available! I Iearned about home assistant support through the main JVC NZ projector thread. I have the same HDR_level problem as reported above with my NZ8. I debugged your Python library for the following scenarios:

SDR content (User1): No ack received for the query HDR level command (?\x89\x01PMHL\n)
HDR content w/ frame adapt: Ack received, but then no follow up data received.
HDR content w/o frame adapt (User4): Ack received, but then no follow up data received.

How do I set the HDR level in the menu? Is this the mapping level described on page 72 of the manual?

Not to pile on, but I'm also seeing theater optimizer retrieval failing for some modes like User4.

On my HA install, I deleted the call to get_hdr_level() and get_theater_optimizer_state(), which eliminated any issues. Thanks again!
 
Discussion starter · #45 ·
Hi cricket9998, first, I want to thank you for making this available! I Iearned about home assistant support through the main JVC NZ projector thread. I have the same HDR_level problem as reported above with my NZ8. I debugged your Python library for the following scenarios:

SDR content (User1): No ack received for the query HDR level command (?\x89\x01PMHL\n)
HDR content w/ frame adapt: Ack received, but then no follow up data received.
HDR content w/o frame adapt (User4): Ack received, but then no follow up data received.

How do I set the HDR level in the menu? Is this the mapping level described on page 72 of the manual?

Not to pile on, but I'm also seeing theater optimizer retrieval failing for some modes like User4.

On my HA install, I deleted the call to get_hdr_level() and get_theater_optimizer_state(), which eliminated any issues. Thanks again!
Thanks I will investigate this. What picture modes and quantization methods are you actually using for your user4 preset? Iirc theater optimizer only works with certain modes but I have to check the docs.
 
Please find the log attached.
HA was freshly started and a HDR movie was playing. During playback I switched around the quantizer setttings between auto wide and level 0.
The current settings regarding Frame Adapt and TO are visible here:
Image
 

Attachments

Discussion starter · #47 ·
Hi cricket9998, first, I want to thank you for making this available! I Iearned about home assistant support through the main JVC NZ projector thread. I have the same HDR_level problem as reported above with my NZ8. I debugged your Python library for the following scenarios:

SDR content (User1): No ack received for the query HDR level command (?\x89\x01PMHL\n)
HDR content w/ frame adapt: Ack received, but then no follow up data received.
HDR content w/o frame adapt (User4): Ack received, but then no follow up data received.

How do I set the HDR level in the menu? Is this the mapping level described on page 72 of the manual?

Not to pile on, but I'm also seeing theater optimizer retrieval failing for some modes like User4.

On my HA install, I deleted the call to get_hdr_level() and get_theater_optimizer_state(), which eliminated any issues. Thanks again!
Please find the log attached.
HA was freshly started and a HDR movie was playing. During playback I switched around the quantizer setttings between auto wide and level 0.
The current settings regarding Frame Adapt and TO are visible here:
View attachment 3464372
I checked again and its correctly implemented per JVC spec. It could be a bug in the projector or its only allowed to be set under certain circumstances.
 
I know that technically only NX and NZ models are supported, but I was wondering if there had been any luck running this on an RS model (RS440)? It does accept the commands over IP, as I tested out opening and closing the JVC's menu using the command "2E" from another device using a windows exe called JVC Control.

I added the integration into HA through HACS and added this to my YAML:

YAML:
remote:
  - platform: jvc_projectors
    name: jvc.remote
    host: 192.168.1.91
    timeout: 3
    scan_interval: 15 # recommend 15-30. Attributes will poll in this interval
Is the name "jvc.remote" supposed to show up as an entity in HA? I do not see it in my entities list so I'm not sure if there's something else I need to add somewhere else or what I'm missing. If there's no way that this will work with a non NX or NZ model then no worries, just figured I'd see if I could get it to work as that would be really cool.
 
Discussion starter · #50 ·
I know that technically only NX and NZ models are supported, but I was wondering if there had been any luck running this on an RS model (RS440)? It does accept the commands over IP, as I tested out opening and closing the JVC's menu using the command "2E" from another device using a windows exe called JVC Control.

I added the integration into HA through HACS and added this to my YAML:

YAML:
remote:
  - platform: jvc_projectors
    name: jvc.remote
    host: 192.168.1.91
    timeout: 3
    scan_interval: 15 # recommend 15-30. Attributes will poll in this interval
Is the name "jvc.remote" supposed to show up as an entity in HA? I do not see it in my entities list so I'm not sure if there's something else I need to add somewhere else or what I'm missing. If there's no way that this will work with a non NX or NZ model then no worries, just figured I'd see if I could get it to work as that would be really cool.
Yes it will work with any ip based jvc projector I just can’t guarantee every command will work.

Install it via hacs, then add the config as above. I would just name it jvc without any periods. It will show up as remote.jvc after you restart
 
Yes it will work with any ip based jvc projector I just can’t guarantee every command will work.

Install it via hacs, then add the config as above. I would just name it jvc without any periods. It will show up as remote.jvc after you restart
Sweet! Now we're getting somewhere. I see the remote entity after renaming and restarting. Unfortunately I have yet to get any of the commands to work. I am trying to send the Menu command, so for the command I should in theory enter "remote,2E" - correct?

Image
 
Discussion starter · #52 ·
Sweet! Now we're getting somewhere. I see the remote entity after renaming and restarting. Unfortunately I have yet to get any of the commands to work. I am trying to send the Menu command, so for the command I should in theory enter "remote,2E" - correct?

View attachment 3476724
Yes check the logs to see if you have errors. Try menu, menu and see if the main menu comes up
 
Yes check the logs to see if you have errors. Try menu, menu and see if the main menu comes up
What's strange is I can get it to send commands to the JVC if I do a restart in Home Assistant, it will then allow me to send one command to the projector before it starts throwing errors in the HA logs. So for example, if I restart HA, then choose the Menu command, it will bring up the menu, then no longer responds until I restart HA again. I've tried upping the timeout settings in the YAML file, but continue to have this issue. Here is an example of what I'm seeing in the logs:

Code:
This error originated from a custom integration.

Logger: custom_components.jvc_projectors.remote
Source: custom_components/jvc_projectors/remote.py:176
Integration: jvc_projectors
First occurred: 2:41:25 PM (9 occurrences)
Last logged: 2:43:39 PM

Connecting failed, retrying in 2 seconds
retry count for running commands exceeded
Timed out. Command b'?\x89\x01INML\n' may grayed out or cmd is running already.
Code:
Logger: homeassistant.helpers.entity
Source: helpers/entity.py:910
First occurred: 2:41:23 PM (3 occurrences)
Last logged: 2:43:36 PM

Update of remote.jvc is taking over 10 seconds
Code:
Logger: homeassistant.helpers.entity
Source: helpers/entity.py:942
First occurred: 2:41:41 PM (2 occurrences)
Last logged: 2:43:00 PM

Update for remote.jvc fails
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 695, in async_update_ha_state
    await self.async_device_update()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 942, in async_device_update
    await hass.async_add_executor_job(self.update)
TimeoutError: Timed out. Command b'?\x89\x01INML\n' may grayed out or cmd is running already.
Do you have any ideas of what else I could try modifying to see if that would fix it?
 
Discussion starter · #54 ·
What's strange is I can get it to send commands to the JVC if I do a restart in Home Assistant, it will then allow me to send one command to the projector before it starts throwing errors in the HA logs. So for example, if I restart HA, then choose the Menu command, it will bring up the menu, then no longer responds until I restart HA again. I've tried upping the timeout settings in the YAML file, but continue to have this issue. Here is an example of what I'm seeing in the logs:

Code:
This error originated from a custom integration.

Logger: custom_components.jvc_projectors.remote
Source: custom_components/jvc_projectors/remote.py:176
Integration: jvc_projectors
First occurred: 2:41:25 PM (9 occurrences)
Last logged: 2:43:39 PM

Connecting failed, retrying in 2 seconds
retry count for running commands exceeded
Timed out. Command b'?\x89\x01INML\n' may grayed out or cmd is running already.
Code:
Logger: homeassistant.helpers.entity
Source: helpers/entity.py:910
First occurred: 2:41:23 PM (3 occurrences)
Last logged: 2:43:36 PM

Update of remote.jvc is taking over 10 seconds
Code:
Logger: homeassistant.helpers.entity
Source: helpers/entity.py:942
First occurred: 2:41:41 PM (2 occurrences)
Last logged: 2:43:00 PM

Update for remote.jvc fails
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 695, in async_update_ha_state
    await self.async_device_update()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 942, in async_device_update
    await hass.async_add_executor_job(self.update)
TimeoutError: Timed out. Command b'?\x89\x01INML\n' may grayed out or cmd is running already.
Do you have any ideas of what else I could try modifying to see if that would fix it?
Yes I can fix it. Which model do you have? One of the attribute commands isn’t supported by yours
 
Yes I can fix it. Which model do you have? One of the attribute commands isn’t supported by yours
Oh sweet! I have an RS440 (DLA-X5900)

Let me know if you need any additional info
 
  • Like
Reactions: cricket9998
Discussion starter · #56 ·
Oh sweet! I have an RS440 (DLA-X5900)

Let me know if you need any additional info
Its failing on the installation mode command. I did some research and it seems that specific model generation supports it only for loading them, not reading which one is loading. I can add an exception for those models
 
Discussion starter · #57 ·
Oh sweet! I have an RS440 (DLA-X5900)

Let me know if you need any additional info
In HACS can you update to v3.7.3 and try it you will have to turn on prerelease
 
Its failing on the installation mode command. I did some research and it seems that specific model generation supports it only for loading them, not reading which one is loading. I can add an exception for those models
Thanks! Yeah after you mentioned that there was an attribute not supported I looked at that line in the remote file and tried to comment out any mention of Installation Mode but that didn't fix it lol

In HACS can you update to v3.7.3 and try it you will have to turn on prerelease
Installing now! Will report back here shortly
 
In HACS can you update to v3.7.3 and try it you will have to turn on prerelease
Success! That seems to have fixed it for me. So far so good, now I can start automating some of my equipment with HA. Next up will be to add in the Lumagen. Thanks for fixing that!
 
  • Like
Reactions: cricket9998
41 - 60 of 184 Posts