I’m using Telnet to fire up our two projectors in our sanctuary automatically. The ON switch works. What doesn’t work is detecting the state of the device.
If I type in the state command CR0
into the telnet session, I get the appropriate response, which is one of 5 potential responses, all being a numeric value. When the projectors first fire up, they respond with 4 (searching for input) and when there’s input, they switch to 7.
So, I figured, according to the component’s configuration instructions, adding the following:
command_state: "CR0"
value_template: '{{ value == "4" or value == "7" }}'
would yield a result of true
, but all I get in the log is Empty response for command: CR0
So, there’s really no way for HA to know if the projector is on or not. Likewise, they don’t seem to work very well with the known_devices list. One of them is there, and one is not, but their home / away
states never change regardless of their actual state.
Any ideas?