I'm looking for a python program that could detect when device has connected to a local wifi and start a specific program. And would communicate via SMS with raspberry pi.

  • 1
    Are you looking for an existing program or do you want someone to write it for you? And how would it communicate via SMS with raspberry pi? – RalfFriedl Jun 25 '19 at 5:50
  • A1. I was hoping there was an existing one. Or at least pointed in the right direction. A2. I'm still looking into how it could communicate via sms. Just simple questions that could be answered via sms and placed in certain queues. – user1144511 Jun 25 '19 at 20:24

Your question is too vague to be answered in full.


Why do you need python to check if a device connected? Shellscript would be much faster and waste less memory. Also, wich network are you monitoring?

Does the pi hang in an existing wlan, or does it provide a local hotspot?

If you want to check into an existing network, you could modify a python portscanner to look for devices instead of ports, but I won't code it for you, sry mate. Or did I get you wrong, and the python script shall be running on a laptop, because


Why would you send a sms to your raspberry? This assumes that the python script would not run on the raspberry itself. If you want to know how to send sms, GSM module is what you need

To me, this question looks really fishy. I am not helping you to build a assasination bomb device. At least not until you'd pay me 10 k ^^

| improve this answer | |
  • There are most questions but no real answer to the problem. – Ingo Jul 4 '19 at 17:07
  • Related: meta.stackoverflow.com/questions/288176/… – clockw0rk Jul 4 '19 at 19:28
  • I do not understand what that discussion shall tell me. I'm looking at our policies raspberrypi.stackexchange.com/help/how-to-answer – Ingo Jul 4 '19 at 21:04
  • The question is of type "I want that, pls give it to me or code it for me". OP did not at least try googeling, nor did he try to code something together himself so we could help him debug. Why should we take effort in answering, if OP does not show any effort himself, say, at least try and google something up.... – clockw0rk Jul 10 '19 at 12:08

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.