I’d like to use my smartphone WiFi SSID to determine if I’m home or not. When I’m home the alarm (kinda, just notifications from some sensors) needs to be shut off and a light needs to be turned on. Since the sensors update can be forced at maximum 1 minute (but I’d prefer to leave it at 15 minutes to preserve battery) and since 1 minute is too much, is there a way to send an intent to HA companion app to send a sensors update? I would use Tasker to send the intent.

  • bazingabot@lemmy.world
    link
    fedilink
    English
    arrow-up
    3
    ·
    edit-2
    4 months ago

    Oooooor you could just use ‘ping’ in HA and check whether the IP address of your phone is up in your local network. If so, have an automation in HA with lights and stuff…I am using this method since 5 years…works well. The only thing that you need to do is to fix an IP address in your router to the mac address of your phone.

    • peregus@lemmy.worldOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      4 months ago

      Thanks for the idea, that’s what I’ve been using with Node Red. Since I’ve discovered that the WiFi SSID is updated instantly, for me is better and faster to use that to fire an automation.