Built much the same thing at xmas to switch on my outside fairy lights which are fed from my garage! Worked a treat and saved me a trip out every night to switch them on and off. Especially welcome with our Scottish climate!
I have one of those boards and could never get it to work. The way the esp01 is used in this is very curious. But mine is just blinking away. Cool that someone picked it up, maybe i can resurrect it.
Very interesting! Please consider the possibility of making a series of videos in which to illustrate how to interface our small projects with ThingsBoard. I think it can interest many of us. Greetings from Italy!
I've thought a lot about doing a video about thingsboard for a long time. The problem for me is that as of a couple months ago there was a memory leak issue that would always crop up resulting in it not being able to even launch. Since then I have changed data visualization platforms yet again and am waiting to see if it is something I really trust before making a video.
I've definitely done this in the past but honestly I've never once used it outside of testing. Usually these boxes are tucked out of sight and/or in an inconvenient location. If it's not working via my phone for some reason I just unplug/plug it in.
So I am curious to know ( links?) to the relay board and the voltage regulator you used in this project. Also the code you have running it. Thanks and keep up the kool videos. I like to see an alternative to ready to buy stuff, although sometime, it is the better solution ( but not for your channel).
The power regulator/transformer is the most generic 750mA (or possibly even 500mA) 120AC to 5DC transformer I could find online. I think I bought a batch of them a couple years back on Ebay. The relay board is an LC Tech Serial Relay board. I dont have links because all of the things I buy generally come from ebay listings that really dont stick around. I'll be making a video on these little boards soon though and I'll have more information then.
of course the question everybody will do is "why not a sonoff"... but i think in this case the relay contacts are clean, not directly connected to mains as in sonoffs, right? This way you can use it to control a heater which just needs to close its contacts to let it start, right? And, can a little push button be added to that board, so to have something really like a sonoff basic? Are the (few, as it's an esp01) gpios exposed on the board?
That is entirely true and one of the reasons I use these instead of Sonoffs. I've used these on my home HVAC which is 24VAC and in controlling sprinkler valves - all things that would not be doable with a Sonoff. I could easily implement a push button (and in the past I have) but I notice that I honestly never use it as I usually try to hide these boxes so that they're out of sight. Unfortunately this board doesn't directly reveal any of the GPIOs. It does technically have TX/RX broken out. TX is definitely in use for the serial chip but you might be able to use RX as a GPIO without too much trouble. But tapping off of the 01 wouldn't be that hard anyways.
Looks to me like the relay *is* directly connected to mains. This is basically a sonoff w/o gpio. IKW can basically upload any sketch that will fit on the chip.
The relay is connected to mains in this situation. But if I wanted to I could power the ESP from a separate source and have the relay switch anything I want (for example a solenoid for a sprinkler system) which would not be possible with a sonoff. A second advantage to this kind of setup is the ability to use either normally open or normally closed (or both) setups.
Scott Tuttle nope... These kind of devices have a chip on the board which talks with the esp8266 via serial communication... None of the most known firmwares (tasmota, Espurna and espeasy) support this kind of setup... AFAIK Edit: no, espeasy supports it ruclips.net/video/i_CnBcQgdGk/видео.html
ItKindaWorks you can make one with a raspberry, even a cheap zero wifi model, or a combo alexa+Google assistant... Search for "shivasiddharth assistants-pi"
Just for you since you originally asked about this board - here is a super basic "blink" program for it: gist.github.com/ItKindaWorks/5261e07d276db34fc384f7ad12743bc5
Nice job. I like the reactivity. The lamp goes on and off with almost no perceptible delay when you touch the phone. I love it !
Built much the same thing at xmas to switch on my outside fairy lights which are fed from my garage! Worked a treat and saved me a trip out every night to switch them on and off. Especially welcome with our Scottish climate!
Excellent project
Thanks for sharing 😀👍
Nice project 👍
I have one of those boards and could never get it to work. The way the esp01 is used in this is very curious. But mine is just blinking away. Cool that someone picked it up, maybe i can resurrect it.
Very interesting!
Please consider the possibility of making a series of videos in which to illustrate how to interface our small projects with ThingsBoard. I think it can interest many of us.
Greetings from Italy!
I've thought a lot about doing a video about thingsboard for a long time. The problem for me is that as of a couple months ago there was a memory leak issue that would always crop up resulting in it not being able to even launch. Since then I have changed data visualization platforms yet again and am waiting to see if it is something I really trust before making a video.
I agree with your approach. Thanks for your excellent work!
Might be worth breaking out a pin to have a local switch for the light too.
I've definitely done this in the past but honestly I've never once used it outside of testing. Usually these boxes are tucked out of sight and/or in an inconvenient location. If it's not working via my phone for some reason I just unplug/plug it in.
So I am curious to know ( links?) to the relay board and the voltage regulator you used in this project. Also the code you have running it. Thanks and keep up the kool videos. I like to see an alternative to ready to buy stuff, although sometime, it is the better solution ( but not for your channel).
The power regulator/transformer is the most generic 750mA (or possibly even 500mA) 120AC to 5DC transformer I could find online. I think I bought a batch of them a couple years back on Ebay. The relay board is an LC Tech Serial Relay board. I dont have links because all of the things I buy generally come from ebay listings that really dont stick around. I'll be making a video on these little boards soon though and I'll have more information then.
That was the board I was going to send you. I totally forgot.
No worries man, as you can see I ended up getting a few anyways haha
If you want some fun. Get a double relay ESP8266
Hey can you do some videos with neopixels? I would love to see your integration of neopixels into the homekit.
which app are u using to control the esp?
It's called "Home" and is on the app store. Its basically a very basic yet powerful homekit app. The icon is a yellow background with a white house
Hi, I cant find the app for android . Have you a complet name or a link for it . Thank
Unfortunately it is an iPhone only app as it uses Apple's homekit protocol.
of course the question everybody will do is "why not a sonoff"... but i think in this case the relay contacts are clean, not directly connected to mains as in sonoffs, right? This way you can use it to control a heater which just needs to close its contacts to let it start, right? And, can a little push button be added to that board, so to have something really like a sonoff basic? Are the (few, as it's an esp01) gpios exposed on the board?
That is entirely true and one of the reasons I use these instead of Sonoffs. I've used these on my home HVAC which is 24VAC and in controlling sprinkler valves - all things that would not be doable with a Sonoff. I could easily implement a push button (and in the past I have) but I notice that I honestly never use it as I usually try to hide these boxes so that they're out of sight.
Unfortunately this board doesn't directly reveal any of the GPIOs. It does technically have TX/RX broken out. TX is definitely in use for the serial chip but you might be able to use RX as a GPIO without too much trouble. But tapping off of the 01 wouldn't be that hard anyways.
Looks to me like the relay *is* directly connected to mains. This is basically a sonoff w/o gpio. IKW can basically upload any sketch that will fit on the chip.
The relay is connected to mains in this situation. But if I wanted to I could power the ESP from a separate source and have the relay switch anything I want (for example a solenoid for a sprinkler system) which would not be possible with a sonoff. A second advantage to this kind of setup is the ability to use either normally open or normally closed (or both) setups.
ItKindaWorks yeah, the SPDT is what the sonoff SV is missing.
it's cool, but yeah, prob easier cheaper to use a basic sonoff, flashed with tasmota
Now, Make it work with Alexa and google home... Because I always misplace my phone.
if you flash the esp with espurna you might be able to control it with an alexa
Scott Tuttle nope... These kind of devices have a chip on the board which talks with the esp8266 via serial communication... None of the most known firmwares (tasmota, Espurna and espeasy) support this kind of setup... AFAIK
Edit: no, espeasy supports it ruclips.net/video/i_CnBcQgdGk/видео.html
Scott Tuttle and tasmota dev version 6.1.1c allows custom commands on serial
I'll keep this stuff in mind if I ever get an Alexa.
ItKindaWorks you can make one with a raspberry, even a cheap zero wifi model, or a combo alexa+Google assistant... Search for "shivasiddharth assistants-pi"
Can you show us the sketch?
I'd be happy to throw something together. I'll definitely be making a little video on this board as a separate tutorial
Just for you since you originally asked about this board - here is a super basic "blink" program for it: gist.github.com/ItKindaWorks/5261e07d276db34fc384f7ad12743bc5
Why not just go with a sonoff?
Haha because this is IKW and I enjoy making things rather than just beeb-boop done :)
Stop eating your fingernails.