Coding Belkin WeMo Switch C# .NET API Library - Auto Power Cycle Cable Modem on Disconnect

Subscribers:
852,000
Published on ● Video Link: https://www.youtube.com/watch?v=ifzmJFdvNEE



Duration: 24:00
55,743 views
986


A lot of you requested that I do a video with some software development in it. Well it turns out a gift I received a few months ago from my friend Greg in the form of a Belkin WeMo switch turned on a lightbulb over my head (No pun intended, or was it... I forget). Anyways here is the video showing you the C# .NET code written in Visual Studio 2012 and the command line batch script that drives the WeMo application I developed to automate the process of detecting when the internet is not reachable and powercycling the cable modem automatically and as many times as it takes before internet is restored.

This will solve the huge problem I have where my cable modem goes offline during vacation and I can't remote to my machine or the cable modem locks up while we're watching Netflix in the bedroom and I have to go to the closet and unplug it and get out of my nice, warm, cozy bed!

I hope you guys enjoy the video and take a look at the code and I hope some developers or aspiring developer see this video and find a use for the code I have created and continue to build on it and make it better. Due to the huge time constraints on this project because of my busy life I had to skip a lot of error checking and segmentation steps to make the code perfect but I got to the point where it serves my purpose.

The cool thing this project demonstrates is that even though Belkin didn't release any software to control these devices outside of the iOS platform (iPhone & iPad) it is possible to intercept the traffic from these devices and devise a way to communicate with them in a supported way from any platform (Windows, .NET framework, etc). Now other people can utilize this library to build more robust automation and do some seriously cool things with these devices (christmas lights anyone)?

ABOUT WeMo SWITCH
If it plugs in, you can turn it on or off with WeMo. Just plug your lamp, or fan, or stereo (almost anything) into the WeMo Switch, and you're ready to control it with the WeMo app.

Technology Used:
C#
.NET 4.5
Visual Studio 2012 Ultimate
Windows 8
Windows 7
Command Script (Batch File)

Source Code + Binaries:
http://www24.zippyshare.com/v/90905687/file.html

Thanks!
Jerry This show is an independent production of Jerry Berg (aka Barnacules). Opinions are my own and do not necessarily reflect the opinions of my employer, friends, or any companies mentioned in the show. Email business inquiries to Barnacules@barnnerd.com Help the channel by donating BitCoin to 1MfVZVMjfUUq8srg1d4RbgXR5e7JLw7R6P

▼ Support me by sending BitCoin (Wallet Address) ▼
18Su2PV63BabMZWwYEhgXC8obK1XBVveCp


▼ Get 20% off Kinesis FreeStyle Edge Split Gaming Keyboards & Mice ▼
https://gaming.kinesis-ergo.com/barnacules-rgb/
[use code 'Barnacules' at checkout to get 10% off]

▼ Join my Folding@Home team and help cure diseases with spare CPU/GPU cycles ▼
Barnacules Nerdgasm Team # 231300
Download Client @ http://folding.stanford.edu/
** Top 10 contributers shown on Twitter weekly!


▼ I am now live streaming on Twitch so come give me a follow to receive notifications when I'm streaming ▼
https://www.twitch.tv/barnacules

💥 See my Amazon Store for all the products I use & review 💥
https://www.amazon.com/shop/barnacules1

⭐ Protect your privacy & get 70% off Nord VPN 3 Year + Free Month
- http://nordvpn.com/barnacules
- Use code 'Barnacules' at checkout




Other Videos By Barnacules Nerdgasm


2013-04-05WRC 3 on Obutto R3volution, T500RS, Clubsport V2, Triple 46" nVidia Surround Rally Simulator
2013-02-18Barnacules Does The Harlem Shake - Throwback from 6k Subscribers
2013-02-14Reviewing Logitech K400 Wireless Touch Keyboard - HTPC, Media Center, PLeX, XBMC
2013-02-14Acoustic Wedge Foam Treatment in the Man Cave Recording Studio - Reduce Echo, Reverb and other Noise
2013-02-10Wireless Handheld USB Trackball with Laser Pointer - Control Media Center, HTPC, XBMC, PLeX
2013-02-06ALLBenchmark CATZILLA Benchmark on (2) EVGA GTX 680 FTW+ 4GB SLI - Windows 8 Pro
2013-02-063DMark 11 DirectX 11 Benchmark on SLI GTX 680 FTW+ 4GB - Man Cave Beast Machine
2013-02-053DMark Ice Storm, Cloud Gate and Fire Strike on dual EVGA GeForce GTX 680 FTW+ graphics cards
2013-02-03How to get Start Menu back in Windows 8 with Stardock Start8 - Tutorial
2013-02-03Increase nVidia GTX performance with nVidia Inspector - Works great on Crysis 3 Beta
2013-01-31Coding Belkin WeMo Switch C# .NET API Library - Auto Power Cycle Cable Modem on Disconnect
2013-01-25Pulling out my WeMo - Belkin WeMo Switch 2-Pack - Home Automation X10 Alternative
2013-01-20Drunk unboxing ATARI Arcade DUO iPad Joystick Dock - Atari Arcade Classics
2013-01-19Fat nerd snowboarding at Stevens Pass, WA - Gravity is my friend!
2013-01-08Microsoft Surface RT + SNES Emulator + XBOX Controller = Epic Portable Gaming Experience
2012-12-3140 minutes of raw, sexy, random Tekkit Minecraft shenanigans in ERF5 with commentary
2012-12-31My first rookie iRacing oval race - I piss off lots of people but learn a lot in the process, oops.
2012-12-30Let's play iRacing - 20 laps at Lime Rock in my Mazda MX-5 w/ commentary
2012-12-29Custom iPhone mount for Thrustmaster T500RS and iHud iRacing/rFactor/LFS Dashboards
2012-12-29Testing iHud Guages for iPad with iRacing - Custom Obutto Revolution Racing Cockpit
2012-12-28How to install iPad mount on Obutto Revolution racing cockpit (DIY)



Tags:
belkin wemo automation
belkin wemo library
belkin wemo switch windows
wemo sensor
.net framework wemo
cable modem power cycle
x10
wireless power cycle
wemo code
c# belkin wemo
programming c#
wemo windows
HD
belkin wemo api
automated power
.net wemo
2014
2013
belkin automation
awesome automation
wemo switch
wemo program
.net framework
belkin wemo switch
belkin wemo windows
home automation
cable modem hung
wireless power switch
programming C# .net