Fibaro Motion Detector Keeps Triggering Automation

This worked for ages now and this started a couple of updates ago. Not sure which exact version.

If I’m home and this motion detector flips my bedside light goes on and I get a text.

If I’m not home series of lights comes on and I get a text.

If it flips when I am home there is just a constant loop of text, bedside light on, text bedside light on, etc. The only way to stop it is to restart HomeAssistant.

I haven’t changed configuration.yaml at all. This just started happening.

automation 10:
  alias: 'Front Room Motion Home'
  trigger:
    - platform: state
      entity_id: binary_sensor.fibaro_system_fgms001zw5_motion_sensor_sensor_25_0
      from: 'off'
      to: 'on'
  condition:
    condition: and
    conditions:
      - condition: state
        entity_id: device_tracker.phone_phone
        state: 'home'
  action:
    - service: light.turn_on
      entity_id: light.master_bedroom_lamp
    - service: notify.mypushbullet
      data_template:
        title: "Front Room Motion"
        message: >-
          Movement! Some Ting Wong
automation 11:
  alias: 'Front Room Motion Not Home'
  trigger:
    - platform: state
      entity_id: binary_sensor.fibaro_system_fgms001zw5_motion_sensor_sensor_25_0
      from: 'off'
      to: 'on'
  condition:
    condition: and
    conditions:
      - condition: state
        entity_id: device_tracker.phone_phone
        state: 'not_home'
  action:
    - service: switch.turn_on
      entity_id: switch.front_room_light
    - service: notify.mypushbullet
      data_template:
        title: "Front Room Motion"
        message: >-
          Movement! Some Ting Wong
automation 12:
  alias: 'Front Room Motion Lights Off'
  trigger:
    - platform: state
      entity_id: binary_sensor.fibaro_system_fgms001zw5_motion_sensor_sensor_25_0
      from: 'on'
      to: 'off'
  action:
    - service: light.turn_off
      entity_id: light.master_bedroom_lamp

A little more info. When the sensor triggers it lights up as it is supposed to. The check mark appears in the binary sensor and when it times out the sensor lights up again and starts the whole process over.

I’m beginning to think it is a battery issue however the battery reads 100% in the zwave configuration however that shouldn’t be possible. It’s been in for months.

Now for some reason instead of doing it forever it only does it once extra. Obviously it is the physical sensor and not the automation (maybe?)

The turning on and off of lights are known to trigger some motion sensors.

You could probably work around that by turning off this automation when it triggers, than having the light off automation include a delay, followed by turning the light on automation back on.

Thanks. I should have stated that the motion sensor is in a spare room and the light that comes on is in my bedroom. I’m pretty sure it is the battery. I removed it and swapped it with another sensor I had in the house (no new spare batteries) and for now it is behaving.

I have these sensors in all the rooms with windows so that when triggered it should wake me up and allow me time to meet whomever might have entered the room windows with my 20 ga. shotgun. :grinning: