Thanks. Iām going to check it shortly.
Now, Iām trying to get to work room by room. The garage seems to work fine now after Iām using the burglar entity to trigger the lights but for some reason Iām having issues getting everything else to work. In the garage I use the https://amzn.to/2X6MCR4 motion sensor and everywhere else I use the Fibaro motion sensors https://amzn.to/2LA96TM
It makes me think Iām doing something wrong with Fibaro motion sensors. The following Living Room automation doesnāt work at all now although I see that there is a burglar alert in the logs. The first part of the code is the garage automation and then there is the living room that doesnāt work.
- alias: Turn on garage lights when there is movement
trigger:
- platform: state
entity_id: sensor.elexa_consumer_products_inc_dome_motion_detector_burglar, sensor.elexa_consumer_products_inc_dome_motion_detector_burglar_2
to: '8'
action:
- service: homeassistant.turn_on
data:
entity_id:
- switch.garage_light
- service: timer.start
data:
entity_id: timer.garage
- alias: Turn off garage lights 1 minutes after trigger
trigger:
platform: event
event_type: timer.finished
event_data:
entity_id: timer.garage
action:
service: homeassistant.turn_off
data:
entity_id:
- switch.garage_light
- alias: Turn on living room lights when there is movement
trigger:
- platform: state
entity_id: sensor.fibaro_system_fgms001_zw5_motion_sensor_burglar_3
to: '8'
action:
- service: homeassistant.turn_on
data:
entity_id:
- light.living_room
- service: timer.start
data:
entity_id: timer.living_room
- alias: Turn off living room 1 lights 1 minutes after trigger
trigger:
platform: event
event_type: timer.finished
event_data:
entity_id: timer.living_room
action:
service: homeassistant.turn_off
data:
entity_id:
- light.living_room
Logs:
2019-07-03 17:39:17.607 Detail, Node016, Received: 0x01, 0x0f, 0x00, 0x04, 0x00, 0x10, 0x09, 0x71, 0x05, 0x00, 0x00, 0x00, 0xff, 0x07, 0x08, 0x00, 0x69
2019-07-03 17:39:17.607 Detail,
2019-07-03 17:39:17.607 Info, Node016, Received Alarm report: type=0, level=0, sensorSrcID=0, type:Burglar event:8, status=255
2019-07-03 17:39:17.607 Detail, Node016, Refreshed Value: old value=0, new value=0, type=byte
2019-07-03 17:39:17.607 Detail, Node016, Changes to this value are not verified
2019-07-03 17:39:17.607 Detail, Node016, Refreshed Value: old value=0, new value=0, type=byte
2019-07-03 17:39:17.607 Detail, Node016, Changes to this value are not verified
2019-07-03 17:39:17.608 Detail, Node016, Refreshed Value: old value=0, new value=0, type=byte
2019-07-03 17:39:17.608 Detail, Node016, Changes to this value are not verified
2019-07-03 17:39:17.608 Detail, Node016, Refreshed Value: old value=8, new value=8, type=byte
2019-07-03 17:39:17.608 Detail, Node016, Changes to this value are not verified
2019-07-03 17:39:17.608 Detail, Node016, Notification: ValueChanged
2019-07-03 17:39:17.627 Detail, Node016, Notification: ValueChanged
2019-07-03 17:39:17.647 Detail, Node016, Notification: ValueChanged
2019-07-03 17:39:17.666 Detail, Node016, Notification: ValueChanged
2019-07-03 17:39:17.827 Detail, Received: 0x01, 0x07, 0x00, 0x13, 0x98, 0x01, 0x03, 0x79, 0x08
2019-07-03 17:39:17.827 Detail, ZW_SEND_DATA Request with callback ID 0x98 received (expected 0x00)
2019-07-03 17:39:17.827 Warning, WARNING: Unexpected Callback ID received
2019-07-03 17:39:20.727 Detail, Node016, Received: 0x01, 0x0a, 0x00, 0x04, 0x00, 0x10, 0x04, 0x30, 0x03, 0xff, 0x0c, 0x25
2019-07-03 17:39:20.728 Detail,
2019-07-03 17:39:20.728 Info, Node016, Received SensorBinary report: Sensor:12 State=On
2019-07-03 17:39:20.728 Detail, Node016, Refreshed Value: old value=true, new value=true, type=bool
2019-07-03 17:39:20.728 Detail, Node016, Changes to this value are not verified
2019-07-03 17:39:20.728 Detail, Node016, Notification: ValueChanged
2019-07-03 17:39:23.902 Detail, Node016, Received: 0x01, 0x0f, 0x00, 0x04, 0x00, 0x10, 0x09, 0x71, 0x05, 0x00, 0x00, 0x00, 0xff, 0x07, 0x08, 0x00, 0x69
2019-07-03 17:39:23.902 Detail,
2019-07-03 17:39:23.902 Info, Node016, Received Alarm report: type=0, level=0, sensorSrcID=0, type:Burglar event:8, status=255
2019-07-03 17:39:23.902 Detail, Node016, Refreshed Value: old value=0, new value=0, type=byte
2019-07-03 17:39:23.902 Detail, Node016, Changes to this value are not verified
2019-07-03 17:39:23.902 Detail, Node016, Refreshed Value: old value=0, new value=0, type=byte
2019-07-03 17:39:23.902 Detail, Node016, Changes to this value are not verified
2019-07-03 17:39:23.903 Detail, Node016, Refreshed Value: old value=0, new value=0, type=byte
2019-07-03 17:39:23.903 Detail, Node016, Changes to this value are not verified
2019-07-03 17:39:23.903 Detail, Node016, Refreshed Value: old value=8, new value=8, type=byte
2019-07-03 17:39:23.903 Detail, Node016, Changes to this value are not verified
2019-07-03 17:39:23.903 Detail, Node016, Notification: ValueChanged
2019-07-03 17:39:23.922 Detail, Node016, Notification: ValueChanged
2019-07-03 17:39:23.942 Detail, Node016, Notification: ValueChanged
2019-07-03 17:39:23.961 Detail, Node016, Notification: ValueChanged
2019-07-03 17:39:23.981 Detail, Node016, Received: 0x01, 0x0a, 0x00, 0x04, 0x00, 0x10, 0x04, 0x30, 0x03, 0xff, 0x0c, 0x25
2019-07-03 17:39:23.981 Detail,
2019-07-03 17:39:23.981 Info, Node016, Received SensorBinary report: Sensor:12 State=On
2019-07-03 17:39:23.981 Detail, Node016, Refreshed Value: old value=true, new value=true, type=bool
2019-07-03 17:39:23.981 Detail, Node016, Changes to this value are not verified
2019-07-03 17:39:23.981 Detail, Node016, Notification: ValueChanged
2019-07-03 17:39:55.518 Detail, Node016, Received: 0x01, 0x10, 0x00, 0x04, 0x00, 0x10, 0x0a, 0x71, 0x05, 0x00, 0x00, 0x00, 0xff, 0x07, 0x00, 0x01, 0x08, 0x74
2019-07-03 17:39:55.519 Detail,
2019-07-03 17:39:55.523 Info, Node016, Received Alarm report: type=0, level=0, sensorSrcID=0, type:Burglar event:0, status=255
2019-07-03 17:39:55.524 Detail, Node016, Refreshed Value: old value=0, new value=0, type=byte
2019-07-03 17:39:55.524 Detail, Node016, Changes to this value are not verified
2019-07-03 17:39:55.524 Detail, Node016, Refreshed Value: old value=0, new value=0, type=byte
2019-07-03 17:39:55.524 Detail, Node016, Changes to this value are not verified
2019-07-03 17:39:55.524 Detail, Node016, Refreshed Value: old value=0, new value=0, type=byte
2019-07-03 17:39:55.524 Detail, Node016, Changes to this value are not verified
2019-07-03 17:39:55.524 Detail, Node016, Refreshed Value: old value=8, new value=0, type=byte
2019-07-03 17:39:55.524 Detail, Node016, Changes to this value are not verified
2019-07-03 17:39:55.524 Detail, Node016, Notification: ValueChanged
2019-07-03 17:39:55.545 Detail, Node016, Notification: ValueChanged
2019-07-03 17:39:55.564 Detail, Node016, Notification: ValueChanged
2019-07-03 17:39:55.584 Detail, Node016, Notification: ValueChanged
2019-07-03 17:39:55.603 Detail, Node016, Received: 0x01, 0x0a, 0x00, 0x04, 0x00, 0x10, 0x04, 0x30, 0x03, 0x00, 0x0c, 0xda
2019-07-03 17:39:55.604 Detail,
2019-07-03 17:39:55.604 Info, Node016, Received SensorBinary report: Sensor:12 State=Off
2019-07-03 17:39:55.604 Detail, Node016, Refreshed Value: old value=true, new value=false, type=bool
2019-07-03 17:39:55.604 Detail, Node016, Changes to this value are not verified
2019-07-03 17:39:55.604 Detail, Node016, Notification: ValueChanged
2019-07-03 17:40:09.035 Info, Node008, Value::Set - COMMAND_CLASS_SWITCH_MULTILEVEL - Dimming Duration - 5 - 1 - 255
2019-07-03 17:40:09.036 Detail, Node008, Refreshed Value: old value=255, new value=255, type=byte
2019-07-03 17:40:09.036 Detail, Node008, Changes to this value are not verified
2019-07-03 17:40:09.036 Detail, Node008, Notification: ValueChanged
2019-07-03 17:40:09.038 Info, Node008, Value::Set - COMMAND_CLASS_SWITCH_MULTILEVEL - Level - 0 - 1 - 0
2019-07-03 17:40:09.038 Info, Node008, SwitchMultilevel::Set - Setting to level 0
2019-07-03 17:40:09.038 Info, Node008, Duration: Default
2019-07-03 17:40:09.039 Detail, Node008, Queuing (Send) SwitchMultilevelCmd_Set (Node=8): 0x01, 0x0b, 0x00, 0x13, 0x08, 0x04, 0x26, 0x01, 0x00, 0xff, 0x25, 0x9a, 0x8c
2019-07-03 17:40:09.039 Detail, Node008, Queuing (Send) SwitchMultilevelCmd_Get (Node=8): 0x01, 0x09, 0x00, 0x13, 0x08, 0x02, 0x26, 0x02, 0x25, 0x9b, 0x75
2019-07-03 17:40:09.068 Detail,
2019-07-03 17:40:09.069 Info, Node008, Sending (Send) message (Callback ID=0x9a, Expected Reply=0x13) - SwitchMultilevelCmd_Set (Node=8): 0x01, 0x0b, 0x00, 0x13, 0x08, 0x04, 0x26, 0x01, 0x00, 0xff, 0x25, 0x9a, 0x8c
2019-07-03 17:40:09.077 Detail, Node008, Received: 0x01, 0x04, 0x01, 0x13, 0x01, 0xe8
2019-07-03 17:40:09.078 Detail, Node008, ZW_SEND_DATA delivered to Z-Wave stack
2019-07-03 17:40:09.094 Detail, Node008, Received: 0x01, 0x07, 0x00, 0x13, 0x9a, 0x00, 0x00, 0x02, 0x73
2019-07-03 17:40:09.094 Detail, Node008, ZW_SEND_DATA Request with callback ID 0x9a received (expected 0x9a)
2019-07-03 17:40:09.094 Info, Node008, Request RTT 25 Average Request RTT 99
2019-07-03 17:40:09.094 Detail, Expected callbackId was received
2019-07-03 17:40:09.094 Detail, Expected reply was received
2019-07-03 17:40:09.094 Detail, Message transaction complete
2019-07-03 17:40:09.094 Detail,
2019-07-03 17:40:09.095 Detail, Node008, Removing current message
2019-07-03 17:40:09.095 Detail,
2019-07-03 17:40:09.095 Info, Node008, Sending (Send) message (Callback ID=0x9b, Expected Reply=0x04) - SwitchMultilevelCmd_Get (Node=8): 0x01, 0x09, 0x00, 0x13, 0x08, 0x02, 0x26, 0x02, 0x25, 0x9b, 0x75
2019-07-03 17:40:09.103 Detail, Node008, Received: 0x01, 0x04, 0x01, 0x13, 0x01, 0xe8
2019-07-03 17:40:09.103 Detail, Node008, ZW_SEND_DATA delivered to Z-Wave stack
2019-07-03 17:40:09.119 Detail, Node008, Received: 0x01, 0x07, 0x00, 0x13, 0x9b, 0x00, 0x00, 0x03, 0x73
2019-07-03 17:40:09.119 Detail, Node008, ZW_SEND_DATA Request with callback ID 0x9b received (expected 0x9b)
2019-07-03 17:40:09.119 Info, Node008, Request RTT 24 Average Request RTT 61
2019-07-03 17:40:09.120 Detail, Expected callbackId was received
2019-07-03 17:40:09.131 Detail, Node008, Received: 0x01, 0x09, 0x00, 0x04, 0x00, 0x08, 0x03, 0x26, 0x03, 0x00, 0xdc
2019-07-03 17:40:09.131 Detail,
2019-07-03 17:40:09.131 Info, Node008, Response RTT 36 Average Response RTT 96
2019-07-03 17:40:09.131 Info, Node008, Received SwitchMultiLevel report: level=0
2019-07-03 17:40:09.131 Detail, Node008, Refreshed Value: old value=0, new value=0, type=byte
2019-07-03 17:40:09.131 Detail, Node008, Changes to this value are not verified
2019-07-03 17:40:09.131 Detail, Node008, Expected reply and command class was received
2019-07-03 17:40:09.131 Detail, Node008, Message transaction complete
2019-07-03 17:40:09.131 Detail,
2019-07-03 17:40:09.132 Detail, Node008, Removing current message
2019-07-03 17:40:09.132 Detail, Node008, Notification: ValueChanged
2019-07-03 17:40:10.047 Info, mgr, Refreshing node 8: COMMAND_CLASS_SWITCH_MULTILEVEL index = 0 instance = 1 (to confirm a reported change)
2019-07-03 17:40:10.047 Detail, Node008, Queuing (Send) SwitchMultilevelCmd_Get (Node=8): 0x01, 0x09, 0x00, 0x13, 0x08, 0x02, 0x26, 0x02, 0x25, 0x9c, 0x72
2019-07-03 17:40:10.048 Detail,
2019-07-03 17:40:10.048 Info, Node008, Sending (Send) message (Callback ID=0x9c, Expected Reply=0x04) - SwitchMultilevelCmd_Get (Node=8): 0x01, 0x09, 0x00, 0x13, 0x08, 0x02, 0x26, 0x02, 0x25, 0x9c, 0x72
2019-07-03 17:40:10.056 Detail, Node008, Received: 0x01, 0x04, 0x01, 0x13, 0x01, 0xe8
2019-07-03 17:40:10.056 Detail, Node008, ZW_SEND_DATA delivered to Z-Wave stack
2019-07-03 17:40:10.072 Detail, Node008, Received: 0x01, 0x07, 0x00, 0x13, 0x9c, 0x00, 0x00, 0x02, 0x75
2019-07-03 17:40:10.072 Detail, Node008, ZW_SEND_DATA Request with callback ID 0x9c received (expected 0x9c)
2019-07-03 17:40:10.073 Info, Node008, Request RTT 24 Average Request RTT 42
2019-07-03 17:40:10.073 Detail, Expected callbackId was received
2019-07-03 17:40:10.086 Detail, Node008, Received: 0x01, 0x09, 0x00, 0x04, 0x00, 0x08, 0x03, 0x26, 0x03, 0x00, 0xdc
2019-07-03 17:40:10.086 Detail,
2019-07-03 17:40:10.086 Info, Node008, Response RTT 38 Average Response RTT 67
2019-07-03 17:40:10.087 Info, Node008, Received SwitchMultiLevel report: level=0
2019-07-03 17:40:10.087 Detail, Node008, Refreshed Value: old value=0, new value=0, type=byte
2019-07-03 17:40:10.087 Detail, Node008, Changes to this value are not verified
2019-07-03 17:40:10.087 Detail, Node008, Expected reply and command class was received
2019-07-03 17:40:10.087 Detail, Node008, Message transaction complete
2019-07-03 17:40:10.087 Detail,
2019-07-03 17:40:10.087 Detail, Node008, Removing current message
2019-07-03 17:40:10.087 Detail, Node008, Notification: ValueChanged
2019-07-03 17:40:11.053 Info, mgr, Refreshing node 8: COMMAND_CLASS_SWITCH_MULTILEVEL index = 0 instance = 1 (to confirm a reported change)
2019-07-03 17:40:11.053 Detail, Node008, Queuing (Send) SwitchMultilevelCmd_Get (Node=8): 0x01, 0x09, 0x00, 0x13, 0x08, 0x02, 0x26, 0x02, 0x25, 0x9d, 0x73
2019-07-03 17:40:11.053 Detail,
2019-07-03 17:40:11.053 Info, Node008, Sending (Send) message (Callback ID=0x9d, Expected Reply=0x04) - SwitchMultilevelCmd_Get (Node=8): 0x01, 0x09, 0x00, 0x13, 0x08, 0x02, 0x26, 0x02, 0x25, 0x9d, 0x73
2019-07-03 17:40:11.061 Detail, Node008, Received: 0x01, 0x04, 0x01, 0x13, 0x01, 0xe8
2019-07-03 17:40:11.062 Detail, Node008, ZW_SEND_DATA delivered to Z-Wave stack
2019-07-03 17:40:11.078 Detail, Node008, Received: 0x01, 0x07, 0x00, 0x13, 0x9d, 0x00, 0x00, 0x02, 0x74
2019-07-03 17:40:11.078 Detail, Node008, ZW_SEND_DATA Request with callback ID 0x9d received (expected 0x9d)
2019-07-03 17:40:11.078 Info, Node008, Request RTT 24 Average Request RTT 33
2019-07-03 17:40:11.078 Detail, Expected callbackId was received
2019-07-03 17:40:11.089 Detail, Node008, Received: 0x01, 0x09, 0x00, 0x04, 0x00, 0x08, 0x03, 0x26, 0x03, 0x00, 0xdc
2019-07-03 17:40:11.089 Detail,
2019-07-03 17:40:11.089 Info, Node008, Response RTT 35 Average Response RTT 51
2019-07-03 17:40:11.090 Info, Node008, Received SwitchMultiLevel report: level=0
2019-07-03 17:40:11.090 Detail, Node008, Refreshed Value: old value=0, new value=0, type=byte
2019-07-03 17:40:11.090 Detail, Node008, Changes to this value are not verified
2019-07-03 17:40:11.090 Detail, Node008, Expected reply and command class was received
2019-07-03 17:40:11.090 Detail, Node008, Message transaction complete
2019-07-03 17:40:11.090 Detail,
2019-07-03 17:40:11.090 Detail, Node008, Removing current message
2019-07-03 17:40:11.090 Detail, Node008, Notification: ValueChanged
Just by looking at the logs it looks like the Fibaro sensor (Node016) gets triggered and sends a message to the Node008 (Living room switch).