logo elektroda
logo elektroda
X
logo elektroda

OpenBeken settings for OpenHab - power socket/single smart switch (BK7231T, BK7231N, etc, config)

LuidgiVampa 1125 2
ADVERTISEMENT
  • Helpful post
    #1 20853734
    LuidgiVampa
    Level 5  

    Hi all! It might be useful to someone. mqtt OPENHAB settings. Power socket.

    example
    MQTT settings interface in OpenHAB for a kitchen power outlet.
  • ADVERTISEMENT
  • #2 20858289
    p.kaczmarek2
    Moderator Smart Home
    Thank you, this seems very useful. I would just ask, is it also possible to get BL0942/BL0937/etc power measurements like voltage, current, power in OpenHab as well?
    Helpful post? Buy me a coffee.
  • #3 20859479
    LuidgiVampa
    Level 5  
    Hello! There are 6 main indicators (voltage, current, power, Today, Yesterday, Total)
    Screenshot of energy indicator settings.

    Could not get indicators for (Apparent Power, Reactive & Power Factor) They're not very important.
    The line comes in the form Error:CMD:cmd SENSOR NOT found (args {"Time":"2023-12-13T14:34:59","ENERGY":{"Power": 0.000000,"ApparentPower":4.548851,"ReactivePower":4.548851,"Factor":0.000000,"Voltage":238.935379,"Current":0.019037,"ConsumptionTotal":23922.955078,"ConsumptionLastHour":0.000000}})

    On tasmota data through transformation JSON
    MQT: tele/otoplenievbane/SENSOR = {"Time":"2023-12-13T14:39:48","ENERGY":{"TotalStartTime":"2020-07-25T12:32:30","Total":227.963,"Yesterday":1.039,"Today":0.514,"Period":1,"Power":50,"ApparentPower":512,"ReactivePower":510,"Factor":0.10,"Voltage":237,"Current":2.162}}

    Screenshot of MQTT State Topic configuration for a device.

    Screenshot of value transformation settings for MQTT.

    I've been using the OBk firmware for 4 days. I like everything so far.

    Setting example. Data collection in OH.
    Screenshot of MQTT topic configuration in OpenHAB.
    Setup is very simple.
    Other data indicators are similar.
    yordevice/energycounter/get
    yordevice/energycounter_yesterday/get and etc.

    energycounter_last_hour/get Not working yet. (OpenBK7231N_QIO_1.17.335) ;-)
ADVERTISEMENT