Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Presence of Androids - Home Automation - Linux PC accessing ARP table entries

    Scheduled Pinned Locked Moved General pfSense Questions
    28 Posts 8 Posters 4.2k Views 7 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.
    • stephenw10S Online
      stephenw10 Netgate Administrator
      last edited by

      It seems like you should be able to do this fairly easily with IFTTT or a similar style app on each device.

      Steve

      D 1 Reply Last reply Reply Quote 0
      • D Offline
        Davo @stephenw10
        last edited by

        @stephenw10 said in Presence of Androids - Home Automation - Linux PC accessing ARP table entries:

        you should be able to do this fairly easily with IFTTT or a similar style app on each device.

        Ouch. I think that involves registration with an external server to work, so if the Internet is down, our heater may not work. Not a good idea IMHO. I am looking to keep it local within the house.

        1 Reply Last reply Reply Quote 0
        • stephenw10S Online
          stephenw10 Netgate Administrator
          last edited by

          I don't blame you. Something something something "the cloud"! 😉

          That's unfortunately how most of these things seem to work. I guess they do it for maximum compatibility, ease of setup etc.

          It does seem like there should be an app that can do it locally though.

          Steve

          D 2 Replies Last reply Reply Quote 0
          • D Offline
            Davo @stephenw10
            last edited by

            @stephenw10 said in Presence of Androids - Home Automation - Linux PC accessing ARP table entries:

            I guess they do it for maximum compatibility, ease of setup etc.

            I think etc means the data is collected and is valuable to someone. I am not especially opposed to that (as much as some) but we need to keep our eyes open and realise the pros and cons of new offerings. If the data means I get a useful benefit with no downsides I am open to it. The need for an Internet connection has minimal benefit to me in terms of running a central heating system and the benefit of giving someone else the data of my heater's use (and other things) in trade for automation is not a convincing purchase for me.

            1 Reply Last reply Reply Quote 0
            • D Offline
              Davo @stephenw10
              last edited by

              @stephenw10 said in Presence of Androids - Home Automation - Linux PC accessing ARP table entries:

              It does seem like there should be an app that can do it locally though.
              Perhaps, the economic ducks need to line up for that. If a bit of code and low cost hardware can do the job for me I'd be happy with that, for awhile at least...! KISS

              D 1 Reply Last reply Reply Quote 0
              • D Offline
                Davo @Davo
                last edited by

                @davo This dang kit is so damned kewl!
                Even if I am running such an old image.....
                snmpwalk [ip address of phone] -c public -v2c \iso.3.6.1.2.1.4.22.1.2.2.[ip address of phone]
                when snmp is enabled....
                gives
                iso.3.6.1.2.1.4.22.1.2.2.[ip address of phone] = Hex-STRING: [Mac address of phone]
                Thanks for the tips gurus.

                1 Reply Last reply Reply Quote 0
                • NogBadTheBadN Offline
                  NogBadTheBad
                  last edited by

                  You probably just need to do an snmpget rather than a walk if you're just looking at an individual phone.

                  Andy

                  1 x Netgate SG-4860 - 3 x Linksys LGS308P - 1 x Aruba InstantOn AP22

                  D 1 Reply Last reply Reply Quote 0
                  • D Offline
                    Davo @NogBadTheBad
                    last edited by

                    @nogbadthebad said in Presence of Androids - Home Automation - Linux PC accessing ARP table entries:

                    You probably just need to do an snmpget

                    Yes that works too.
                    However the walk was helpful to examine the data to get the reference numbers. Not sure there is a material difference otherwise running snmpget or snmpwalk for a single result?

                    1 Reply Last reply Reply Quote 0
                    • T Offline
                      terrysand
                      last edited by

                      I had the same question in the creation . And I want to ask-does linux allow you to do this?

                      NogBadTheBadN 1 Reply Last reply Reply Quote 0
                      • stephenw10S Online
                        stephenw10 Netgate Administrator
                        last edited by

                        Allow you to do what exactly?

                        Steve

                        1 Reply Last reply Reply Quote 0
                        • NogBadTheBadN Offline
                          NogBadTheBad @terrysand
                          last edited by

                          @terrysand said in Presence of Androids - Home Automation - Linux PC accessing ARP table entries:

                          I had the same question in the creation . And I want to ask-does linux allow you to do this?

                          snmpwalk & snmpget, if that’s the question the answer is yes, you’ll need to install the package.

                          Andy

                          1 x Netgate SG-4860 - 3 x Linksys LGS308P - 1 x Aruba InstantOn AP22

                          1 Reply Last reply Reply Quote 0
                          • SnigMonisS Offline
                            SnigMonis
                            last edited by

                            This is cool, thank you for sharing

                            1 Reply Last reply Reply Quote 0
                            • bingo600B Offline
                              bingo600
                              last edited by bingo600

                              Thinking out loud ....

                              Would be cool to be able to "Fire an RMON" trap if that mac address is seen on the ??? - Switch or AP ...
                              Prob greatest chance on Switch .....

                              Hmmm ...
                              Investigating what a HP 18xx switch can ...

                              Damm HP 18xx ... Too simple , no RMON

                              /Bingo

                              If you find my answer useful - Please give the post a 👍 - "thumbs up"

                              pfSense+ 23.05.1 (ZFS)

                              QOTOM-Q355G4 Quad Lan.
                              CPU  : Core i5 5250U, Ram : 8GB Kingston DDR3LV 1600
                              LAN  : 4 x Intel 211, Disk  : 240G SAMSUNG MZ7L3240HCHQ SSD

                              1 Reply Last reply Reply Quote 0
                              • stephenw10S Online
                                stephenw10 Netgate Administrator
                                last edited by

                                At least two posts here are almost certainly spam. Be on the look out! 😉

                                johnpozJ 1 Reply Last reply Reply Quote 0
                                • johnpozJ Online
                                  johnpoz LAYER 8 Global Moderator @stephenw10
                                  last edited by

                                  Yeah @bingo600 and @NogBadTheBad are very sus ;) hehehe

                                  An intelligent man is sometimes forced to be drunk to spend time with his fools
                                  If you get confused: Listen to the Music Play
                                  Please don't Chat/PM me for help, unless mod related
                                  SG-4860 25.07 | Lab VMs 2.8, 25.07

                                  1 Reply Last reply Reply Quote 2
                                  • stephenw10S Online
                                    stephenw10 Netgate Administrator
                                    last edited by

                                    Ha!

                                    1 Reply Last reply Reply Quote 0
                                    • First post
                                      Last post
                                    Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.