• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
MagicMirror Forum
  • Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.

Who is home? Presence tracking

Scheduled Pinned Locked Moved Utilities
17 Posts 7 Posters 5.2k Views 8 Watching
Loading More Posts
  • 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.
  • T Offline
    tc60045
    last edited by Jun 20, 2019, 3:05 PM

    And this is what I was thinking about for layout:

    0_1561043129182_by default 2019-06-20 at 10.04.34 AM.jpg

    ? 1 Reply Last reply Jun 20, 2019, 8:16 PM Reply Quote 0
    • ? Offline
      A Former User @tc60045
      last edited by A Former User Jun 20, 2019, 8:46 PM Jun 20, 2019, 8:16 PM

      @tc60045
      Like this?
      0_1561061779723_ttt.png

      After more tests, will be released.

      ADDED
      Now I’m adding additional feature - command executing when Someone entered or exited. (e.g: Play Spotify when Dad entered Home)

      T 1 Reply Last reply Jun 20, 2019, 9:39 PM Reply Quote 0
      • T Offline
        tc60045 @Guest
        last edited by Jun 20, 2019, 9:39 PM

        @Sean – yes! But please tell me you are using geo location and not MAC address / ARP results snippet from iOS security guide discussed here?

        I want to create many locations based on geofencing. How can I / we help you with this?

        ? 1 Reply Last reply Jun 20, 2019, 9:44 PM Reply Quote 0
        • ? Offline
          A Former User @tc60045
          last edited by A Former User Jun 20, 2019, 9:57 PM Jun 20, 2019, 9:44 PM

          @tc60045 I didn’t use MAC Address. I just put who: "dad", location:"Home" in body of IFTTT recipe. I think each recipe should be created per people and location, so hardcoded is enough.

          T 1 Reply Last reply Jun 20, 2019, 9:58 PM Reply Quote 0
          • T Offline
            tc60045 @Guest
            last edited by Jun 20, 2019, 9:58 PM

            @Sean PERFECT – thank you. Can’t wait to test!

            ? 1 Reply Last reply Jun 20, 2019, 10:00 PM Reply Quote 0
            • ? Offline
              A Former User @tc60045
              last edited by Jun 20, 2019, 10:00 PM

              @tc60045 Here is midnight, so I’ll go to sleep at this moment. Tomorrow I’ll release it after some tests. You can help me to test, and to make a manual (English is not my mother tongue, so… :D)

              1 Reply Last reply Reply Quote 0
              • ? Offline
                A Former User
                last edited by Jun 21, 2019, 3:20 PM

                [card:eouia/MMM-Whereis]
                alt text

                • Static IP/Domain or DDNS or Dataplicity portforwarding REQUIRED
                • Your IFTTT app of smartphone is needed.
                • You should allow your location service of app on phone as always
                1 Reply Last reply Reply Quote 0
                • T Offline
                  tc60045
                  last edited by Jun 23, 2019, 1:18 AM

                  OK, some solid testing this afternoon. First off: Love the icons. Love the configurability. You’ve done great work here. I think the key is just testing out the problem with IFTTT.

                  1. Using curl to post the data on local network works for “entered,”
                    {“who”:“user”, “location”:“Church”, “EnteredOrExited”:“Entered”} – will be reflected immediately

                  2. Doing same for “exited” doesn’t show anything different.
                    {“who”:“user”, “location”:“Church”, “EnteredOrExited”:“Exited”} – nothing new gets posted. Suggest you say “Left Church” (x min ago) as an action description after trapping the condition.

                  3. Trying to post the data via IFTTTT body isn’t working with the Ingredient

                  4. When I hard code all the BODY, it works perfectly – /whereis is trapping the data when it comes through.

                  5. Problem is with the {{EnteredOrExited}} ingredient.

                  6. I’m trying using different escaping to see if it that helps. But my team of IFTTT testers are off with their friends and I won’t get a chance to test locations more until tomorrow. I’ll report back.

                  7. Last thing: You have https – emphasis on s – in your IFTTT recipe. I’m not opening up 443 and dealing with certs and stuff, so I’m only using http on a custom port. YMMV.

                  ? 1 Reply Last reply Jun 23, 2019, 8:54 AM Reply Quote 0
                  • ? Offline
                    A Former User @tc60045
                    last edited by Jun 23, 2019, 8:54 AM

                    @tc60045

                    • I think “EnteredOrExited” should have “entered” or “exited” (not uppercase) : need to confirm.
                    • I used https but http could also work. (I used dataplicity and nginx for wormhole of fixed domain and port 80 using). Usually ppl would use ddns, http would be enough.
                    1 Reply Last reply Reply Quote 0
                    • G Offline
                      Gurdt
                      last edited by Dec 18, 2019, 9:13 PM

                      Nice peace of work guys!!
                      Only if got an question, is it possible to save the data into a file or on a server?

                      And of course after writing a file or put it on a server get the last location?

                      1 Reply Last reply Reply Quote 0
                      • 1
                      • 2
                      • 1 / 2
                      • First post
                        Last post
                      Enjoying MagicMirror? Please consider a donation!
                      MagicMirror created by Michael Teeuw.
                      Forum managed by Sam, technical setup by Karsten.
                      This forum is using NodeBB as its core | Contributors
                      Contact | Privacy Policy