About Robbie Ferguson

Connect with Robbie on Google+ or Twitter.

Walk-in Wifi Responder

Had a thought this morning that wifi could be used to do some pretty rad stuff… like detecting when I get home by noticing my iPod touch.

Since most of us carry wifi-enabled devices with us at all times, and most of us have them set to auto-connect once in range of our routers, I thought, why not use that data?  It could be as simple as logging coming and going, or as sophisticated as automatically turning on my favorite music when I walk in the door.  Or even adjusting the thermostat when I arrive home to save energy when nobody is around.

As a very brief proof of concept I whipped out a simple algorithm in PHP which can be run from any Linux computer on your network.

Usage:  php wifi-check.php –device=devicename

 0) {
      $tmp=@explode('=', $ping);
      $result=@explode('/', trim($tmp[1]));
    }
    if (count($result) > 0) {
      // Now we know the device is connected; do something
      echo 'Device active.' . PHP_EOL;
    } else {
      // Device is not connected.
      echo 'Device inactive.' . PHP_EOL;
    }
  } else {
    echo 'Usage: php wifi-check.php --device=devicename' . PHP_EOL;
  }
} else {
  echo 'This script is designed to be run from the Linux terminal, not a browser.';
}
?>

My thinking is to put something like this in a looping script and let it run every so many seconds or something, calling particular functions if the device is detected as active vs inactive.

I’d welcome your thoughts in the comment section below.  What practical things could this be used for?

Ignite Barrie – What a Great Event!

Tonight I had the honor of participating as one of 8 speakers in Ignite Barrie, a fun event designed to inspire the community of Barrie, Ontario by allowing each speaker just 5 minutes to present something that they are passionate about.

The event was hosted by the wonderful The Creative Space, and the venue was pretty packed.  I literally had to push three people over just to get to the sandwich buffet.

Let’s take a look at an overview of the evening.  Keep in mind, each speaker had just 5 minutes to say what they wanted to say, all timed to a PowerPoint slideshow.
Continue reading

Season 6 Upgrade Survey

Well, Season 6 is upon us, and I’ve been really working hard to establish a good strong sponsor base.  Thanks to your support by clicking banners and purchasing products from our supporters (please, keep it up!), we’ll be able to further improve things on the set of Category5 TV this year.

Here are my ideas, and what I’d ask is that you comment below with your vote or your own ideas if you have some that are better.
Continue reading

SUPERAntiSpyware falsely detecting Trojan.Agent/Gen-Kryptik

Many SUPERAntiSpyware users are experiencing an annoying (and possibly costly) problem this morning.  Apparently their system became infected with hundreds of copies of Trojan.Agent/Gen-Kryptik over the weekend.

After looking in-depth at a number of client systems, it would appear the alerts are false-positives.
Continue reading