IoT has become such an polarizing, overused term. But here it is in its essence: [zeroflow] had a thing (his airconditioner) and he needed to put it on the Internet.
For his contribution to this modern vernacular atrocity, he first had to build an IR debugging tool and reverse engineer the signals coming from the air conditioner’s remote. He wrote up a really good summary of the process, and worth reading. He loads up an IR library onto an Arduino and dumps the resulting 32 bits of information to his computer. In a process much like filling in the blanks on a word puzzle, he eventually determines which blocks of the data correspond to the remote’s different buttons.
Next he throws an array of IR LEDS and an ESP8266 onto a bit of protoboard. After writing some code, available on GitHub, he could set the temperature of his room from anywhere on the planet. We take it on faith that [zeroflow] has a compelling reason for doing so.
Bolstered by this success, he didn’t stop there. [Zeroflow] admits to having more than one thing on the Internet. Boom! Internet of things.
“he could set the temperature of his room from anywhere on the planet”
The screenplay of Mr Robot is about to become reality…
I can control my air conditioning, but except for three motor-controlled clerestory windows in my kitchen (that I haven’t yet put on the internet, but could do easily with an IR on a microcontroller), I’d be cooling my neighborhood. My last trip of several days, it got rather hot on the last day, but I didn’t want to turn on the AC while I was on the road unless I had a robot who could find open windows and shut them.
That’s a killer app.
Install linear actuators on the windows you want to open/close automatically.
beware of the bluescreen, when you install anything on windows :P
“Something happened.”
*all your windows slam shut like guillotines and the washing machine devours the dog*
“:( Your house ran into a problem.” is written on your wall with the dog’s blood.
For the days when LIRC serial port receivers were still common and easy enough that the entire reverse-engineering stage would have just been a matter of asking LIRC to determine the protocol for you… oh well.
FWIW I grab IR codes with my Treo 350 and use as a remote control for my TV along with the available library of codes.
Pretty cool. I was thinking about how to do something just like this the other day. Nice job!
I know we all like to DIY, but you can buy some very nice network enabled IR emitters units from Global cache and their prices are quite reasonable. Check out iTach IP2IR for wired ethernet and WF2IR for wireless, one unit can handle three seperately addressed emitters so you can potentially have a central unit serving three devices.
I use mine for split system aircons and I had to do a fair bit of work reconstructing the aircon protocol, but once I had it developed in a script it was fairly easy to send the commands via the iTach.
zeroflow here, for an commercial/industrial setting, IP2IR or WF2IR are simply the better solution.
An IP2IR would cost me about 120€. Even if factoring in about 4h worth of work, the ESP + random parts is much cheaper and much more fun to build.
While the IP2IR is a good product for commercial/industrial settings, it was simply not worth it for my use.
An IP2IR would cost me about 120€ while all parts for the ESP have already been collecting dust on my workbench – and even with time billed it would still be cheaper in the end – and more exciting building it myself
Just two things, this is already a thing, http://www.geappliances.com/ge/connected-appliances/air-conditioners.htm and not to be a nit picker but “an polarizing”, since when is P a vowel, I didn’t get the memo. :)
Maybe it’s p as in pneumatic.
You still don’t say “an pneumatic”
The rule isn’t to use “an” before a vowel, it’s to use it before a vowel *sound.* That’s why you say “a historic occasion” in the US, and “an historic” in the UK.
It’s still wrong, I’m just being helpful. :V
“needed to put it on the Internet” really?
I’ve seen on https://myesp8266.blogspot.ro/2016/05/keep-your-house-cool-with-esp8266.html a full example with a non standard Air Conditioner unit. With schematics and cod for ESP8266.
zmote (http://www.zmote.io) is a commercial product built using ESP8266, compatible with IP2IR protocol as well as it has its own HTTP API.
I must declare that I’m one of the developers of zmote.