The ESP32 Handyman home automation web server is up and running. The ESP32 connects to your local WiFi network and then you can connect via your cell phone or your computer or tablet and control eight devices. These are hard wired to an eight relay device which you can see in my previous post. The ESP32 serves up the webpage and switches the eight relays which are in turn wired to the devices you want to control. Virtually all of my lighting is led types. In my shed / shop area I have at least ten led light fixtures all on one circuit. I checked the load with an amp meter and it was less than two amps. The relay switches are rated for 10 amps so no problem there.
Electrick Redneck
Adventures in converting perfectly good parts to carbon
Saturday, May 26, 2018
Alexa Home Automation
I spent the last couple of weeks getting up to speed on some of the home automation tools that are available off the shelf and home brew versions as well. Many of the components can be used with the Alexa and similar devices. I picked up a couple of the Echo Dot 2nd generation devices and have some of the remote control devices that work with it on the way. I can see where this thing might be a bit addictive as well as being capable of some pretty sophisticated uses.
I picked up one of these ESP32 boards and it's what got me on the home automation bandwagon. I didn't really know much about it when I bought it but in researching some of its capabilities I learned that it and its predecessor the ESP8266 can be used as a remote device to be controlled by an Alexa. The 32 board is still pretty bleeding edge but has a ton of capability. It has both WiFi and Bluetooth connectivity and a great deal of information about them is available on the web.
It was a fairly easy undertaking to set up the ESP32 device as a webserver on my home wifi network that can control via a web page... 8 relays that can control lights or other low current devices.
Control by Alexa is not so well supported on the ESP32 but there are many examples using the ESP8266. I have a couple of them on the way.
I also have some Sonoff devices on the way as well that work with the Alexa or with a phone app right off the shelf.
I will be posting more on this undertaking as these parts arrive and get put online.
Stay tuned 😀
I picked up one of these ESP32 boards and it's what got me on the home automation bandwagon. I didn't really know much about it when I bought it but in researching some of its capabilities I learned that it and its predecessor the ESP8266 can be used as a remote device to be controlled by an Alexa. The 32 board is still pretty bleeding edge but has a ton of capability. It has both WiFi and Bluetooth connectivity and a great deal of information about them is available on the web.
It was a fairly easy undertaking to set up the ESP32 device as a webserver on my home wifi network that can control via a web page... 8 relays that can control lights or other low current devices.
Control by Alexa is not so well supported on the ESP32 but there are many examples using the ESP8266. I have a couple of them on the way.
I also have some Sonoff devices on the way as well that work with the Alexa or with a phone app right off the shelf.
I will be posting more on this undertaking as these parts arrive and get put online.
Stay tuned 😀
Sunday, March 18, 2018
ESP32 and You
I recently bought one of the ESP32 development boards without really knowing what it was but it looked like it had potential. The first disappointment is in the package itself... it is not breadboard friendly and it seems no one has really attempted to address this with a breakout board that would make it more user friendly.
Finding good examples too is a bit of a tester... lots of smoke and mirrors and not a lot of user friendly help online. There are lots of high end undertakings out there, Luanode, Python, Fauxmo, AsyncTCP, NodeMC, even a few attempts to create a stand alone Alexa type device on ESP32. It's all a bit mind boggling for an old arduino hacker like me. Part of the problem is that this board is an upgrade of the ESP8266 and most of the tutorials try to show how integrate them both into their project. They are different enough that this only seems to make it all the more difficult for the beginner.
To be fair they are both relatively new and are both targeted more to developers that to ordinary hackers like myself. To me one of the most interesting uses of this device is as a remote device that can be controlled by an Alexa... and this will be the focus of this site.
I've spent the past couple of days looking for examples of projects that use the board in this way. I found one with promise but seemed to have lost track of it. In it the board was connected to several relays and programmed to be found by an Alexa device. The Alexa would learn what devies were connected to it and what voice commands would be used to turn these things on and off. You could also group thing together such and all the lights in a particular room could be turned on or off with one command or you could control them individually. Try as I might I've not been able to find that particular application again.
So I invite you to join me in this undertaking to try and solve this mystery. I'm still waiting on a few components to experiment with and probably the easiest thing is to just use off the shelf stuff that is already available to do what I have in mind.
Ironically I had no Alexa and didnt even know that they could be used to control remote devices. I do have one on the way and a few of the Sonoff devices to get the ball rolling. I also have a couple of the ESP32 devices on hand and an 8 relay device on the way.
So stay tuned and we'll see how it goes.
Finding good examples too is a bit of a tester... lots of smoke and mirrors and not a lot of user friendly help online. There are lots of high end undertakings out there, Luanode, Python, Fauxmo, AsyncTCP, NodeMC, even a few attempts to create a stand alone Alexa type device on ESP32. It's all a bit mind boggling for an old arduino hacker like me. Part of the problem is that this board is an upgrade of the ESP8266 and most of the tutorials try to show how integrate them both into their project. They are different enough that this only seems to make it all the more difficult for the beginner.
To be fair they are both relatively new and are both targeted more to developers that to ordinary hackers like myself. To me one of the most interesting uses of this device is as a remote device that can be controlled by an Alexa... and this will be the focus of this site.
I've spent the past couple of days looking for examples of projects that use the board in this way. I found one with promise but seemed to have lost track of it. In it the board was connected to several relays and programmed to be found by an Alexa device. The Alexa would learn what devies were connected to it and what voice commands would be used to turn these things on and off. You could also group thing together such and all the lights in a particular room could be turned on or off with one command or you could control them individually. Try as I might I've not been able to find that particular application again.
So I invite you to join me in this undertaking to try and solve this mystery. I'm still waiting on a few components to experiment with and probably the easiest thing is to just use off the shelf stuff that is already available to do what I have in mind.
Ironically I had no Alexa and didnt even know that they could be used to control remote devices. I do have one on the way and a few of the Sonoff devices to get the ball rolling. I also have a couple of the ESP32 devices on hand and an 8 relay device on the way.
So stay tuned and we'll see how it goes.
Sunday, March 11, 2018
The Electrick Redneck
I'm an old arduino hacker and quad copter crash tester. The evolution of the quad controller boards has been quite dramatic over the past few years. STM32F4 boards are the norm even a few F7 boards on the market.
Spent most of the morning studying about a new development board for electronics hobbyist types that has some pretty cool features. It only costs about 10 bucks and has wifi and bluetooth builtin. It's an ESP32 based board which is an upgrade of the ESP8286 board.
I bought one recently just to piddle with. In trying to learn more about it just this morning found some applications for it that I had not heard of. They allow it to be controlled by an Alexa to turn lights on and off or most anything you might be inclined to control.
Long story short I got so enthused that I went looking for a new blog name.. all the easy good ones are gone but in a fit of madness I came up with ElectrickRedneck.... still laughing a bit at myself for that one... you do a lot of that when you've lived by yourself for as long as I have.
While I don't really consider myself a redneck I am an old fellow now... a bit old school... a bit home body... saddened by the division that seems to prevail in our country these days... but glad to still be alive and kicking. Quite amazing the technology available to electronics hobbyist these days. So this is my fairly small view of some of the toys that I have an interest in. I hope you find it worthy of your consideration.
Stay tuned for more from the Electrick Redneck...
Spent most of the morning studying about a new development board for electronics hobbyist types that has some pretty cool features. It only costs about 10 bucks and has wifi and bluetooth builtin. It's an ESP32 based board which is an upgrade of the ESP8286 board.
I bought one recently just to piddle with. In trying to learn more about it just this morning found some applications for it that I had not heard of. They allow it to be controlled by an Alexa to turn lights on and off or most anything you might be inclined to control.
Long story short I got so enthused that I went looking for a new blog name.. all the easy good ones are gone but in a fit of madness I came up with ElectrickRedneck.... still laughing a bit at myself for that one... you do a lot of that when you've lived by yourself for as long as I have.
While I don't really consider myself a redneck I am an old fellow now... a bit old school... a bit home body... saddened by the division that seems to prevail in our country these days... but glad to still be alive and kicking. Quite amazing the technology available to electronics hobbyist these days. So this is my fairly small view of some of the toys that I have an interest in. I hope you find it worthy of your consideration.
Stay tuned for more from the Electrick Redneck...
Subscribe to:
Posts (Atom)