you are viewing a single comment's thread
view the rest of the comments
[–] 10 points 1 year ago (2 children)

Yeah we use it with home assistant, and Bluetooth beacons to turn on the garden lights when we get home, and turn on interior lights if neither of us are marked as home. Also turn on the electric blanket if we are out and heading towards home after 9pm. Also the person detection camera only alerts us if we aren't home.

  • source
  • parent
  • hideshow 4 child comments
  • [–] 15 points 1 year ago (1 child)

    Also turn on the electric blanket if we are out and heading towards home after 9pm

    Make sure it defaults to OFF after power loss. My colleague had a close call when the smart plug with the infra panel plugged in decided to turn on after the power outage.

  • source
  • parent
  • hideshow 2 child comments
  • [–] 2 points 1 year ago (1 child)

    Would you mind sharing your automation yaml for the garden lights? I'd love to do more with Bluetooth beacons but don't know enough about how they work to do anything with them.

  • source
  • parent
  • hideshow 2 child comments
  • [–] 2 points 1 year ago

    We have it hidden in the letterbox. The mobile app has a Bluetooth beacon setting where you can have it report either specified beacons to HA, or all of them and you can filter for the ones you want at that end.

    The automation looks for the beacon to be reported from either of 2 devices and then switches the lights on, quite basic.

    We have a separate automation that turns the scanning for beacons setting in the phone app on at dusk and off at 3am. And another that turns the garden lights off after 10 min triggered by them being switched on

    description: ""
    mode: single
    triggers:
      - value_template: >-
          {{ state_attr('sensor.phone1_beacon_monitor',
          'b5b182c7-eab1-4988-aa99-bd9_1_2') != None  }}
        trigger: template
      - value_template: >-
          {{ state_attr('sensor.phone2_beacon_monitor',
          'b5b182c7-eab1-4988-aa99-bd9_1_2') != None  }}
        trigger: template
    conditions: []
    actions:
      - data: {}
        target:
          entity_id:
            - switch.garden_lights
            - switch.deck_light_table
            - switch.deck_light_bbq
        action: switch.turn_on
      - event: beaconDetected
        event_data: {}
      - if:
          - condition: numeric_state
            entity_id: zone.home
            below: 1
        then:
          - data: {}
            target:
              device_id:
                - b5c12ce8343fda7810b69c24f
                - a71515f86d7d34ef570acbe8
            action: light.turn_on
    
  • source
  • parent