Results 1 to 9 of 9

Thread: Run Custom command on specific SSID Wireless Connection

  1. #1
    Newbie
    Join Date
    Dec 2007
    Posts
    23

    Run Custom command on specific SSID Wireless Connection

    Hi,

    Here's the plot. My House has an automatic gate. My gate is connected to a Network IO board that allows me to open the gate using the lan. The lan board is a simple interface that has 16 switches on it. Switch 1 being the gate. To toggle switch 1 and open the gate, I simply run http://192.168.1.250/switch.php?S01 from any networked pc. I would like to try make it so that when the carputer detects my wireless ssid with a signal strength of less than 20%, it would run a script. This is so that when I drive up to the gate, it will automatically open the gate for me. My house music system and alarm system is also connected to this IO board, so any suggestions would be welcomed too.

  2. #2

  3. #3
    Mo' Programming Mo' Problems
    Auto Apps:loading...
    Sonicxtacy02's Avatar
    Join Date
    Sep 2004
    Location
    Woodbridge, VA
    Posts
    8,168
    Blog Entries
    53
    Quote Originally Posted by Enforcer View Post
    Why a signal strength of less than 20%

    thats pretty good question lol. I can see a solution using caminos wifi plugin and autoit
    mp3Car.com Senior Tech Blogger (Want a product reviewed? Contact me.)
    Find my plugins on the MP3Car App Store!
    Follow Me on Twitter or Facebook
    Live mp3Car Facebook Chat

  4. #4
    Vendor - Qube colin's Avatar
    Join Date
    Dec 2006
    Posts
    796
    Strength less than 20% would probably mean he is still far away. This way it opens while he's still coming closer, and by the time he gets to the gate, it should be already open.

    There is a huge flaw with that design because you wont always be able to connect with instantly, and what happens if the network is undetected until you're close, then you connect with a 40% strength?

    What you should have is a timeout, it runs the script within 2 seconds of connecting...

  5. #5
    Mo' Programming Mo' Problems
    Auto Apps:loading...
    Sonicxtacy02's Avatar
    Join Date
    Sep 2004
    Location
    Woodbridge, VA
    Posts
    8,168
    Blog Entries
    53
    there's also the flaw that u'll have no error-checking unless the network sends a pass/fail statement back to the computer.. but the general premise is doable.
    mp3Car.com Senior Tech Blogger (Want a product reviewed? Contact me.)
    Find my plugins on the MP3Car App Store!
    Follow Me on Twitter or Facebook
    Live mp3Car Facebook Chat

  6. #6
    Confusion Master
    Auto Apps:loading...
    Enforcer's Avatar
    Join Date
    Sep 2003
    Location
    If you go down to the woods today, You're sure of
    Posts
    14,610
    It has more flaws than the empire state building.


    Even when you connect with wireless the signal can fluctuate depending on weather, other wifi users etc.

    As Sonic says, you would need some sort of two way communication between the car and house.


    My suggestion, would be to do it by GPS position and heading. Along the lines of GPS tracking, if the server at home sees the car is within a certain distance and the heading it towards the gate it then opens. Of course this would need internet connection in the car.

  7. #7
    Newbie
    Join Date
    Dec 2007
    Posts
    23
    I use 20% as an example because my puter detects the ssid at the gate at 20%. The signal strength seems to be pretty stable in all weather conditions. It usually detects the ssid about 10 metres from the gate and is connected by the time I pull up at the gate. I've had the system running for about a year and every single day, there has been no change in signal quality and I'm living in Ireland, the bad weather capital of Europe. What I actually do now is manually double-click an icon on the puter desktop(batch file) that triggers the switch when I pull up at the gate.

    Two way communication isn't really usable to me in this case. I tried a 3g connection for few months but I found it too costly

    All I really need is a simple service that run in the bg and can run commands based on ssid detection and strength thresholds. I don't really mind that the idea has "more flaws than the empire state building", I just don't like haven't to double click an icon to open my gate when potentially the process could be automatic.

    I started looking into a simple batch script that read some of netstumbler's outputted ssid info in as variables but I could find a clean method of retrieving this information in a usable fashion so I gave up.

    Is there a system available that runs custom commands when a gps location proximity has been reached, That would be useful to me too. Thanks for the help.

  8. #8

  9. #9
    Newbie
    Join Date
    Dec 2007
    Posts
    23
    Yes it does, but only the IO board will be powered in the house when I arrive. I don't have any servers running 24/7 at home when I'm away. The board is just a simple IO board with a network interface.

    It seems that ElCamino has worked out a lot of what I'm trying to do, thanks for the tip, Sonicxtacy02.

Similar Threads

  1. Replies: 26
    Last Post: 04-05-2006, 08:41 PM
  2. P2P wireless connection?
    By Vchat20 in forum Wireless Communications
    Replies: 4
    Last Post: 05-27-2005, 02:06 PM
  3. network wireless connection question...
    By icet in forum Wireless Communications
    Replies: 2
    Last Post: 05-27-2005, 12:19 PM
  4. ULTIMATE and TRUE Wireless Internet Connection
    By KingsDude in forum Wireless Communications
    Replies: 11
    Last Post: 01-11-2005, 03:19 PM
  5. Wireless Connection PCI card
    By owenjh in forum Wireless Communications
    Replies: 2
    Last Post: 09-14-2004, 07:17 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •