logo elektroda
logo elektroda
X
logo elektroda

MOES - OpenBEKEN - Homeassistant - Configuration of channel 1 for roller shutter control

allsiolek 696 2
ADVERTISEMENT
Treść została przetłumaczona polish » english Zobacz oryginalną wersję tematu
  • #1 21123566
    allsiolek
    Level 13  
    Hello,
    I have a MOES roller shutter switch standard with BK7231N(CB2S) on board. I have uploaded OpenBEKEN version 1.17.606 to it along with autoexec.bat (TuyaMCU).

    Code: JSON
    Log in, to see the code
    .

    MOES roller shutter switch with three buttons: up, middle, down. .
    I have MQTT in the docker (working), the switch reports to HA, but I don't see anything in the entities to control the blinds.

    Screenshot of the blinds control interface with MOES switch and OpenBEKEN .
    OpenBK7231N settings panel for roller switch.
    Device control panel BK7231N in Home Assistant .

    It seems to me that the problem is that the control of the blinds (opening/closing/pausing) is done via channel 1 (LowMIDHigh), which can take the value 0,1,2 (enum), and I don't know how to "map" the value of channel 1:0-close, 1-pause, 2-open.
    When I assigned to channel 7 (bool) in Channel Types: toggle, an entity appeared in HA to control the switch, here a backlight. The question is how to configure channel 1 (TuyaMCU) so that this channel can be controlled in HA. Is it possible to "make" one channel into 2 virtual switches which could take the values 0-1, 1-2?

    Greetings
    Tomasz
  • ADVERTISEMENT
  • #2 21129557
    allsiolek
    Level 13  
    Thank you very much for your quick reply. I am trying to find something out with the information from you, but so far without results. I have been reading through the documentation, but so far with no result. I haven't had much to do with Tasomota, so I'm learning a bit. If you have any ideas on implementation and how to "push" me in the right direction, I would be grateful.

    Greetings
    Tomasz
ADVERTISEMENT