$6 Wifi Pushbutton meets Tasmota

Поділитися
Вставка
  • Опубліковано 14 жов 2024

КОМЕНТАРІ • 36

  • @magnusblomqvist4571
    @magnusblomqvist4571 4 роки тому +3

    Please note that SetOption32 2 will set the timer to 0.2 s. SetOption32 20 will set it to 2 s.

    • @DaveOTech
      @DaveOTech  4 роки тому

      Hmm, I didn't realize that, thanks.

    • @hk9443
      @hk9443 2 роки тому +1

      Hi for some reason when I follow the instructions on my wall switch, a short press would just send a hold command in the console. Your comment fixed the issue the 0.2s was over-riding the default on command. Thanks a lot.

  • @TaylorTEK
    @TaylorTEK 11 місяців тому +1

    I've been trying to get this work for hours messing with yaml files and literally no forum mentioned mqtt being in automations! Thanks man this was driving me nuts!

  • @TwanJaarsveld1
    @TwanJaarsveld1 3 роки тому +1

    Finally have a use for my d1mini

  • @peterstrauch3126
    @peterstrauch3126 4 роки тому +3

    Hello Dave,
    super Video!! For me as an home automation beginner its easy to follow.
    I´m using the openhab server. Do you know how to integrate the commands there?
    Thanks a lot and Im looking forward to more nice videos
    Cheers
    Peter

    • @DaveOTech
      @DaveOTech  4 роки тому +1

      Hey Peter, I've never used OpenHab but if it similar to Home Assistant I'm sure you can connect an MQTT server to OpenHab. I don't know about creating automations though.

  • @tupuro
    @tupuro 2 роки тому +1

    Hi Dave, nice video. I just have a couple of days looking at Tasmota. I have a D1 mini with a relay shield and Im trying to figure out how to program it to trigger with your button.

    • @DaveOTech
      @DaveOTech  2 роки тому +1

      Hey, please take a look at the description of the video. The first link is a link on how to flash tasmota.

    • @tupuro
      @tupuro 2 роки тому

      @@DaveOTech hi Dave, I probably didn't write the question correctly. I just wanted to set a D1 MINI with a relay shield (ON or OFF ) using your button or by using any other MQTT Client. I already figured out. I had to add at the end of the topic the "cmnd/POWER" string to make it look like : house/light/cmnd/POWER using payload "ON" or "OFF".

  • @nikhilsaseendranphotograph517
    @nikhilsaseendranphotograph517 4 роки тому +2

    🤝

  • @squalazzo
    @squalazzo 4 роки тому +1

    please advice that having you used a now old tasmota firmware (you used a 7.2.x, while now we're at 8.2.0.x...) some things changed... example, that topic is now different, as setoption19 is not swapping its parts anymore... AND, you should check for STAT mqtt messages, NOT the CMND you're using for triggers... cmnd are used to do automations, not to get states...

    • @DaveOTech
      @DaveOTech  4 роки тому

      Hey. Good point. Set the topic to whatever is listed there, under MQTT FULL TOPIC/POWER.
      I didn't really talk about setoption19 in the video, I just had it in my notes.
      Would it matter if I used the STAT instead of CMND? (I really don't know, that's why I'm asking.)

    • @squalazzo
      @squalazzo 4 роки тому

      @@DaveOTech honestly don't know, but usually cmnd are sent TO the device, while you want to listen to something sent FROM the device

    • @DaveOTech
      @DaveOTech  4 роки тому +2

      Ahh okay I understand. I thought I was simply listening to the POWER state. Either way, you could use stat payload and in theory it should do the same thing.

  • @lloydkeays7035
    @lloydkeays7035 2 роки тому

    Can de Wemos D1 listen to MQTT messages? I would like to have an LED illuminated button, but the light would be coming from a state trigger in Home Assistant. I can do the Home Assistant bit but I wonder if the Wemos can receive the status and trigger the light in the button? Thanks!

    • @DaveOTech
      @DaveOTech  2 роки тому

      Yes, you would just assign one of the pins to an LED.

  • @VergissBerlin
    @VergissBerlin 2 роки тому

    Hi! I'd like to see how it would work with deeSleep.

  • @hetgandhi823
    @hetgandhi823 4 роки тому

    how can I use pushbutton as manual to switch relay on, without using any editor
    also, How can I control it through web interface
    both push-button and toogle switch of web should work to control relay

  • @CompostelaOnline
    @CompostelaOnline Рік тому

    se puede usar el esp01s en vez del wemos d1 mini (esp8266)?

    • @DaveOTech
      @DaveOTech  Рік тому

      Si, si puedes instalar TASMOTA en el ESP01 entonces puedes usar este método. Pero yo no se como instalar TASMOTA en un ESP01, pero puedes encontrar una guía en línea.

  • @TwanJaarsveld1
    @TwanJaarsveld1 3 роки тому

    Now please make one using ESPHOME as its much more simple to setup and to manage

  • @IaguinJoga
    @IaguinJoga 4 роки тому

    It is possible do this whitout home assistent? Only using Alexa? I don’t have home assistent in my smart home

    • @DaveOTech
      @DaveOTech  4 роки тому

      Technically yes, however it would still require an MQTT broker running on a raspberry pi. It would also require custom code to get it to work.
      I recommend getting home assistant on a raspberry pi just to have it.

  • @Virusinsides
    @Virusinsides 4 роки тому

    it is possible do this without home assistant, only with two wemos or esp01, one switch and another with the button ??

    • @DaveOTech
      @DaveOTech  4 роки тому +1

      Yes you could, look up "Wemos to Wemos Communication" on UA-cam. However I highly recommended giving Home Assistant a try. It can be run on something as small as a raspberry pi.
      With home assistant, you can set up an MQTT server. You could also set up a MQTT server standalone on a Raspberry Pi. Having an MQTT server on your network will allow essentially an unlimited amount of devices to be able to communicate between one another.

  • @MrHandsomejackuk
    @MrHandsomejackuk 3 роки тому

    i do similar thing but not with mqtt i send a websend command to the device i want to switch on / off heres an example rule2 on POWER3#State=1 do websend [192.168.1.52] power1 on ENDON ON POWER3#State=0 do websend [192.168.1.52] /power1 off

    • @MrHandsomejackuk
      @MrHandsomejackuk 3 роки тому

      advantage is it doesnt need a mqtt server and is instantaneous... works great you can even send commands to other devices, so for instance i can send a scheme change to a ws2812b leds i have attached to a wemos d1 mini works great using this rule rule2 on POWER3#State=1 do websend [192.168.1.52] scheme+ ENDON ON POWER3#State=0 do websend [192.168.1.52] scheme- ENDON

  • @aaaafaaaaf
    @aaaafaaaaf 4 роки тому +2

    Dave, where can we find the code?

    • @DaveOTech
      @DaveOTech  4 роки тому

      Hey, are you asking about the old code or Tasmota?

    • @aaaafaaaaf
      @aaaafaaaaf 4 роки тому

      @@DaveOTech Thank you for answering me. If you have the new code that would be great .. thank you.

    • @DaveOTech
      @DaveOTech  4 роки тому +2

      @@aaaafaaaaf Take a look at this: ua-cam.com/video/LdHbvn3srJk/v-deo.html
      You need the ESPEasy file: github.com/letscontrolit/ESPEasy/releases
      And the latest TASMOTA release: github.com/arendst/Tasmota/releases

    • @aaaafaaaaf
      @aaaafaaaaf 4 роки тому

      @@DaveOTech thank you...

    • @aaaafaaaaf
      @aaaafaaaaf 4 роки тому

      @@DaveOTech The links are for the Tasmota, Im looking for the code of the $6 mqtt button.... I think its was Arduino code.

  • @yiannisis
    @yiannisis 4 роки тому

    can you make this a dimmer switch if keeped pressed?

    • @DaveOTech
      @DaveOTech  4 роки тому

      If you have dimmable lights that can be controlled by Home Assistant, then absolutely! You would just trigger whatever causes the light to dim rather than toggle the 2nd switch.