I have a microcontroller-based widget connected to my home network that monitors some sensors and controls the garage door. I'd like for it to work one way if I'm home and a different way if I'm not home. It could determine if I'm home by looking for my cell phone on the local network. Is there a simple way to do this? The prefered senario is to find the phone at any IP address (using MAC ID?), but I could have the router assign it a fixed IP. Also, it would be better if I didn't have to run an app on the phone, since that will require Android programming and battery drain.
rzeune
0
Newbie Poster
Recommended Answers
Jump to PostFirst I understand what you asked. Next if you hard assign the phone IP address you break what could be a way out. That is, your app on the widget could query the router for a list of current DHCP clients and change depending on if the client is there …
All 3 Replies
rproffitt
2,580
"Nothing to see here."
Moderator
rzeune
0
Newbie Poster
rproffitt
2,580
"Nothing to see here."
Moderator
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.