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. General Discussion
  3. At home / away?

At home / away?

Scheduled Pinned Locked Moved General Discussion
away
25 Posts 11 Posters 3.4k Views 11 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.
  • Michael_KM Michael_K

    Hello.
    I'm new to MySensors. I have a Z-Wave system (Homeseer), and would like to tell it that I'm away, and that I've returned.
    I researched RFID, and found a system that would do it (UHF, active transponder tag). I even found an inexpensive interrogator ($150).
    But, I'm wondering if MySensors would be better suited for this project. And, I have 4 other projects for my MySensor network, to augment my Z-Wave system.

    Has anyone tried this?

    Being new to MySensors, I think that the only way to accomplish this task would be for me to put a node in my car (powered when the car is running), and for the system to watch for the loss/reconnection of that node. Is that practical?

    zboblamontZ Offline
    zboblamontZ Offline
    zboblamont
    wrote on last edited by
    #2

    @michael_k Have you considered a phone link latching via bluetooth or similar? Unless you do not have a mobile phone of course.
    Fairly sure somebody very recently posted a piece where his electric car charger would only activate if he was getting close to home, how it was done I cannot recall....

    Michael_KM 1 Reply Last reply
    0
    • Michael_KM Michael_K

      Hello.
      I'm new to MySensors. I have a Z-Wave system (Homeseer), and would like to tell it that I'm away, and that I've returned.
      I researched RFID, and found a system that would do it (UHF, active transponder tag). I even found an inexpensive interrogator ($150).
      But, I'm wondering if MySensors would be better suited for this project. And, I have 4 other projects for my MySensor network, to augment my Z-Wave system.

      Has anyone tried this?

      Being new to MySensors, I think that the only way to accomplish this task would be for me to put a node in my car (powered when the car is running), and for the system to watch for the loss/reconnection of that node. Is that practical?

      sundberg84S Offline
      sundberg84S Offline
      sundberg84
      Hardware Contributor
      wrote on last edited by
      #3

      @michael_k - I'm just using a geofence on our cell phones triggering a fake device in the controller.

      Controller: Proxmox VM - Home Assistant
      MySensors GW: Arduino Uno - W5100 Ethernet, Gw Shield Nrf24l01+ 2,4Ghz
      MySensors GW: Arduino Uno - Gw Shield RFM69, 433mhz
      RFLink GW - Arduino Mega + RFLink Shield, 433mhz

      1 Reply Last reply
      0
      • gohanG Offline
        gohanG Offline
        gohan
        Mod
        wrote on last edited by
        #4

        Other people are using BT Le tags or smart bands that get scanned for their Mac address

        1 Reply Last reply
        0
        • tbowmoT Offline
          tbowmoT Offline
          tbowmo
          Admin
          wrote on last edited by
          #5

          I just use the wifi/lan, and check which mac addresses is connected.. If I see my phone on the wifi/lan, I must be at home..

          Depends on the capabilities of your router / AP's though..

          YveauxY 1 Reply Last reply
          0
          • tbowmoT tbowmo

            I just use the wifi/lan, and check which mac addresses is connected.. If I see my phone on the wifi/lan, I must be at home..

            Depends on the capabilities of your router / AP's though..

            YveauxY Offline
            YveauxY Offline
            Yveaux
            Mod
            wrote on last edited by Yveaux
            #6

            @tbowmo recent Android (and probably ios too) disables wifi when the phone is at rest for some time. You aren't able to distinguish between phone at rest and phone away...
            I had to give up this route...

            http://yveaux.blogspot.nl

            sundberg84S tbowmoT 2 Replies Last reply
            1
            • YveauxY Yveaux

              @tbowmo recent Android (and probably ios too) disables wifi when the phone is at rest for some time. You aren't able to distinguish between phone at rest and phone away...
              I had to give up this route...

              sundberg84S Offline
              sundberg84S Offline
              sundberg84
              Hardware Contributor
              wrote on last edited by sundberg84
              #7

              @yveaux i use tasker and wifi change so when I connect/disconnect to my home wifi I send a command. Works great but I understand the difficulty with ping.

              Controller: Proxmox VM - Home Assistant
              MySensors GW: Arduino Uno - W5100 Ethernet, Gw Shield Nrf24l01+ 2,4Ghz
              MySensors GW: Arduino Uno - Gw Shield RFM69, 433mhz
              RFLink GW - Arduino Mega + RFLink Shield, 433mhz

              dbemowskD 1 Reply Last reply
              0
              • sundberg84S sundberg84

                @yveaux i use tasker and wifi change so when I connect/disconnect to my home wifi I send a command. Works great but I understand the difficulty with ping.

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

                @sundberg84 if what @Yveaux says is correct, wouldn't the phone constantly connect and disconnect and trigger tasker?

                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/

                sundberg84S 1 Reply Last reply
                0
                • dbemowskD dbemowsk

                  @sundberg84 if what @Yveaux says is correct, wouldn't the phone constantly connect and disconnect and trigger tasker?

                  sundberg84S Offline
                  sundberg84S Offline
                  sundberg84
                  Hardware Contributor
                  wrote on last edited by sundberg84
                  #9

                  @dbemowsk it doesn't... I don't know if there is a delay in tasker so the wifi comes online before. This works great for me.

                  Edit; There is both "wifi near" and "wifi connected" in tasker and this might be the difference. In using "wifi near"

                  Controller: Proxmox VM - Home Assistant
                  MySensors GW: Arduino Uno - W5100 Ethernet, Gw Shield Nrf24l01+ 2,4Ghz
                  MySensors GW: Arduino Uno - Gw Shield RFM69, 433mhz
                  RFLink GW - Arduino Mega + RFLink Shield, 433mhz

                  dbemowskD 1 Reply Last reply
                  0
                  • sundberg84S sundberg84

                    @dbemowsk it doesn't... I don't know if there is a delay in tasker so the wifi comes online before. This works great for me.

                    Edit; There is both "wifi near" and "wifi connected" in tasker and this might be the difference. In using "wifi near"

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

                    @sundberg84 I have tasker on my phone. I will have to try this. I had some issues on one of my previous phones so I didn't use tasker as much as I thought I would. I woner if it will work better on my Samsung Galaxy S8+. It would also be nice if I could get geofencing working too.

                    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
                    • zboblamontZ zboblamont

                      @michael_k Have you considered a phone link latching via bluetooth or similar? Unless you do not have a mobile phone of course.
                      Fairly sure somebody very recently posted a piece where his electric car charger would only activate if he was getting close to home, how it was done I cannot recall....

                      Michael_KM Offline
                      Michael_KM Offline
                      Michael_K
                      wrote on last edited by
                      #11

                      @zboblamont
                      BT sounds good. But, I don't exactly want to use my phone's BT (would have to keep it on).
                      Perhaps there's some kind of BT device I can put in my car (powered when running), and connect to something that can talk to my HA system.

                      @sundberg84
                      I don't really like the geofence method -- I rarely have location turned on.

                      @tbowmo
                      Actually, that's what I have now. Tasker watches for when my phone's wifi connects and disconnects from my LAN, and notifies my HA system (which has a Tasker plugin). But, as @Yveaux mentioned, it's not quite ideal.

                      @dbemowsk
                      I think that Tasker knows the difference between 'wifi radio on/off' and 'connected/disconnected from and near/not near LAN'.

                      Using mysensors to augment my HomeSeer Hometroller Zee S2.

                      1 Reply Last reply
                      0
                      • wallyllamaW Offline
                        wallyllamaW Offline
                        wallyllama
                        wrote on last edited by wallyllama
                        #12

                        Would somesort of passive rfid tag attached to your keychain work?

                        Edit - a quick google search for keyfinder came up with a variety of bluetooth/gps tags, some in bulk for under $2 USD. Probably come with an app, but that could likely be subverted into something mysensors compatible.

                        Michael_KM 1 Reply Last reply
                        0
                        • YveauxY Yveaux

                          @tbowmo recent Android (and probably ios too) disables wifi when the phone is at rest for some time. You aren't able to distinguish between phone at rest and phone away...
                          I had to give up this route...

                          tbowmoT Offline
                          tbowmoT Offline
                          tbowmo
                          Admin
                          wrote on last edited by
                          #13

                          @yveaux
                          I'm pretty sure that I can see new phones (both iPhone X and Samsung galaxy s9 devices) on my access point, even if they haven't been used for a while.

                          But I haven't used the presence detection the last couple of years.

                          1 Reply Last reply
                          0
                          • wallyllamaW wallyllama

                            Would somesort of passive rfid tag attached to your keychain work?

                            Edit - a quick google search for keyfinder came up with a variety of bluetooth/gps tags, some in bulk for under $2 USD. Probably come with an app, but that could likely be subverted into something mysensors compatible.

                            Michael_KM Offline
                            Michael_KM Offline
                            Michael_K
                            wrote on last edited by
                            #14

                            @wallyllama
                            Passive RFID doesn't have the required range (a max of ~1 m?)

                            Using mysensors to augment my HomeSeer Hometroller Zee S2.

                            1 Reply Last reply
                            0
                            • Michael_KM Offline
                              Michael_KM Offline
                              Michael_K
                              wrote on last edited by Michael_K
                              #15

                              Well, I have an idea that might work!
                              Attach this to an Arduino. (Note that there's also a UART version.) Then, all I need is a Bluetooth transponder beacon tag (which I'd leave in the car).
                              Conveniently, I'd still need MySensors to implement this!

                              Using mysensors to augment my HomeSeer Hometroller Zee S2.

                              1 Reply Last reply
                              0
                              • tbowmoT Offline
                                tbowmoT Offline
                                tbowmo
                                Admin
                                wrote on last edited by
                                #16

                                @Michael_K

                                That only detects if your car is there or not.. If you take your bike, or just walk to a bus stop, then it won't detect your presence :)

                                Michael_KM 1 Reply Last reply
                                0
                                • gohanG Offline
                                  gohanG Offline
                                  gohan
                                  Mod
                                  wrote on last edited by
                                  #17

                                  So far the cheapest solution I found is using an esp32 that scans for nearby BT devices (look at the Andreas Spiess video on his channel) but I don't know if it will be compatible with mysensors

                                  YveauxY 1 Reply Last reply
                                  0
                                  • gohanG gohan

                                    So far the cheapest solution I found is using an esp32 that scans for nearby BT devices (look at the Andreas Spiess video on his channel) but I don't know if it will be compatible with mysensors

                                    YveauxY Offline
                                    YveauxY Offline
                                    Yveaux
                                    Mod
                                    wrote on last edited by
                                    #18

                                    @gohan said in At home / away?:

                                    scans for nearby BT devices

                                    But then you have to place quite a lot of receivers to cover your whole house, I assume?

                                    http://yveaux.blogspot.nl

                                    gohanG 1 Reply Last reply
                                    0
                                    • wallyllamaW Offline
                                      wallyllamaW Offline
                                      wallyllama
                                      wrote on last edited by
                                      #19

                                      I'm going to go a bit conceptual here, riffing on some ideas that I believe I got from @dbemowsk. A multi-pronged approach may be useful here, maybe bt for the car and bicycle, amount of time since any PIR device triggered, time of day, etc. Then using the "smarts" of a smarthome a reasonable estimate of home/away can be gained.

                                      I dont think an A.I. like the googazon has is required, but something smarter than a single node might be apropriate.

                                      1 Reply Last reply
                                      1
                                      • YveauxY Yveaux

                                        @gohan said in At home / away?:

                                        scans for nearby BT devices

                                        But then you have to place quite a lot of receivers to cover your whole house, I assume?

                                        gohanG Offline
                                        gohanG Offline
                                        gohan
                                        Mod
                                        wrote on last edited by
                                        #20

                                        @yveaux correct

                                        1 Reply Last reply
                                        0
                                        • skywatchS Offline
                                          skywatchS Offline
                                          skywatch
                                          wrote on last edited by
                                          #21

                                          You could interface the security alarm system to your controller - you only set the full alarm state when out of the house, no?

                                          Alternatively you could add an extra bolt on the door which you can only operate from inside and have that press a microswitch or break a light beam. You always have to undo that to leave so it will know when you are out.

                                          Another solution might be to have a a simple 2 button panel by the door with 'in' and 'out' on it - you simply press it as you leave or enter the building - that would be easy with mysensors and ofc you could replace the buttons with a rfid tag reader if you like. Maybe you ocould also have a place where you keep your keys that can sense if they are there or not - advantage with this is you always put your keys in that place and never loose them (in theory at least) ;)

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


                                          22

                                          Online

                                          11.7k

                                          Users

                                          11.2k

                                          Topics

                                          113.1k

                                          Posts


                                          Copyright 2025 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