openshwprojects / OpenBK7231T_App

Open source firmware (Tasmota/Esphome replacement) for BK7231T, BK7231N, BL2028N, T34, XR809, W800/W801, W600/W601, BL602 and LN882H
https://openbekeniot.github.io/webapp/devicesList.html
1.43k stars 253 forks source link

Internal Température Chipset . #1125

Open nadlio opened 6 months ago

nadlio commented 6 months ago

Describe the bug Hello, how to retrieve the internal temperature in HA, MQTT ?

Thanks

Firmware:

chrome-capture-2024-3-12

openshwprojects commented 6 months ago

Sure, wait a moment, I will add a var for that and give you a ready script

openshwprojects commented 6 months ago
// addRepeatingEvent [IntervalSeconds][RepeatsOr-1]
addRepeatingEvent 5 -1 publishFloat SelfTemperature $intTemp

https://obrazki.elektroda.pl/5857802700_1710276456.png

nadlio commented 6 months ago

Perfect +++ Thanks

icovelev commented 6 months ago

Could this be added as part of the next releases, so there’s no need to use the script on every device or new install?