logo elektroda
logo elektroda
X
logo elektroda

Internal temperature reported 100 degrees too high in BK7231T smart plugs with 1.17.501

jrhenk 1215 11
ADVERTISEMENT
  • #1 20998439
    jrhenk
    Level 10  

    Hi,
    Finally had time to check out the newest version (1.17.501) and seems a lot has happened since I last checked in! While being busy improving my wifi and getting into OpenWrt I especially appreciated the wifi rsi sensor - I can now have one card with multiple RSI sensors from all over my house to check the effect of wifi configuration changes at a glance, so cool!
    The temperature sensor is also a nice addition but for some reason with my BK7231T based smartplugs it adds 100 degrees to the measurement. After the initial shock I checked and can surely say the plugs are not running at 130 degrees Celsius :) It's these standard AliExpress ones you get for a few bucks in the 3 for 6 dollars section https://www.aliexpress.com/item/1005003640070178.html
    A couple of touch light switches (BK7231N based) are also running 1.17.501 now and they report the temperature correctly.

    Would be great if this could be fixed in one of the next versions. Also: How could I make the temperature a sensor for Home Assistant, too? With all the cheaply produced stuff running 24/7 in my house it would add a bit of peace of mind if I could use this for a warning if they get too hot.

    Let me know if I can add more information about the issue and thanks in advance for looking into it!
  • ADVERTISEMENT
  • #2 20999114
    p.kaczmarek2
    Moderator Smart Home
    I think it's not calibrated. The temperature readout was submitted by a contributor. We need to figure out a way to get a real value. Maybe recheck source code and measure the real temperature and then use it to adjust the conversion constant.
    Helpful post? Buy me a coffee.
  • ADVERTISEMENT
  • #3 20999130
    jrhenk
    Level 10  

    Thanks for the answer - I'm terrible at opening these plugs without destroying them so I guess I just wait a bit and ignore it for now :) what is interesting however, that with other devices it reports between 25-35 degrees which feels right, with this it reports 125-135 which just seems like +100
  • #4 20999178
    p.kaczmarek2
    Moderator Smart Home
    Wait, are you saying that it works correctly for other BK7231T?
    Helpful post? Buy me a coffee.
  • #5 20999503
    jrhenk
    Level 10  

    Nope for the plugs with a T chip it is (what I guess) real temperature +100, only for N chips it seems to work correctly - but so far it's very anecdotal evidence. Let me browse through my devices and check whether it's chip or device specific... I think I have an otherwise identical plug with an N chip and a light switch with a T chip
  • ADVERTISEMENT
  • #7 21000588
    jrhenk
    Level 10  

    Oh true! This forum feels so cozy that I sometimes forget that there's a GitHub, too :) but I can fully support the working hypothesis about the issues being limited to the T version. But interesting to learn about the measurable differences between the T and the N - yet I still think it's more about + ~100 instead of being Fahrenheit, since it would mean my chips run at around 60 C which is definitely not the case (pretty much what was pointed out in the GitHub, too)
  • #8 21000709
    p.kaczmarek2
    Moderator Smart Home
    We need to know how to convert that "120 degrees" to real temperature, then I can change the code to adjust that.

    For now, maybe I can just add a warning on GUI?
    Helpful post? Buy me a coffee.
  • #9 21001276
    jrhenk
    Level 10  
    I think a little warning would be very nice! The first T device I updated was in the corner of my attic and tbh before I understood what was going on I panicked a little :)


    Added after 10 [hours] 4 [minutes]:

    Wow that was fast, thanks so much! The temperature reading also seems a bit more correct now, in my case from before update 120 to after 52
  • #10 21002199
    p.kaczmarek2
    Moderator Smart Home
    We are trying to calibrate it a bit, but it seems we also need to raise N temperature by about 10 degrees:
    Thermal image of an electronic circuit board with temperature markings.
    Helpful post? Buy me a coffee.
  • #11 21002769
    jrhenk
    Level 10  
    >>21002199
    cool to see how much work you put into this rather small feature!
  • ADVERTISEMENT
  • #12 21014306
    jrhenk
    Level 10  

    @ElektrodaBot How can I send the temperature to home assistant to make it show up like the RSSI?

Topic summary

The discussion revolves around the internal temperature reporting issue in BK7231T smart plugs running firmware version 1.17.501, which inaccurately adds 100 degrees to the temperature readings. Users noted that while other devices, such as BK7231N-based light switches, report temperatures correctly, the T chip variants consistently show inflated values. Suggestions for calibration adjustments and potential code modifications were proposed, with a consensus that the issue is specific to T chips. Users expressed interest in a warning feature for the GUI to prevent confusion and discussed the possibility of integrating temperature readings with home automation systems like Home Assistant.
Summary generated by the language model.
ADVERTISEMENT