Thursday, March 24, 2011
Migrated to Blogger
After several years of hosting my own Wordpress, I have decided to move it to the cloud. Working for a SaaS (Software as a Service) company has grown on me quite a bit and am looking to move more of the services I host as well (Asterisk, Misterhouse, Apache, Gallery2, etc)
Saturday, March 19, 2011
The Insteon 2412N Protocol
Just purchased an Insteon 2412N in the hopes of getting it interfaced to Misterhouse running in Linux Ubuntu.
Some links describing interfacing with the device:
Insteon Protocol Overview:
http://www.insteon.net/pdf/insteondetails.pdf
Insteon Houselinc 2:
http://www.smarthome.com/HL2/
Insteon Configuration Software (Device Manager):
http://www.insteon.net/sdk/files/dm/SetupSmarthomeDeviceManager.exe
http://www.madreporite.com/insteon/commands.htm
https://www.shiononline.com/2011/01/smartlinc-2414n-undocumented-ports-ftw/
http://www.smarthome.com/forum/topic.asp?TOPIC_ID=7431
http://www.smarthome.com/forum/topic.asp?TOPIC_ID=7722
http://www.smarthome.com/forum/topic.asp?TOPIC_ID=6298
http://www.smarthome.com/forum/topic.asp?TOPIC_ID=5943
http://www.leftovercode.info/smartlinc_x10.html
http://www.leftovercode.info/smartlinc.html
http://wiki.smarthome.com/index.php?title=Using_Custom_Commands_in_SmartLinc_%28v2.0%2B%29
Insteon Serial Protocol:
http://www.aartech.ca/docs/2412sdevguide.pdf
Free iPhone App (For wiresharking ;) ):
http://lifelogapp.com/homecontrol/
Product Manual:
http://wiki.smarthome.com/index.php?title=2412_Manual_rev_2.0
Changing the pages on the 2412N:
https://github.com/chadwackerman/openlinc
Some links describing interfacing with the device:
Insteon Protocol Overview:
http://www.insteon.net/pdf/insteondetails.pdf
Insteon Houselinc 2:
http://www.smarthome.com/HL2/
Insteon Configuration Software (Device Manager):
http://www.insteon.net/sdk/files/dm/SetupSmarthomeDeviceManager.exe
http://www.madreporite.com/insteon/commands.htm
https://www.shiononline.com/2011/01/smartlinc-2414n-undocumented-ports-ftw/
http://www.smarthome.com/forum/topic.asp?TOPIC_ID=7431
http://www.smarthome.com/forum/topic.asp?TOPIC_ID=7722
http://www.smarthome.com/forum/topic.asp?TOPIC_ID=6298
http://www.smarthome.com/forum/topic.asp?TOPIC_ID=5943
http://www.leftovercode.info/smartlinc_x10.html
http://www.leftovercode.info/smartlinc.html
http://wiki.smarthome.com/index.php?title=Using_Custom_Commands_in_SmartLinc_%28v2.0%2B%29
Insteon Serial Protocol:
http://www.aartech.ca/docs/2412sdevguide.pdf
Free iPhone App (For wiresharking ;) ):
http://lifelogapp.com/homecontrol/
Product Manual:
http://wiki.smarthome.com/index.php?title=2412_Manual_rev_2.0
Changing the pages on the 2412N:
https://github.com/chadwackerman/openlinc
Wednesday, March 9, 2011
Connect Microsoft Kinect to Ubuntu (Mouse Control)
Just purchased a used Microsoft Kinect on Ebay for $75 in hopes of integrating this as a robotic vision device. In the mean time, I got it hooked up to Ubuntu for a sort of "Minority Report" Mouse Control.
Here is what I did to get it installed with Ubuntu Meerkat 10.10:
1. Add the PPA for Freenect from https://launchpad.net/~arne-alamut/+archive/freenect
2. Install the following:
$ sudo apt-get install freenect libncurses5-dev libglut3-dev libX11-dev libxtst-dev libxmu-dev cmake git
3. Plug in Kinect to usb port on machine (unplug/replug if it already was)
4. Test the installation
$ freenect-glview
5. Should see a depth / video feed appear on the screen confirming the usb driver works
6. To get mouse cursor working (from https://github.com/Ooblik/Kinect-Mouse):
$ mkdir ~/kinect
$ cd ~/kinect
$ git clone https://github.com/Ooblik/Kinect-Mouse.git
$ cd ~/kinect/Kinect-Mouse
$ mkdir build
$ cd build
$ cmake ..
$ make
7. Run mouse client
$ ./kmouse
8. Enjoy mouse cursor control.
*Notes: The mouse control only works at a certain depth range. The video window will show whatever is "in-range" by highlighting it in red. To "click" you need to stop moving briefly and it will auto left-click.
As much as you would like to wave your open hands in the air to recreate Tom Cruise in the movie, I find that just using a single finger tip in range is usually the best method of control. :)
Here is what I did to get it installed with Ubuntu Meerkat 10.10:
1. Add the PPA for Freenect from https://launchpad.net/~arne-alamut/+archive/freenect
2. Install the following:
$ sudo apt-get install freenect libncurses5-dev libglut3-dev libX11-dev libxtst-dev libxmu-dev cmake git
3. Plug in Kinect to usb port on machine (unplug/replug if it already was)
4. Test the installation
$ freenect-glview
5. Should see a depth / video feed appear on the screen confirming the usb driver works
6. To get mouse cursor working (from https://github.com/Ooblik/Kinect-Mouse):
$ mkdir ~/kinect
$ cd ~/kinect
$ git clone https://github.com/Ooblik/Kinect-Mouse.git
$ cd ~/kinect/Kinect-Mouse
$ mkdir build
$ cd build
$ cmake ..
$ make
7. Run mouse client
$ ./kmouse
8. Enjoy mouse cursor control.
*Notes: The mouse control only works at a certain depth range. The video window will show whatever is "in-range" by highlighting it in red. To "click" you need to stop moving briefly and it will auto left-click.
As much as you would like to wave your open hands in the air to recreate Tom Cruise in the movie, I find that just using a single finger tip in range is usually the best method of control. :)
Subscribe to:
Posts (Atom)