logo elektroda
logo elektroda
X
logo elektroda

Openebeken - Configuration of the wifi gateway controller - Smarthome

Filip8X8 396 4
ADVERTISEMENT
Treść została przetłumaczona polish » english Zobacz oryginalną wersję tematu
  • #1 20698942
    Filip8X8
    Level 3  
    Hi, I managed to sflash the TUYA garage door oxt controller and changed the software to openbeken, but I don't know how to set the pins. Can anyone help me? What to set for the gate sensor and relay to work? During flashing I got something like this

    Device configuration, as extracted from Tuya:
    Button (channel 1) on P26
    WiFi LED on P9
    Door Sensor (channel 1) on P8
    Relay (channel 1) on P6
    Device seems to be using CB3S module, which is using BK7231N.
    And the Tuya section starts, as usual, at 2023424

    But there is no such function as door sensor for example, so please help.
  • ADVERTISEMENT
  • #2 20699095
    p.kaczmarek2
    Moderator Smart Home
    Hello, at one time I was elaborating on this topic, although I don't have a garage with such a sensor myself (the charms of living in a townhouse). Have you read the related article WiFi garage door controller, Smart Garage Opener Tuya - Home Assistant ? Sample scripts and support for this are given there.
    Helpful post? Buy me a coffee.
  • ADVERTISEMENT
  • #3 20699110
    Filip8X8
    Level 3  
    Yes I have familiarised myself with this, and have only managed to achieve sensor status and relay control in homeassistant.
    But the stumbling blocks started when you have to create code for the binary sensor to read the sensor status, for me in homeassistant it gives an error when trying to set up the binary_sensor with the mqtt platform. Screenshot of YAML code for homeassistant showing configuration errors for binary_sensor. .
  • ADVERTISEMENT
  • #4 20699819
    p.kaczmarek2
    Moderator Smart Home
    The syntax has changed recently. Try correcting according to this topic:
    https://community.home-assistant.io/t/binary-sensor-of-mqtt-broke-with-core-2023-3-x/549165
    Before:
    Screenshot of a forum post showing a YAML configuration snippet for a binary_sensor using the MQTT platform in Home Assistant.
    After:
    Screenshot showing a YAML configuration snippet for Home Assistant, defining an MQTT binary_sensor named power light. .
    Helpful post? Buy me a coffee.
  • #5 20700258
    Filip8X8
    Level 3  
    Okay, thank you very much. But in the meantime I managed to create a sensor with a gate control button in homeassistant, mqtt provides me with entities to control the relay and control the sensor. If I use this is it also as good as downloading directly from mqtt? Basically it's probably the same thing (I don't know) but I created a garage door template and it works so far nothing stutters. So it should probably be fine what?
ADVERTISEMENT