Fun Evening Project (Of Course I COULD Have Used a Sonoff But...)

Поделиться
HTML-код
  • Опубликовано: 26 окт 2024

Комментарии • 38

  • @fbach2100
    @fbach2100 6 лет назад +1

    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 !

  • @gartmorn
    @gartmorn 6 лет назад

    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!

  • @electronic7979
    @electronic7979 6 лет назад

    Excellent project

  • @avejst
    @avejst 6 лет назад

    Thanks for sharing 😀👍
    Nice project 👍

  • @narfelchen7712
    @narfelchen7712 6 лет назад

    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.

  • @MauroSedrani
    @MauroSedrani 6 лет назад

    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!

    • @ItKindaWorks
      @ItKindaWorks  6 лет назад +1

      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.

    • @MauroSedrani
      @MauroSedrani 6 лет назад

      I agree with your approach. Thanks for your excellent work!

  • @bluedeath996
    @bluedeath996 6 лет назад

    Might be worth breaking out a pin to have a local switch for the light too.

    • @ItKindaWorks
      @ItKindaWorks  6 лет назад

      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.

  • @markferrick10
    @markferrick10 6 лет назад

    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).

    • @ItKindaWorks
      @ItKindaWorks  6 лет назад +1

      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.

  • @badandyg
    @badandyg 6 лет назад

    That was the board I was going to send you. I totally forgot.

    • @ItKindaWorks
      @ItKindaWorks  6 лет назад

      No worries man, as you can see I ended up getting a few anyways haha

    • @badandyg
      @badandyg 6 лет назад

      If you want some fun. Get a double relay ESP8266

  • @dachoeks3
    @dachoeks3 6 лет назад

    Hey can you do some videos with neopixels? I would love to see your integration of neopixels into the homekit.

  • @lordhelmchen100
    @lordhelmchen100 6 лет назад

    which app are u using to control the esp?

    • @ItKindaWorks
      @ItKindaWorks  6 лет назад

      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

  • @renelefebvre53
    @renelefebvre53 6 лет назад

    Hi, I cant find the app for android . Have you a complet name or a link for it . Thank

    • @ItKindaWorks
      @ItKindaWorks  6 лет назад

      Unfortunately it is an iPhone only app as it uses Apple's homekit protocol.

  • @squalazzo
    @squalazzo 6 лет назад

    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?

    • @ItKindaWorks
      @ItKindaWorks  6 лет назад

      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.

    • @OldCurmudgeon3DP
      @OldCurmudgeon3DP 6 лет назад

      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.

    • @ItKindaWorks
      @ItKindaWorks  6 лет назад +2

      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.

    • @OldCurmudgeon3DP
      @OldCurmudgeon3DP 6 лет назад

      ItKindaWorks yeah, the SPDT is what the sonoff SV is missing.

  • @mackgoodman
    @mackgoodman 6 лет назад

    it's cool, but yeah, prob easier cheaper to use a basic sonoff, flashed with tasmota

  • @DrexProjects
    @DrexProjects 6 лет назад

    Now, Make it work with Alexa and google home... Because I always misplace my phone.

  • @TuttleScott
    @TuttleScott 6 лет назад

    if you flash the esp with espurna you might be able to control it with an alexa

    • @squalazzo
      @squalazzo 6 лет назад

      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

    • @squalazzo
      @squalazzo 6 лет назад

      Scott Tuttle and tasmota dev version 6.1.1c allows custom commands on serial

    • @ItKindaWorks
      @ItKindaWorks  6 лет назад +1

      I'll keep this stuff in mind if I ever get an Alexa.

    • @squalazzo
      @squalazzo 6 лет назад +1

      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"

  • @badandyg
    @badandyg 6 лет назад

    Can you show us the sketch?

    • @ItKindaWorks
      @ItKindaWorks  6 лет назад

      I'd be happy to throw something together. I'll definitely be making a little video on this board as a separate tutorial

    • @ItKindaWorks
      @ItKindaWorks  6 лет назад

      Just for you since you originally asked about this board - here is a super basic "blink" program for it: gist.github.com/ItKindaWorks/5261e07d276db34fc384f7ad12743bc5

  • @BradleyHerbst
    @BradleyHerbst 6 лет назад +2

    Why not just go with a sonoff?

    • @ItKindaWorks
      @ItKindaWorks  6 лет назад +4

      Haha because this is IKW and I enjoy making things rather than just beeb-boop done :)

  • @TheKetsa
    @TheKetsa 6 лет назад

    Stop eating your fingernails.