Not sure if this is possible, but I just can’t seem get on tract with this. I am trying to make each of the scene buttons as toggle for the bathroom exhaust fan. I tried using the blueprint for the ZEN32, but it doesn’t work.
I am trying to make each scene button as a timer for the exhaust fan. So scene button 1 will turn on the fan for 5 minutes, button 2 for 15 minutes, button 3 for 30 minutes and button 4 for 60 minutes. The blueprint does make it work, but I am trying to make the same button to turn off the exhaust fan, essentially toggling the exhaust fan. This is useful if I hit one of the scene button by accident.
The z-wave notification gives me results below. How can I use these results to make an automation for each scene button?
Event 3 fired 8:11 PM:
{
"event_type": "zwave_js_value_notification",
"data": {
"domain": "zwave_js",
"node_id": 40,
"home_id": 3825337401,
"endpoint": 0,
"device_id": "ca036dede8d0fcd97ec84a19a23a0a61",
"command_class": 91,
"command_class_name": "Central Scene",
"label": "Scene 004",
"property": "scene",
"property_name": "scene",
"property_key": "004",
"property_key_name": "004",
"value": "KeyPressed",
"value_raw": 0
},
"origin": "LOCAL",
"time_fired": "2022-03-14T00:11:47.072933+00:00",
"context": {
"id": "7d1fd5b5107aa22d481b61628473d7f9",
"parent_id": null,
"user_id": null
}
}
Event 2 fired 8:11 PM:
{
"event_type": "zwave_js_value_notification",
"data": {
"domain": "zwave_js",
"node_id": 40,
"home_id": 3825337401,
"endpoint": 0,
"device_id": "ca036dede8d0fcd97ec84a19a23a0a61",
"command_class": 91,
"command_class_name": "Central Scene",
"label": "Scene 003",
"property": "scene",
"property_name": "scene",
"property_key": "003",
"property_key_name": "003",
"value": "KeyPressed",
"value_raw": 0
},
"origin": "LOCAL",
"time_fired": "2022-03-14T00:11:46.059725+00:00",
"context": {
"id": "f6a7dd6bc5e3822d5f606d4af1ccb6e0",
"parent_id": null,
"user_id": null
}
}
Event 1 fired 8:11 PM:
{
"event_type": "zwave_js_value_notification",
"data": {
"domain": "zwave_js",
"node_id": 40,
"home_id": 3825337401,
"endpoint": 0,
"device_id": "ca036dede8d0fcd97ec84a19a23a0a61",
"command_class": 91,
"command_class_name": "Central Scene",
"label": "Scene 002",
"property": "scene",
"property_name": "scene",
"property_key": "002",
"property_key_name": "002",
"value": "KeyPressed",
"value_raw": 0
},
"origin": "LOCAL",
"time_fired": "2022-03-14T00:11:44.922564+00:00",
"context": {
"id": "cc1d452fea7c06bafc9b52c24e185587",
"parent_id": null,
"user_id": null
}
}
Event 0 fired 8:11 PM:
{
"event_type": "zwave_js_value_notification",
"data": {
"domain": "zwave_js",
"node_id": 40,
"home_id": 3825337401,
"endpoint": 0,
"device_id": "ca036dede8d0fcd97ec84a19a23a0a61",
"command_class": 91,
"command_class_name": "Central Scene",
"label": "Scene 001",
"property": "scene",
"property_name": "scene",
"property_key": "001",
"property_key_name": "001",
"value": "KeyPressed",
"value_raw": 0
},
"origin": "LOCAL",
"time_fired": "2022-03-14T00:11:43.624287+00:00",
"context": {
"id": "f5bf7d0905188d69616b8979bb16add1",
"parent_id": null,
"user_id": null
}
}