Hi all,
i am trying to set this up for a NZ8 projector but there seems to occur an error somewhere:
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 281, in _async_setup_platform
await asyncio.shield(task)
File "/usr/local/lib/python3.10/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
File "/config/custom_components/jvcprojector/remote.py", line 36, in setup_platform
JVCRemote(name, host, password, port, delay, timeout, retries),
File "/config/custom_components/jvcprojector/remote.py", line 69, in __init__
self._lamp_state = "unknown" if not self._state else self._jvc.command("lamp")
File "/usr/local/lib/python3.10/site-packages/jvc_projector_remote/jvcprojector.py", line 202, in command
return self._send_command(getattr(Commands, commandl[0]))
File "/usr/local/lib/python3.10/site-packages/jvc_projector_remote/jvcprojector.py", line 167, in _send_command
result = command.read(jvc_sock)
File "/usr/local/lib/python3.10/site-packages/jvc_projector_remote/jvccommands.py", line 212, in read
return self.read_valsinv[resp]
KeyError: b'2'
My config is as follows:
platform: jvcprojector
name: NZ8
host: 10.2.0.50
scan_interval: 30
# only required for NZ series and up
#password: MyNZ8
# optional, default is 20554
port: 20554
# optional, float, default is 0.5 seconds
# how long to wait before raising a communication error
timeout: 0.5
# how long to wait between commands
# optional, default is 600 milliseconds
delay: 600
# how many times to retry on connection error
# optional, default is 5
max_retries: 5
Interesting as well is that my device has no option to set a network passwordâŚ
Do you have any idea what could be wrong?
BR