logo elektroda
logo elektroda
X
logo elektroda

OpenBeken - difference between Btn (Button) and dInput (digital input) in GPIO config

taggbricka 735 1
ADVERTISEMENT
  • #1 20846470
    taggbricka
    Level 7  

    @ElektrodaBot
    What is the difference between Btn and dinput?
  • ADVERTISEMENT
  • Helpful post
    #2 20846502
    p.kaczmarek2
    Moderator Smart Home
    Hello @taggbricka , our GPT4 integration is not yet able to browse internet. You won't get good reply from that yet.

    To answer your question:
    - btn is a button, the one that you can click, when pressed (or clicked, depending on setting) it will toggle the value of target channel
    - dInput is digital input, one could say it's a "dumb" input, it just copies the logical value from the input (1 or 0) to the target channel, this can be used for example for door sensor (to read whether door is open or closed)
    - ToggleChannelOnToggle, on the other hand, is a gpio input role for a toggle switch, like an old style wall switch. It will toggle target channel when the switch itself is toggled

    You can read more at:
    https://github.com/openshwprojects/OpenBK7231T_App/blob/main/docs/ioRoles.md

    let me know if you have any futher questions
    Helpful post? Buy me a coffee.
ADVERTISEMENT