Skip to content
  • MySensors
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo
  1. Home
  2. Hardware
  3. Using an arduino nano as proximity sensor similar thing

Using an arduino nano as proximity sensor similar thing

Scheduled Pinned Locked Moved Hardware
6 Posts 4 Posters 1.7k Views 3 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • riochickenR Offline
    riochickenR Offline
    riochicken
    wrote on last edited by
    #1

    Hi,

    Anybody an idea if there is a way to use an Arduino nano as a kind of proximity thing? My idea is to use it in 1) the car 2) a bag so everytime I (or my car) is in the neighborhood of my vera, the alarm shuts down etc... At the moment there is no way of telling Vera if a device comes back online to do some tasks, except when using ping of course, but that is not that accurate, plus my car has a wifi point as well and my phone stays connected to the car instead of connecting to the home wifi...

    Just a thought no idea if it can be programmed in the code itself...

    Thanks!

    Kind regards

    Richard

    dbemowskD mfalkviddM 2 Replies Last reply
    0
    • riochickenR riochicken

      Hi,

      Anybody an idea if there is a way to use an Arduino nano as a kind of proximity thing? My idea is to use it in 1) the car 2) a bag so everytime I (or my car) is in the neighborhood of my vera, the alarm shuts down etc... At the moment there is no way of telling Vera if a device comes back online to do some tasks, except when using ping of course, but that is not that accurate, plus my car has a wifi point as well and my phone stays connected to the car instead of connecting to the home wifi...

      Just a thought no idea if it can be programmed in the code itself...

      Thanks!

      Kind regards

      Richard

      dbemowskD Offline
      dbemowskD Offline
      dbemowsk
      wrote on last edited by
      #2

      @riochicken For your car, you could create a MySensors node that would communicate with the gateway at a regular interval with a value. This could be connected to your car and when in range of your gateway or a repeater node it would tell your controller that your car is in range, or home. You could have multiple nodes, such as one for each of your cars (if you have more than one) to tell when you or your wife's vehicles are home or away.

      Another option too is using geofencing with your phone. The vera phone app has a geofencing option, but there are limitations and drawbacks to that too. This requires that your phone be charged and running with the GPS enabled at all times which is not always practical.

      Reliable intelligent occupancy sensing is one of the holy grails of home automation, For now we need to work with what we have.

      Vera Plus running UI7 with MySensors, Sonoffs and 1-Wire devices
      Visit my website for more Bits, Bytes and Ramblings from me: http://dan.bemowski.info/

      1 Reply Last reply
      0
      • riochickenR riochicken

        Hi,

        Anybody an idea if there is a way to use an Arduino nano as a kind of proximity thing? My idea is to use it in 1) the car 2) a bag so everytime I (or my car) is in the neighborhood of my vera, the alarm shuts down etc... At the moment there is no way of telling Vera if a device comes back online to do some tasks, except when using ping of course, but that is not that accurate, plus my car has a wifi point as well and my phone stays connected to the car instead of connecting to the home wifi...

        Just a thought no idea if it can be programmed in the code itself...

        Thanks!

        Kind regards

        Richard

        mfalkviddM Offline
        mfalkviddM Offline
        mfalkvidd
        Mod
        wrote on last edited by
        #3

        @riochicken maybe you could use something like @flopp's car start counter, but instead of number of car starts you would report the current time. The controller could then disarm the alarm when the current time is recent. When the car leaves, it will no longer update the time stamp. The controller can then re-arm the alarm if the time stamp is too old.

        1 Reply Last reply
        1
        • MiKaM Offline
          MiKaM Offline
          MiKa
          wrote on last edited by
          #4

          In case of interest: https://www.domoticz.com/wiki/Presence_detection_(Bluetooth_4.0_Low_energy_Beacon)

          riochickenR 1 Reply Last reply
          1
          • MiKaM MiKa

            In case of interest: https://www.domoticz.com/wiki/Presence_detection_(Bluetooth_4.0_Low_energy_Beacon)

            riochickenR Offline
            riochickenR Offline
            riochicken
            wrote on last edited by
            #5

            @MiKa Thanks Mika, but not that what I am looking for, I would like to use it with a mysensor setup if possible..

            1 Reply Last reply
            0
            • riochickenR Offline
              riochickenR Offline
              riochicken
              wrote on last edited by
              #6

              I used a ESP8266WiFi module with a static IP address and that seems to be working fine, but then again, the car needs to be in the neighborhood... Would be nice to have something like a bluetooth module of some kind to detect a bluetooth device such as my phone... gotta keep on dreaming... :)

              1 Reply Last reply
              0
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              10

              Online

              11.7k

              Users

              11.2k

              Topics

              113.0k

              Posts


              Copyright 2019 TBD   |   Forum Guidelines   |   Privacy Policy   |   Terms of Service
              • Login

              • Don't have an account? Register

              • Login or register to search.
              • First post
                Last post
              0
              • MySensors
              • OpenHardware.io
              • Categories
              • Recent
              • Tags
              • Popular