Category Archives: Farm Networking

Posts specific to farm networking

Farm Security with SightHound

Security Cameras“Farm security” used to be synonymous with “watchdog” or maybe “shotgun,” but farms have gotten a whole lot bigger than even a big dog or a light sleeper can protect. And farm equipment and inventory haven’t gotten any cheaper to replace.

For that reason, I have long been a proponent of using cameras for both farm operations (e.g. being able to see what’s going on in a livestock barn while you’re in bed) and farm security.

For operational use, IP cameras are easy (as long as you have a network). Just hook up a camera, find its IP address on your router, and use a phone, tablet, or computer to take a look any time you want. If you want to see it when you’re off your network, port-forward to the camera from your router.

For security use, however, you want to watch it all the time. Staying up all night staring at the computer screen is not really practical, but there are some good alternatives. My favorite one is a program called “Sighthound.” It runs on your Windows PC or Mac, it’s reasonably priced ($250 as I’m writing this), As long as you have a machine that’s on 24×7 (like my desktop machine), it’s a great solution.

Sitehound has a number of attractive attributes:

  • Runs on either Windows or Mac
  • Works with a very broad variety of cameras
  • Very easy to set up and use
  • Object-based motion tracking instead of just motion detection

That last point deserves some explanation – simple motion detection (like the built-in detection on inexpensive IP cameras) just looks for pixels to change from frame to frame, and they “alarm” if a certain percentage of the pixels in the picture change. The problem is that a lot of the pixels change any time the lighting changes (sunup, sundown, sun going behind the clouds, etc.) so you get a lot of false alarms. Better systems allow you to specify “zones” for motion detection, so you are only considering the part of the picture you are actually concerned with. This reduces, but does not eliminate these “false positives.” But Sighthound uses a much more accurate (albeit processor-intensive) method to identify and track moving objects in the picture. In the picture here, Sighthound is tracking the dog walking through the living room – you can see the dog in the yellow box near the bottom of the screen. This video was recorded automatically from the moment the dog moved until she went out of sight. However, even on a day when clouds are crossing the sun and the light coming through the window is almost constantly changing, it doesn’t record unless the dog (or something else) moves.

Sighthound has a number of really nice features, including a built-in webserver which allows you to view it from another computer, tablet, or smartphone. You can port-forward to your computer and access Sighthound from anywhere on the Internet.

Sighthound is, of course, no better than the cameras and computer you are using – if they are poorly set up, unreliable, or have poor connections to the network, Sighthound will fail to work properly. But, if your computer, network, and cameras are reliable, Sighthound can provide outstanding monitoring and alerting for your farm or ranch.

 

A day at World Ag Expo, Tulare, CA

I spent the day of February 12 at the World Ag Expo in Tulare, California – one of the biggest farm shows in the world, it’s a good place to see some new stuff and talk to some interesting people. Click on the pictures below to see them “full-size.”

The morning dawned clear, warm, and sunny, like it always is in California… JUST KIDDING! It was cool and so foggy I had to slow down to 35 miles an hour driving across the valley – the infamous “Tule Fog” that occasionally causes huge pileups on Highway 99. However, it burned off around noon and it actually did turn warm and sunny, making it a rare delight for this time of year. The winter in California has been surprisingly – distressingly – warm and dry, and I saw almond trees starting to bloom in the fields on my way across the valley, which is not very common in mid-February.

The “big guys” were there, but I seldom find anything interesting about what they are displaying at farm shows. I went through the Deere tents but they seemed mostly focused on selling t-shirts and caps, and they had equipment for the kids to fall off of. I thought it was funny that the news van was parked right outside the John Deere booth, so I took a picture of it. However, that was the only thing of note there.

There are two companies selling “in-cab” systems that now have network connectivity. Raven‘s new displays actually have an Ethernet port on them, so they can be connected directly to an in-cab AyrMesh Hub and be on the network that way. (They are designed for use with Raven’s “Slingshot” system)

Many of their displays also have USB ports, and I believe you can use a WiFi adapter with them, although I’m not completely sure.

We have not been able to determine exactly what can be done with the Raven displays if they are connected to the network, and Raven has not been very helpful. We’d be very interested in talking to any AyrMesh users who have Raven Envisio Pro or Viper 4 displays.

The other company that has embraced network-connected displays, as mentioned in previous posts, is AgLeader. They were here, showing their WiFi AgFiniti product, and their booth seemed to be very busy. It seems to me that they are a company that has “gotten it” on the importance of network connection and collecting data wirelessly from the cab, so it was gratifying to see so many farmers looking at their solutions.

I mostly like to go into the halls to see the “small booths” that are populated by newer, smaller companies. In California, you see things that are quite different from what you see in the Midwest – sometimes they are only interesting in the odd agricultural climate of the west, but sometimes new things show up that will have a large effect on the general agricultural industry.

With California in a severe drought, a whole slew of companies were there talking about water: measuring it, storing it, and controlling it. Weather stations, soil moisture sensors, and irrigation control. As Mark Twain famously said about the west, “Whiskey’s for drinking and water’s for fighting over,” but the fighting is done and farmers are left to make do with what they can get. Companies like MeasureTek, shown at left here, and Western Weather, right next to them, are using “industrial grade” sensors to monitor weather and soil conditions. They have built “private cloud” solutions to capture the data from the sensors and present them to growers, and the sensor “pods” themselves can be connected to the Internet with cellular or satellite, or just connected to an AyrMesh Receiver or Remote Hub. PureSense, a company that provides not just monitoring but also control of irrigation systems for optimal water use, had a very busy booth. T-L Irrigation was also showing sensing solutions with their irrigation controllers, as well as displaying Internet control of irrigation systems. Valley, Reinke, and Lindsay were also there, but they were focused on irrigation equipment and controllers, less on tying in sensors to irrigation.

The other thing that caught my eye at the show was the flush of new companies that are getting into the Farm Management Software market. Of course, Trimble was showing their Connected Farm solutions, featuring FarmWorks software, and SST, a long-time player in this market, was there. However, FarmLogic did not seem to be in attendance, even though the program said they were. Newer, “cloud-centric” companies offer some unique advantages over the “old guard.” AgWorld is a company out of Australia; I saw them last year and thought they were interesting – theirs is a browser-based farm management application that runs on just about anything with a browser – computer, tablet, or phone. I can’t tell whether it’s really going to be a winner or not, but it has promise. OnFarm is another company that was displaying at WAE. Their premise isn’t to manage and store all your farm’s information, but rather to arrange and manage all the sources of your farm’s information. Once again, I think it’s too early to tell how useful it will be, but it is interesting. There are similar offerings, like FarmLogs, that are just as interesting (although I didn’t see them at WAE). While they all seem to be in their infancy, I expect some of them will “grow up” to be valuable tools for growers.

The one thing for sure is that they all increase the value of having a Wireless Farm Network like AyrMesh.

Two last notes about WAE: first, as shown at left, there are a LOT of people who come to the show. Not all are farmers, but most are connected to the ag industry in some way. Second, as shown at right, you see stuff here I don’t think you’ll see anywhere else, like these berry and grape harvesters. I think it’s a good day when you walk past something that makes you say, “What in the world is THAT???” We’re definitely not in Minnesota any more…

A new take on the “WiFi vs. Cellular” question

Every so often I run into someone who asks, “Why would I want a WiFi network across my farm? I have a cellphone that will access the Internet anywhere I go…”

It’s kind of a funny argument, for a few reasons:

  1. If you have good cellular data access across your entire farm, you’re in the minority – most people in the rural U.S. and Canada have no or only very slow Internet access via the cellular network on some, most, or all of their properties.
  2. Even if you have Internet access via cellular, it’s almost always slower than WiFi. It’s been my experience that people appreciate WiFi a lot more after they get a smartphone.
  3. Having a local-area network (LAN) enables you to do more than just access the Internet – it allows you to use IP cameras, weather stations, soil sensors, and other devices to keep track of what’s happening on the farm, and even use network-connected relays, grain dryers, irrigation, lighting, and HVAC systems from anywhere on the farm

The cellular service providers (AT&T, Verizon, etc.) originally only used the cellular networks for both voice and data – but the data connections were at “modem-speed” – kilobits per second. Then smartphones (led by the Blackberry and Nokia phones) started to be capable of much more data usage – email and even some web browsing – and phone manufacturers started including WiFi connectivity. Later on, cellular providers offered faster cellular data options (“3G” and “4G”), but modern smartphones still use the cellular network for voice, and the voice network is still separate from the data network. The upshot is that, in many rural areas, you can make or receive voice calls and get or send text messages, but you may not be able to load a web page or send an email unless your have a nearby WiFi network.

A new article in Businessweek points out some new providers are actually turning that model on its head, introducing phones that use the WiFi network by default for voice and data, and only access the cellular network if there is no known WiFi network in range.

Now, I have a cellphone with a data plan, and I pay over $120 per month even though my phone is on WiFi about 90{8fd1ffa65f67a2e931916b3c1288d51eed07dc30586a565c92d055673de7c64e} of the time. If I weren’t traveling all over the place on Ayrstone business, I’d be very tempted to get one of these Republic Wireless or Scratch Wireless phones and save about $80-100 of that bill per month.

For people who have a Wireless Farm Networking system to provide farmwide WiFi, these new phone plans may be very tempting.

What do YOU want for Christmas???

We were curious about that question ourselves, so we commissioned a survey of growers across the corn belt.

We got over 100 responses to our call from Minnesota to Tennessee and Ohio to Nebraska, all across the Midwest.

All things wireless top the list of technology-related gifts that farmers want for Christmas this year. More than 40 percent of those surveyed are putting wireless remote cameras and wireless remote weather station / soil sensors on their lists. And nearly 50 percent would like a wireless farm network that extends up to 7.5 miles from their homes.

Farmers are also frustrated by the lack of connectivity on their farms. In fact, nearly 80 percent of those surveyed said they are frustrated that their wireless network does not extend to sheds, grain bins or nearby fields.

Other technology-related gifts that farmers say they want according to the survey include wireless remote grain monitoring, an iPad or other tablet, a new router, and remote thermal imaging.

If you’re worried that Santa might not deliver this year, you might want to take care of yourself: go to ayrstone.com and start a new AyrMesh Network for yourself (or expand your existing network) so you have the wireless access you need!

The hard part of wireless networking: the wires.

It’s actually an old joke in the wireless networking world: what’s the worst part of wireless networking? The wires!

(OK, it’s an old dumb joke…)

While having WiFi all over the farm is incredibly useful, the only way to make it happen is using Ethernet cables. While Ethernet cables are very simple devices, there are an amazing number of variations and types of Ethernet cables, an choosing the wrong ones (or using them poorly) can cost you time and money.

What is an Ethernet cable?

Courtesy of WikiMedia

Ethernet cables all have some common characteristics: they contain 4 pairs of wires, with each pair twisted around each other (so they are called “twisted-pair” cables). They have an outer sheath to protect the wires inside and they use RJ-45 connectors to connect to networking devices.

The 4 pairs of wires inside the sheath are usually colored green, brown, blue, and orange – one solid and one striped for each color. The wires are usually 100{8fd1ffa65f67a2e931916b3c1288d51eed07dc30586a565c92d055673de7c64e} copper, but some cheaper cables are made of alloys. Alloy cable works OK for short lengths, but should not be used for cables longer than 25 feet. There is sometimes an uninsulated wire running down the middle of the cable called a “drain wire” – this is meant to provide a common ground for the equipment the cable is connected to.

The wires are usually about 24 gauge (AWG), but some cheaper cables use 26 gauge wire, and some more expensive cables use 22 gauge wire. Obviously, the bigger the wire the better, as long as it’s pure copper, but bigger wire also makes heavier cables. It makes a difference if you’re hauling it up a ladder, believe me.

Kinds of Ethernet Cables

Under the sheath, some cables have a shield made of metallic braid or foil. This shield keeps outside noise from penetrating the cable and disrupting the signal on the wires. Unshielded cables are designated as “UTP” (Unshielded Twisted Pair), while shielded cables are designated “STP” (Shielded Twisted Pair). Our experience shows that any cable over 25 feet should be shielded to prevent corruption of the data on the wires and maintain the speed of the data.

You will see, shopping for Ethernet cables, that there are several “Categories” of cable – Cat 5, Cat 5e, and Cat 6 are the common ones available now. The differences are in the speed rating of the cables – Cat 5 can pass data at 10 Mbps or 100 Mbps, Cat 5e can pass data at 10, 100, or 1000 Mbps, and Cat 6 can go up to 10 Gbps. Any of these will work well with AyrMesh equipment – we usually buy Cat5e cables because they are less expensive and widely available. The main physical differences in the cables is how tightly the wire pairs are twisted together.

Finally, the sheath itself can differ quite widely. The normal sheath is usually a form of polyolefin, which does not burn easily. “Plenum-rated” and “Riser-rated” sheaths are coated with a low-smoke PVC, which makes them even more flameproof and reduces the toxicity of the smoke if they do catch on fire. “Direct burial” cables generally have a very thick and heavy sheath, and they may contain a gel that prevents a nick or cut in the cable from admitting water into the cable. Obviously, if water gets into the cable, the wires can corrode and the cable will go bad, but direct burial cables are usually very stiff and very heavy, making them extremely difficult to work with.

Whichever cable you choose, it is imperative that you handle it correctly. Because the cable consists of a bunch of small wires, it is really no stronger than any of those wires. It’s very easy to get a kink in a cable when you’re pulling it through a hole, for instance, and break one of the wires. When that happens, the cable is generally useless.

General Guidelines for Ethernet cables used with AyrMesh products

  • Make sure the cables are all-copper and shielded (STP) if they’re 25 feet or longer.
  • Try to get 24 or 22 AWG wires in the cable.
  • Get plenum-rated or riser-rated cables for use indoors, but don’t use direct burial cables unless you’re going to bury them – they’re too hard to manage.
  • ALWAYS leave a “drip loop” when you’re bringing a cable run from outside to inside a building so water doesn’t run down the cable and ruin equipment!
  • Be VERY careful pulling cables – they are more fragile than they seem!

Using the Internet on the Farm

It seems almost impossible now, but it wasn’t very many years ago that the typical farmer would have laughed if you said that he’ll need Internet access everywhere on the farm. The benefit of surfing websites (when they were just static information pages with pictures) was unclear, but the idea of carrying around a computer in your truck, tractor, sprayer, or combine was patently absurd. The dust, temperatures, and vibration were far too much for the computers of the time.

But then came the Blackberry, and everyone discovered the convenience of getting email on-the-go. So everyone realized they needed a Blackberry and constant access to email – why would you need anything else?

But the web grew up. More and more information was either available exclusively on the web, or was at least a lot more convenient to get on the web. Furthermore, it became about more than just getting information: you could increasingly actually DO things on the web – ordering parts and supplies, keeping records, planning, and even marketing. But laptops have never been practical on the farm: keyboards are too easily gummed up with dust, screens on hinges are too fragile, and they just take up too much space.

Then another device came along: the iPad. I have joked that EVERY farmer in America got an iPad for Christmas last year, and tablet computers like the iPad seem like they were made for farming. Adam Gittins has written an excellent blog post about the use of tablet computers in agriculture – the bottom line, though is that they are durable, easy to carry, and provide an excellent platform for using web applications.

Of course, they need to be connected to the Internet to be useful. Almost all the tablets on the market are available with some sort of cellular modem that allows them to access the Internet, but fast cellular data signals (“4G”) are rare in the rural U.S., and there are a lot of areas with only very slow or no cellular Internet access. Furthermore, a cellular modem does not provide you access to your Local Area Network (LAN) the way the AyrMesh network does. Finally, of course, the cellular options in the tablets cost extra, and the cellular companies like to charge quite a bit per month for Internet access.

Using the AyrMesh system, you can have fast WiFi access all over your farm, with access to your LAN for accessing the data sources and control mechanisms on your farm, and it makes your tablets and smartphones just that much more valuable.

AyrMesh for Precision Ag – collecting precision data from cab monitors

Lots of data here…

Both of the founders of Ayrstone Productivity have backgrounds in precision agriculture, and one of the motivations we had in starting Ayrstone was to help growers access and use the data generated by all those in-cab monitors by giving them a way to capture all that data wirelessly. The information on those computers is a potential goldmine if you can use it quickly and easily to make smarter decisions about your operation.

When we were doing research about data collection, however, we learned that the vast majority of growers just left the CF cards in the cab monitors all season, because it was just too much bother to pull out the card, bring it in, out it on the computer, dump the data, store it (so you can find it again), and then remember to take it back out and put it back in the monitor before you go out to work again. Some vendors were starting to put cellular modems into their cab computers, but they are expensive in the first place and carry a pretty hefty monthly service fee with them. Furthermore, there are pretty substantial chunks of rural America without good cellular data service (which is usually separate from the voice service signal).

We proposed that a mesh WiFi network (like the AyrMesh network) could be a much more effective way to collect that data so it can be used for decision support. It can be extended wherever it needs to go for data collection, it doesn’t carry a monthly charge, and a WiFi adapter, even a high-power outdoor one, is much less expensive than a cellular modem.

Adam Gittins of HTSag has an interesting and thought-provoking blog post about collecting harvest data off his AgLeader console with the new AgFinity WiFi adapter. He is even able to see his harvest results when he’s not on the combine!

Thank you to Adam Gittins for this image

A little technical talk about WiFi

Adam Gittins has published another terrific post on his Precision Ag Explained blog about problems he ran into getting his AyrMesh network up and running.

It reminds me that WiFi isn’t entirely straightforward, and some explanations of the vagaries are in order.

As Adam points out, interference is potentially a huge problem on WiFi. One problem is that the 2.4 GHz. WiFi band was partitioned out into 11 channels (in the U.S. and Canada), but most of those channels actually OVERLAP each other. There are only THREE DISTINCT CHANNELS: 1, 6, and 11 – all the other channels overlap at least one of these three (and each other). For a good explanation with graphics, I always recommend Wikipedia.

As he points out, if you have your “indoor” WiFi and your “outdoor” WiFi on the same channel, they’ll interfere with each other, reducing the range and bandwidth of both. Even if they are less than five channels apart this will happen to some degree. The AyrMesh network always comes by default on channel 6, so you can either change your home router’s channel to 1 or 11, or change the AyrMesh channel using your account on AyrMesh.com.

InSSIDer – courtesy of MetaGeek

We use and recommend a couple of tools to help discover WiFi interference. InSSIDer for Home is a free program that run on Windows, Mac, or Android, and shows all of the WiFi Access Points in range of the computer and a pretty good estimate of the signal strength of those Access Points. (NOTE: It has recently been pointed out that getting InSSIDer for Home from the Mac App Store actually costs $4.99)

WiFi Analyzer for Android, Courtesy of farproc

WiFi Analyzer is another free app that runs on Android. It’s a little simpler and quicker than InSSIDer, and has become my “go-to” solution for taking a “quick look around” on my phone.

It’s worth noting that there is no analogous app for the iPhone because Apple doesn’t allow direct access to the WiFi card. However, there are similar apps available if your iPhone is jailbroken.

Chanalyzer Spectrum Analysis, courtesy of Metageek

Just to make it a bit more interesting, however, I have to point out one more fact: WiFi is far from being the only thing using the 2.4 GHz radio band. Cordless phones, baby monitors, wireless surveillance cameras, certain radars, and microwave ovens all use the same spectrum, so they can all potentially interfere with your WiFi. This is, in fact, precisely why Metageek gives away InSSIDer – they sell tools called “Spectrum Analyzers” – their “Wi-Spy” Spectrum Analyzers are excellent and relatively inexpensive. They can show not just WiFi interference, but all the interference in the 2.4 GHz. band. They even offer a very nice “Wi-Spy mini” bundled with their “InSSIDer for Office” product for only $199.

You probably won’t need a spectrum analyzer for your AyrMesh network. Out in the country there’s very little interference, and it takes a while to learn how to use a spectrum analyzer effectively, even with Metageek’s excellent software.

However, getting a copy of InSSIDer and/or WiFi Analyzer is something I recommend to everyone who’s curious about their local WiFi environment.

Great post on “Precision Ag Explained”

Not really Adam – just a picture I thought was funny.

Adam Gittins of HTS Ag got an AyrMesh Hub2n a few weeks back, and he has published a great post about it on the outstanding blog “Precision Ag Explained.” The post helps explain how Wireless Farm Networking is going to drive better and more efficient farm operations in his view.

Here’s hoping we can see a lot more from him in the future – we really appreciate having someone of his experience and expertise writing about Ayrstone.

A different approach to WiFi cameras: Dropcam

I have been using a Dropcam for about a year now and have been very impressed with it. It is a very low-cost WiFi IP camera that, instead of offering local viewing through a webserver on the device, automatically streams its video to Dropcam’s servers, where you can view the video from anywhere on the Internet.

Just to review, the way a “normal” IP camera works is that it has a webserver on the device, and you access that webserver in order to view the video from the camera. For instance, if you connect the camera to your router, you’ll check the router to find its IP address – let’s say, for instance, that it’s 192.168.1.47.

You then use a web browser to view http://192.168.1.47, and your camera shows up there. However, if you want to view  your camera from outside your network, you have to “port forward” a port to the web port on the camera. A number of factors can make that operation difficult.

The Dropcam does away with all of that, because the camera is only attached to your computer with a USB cable ONCE for configuration (it gets the WiFi configuration from your computer – mine uses the WiFi signal from my Remote Hub out in my workshop), then it joins your network and streams its video to dropcam.com. The camera and dropcam.com website have proven to be very reliable.

It is powered with a mini USB cable (5 volts), which is included, along with a wall plug USB power adapter.

Dropcam allows you to view the video from your camera for free on your dropcam.com account. If you want to record the video so you can go back and look at past video (e.g. for security purposes), they have inexpensive recording subscriptions.

They have a number of demo cameras set up – including a nice one looking out a window onto Monterey Bay in California. While I couldn’t find a demo camera on a farm, this gives you a nice idea of how good the picture is and what the interface looks like – very good, very easy to use.

The Dropcam is very good, but it’s far from perfect. The big advantages are:

  • Easy to set up and use
  • Small, lightweight, inexpensive
  • Transmits video AND audio – look and listen
  • IOS and Android apps for viewing cameras
  • Visible over the Internet, no port forwarding

However, it has a few very salient disadvantages:

  • Not suitable for outdoor use – indoor use only
  • No local access – you HAVE to be connected to the Internet to view the camera
  • Fixed lens – no telephoto, no wide angle, no point/tilt/zoom
  • A couple of seconds delay between the camera and the video stream

If you have a place you want to keep an eye on, Dropcam is an excellent choice. The quality of the camera and picture is comparable to my “favorite” indoor camera, the Axis M1033-W. As you can see, although the camera has to be indoors, it does a nice job showing outdoor scenes if it can be placed inside a window.

Dropcam is, potentially, a very useful tool for your home and farm.