Using the new ZwaveJS, how would I trigger a chime on the Elexa Dome Siren?
I can manually send a tone to the device by entering a number in the Indicator field as shown below and pressing GO. Seeing as this is not under the Configuration section, is there another way of doing it?
Change paramter 6 (from a service call) to the tone you want, then turn on the switch entity associated with your siren.
For example:
service: zwave_js.set_config_parameter
target:
entity_id: switch.siren_dome
data:
parameter: '6'
value: '4'
Go here for the values associated with each tone type.
https://devices.zwave-js.io/?jumpTo=0x021f:0x0003:0x0088:0.0
Forgot to mention, I believe you have to change parameter 7 to a value of 2 (secondary notification). Should only have to do this once and can do it from ZWwaveJS2MQTT control panel or via Home Assistant service call.
You can set the Indicator value using the zwave_js.set_value
service.
Something like:
entity_id: <any siren entity or use device_id instead>
command_class: 135
property: "value"
value: 4
Hey this worked great, but where did you get command_class: 135
from? Just want to understand it better
It’s listed in the circled value in the original post: 9-135-0-value
== <node id>-<command class id>-<endpoint>-<property>
. 135
(or hex 0x87
) is the ID of the Indicator Command Class. You can find the list of command classes and IDs in numerous places, such as here.