Presence of Androids - Home Automation - Linux PC accessing ARP table entries
-
@stephenw10 said in Presence of Androids - Home Automation - Linux PC accessing ARP table entries:
How many android devices are you talking about?
Likely scenario is 3 androids and an intermittent iphone as well. The basic objective is
If {listed phone in house in last 5 minutes} then {turn on LAN Relay with timeout of say 15 minutes}
That allows Heater to run when someone home, and turn off relatively quickly when no one is home, and if no one is home for a day the heater won't run at all. New LAN relay commands overwrite existing commands, so update the timeout period. -
It seems like you should be able to do this fairly easily with IFTTT or a similar style app on each device.
Steve
-
@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.
-
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
-
@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.
-
@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 -
@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. -
You probably just need to do an snmpget rather than a walk if you're just looking at an individual phone.
-
@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? -
I had the same question in the creation . And I want to ask-does linux allow you to do this?
-
Allow you to do what exactly?
Steve
-
@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.
-
This is cool, thank you for sharing
-
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
-
At least two posts here are almost certainly spam. Be on the look out!
-
Yeah @bingo600 and @NogBadTheBad are very sus ;) hehehe
-
Ha!