this post was submitted on 25 Jul 2025
598 points (97.8% liked)

Technology

73254 readers
4391 users here now

This is a most excellent place for technology news and articles.


Our Rules


  1. Follow the lemmy.world rules.
  2. Only tech related news or articles.
  3. Be excellent to each other!
  4. Mod approved content bots can post up to 10 articles per day.
  5. Threads asking for personal tech support may be deleted.
  6. Politics threads may be removed.
  7. No memes allowed as posts, OK to post as comments.
  8. Only approved bots from the list below, this includes using AI responses and summaries. To ask if your bot can be added please contact a mod.
  9. Check for duplicates before posting, duplicates may be removed
  10. Accounts 7 days and younger will have their posts automatically removed.

Approved Bots


founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] CosmicTurtle0@lemmy.dbzer0.com 2 points 2 days ago (1 children)

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.

[–] Munkisquisher@lemmy.nz 2 points 14 hours 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