Multi-press Button Actions - Tasmota Tips Episode 8 - Easy and Game Changing Feature!

แชร์
ฝัง
  • เผยแพร่เมื่อ 18 พ.ค. 2020
  • The new Multi-press Buttons in Tasmota is changing the game on what you can do with light switches, plugs, etc with 6 actions per button It is very easy to use and truly game changing on what you can do things.
    =-=-=-=-Device Examples-=-=-=-=
    KMC 4 Port Power Monitoring - amzn.to/2WJ08IR
    AHRise Power Strip - amzn.to/36c2WRV
    Larkkey Power Strip - amzn.to/2ydIhAr
    Tasmota Wiki - tasmota.github.io/docs/
    TuyaConvert Process - • Tuya Convert 2.3 Flash...
    AHRise {"NAME":"AHRPower","GPIO":[0,0,0,0,157,17,0,0,23,24,22,21,0],"FLAG":0,"BASE":18}
    =-=-=-Products We Use/Recommend-=-=-=
    Amazon US - amzn.to/2YZNDeO
    Amazon UK - amzn.to/2TnG2R4
    Amazon CA - amzn.to/2HchPZe
    MANDATORY DISCLAIMER: I am a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for me to earn commissions by linking to Amazon.com and affiliated sites.
    Most or all product links are affiliate links and digiblurDIY will receive compensation if used.
    =-=-=-Come chat with us!-=-=-=
    Discord - / discord
    Patreon - / digiblurdiy
    Links to products provided through the Amazon Affiliate program.
    #Tasmota Please note, the product links above could be affiliate links, using them could earn digiblurDIY a small commission of purchases potentially helping with future video projects. Thank you! As an Amazon Associate I earn from qualifying purchases. Please note, the product links above could be affiliate links, using them could earn digiblurDIY a small commission of most purchases and helps with future video projects. Thank you! As an Amazon Associate I earn from qualifying purchases.
  • แนวปฏิบัติและการใช้ชีวิต

ความคิดเห็น • 121

  • @bryanp5347
    @bryanp5347 4 ปีที่แล้ว +3

    Thanks Digiblur for creating this video and pointing it to me in my previous question!
    In my attempt to help the community, I created the following summery of your video based on your directions. The rule I created is for my Teckin power strip. Perhaps you'd like to add these directions to your video description to help the next person. Feel free to use how ever you wish. I tend to make these text files to remind me how I programed each device so I can rapidly repeat the process.
    Change button press number to different functions:
    Note: must be on Tasmota v8.3 or later
    1) In templates: ensure button 1 is selected.
    Run the following commands:
    2) determine button states (can skip and use results below): rule1 on button1#state do publish button_test %value% endon
    3) rule1 1
    Results:
    single press - state 10
    double press - state 11
    tripple press - state 12
    quad press - state 13
    penta press - state 14
    Hold press - state 3
    Decouple button from relay:
    4) so73 1
    Make the following rules:
    Hold = all relays, single press = relay1, double press= relay2, tripple press = relay3, quad press = relay4, penta press = relay5
    5) rule1 on button1#state=3 do power0 toggle endon on button1#state=10 do power1 toggle endon on button1#state=11 do power2 toggle endon on button1#state=12 do power3 toggle endon on button1#state=13 do power4 toggle endon on button1#state=14 do power5 toggle endon
    Set hold time to .7 seconds:
    6) so32 7
    Turn on rule1:
    7) rule1 1

  • @alcidesmarcano
    @alcidesmarcano 4 ปีที่แล้ว +2

    Great video as always!!! Thanks Federico Leoni for an amazing job done...

  • @markferrick10
    @markferrick10 4 ปีที่แล้ว +2

    Thank you. Very clear instructions.

  • @ronm6585
    @ronm6585 4 ปีที่แล้ว

    Excellent video Travis. Thank you.

  • @bulldog3494
    @bulldog3494 4 ปีที่แล้ว +5

    Great Video, this really opens up a lot of stuff. This will drive my wife crazy, she said she needs a manual to live in the house, lol.

  • @CullenJWebb
    @CullenJWebb 3 ปีที่แล้ว +1

    Still works today. Thanks so much!

  • @Krissco2
    @Krissco2 4 ปีที่แล้ว

    This is really good stuff. I've just gotten into my smarthome stuff (four light switches and HA running on a RPi4) and already have some ideas on using multipress to control some smart bulbs in the future. Thanks for the tips Travis!

    • @digiblurDIY
      @digiblurDIY  4 ปีที่แล้ว

      Deep rabbit hole at times but oh so fun and rewarding!

  • @spencerkittleson514
    @spencerkittleson514 3 ปีที่แล้ว

    Easy to follow! Did this to some of my light switches that wanted some additional controls for.

    • @digiblurDIY
      @digiblurDIY  3 ปีที่แล้ว

      Thanks! Awesome stuff what we can do with these.

  • @ChrisPadar
    @ChrisPadar 4 ปีที่แล้ว +1

    Are you kidding me? Updated to 8.3 and it just worked. Game changer indeed!

  • @AdamMaryniuk
    @AdamMaryniuk 3 ปีที่แล้ว

    I wasn't able to get this to work on my gosund switch I set up by watching your video from last year until I realized I had to go into the template and change GPIO0 from Switch1 (9) to Button1(17). thanks for the video!

    • @digiblurDIY
      @digiblurDIY  3 ปีที่แล้ว

      Ahh.. Yep. This is all based on button1 for this.

  • @JulioVillamizarIng
    @JulioVillamizarIng ปีที่แล้ว +1

    Excellent video thanks, I would like to know if I can create a rule like this:
    -> double press and hold simultaneously to increase the brightness of a dimmable ZigBee bulb.
    -> single press and hold simultaneously to lower the brightness of a dimmable ZigBee bulb

    • @digiblurDIY
      @digiblurDIY  ปีที่แล้ว

      Like this? th-cam.com/video/LilhuCXYofE/w-d-xo.html

  • @tharindudealwis1791
    @tharindudealwis1791 4 ปีที่แล้ว +1

    Great video!!

  • @markmacherey4744
    @markmacherey4744 4 ปีที่แล้ว +1

    Awesome video Travis, I could have used this the other day. I lost wifi for a bit and had several things plugged into my plug strip, I needed to turn 1 device on with out turning off/on all of them, this functionality would have saved me.. Lol

    • @digiblurDIY
      @digiblurDIY  4 ปีที่แล้ว

      My bench power strip was the first I did this on, so nice now to just mash the button for each port.

  • @ilducedimas
    @ilducedimas ปีที่แล้ว +1

    You rock my man!

  • @MrHandsomejackuk
    @MrHandsomejackuk 3 ปีที่แล้ว +1

    loving this.. got touch buttons working on tasmota esp32 now to get it to do a websend or mqtt to switch wled on this is so powerfule thank for sharing

    • @digiblurDIY
      @digiblurDIY  3 ปีที่แล้ว

      Esp32 is pretty damn slick.

    • @MrHandsomejackuk
      @MrHandsomejackuk 3 ปีที่แล้ว

      heres the rule i using no mqtt sending on off commands to wled and to power1 rule3 on button1#state=10 do backlog power1 toggle; websend [192.168.1.50]/win&T=1 endon on power1#state=0 do backlog power1 0; websend [192.168.1.50]/win&T=0 endon

  • @josephzajdler
    @josephzajdler 3 ปีที่แล้ว +1

    Amazing !

  • @squalazzo
    @squalazzo 4 ปีที่แล้ว +2

    well done! :)

  • @amitdk
    @amitdk 2 ปีที่แล้ว +1

    Great Tasmota mqtt enabled remote

  • @lion0454
    @lion0454 4 ปีที่แล้ว +7

    federico is my father and now im really happy to see my dad in this video

    • @federicoleoni5121
      @federicoleoni5121 4 ปีที่แล้ว +2

      You see Travis? Even my first-born is on it now!

    • @digiblurDIY
      @digiblurDIY  4 ปีที่แล้ว

      I love it! Teach him all kinds of stuff.

    • @federicoleoni5121
      @federicoleoni5121 4 ปีที่แล้ว +1

      @@digiblurDIY Already started with RGB lights, hehehhe.

    • @patrickburton6130
      @patrickburton6130 4 ปีที่แล้ว

      @@federicoleoni5121 great job, keep up the good work.

    • @federicoleoni5121
      @federicoleoni5121 4 ปีที่แล้ว

      @@patrickburton6130 thank you!

  • @andrewlhoover
    @andrewlhoover 4 ปีที่แล้ว +2

    Man, I really need to upgrade my devices. I'm so far behind on my version of tasmota.
    Q: do you have a list somewhere of the tuya devices that you've successfully flashed and the ones that you couldn't? (different chip or whatever the cause)?
    Thanks, brother. Excellent work as always.

  • @lucianbuzatu4602
    @lucianbuzatu4602 4 ปีที่แล้ว +2

    Thank you for your time creating those videos.
    Speaking of TASMOTA rules, I was watching your video about the PIR sensor and TASMOTA rules for a bathroom light. Can be the following implemented only with TASMOTA rules?
    - Button single press = Light ON and PIR sensor to turn Light OFF after 3 min, if no movement
    - Button double press or hold = Light ON and PIR sensor to turn Light OFF after 15 min, if no movement (for shower time...)
    - if sun below horizon PIR sensor to turn Light ON and PIR sensor to turn Light OFF after 3 min, if no movement

    • @digiblurDIY
      @digiblurDIY  4 ปีที่แล้ว

      No, you could do it with automations in HA and or NodeRed too. Just have to pick whatever is easiest for you.

    • @lucianbuzatu4602
      @lucianbuzatu4602 4 ปีที่แล้ว

      I have this automation in Node-RED and is working fine.
      There is an example in the TASMOTA rule cookbook about how to “Enable PIR switch only at night” , I tried it but doesn’t work as should.
      Rule1
      on Switch1#state=1 do backlog event checksunrise=%time%; event checksunset=%time% endon
      on event#checksunrise%sunset% do power1 1 endon

  • @fernandoprudencio5521
    @fernandoprudencio5521 ปีที่แล้ว

    Dear Mr.Digiblur
    Congratulations for your clear tutorial about tasmota and buttons.Impressive work.
    Mr.Digiblur I already read and read tasmota tutorial but can´t do a simple action with a button.
    I need To press a pre configured button using ESP32 and put it in AP mode (I mean reset/change the wifi credentials).If Esp32 don´t find the configured wifi network It just stay in a loop forever trying to connect to a nonexistent network.Thanks a lot, best regards

    • @digiblurDIY
      @digiblurDIY  ปีที่แล้ว

      It's a 6 button push to go into AP mode. Set Wificonfig 2 on the console to make it always go into AP mode if WiFi is not available.

  • @EmilePolka
    @EmilePolka ปีที่แล้ว +1

    I actually want the button press to toggle power on and off all sockets back on my tasmotized power strip so yeah thanks for the commands
    commands used:
    >so73 1
    >rule1 on button1#state=10 do power0 toggle endon
    >rule1 1

    • @digiblurDIY
      @digiblurDIY  ปีที่แล้ว

      Glad to hear it helped!

  • @fernandocalderon3277
    @fernandocalderon3277 4 ปีที่แล้ว

    Excelent video, I get working all my sonoffs in my house like this, if you want a video explaning something about tasmota, Travis Is the one, thanks for your Time

  • @fernandoprudencio5521
    @fernandoprudencio5521 ปีที่แล้ว

    Dear Mr.Digiblur thanks for your answer.
    Dear Mr.Digiblur do you think is it possible to change the RGB light (pwm mode) automactically using alexa and rules to put the colors in a loop ?(I mean changing from red to blue and start again?)in 10 seconds for example?Thanks a lot, best regards

    • @digiblurDIY
      @digiblurDIY  ปีที่แล้ว

      Probably just kick off an automation to do that type thing. Trigger whatever you want really with Home Assistant.

  • @JorgeBlancoPhotography
    @JorgeBlancoPhotography 2 ปีที่แล้ว

    Hello, Thank you for this video, How do I load tasmoa on the kmc 4 plug?

    • @digiblurDIY
      @digiblurDIY  2 ปีที่แล้ว

      Either get lucky with Tuya Convert or flash manually.

  • @zianian
    @zianian ปีที่แล้ว

    Another great old video. But what's my deal? I have my buttons all hooked and ruled up. I even get SINGLE-DOUBLE etc into HA. But for some reason Tasmota won't "see" another press of same button. SINGLE for example. Will only be updated in the Tasmota stat topic if another/different "button" is registered after the original SINGLE. Can't do single and another single directly after.
    What the fudge is SO-ing on here?
    Thanks.

    • @digiblurDIY
      @digiblurDIY  ปีที่แล้ว

      what device? Is it inverted maybe?

    • @zianian
      @zianian ปีที่แล้ว

      @@digiblurDIY It's an esp8266 node-mcu. I think I have it "solved" now.
      Been playing/learning with rules recently. Might have mucked some of those up now. Also the device was resetting itself the last few days (very long button presses). Updated tasmo, started fresh (sorta) generic18 used for buttons-dallas-dht. Seems to work proper now. 2 similar clicks in a row. Happy Camping.
      Edit... Also has an IR receiver module too.

  • @ianrose6475
    @ianrose6475 2 ปีที่แล้ว

    Is it possible to use a WiFi light switch to control a WiFi/RF led strip? Looking to have something like short press=led strip on and long press or double press to cycle through say red/green/blue colours

    • @digiblurDIY
      @digiblurDIY  2 ปีที่แล้ว +1

      Yes. I have done this very thing with Tasmota based light strips and Zigbee ones.

  • @roystervi
    @roystervi 3 ปีที่แล้ว

    Back again: Thanks for the video, they come in handy
    at timestamp 6:30 you mention the presses is send over mqtt.
    I have been trying to make a sensor to pick up ie. single, double and so on in HA without any luck.
    the purpose is to have double press toggle the garage door which is on esphome. SO I like to create a automation in Ha to do all of my presses action.
    Can I get a hint how to make a sensor to see all the presses.
    thanks in advance

    • @digiblurDIY
      @digiblurDIY  3 ปีที่แล้ว

      you can do it with a few rules to a custom topic or you can break out the JSON. I did the breakout JSON thing on NodeRed. Which will you be using HA or NR?

    • @roystervi
      @roystervi 3 ปีที่แล้ว

      @@digiblurDIY I'm using HA...
      RUL: BUTTON1#STATE=10 performs "power1 toggle"
      MQT: stat/living_rm_fan/RESULT = {"POWER1":"ON"}
      MQT: stat/living_rm_fan/POWER1 = ON
      RUL: BUTTON1#STATE performs "publish button 10"
      MQT: button = 10
      MQT: stat/living_rm_fan/BUTTON1T = {"TRIG":"SINGLE"}
      RUL: BUTTON1#STATE performs "publish button 11"
      MQT: button = 11
      MQT: stat/living_rm_fan/BUTTON1T = {"TRIG":"DOUBLE"}
      RUL: BUTTON1#STATE performs "publish button 12"
      MQT: button = 12
      MQT: stat/living_rm_fan/BUTTON1T = {"TRIG":"TRIPLE"}
      RUL: BUTTON1#STATE performs "publish button 13"
      MQT: button = 13
      MQT: stat/living_rm_fan/BUTTON1T = {"TRIG":"QUAD"}

    • @digiblurDIY
      @digiblurDIY  3 ปีที่แล้ว

      probably do something like `rule1 on button1#state do publish stat/%topic%/button1 %value% endon`

  • @welbo9766
    @welbo9766 3 ปีที่แล้ว +1

    Controlling the light across the room is very handy. A lot of rooms have a fan or lamp or more that could be controlled by the switch by the door. How can we control an ESPHome device with Tasmota multi-press?

    • @digiblurDIY
      @digiblurDIY  3 ปีที่แล้ว

      Couple ways. Have Esphome use MQTT. Or have Tasmota push a payload to a MQTT topic and then either have a NodeRed or an HA Automation trigger off this to change the other entity. The same could be done for controlling Zwave and Zigbee devices as well.

  • @jhonjaidervalbuenadiaz4688
    @jhonjaidervalbuenadiaz4688 3 ปีที่แล้ว +1

    Hello, the video is great to learn new things, thank you very much for sharing it, I would like to know if you can help me with a problem that I have with my tasmota devices which I am handling with the esp8266 nodemcu and they disconnect me every time and I have to go back to reconfigure I thank you very much if you know that it may be the cause of the faya

    • @digiblurDIY
      @digiblurDIY  3 ปีที่แล้ว

      What do you mean disconnect you? How?

    • @jhonjaidervalbuenadiaz4688
      @jhonjaidervalbuenadiaz4688 3 ปีที่แล้ว

      @@digiblurDIY Good afternoon when I say it disconnects it is because after a few hours of working well it disconnects and does not let me enter from the browser with the IP that tasmota assigned me to configure it and it does nothing, I have two infrared sensors to activate two buttons that activate two relays but they don't work either
      It is as if I lost the connection completely and I have to do the whole process from scratch with the tasmota software, I already changed the power supply in case it is current but the module I am using is an esp8266 nodemcu

  • @romanykemp9042
    @romanykemp9042 3 ปีที่แล้ว

    Travis, is there a way to use the Mary Jane (MJ-SD01) dimmer switch so that the off/on button at the bottom could be use for multi-press? I've got your latest Tasmota_9.2.0.3(digiDIMv14).bin running on it. I've used this switch before to execute a rule with a long press and it worked fine - but the muti-press would be great.

    • @romanykemp9042
      @romanykemp9042 3 ปีที่แล้ว

      Ignore my question. I just noticed that in your gibhut link for your 9.2 that you talked about how to configure that. Let me read over that first...

    • @romanykemp9042
      @romanykemp9042 3 ปีที่แล้ว +1

      OK. I think I've been able to replicate the functionality that Travis original rule1 used when using so73=1. I went from Travis's original rule:
      rule1 on switch3#state=2 do dimmer + endon on switch2#state=2 do dimmer - endon on switch2#state=3 do dimmer 20 endon on switch3#state=3 do dimmer 100 endon
      To this modified one:
      rule1 on button3#state=10 do dimmer + endon on button2#state=10 do dimmer - endon on button2#state=3 do dimmer 20 endon on button3#state=3 do dimmer 100 endon on Button1#state=10 DO POWER TOGGLE ENDON endon. Replacing the "switch" with "button" and using the appropriate state.
      I had to add the POWER TOGGLE command at the end so that the lower button would work with a single press to toggle the light. Feel free to critique - I barely know how to do these console commands...

    • @digiblurDIY
      @digiblurDIY  3 ปีที่แล้ว

      Not a problem, jump into discord if you need to discord.digiblur.com

  • @DirkTas
    @DirkTas 3 ปีที่แล้ว

    Can you explain me how to 'set' the color for example to full white and full brightness of the light you send a mqtt command to.

    • @DirkTas
      @DirkTas 3 ปีที่แล้ว

      I mean in one command so I can toggle on/off and if on, be sure that the white value is 100% and the brightness is 100%

    • @digiblurDIY
      @digiblurDIY  3 ปีที่แล้ว

      Yep. It does depend on the color channels. For instance a 5 channel light. Color 0,0,0,255,0 is full bright cool white channel.

  • @aa-wh2jj
    @aa-wh2jj 4 ปีที่แล้ว

    Is there any way to execute command by on off button.i m not using mqtt I just using web interface of tasmota and I want to use Samsung irsend command I don't want to copy and paste again and again the comad I just want to push on off button to execute the command

  • @jayare7750
    @jayare7750 ปีที่แล้ว +1

    This is my go to video when I need the command to find the states, but do you have one to convert Tuya messages to MQTT? Like (from the tasmota website) receiving 55AA000700056E040001007E and turning it into an MQTT message? I want to detach everything on my dimmer and just use the buttons for other things.

    • @digiblurDIY
      @digiblurDIY  ปีที่แล้ว

      Thanks! You can't detach it unless you physically do it. If you want the MQTT message just dumped to MQTT I do it via a rule on my scene controller and process the messages in NodeRed like this. digiblur.com/2020/02/01/wifi-scene-controller-with-mqtt
      on TuyaReceived#Data do publish mytuya/stuff %value% endon

    • @jayare7750
      @jayare7750 ปีที่แล้ว

      @@digiblurDIY that’s what I’m trying to do, but I hit the + or - buttons, the received data for the button is over written by the last + or - value.

    • @jayare7750
      @jayare7750 ปีที่แล้ว +1

      @@digiblurDIY I removed the Tuya Chip. Added 3 jumper wires. Now I can use it perfectly how I want. Would you like me to send you pics?

  • @mrteausaable
    @mrteausaable 3 ปีที่แล้ว

    Hi, I try to follow your instruction for multi press on the Tessan 3 buttons dimmer but the Long press works but not multi press. You mention it needs to be a button but the template on the Tessan MJ-SD01 dimmer with your custom firmware use switches. Will these buttons not able to do the multi press?

    • @digiblurDIY
      @digiblurDIY  3 ปีที่แล้ว

      Yep, the Tessan/MJ dimmers will work with multipress. I use one in my front room and multipress options on each button. Check the bottom of the readme on the fork firmware if you want all three as multipress.

    • @mrteausaable
      @mrteausaable 3 ปีที่แล้ว

      @@digiblurDIY Can you send me the link? I am not able to find it.

    • @digiblurDIY
      @digiblurDIY  3 ปีที่แล้ว

      github.com/digiblur/Tasmota

  • @pashadavidson6808
    @pashadavidson6808 4 ปีที่แล้ว

    That power strip works with Tuya-convert? How did i not see this one?

    • @digiblurDIY
      @digiblurDIY  4 ปีที่แล้ว

      Yep. I did the two listed in my description. Needed some more strips for things and worked perfect for this show and tell.

  • @bryanp5347
    @bryanp5347 4 ปีที่แล้ว

    I made a couple edits in my previous post because I noticed my code had an error when I tried to replicate it on another device. Additionally, the code in my last post works on a Yagala Power Strip. It is essentially the same think as a Teckin, just rebranded....
    EDIT: All is working well here with the video's directions. Can't wait for Digiblur's updated Tasmota 8.3 fork for Martain Jerry and other dimmers... The templates are just not as good historically for the dimmers IMHO. More complex button presses don't always seam to work with the template. Perhaps I'll try using the blakadder template again with this method... I'll post back my findings.

    • @digiblurDIY
      @digiblurDIY  4 ปีที่แล้ว

      Have you seen the PWM Dimmer Module yet? Just pick PWM Dimmer in Configure Module and let it go, no template, no rules.

    • @bryanp5347
      @bryanp5347 4 ปีที่แล้ว

      @@digiblurDIY Sorry for the late reply, been busy with work. Yes, I just tried it. It didn't work for me. I think the PWM option is using something other than button 1 in the template.

    • @digiblurDIY
      @digiblurDIY  4 ปีที่แล้ว

      No templates needed with Martin Jerry dimmers. Use the modules as it is built in. I have the latest 8.3.1.2 on my github now if you want to use it for multipress.

  • @3adelz90
    @3adelz90 4 ปีที่แล้ว

    Is the time for the multipress configurable ? How fast shall you push ?

    • @federicoleoni5121
      @federicoleoni5121 4 ปีที่แล้ว +1

      Tasmota will wait 0.5 seconds for the next press. If nothing come in it will perform an action. It's not configurable but I can assure you, the timing is good.

    • @3adelz90
      @3adelz90 4 ปีที่แล้ว +1

      Thanks for the fast reply and your efforts. Will try it soon when I have time and upgrade my devices.

  • @roystervi
    @roystervi 3 ปีที่แล้ว

    Question I use SO73 and like you sait it decouple the button from the relay..
    how to set it where it .........on button toggle the relay
    ** these are the actions I get for single press and the relay888
    button = 10
    BUTTON1#STATE performs "publish button 10"
    living_rm_fan/stat/BUTTON1T = {"TRIG":"SINGLE"}
    living_rm_fan/stat/POWER1 = ON

    • @digiblurDIY
      @digiblurDIY  3 ปีที่แล้ว

      Rule1 on button1#state=10 do power1 toggle endon

    • @roystervi
      @roystervi 3 ปีที่แล้ว +1

      @@digiblurDIY Thanks it work ,
      am going to setup double press toggle guest mode , triple open or close garage door an so on
      again thanks

  • @remcoverhagen192
    @remcoverhagen192 4 ปีที่แล้ว

    I want to toggle my wled light with this method, but i can't figure out the rule to set for that
    now i have
    rule1 + on button1#state=11 do publish wled/santi/ T
    but it doesn't toggle the wled strip

    • @digiblurDIY
      @digiblurDIY  4 ปีที่แล้ว

      you would need an endon after that. It should work as long as the topic/payload is right.

    • @remcoverhagen192
      @remcoverhagen192 4 ปีที่แล้ว

      @@digiblurDIY yeah I had the endon on the end, go investigate further.

  • @MrBobWareham
    @MrBobWareham 3 หลายเดือนก่อน

    I want to convert a Sonoff basic to Tasmota then use a button in the bedroom to turn the lamp on and off with the lamp in the hall so when my wife gets up she can press the button that will turn on the lamp in the hall, as she will not have any phones in the bedroom, any help would be good, thanks love the channel, but I don't use HA

    • @digiblurDIY
      @digiblurDIY  3 หลายเดือนก่อน

      I do this with light switches in the bedroom. Short press turns on the light like normal. Long press sends over the toggle to the lamp across the room. Do you have a light switch or other button to do this with?

  • @YogeshPatel-io2sz
    @YogeshPatel-io2sz 4 ปีที่แล้ว

    digiblurDIY, Excellent Video . Can I use now multi press on other Tuya-Dimmer (capacitive touch type) not Martin Jerry type (the Other 3 types you shown in your video "How to Setup a Tuya MCU Dimmer - Tasmota Tips Episode 4" !

    • @digiblurDIY
      @digiblurDIY  4 ปีที่แล้ว

      Unfortunately no, the TuyaMCU handles all the button presses on those style dimmers. The ESP chip is really just a dumb pipe that sends states of the light out over wifi and then receives commands to send to the TuyaMCU.

    • @YogeshPatel-io2sz
      @YogeshPatel-io2sz 4 ปีที่แล้ว

      @@digiblurDIY Thank you so much for your prompt response. You have taken Home Automisation to the very top level. Keep on sharing your genius engineering.

    • @bryanp5347
      @bryanp5347 4 ปีที่แล้ว

      Yeah, I just tried it on a Tessan dimmer which is a MJ-SD02. Problem that I ran into is that the dimmer wants a button 1i which doesn't work with the decouple feature. I when I changed it to button 1, it did successfully complete a websend, but it broke the turn relay on and off. It thinks you are doing a push and hold which swaps between gradually go to 80% brightness or go to 20% brightness. It might work using digiblur's custom firmware. I at least managed to get push and hold working if not multi-press.

    • @YogeshPatel-io2sz
      @YogeshPatel-io2sz 2 ปีที่แล้ว

      @@bryanp5347 you mean multipress not possible on MJ-SD02. only long press. right !

    • @digiblurDIY
      @digiblurDIY  2 ปีที่แล้ว

      You can use multipress on the dimmers like this.

  • @StePhanMckillen
    @StePhanMckillen 4 ปีที่แล้ว

    10 out 10 bro
    bedroom light switch i can
    1 press toggle roof light
    2 presses toggle the toilet light
    1 long press toggle the bed lamps
    3 presses toggle the hall lights

  • @romanykemp9042
    @romanykemp9042 3 ปีที่แล้ว

    Well after about 30 minutes of googling I give up. I want to take your console commands and save them - and add comments to the various lines. Is there a character that can be used as a "comments" only - like # or ! or whatever? So I could paste the entire content from a text file and have tasmota ignore the commented lines?

    • @digiblurDIY
      @digiblurDIY  3 ปีที่แล้ว

      It's not a script, Tasmota does have scripting like that but that is much different than what was done here. These are just enabling a few options. What are you trying to google?

    • @romanykemp9042
      @romanykemp9042 3 ปีที่แล้ว

      In Cisco CLI world if the first character of a line is "!" it is ignored by the device. In a linux script file typical a "#" serves the same purpose. Is there something equivlent to that in tasmota when entering commands via CLI? I doubt there is but I thought if anyone would know you would. It of minor benefit if you wanted to create a how-to text file and have comment lines mix in with the actual commands. You would not have to filter the comments out when cutting and pasting the setup commands.

    • @digiblurDIY
      @digiblurDIY  3 ปีที่แล้ว

      Looks like scripting uses ; tasmota.github.io/docs/Scripting-Language/

  • @roystervi
    @roystervi 3 ปีที่แล้ว

    How many rules can you add in tasmota?

    • @digiblurDIY
      @digiblurDIY  3 ปีที่แล้ว

      A bunch! They added compression to the rules too, so you can pack a bunch into those three buffers.

  • @francisp199
    @francisp199 4 ปีที่แล้ว

    Can't get double press to toggle the relay. Sonoff-mini with Tasmota 8.3.1. The switch attached to the mini is a momentary button, GPIO4 defined as button2 (18)
    Tried with these rules :
    Rule1 On on button2#state=11 do power1 TOGGLE endon on button2#state=10 do publish sensor/alllights ON endon on button2#state=12 do publish lichtzitkamerruit/cmnd/POWER toggle endon
    Rule1 On on button2#state=11 do power1 TOGGLE endon on button2#state=2 do publish sensor/alllights ON endon on button2#state=12 do publish lichtzitkamerruit/cmnd/POWER toggle endon
    Rule1 On on button2#state=11 do power TOGGLE endon on button2#state=2 do publish sensor/alllights ON endon on button2#state=12 do publish lichtzitkamerruit/cmnd/POWER toggle endon
    Rule1 On on button2#state=11 do publish lichtbuitenvoordeur/cmnd/POWER TOGGLE endon on button2#state=2 do publish sensor/alllights ON endon on button2#state=12 do publish lichtzitkamerruit/cmnd/POWER toggle endon
    No way to switch the relay

    • @digiblurDIY
      @digiblurDIY  4 ปีที่แล้ว

      Why is set at button2? Once you set the setoption it will decouple the relay.

  • @andymok7945
    @andymok7945 ปีที่แล้ว

    I have been using PCBWay for years. They do excellent work and have yet to have any issues with them.

    • @digiblurDIY
      @digiblurDIY  ปีที่แล้ว

      Used them a few times and haven't had issues