Here's a live view of Jared's Ant Farm. The guys have been busy!
Friday, February 25, 2011
Ant Farm Embed
Posted by
adam
at
1:56 PM
0
comments
Thursday, February 17, 2011
Innovator: Adam Beguelin
Business Week just did a really nice article on me. We have a lot of cameras around the office, so some of the more interesting ones made it into the photo shoot.
If you have an IP camera, check out sensr.net for all your camera monitoring and socializing needs.
If you have an IP camera, check out sensr.net for all your camera monitoring and socializing needs.
Posted by
adam
at
6:40 PM
0
comments
Saturday, February 12, 2011
Capistrano and awk
I was trying to use the cap invoke pattern and couldn't get it to work with awk.
$ cap HOSTS=user@server invoke COMMAND="awk '/PORT/ {print $8}' /var/log/ftp.log"
Turns out you need to escape the $8. The correct form is:
$ cap HOSTS=user@server invoke COMMAND="awk '/PORT/ {print \$8}' /var/log/ftp.log"
Note the backslash before the dollar sign. Even though there are quotes, the $8 get's lost somewhere along the line.
In the first case cap output looks like this:
* executing "awk '/PORT/ {print }' /var/log/ftpd.log "
and in the second case:
* executing "awk '/PORT/ {print $8}' /var/log/ftpd.log "
Hope this helps!
Posted by
adam
at
9:21 AM
0
comments
Thursday, January 20, 2011
Wednesday, December 8, 2010
git broken after snow leopard upgrade
I was trying to check in some code after upgrading my MacBook Pro to Snow Leopard and realized git wasn't working.
Here's how I fixed it:
- Download MacPorts for Snow Leopard and install it.
- Use MacPorts to install it
$ sudo port selfupdate
$ sudo port install git-core +svn
For more installing git on OSX see http://help.github.com/mac-git-installation/
Posted by
adam
at
6:56 AM
1 comments
Tuesday, November 16, 2010
View Sensr Cams with iPhone App
A friend of mine showed me the Live Cams app for iPhone and iPad today. It let's you view live webcams from your iPhone. There are a few other apps out there that let you watch cameras, but Live Cams seems to be unique in that it also lets you view your private IP cameras as well. When I saw this I realized that there should be a way to view Sensr cameras with this app.
Warning: Complicated setup ahead.
Basically Live Cams will view any motion JPEG stream. On the Sensr site we also generate motion JPEG streams for cameras. It's a bit hidden, but we could easily expose this in the future to make this easier. For now, go to the "View Live Stream" link for a camera. This pops up a window and sends a motion JPEG stream. If you right-click on that window and select View Source, you'll be able to find the stream url. In this example it looks like this:
http://f2.sensr.net/stream/8fdab6c1ea27828b5185704622b7b0838bcbb7ceIf you grab the stream URL from the source, you can then use that URL to add a private camera in Live Cams, allowing you to get a live view of your Sensr camera on the iPhone. Since the URL is difficult to type, you might want to email it to yourself so you can cut and paste it on the iPhone. (I warned you that it was complicated!)



This is a hack right now, but there are things we can do make this easier in the future.
- Expose the stream urls in the web page
- Convince Live Cams to use our API, letting the user add Sensr cameras easily
The advantage of using Sensr is that the user doesn't need to punch holes in their firewall. The user also gets archiving, sharing, and alerting on the Sensr site. Eventually it would be nice to integrate those into an iPhone app as well at some point.
Posted by
adam
at
11:10 AM
0
comments

