libretiny-eu / libretiny

PlatformIO development platform for IoT modules
http://docs.libretiny.eu/
MIT License
382 stars 55 forks source link

[RTL8710BX] [T102_V1.1] [BL0937] pin change interrupts / Getting BL0937 to work with rtl87xx #267

Open scamiv opened 3 months ago

scamiv commented 3 months ago

Issue: On RTL8710BX, using the hlw8012 (https://esphome.io/components/sensor/hlw8012.html) sensor results in a boot loop.

Also board: t102-v1.1 does not allow to use PA15. edit: https://github.com/libretiny-eu/libretiny/issues/227

yaml https://pastebin.com/B8LEbxge platformio.ini [env:wr2] platform = libretiny board = wr2 framework = arduino

Related: https://www.elektroda.com/rtvforum/topic4044018.html

https://github.com/libretiny-eu/libretiny/issues/247#issuecomment-1937579312_

edit: Just found this issue with a supposed fix: https://github.com/libretiny-eu/libretiny/issues/155#issuecomment-1826470433 It appears to be working now and I am getting plausible results.

edit2: Fully working, i documented my findings for the espHome devices list: https://github.com/scamiv/esphome-devices/blob/patch-2/src/docs/devices/Digitaling-20A-Power-Monitor-RTL8710BX-t102-v1.1/index.md