Elektroda.com
Elektroda.com
X

[BK7231N - CB3S] Generic Tuya Wall Switch Push Button Type 1-3 Gang No Neutral

ferbulous 5655 64
  • #61
    p.kaczmarek2
    Moderator Smart Home
    Both Tasmota Device Groups and SendGet commans can be effectively used to control another device remotely. You can even do something like "quadruple click turns off all lights in the house" and just use a script thread (maybe with delay_s) to send multiple GET requests with POWER OFF to many devices.
  • #62
    jrhenk
    Level 10  
    Thanks for the additional info... could be interesting to look into devices controlling each other directly without home assistant. Would really have to document that somewhere very well since I can already see me tearing my hair out how I did this when it doesn't show up in HA and I want to change something one year from now :)
  • #63
    jkwim
    Level 10  
    jrhenk wrote:
    With this new freedom of the LEDs not being used as a trigger anymore, I could even do a silly thing and code a little animation with the three leds... when I have reconfigured the switch next to it in the same way, I could do an animation across the 6 buttons leds of the two switches


    You gave me an idea. I am also going have 2 x 3 gang switches in a row. I was looking at way of implementing a timer with 5 or 10 steps with visual or audible feed back as to number of steps set. Perhaps the LEDs can be used during timer settings to give visual feedback, 6 x LEDs x 2 colors = 12 steps?
  • #64
    p.kaczmarek2
    Moderator Smart Home
    You can write a simple script in separate file in LittleFS and use delay_ms command and if and goto to create simple animations.

    Or I can write a driver for you, if that's needed.
  • #65
    jkwim
    Level 10  
    jrhenk wrote:
    Thanks for the additional info... could be interesting to look into devices controlling each other directly without home assistant. Would really have to document that somewhere very well since I can already see me tearing my hair out how I did this when it doesn't show up in HA and I want to change something one year from now :)


    For the past 10 years+ I have been Microsoft OneNote as a digital notebook app (on Laptop and Mobile).

    All these litle tinkering I do gets documented in a OneNote page so that I can even revisit the task after several years and resume from there.

    Whenever I see some interetsing replies in these forums, I make it a point to cut & paste the tit bits in to OneNote. When I have some time free, I go back and orginize them with proper titles etc. It has helped me a lot over the years to keep a track.

    For example for each new type of device that I flash OpenBK, I create a new page. After a while everything about that device gets documented there. Text, images, my own photos, links, code samples, configutaions etc. get dumped there so that I know exactly where to look for that info.