You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
**host:** (string) (Required) your projector IP address.
115
115
116
-
**scan_interval:** (string) (Optional) timeout used to update the component (strong suggestion to set this to 30 or higher)
116
+
**scan_interval:** (string) (Optional) timeout used to update the component
117
+
118
+
**password:** (string) (Optional) only required for NZ series (or up) projectors
119
+
120
+
**port:** (int) (Optional) which port to connect to, default is 20554
121
+
122
+
**timeout:** (float) (Optional) how many seconds to wait for response from projector before a communication error is called, default is 2.0 seconds
123
+
124
+
**delay:** (int) (Optional) how many milliseconds to wait between consecutive commands, default is 600 milliseconds
125
+
126
+
**max_retries:** (int) (Optional) how many times to retry connection on a socket error, default is 5
117
127
118
-
#### Service `remote.turn_off`
128
+
#### Extra State Attributes:
129
+
**`last_commands_sent`:** a list of the commands sent when `remote.send_command` was last called on this entity
130
+
131
+
**`last_commands_response`:** a list of the responses from the projector for each command in `last_commands_sent`. If the command was a successful write command (no response from projector), then the element in this list will be the string `success`. Otherwise, it will be a string representing the response from the projector.
132
+
133
+
**`power_state`:** the current power state of the projector. Will be one of: `lamp_on`, `reserved`, `standby`, `cooling`, `emergency`
134
+
135
+
**`signal_state`:** the current status of the input signal. Will be one of: `no_signal`, `active_signal`
136
+
137
+
**`input_state`:** the current input setting of the projector. Will be one of: `hdmi1`, `hdmi2`
138
+
139
+
**`lamp_state`:** the state of the lamp. Will be one of: `high`, `low`
140
+
141
+
**`picture_mode`:** the current picture mode setting. Will be one of: `cinema`, `natural`, `film`, `THX`, `hlg`, `hdr10`, `user{1-6}`
142
+
143
+
#### Service `remote.turn_off`:
119
144
| Service data attribute | Optional | Description |
| `command` | no |A command (or list of commands) to send. |
158
+
| `delay_secs` | yes |The time in seconds to wait between each command in the list. |
159
+
160
+
161
+
#### Command Strings:
162
+
These command strings will perform an operation on the projector. The corresponding entry in the `last_commands_response` attribute will be `success` if the operation succeeded, or `failed` otherwise. Values in '{}' indicate multiple choices.
163
+
* **Power:** `power-{on,off}` (recommended to use the `remote.turn_on` and `remote.turn_off` services).
Currently there is no feedback for these commands. For power on/off, use the `remote.turn_on` and `remote.turn_off` services, as these retrieve the power state.
These command strings will store the response from the projector in the corresponding element of the `last_commands_response` attribute or `failed` otherwise:
* **Low Latency Mode:** `low_latency`, returns from `on, off`
179
+
* **Mask** `mask`, returns from `off, custom1, custom2, custom3`
180
+
* **Lamp** `lamp`, returns from `high, low`
181
+
* **Lens Aperture** `aperture`, returns from `off, auto1, auto2`
182
+
* **Anamorphic** `anamorphic`, returns from `off, a, b, c`
183
+
* **MAC Address** `macaddr`, returns the projector's MAC address
184
+
* **Model Info** `modelinfo`, returns the model string of the projector
146
185
147
186
### Support
148
187
Check out the [Home Assistant Community Page](https://community.home-assistant.io/t/jvc-projector-component/123417) if you're having trouble getting this working.
0 commit comments