- Status LEDs
- Power metering based on pulse counter
- Temperature measurement incorrect
Flashing is best done directly on ESP32-WROVER-B module.
#define USE_I2C #define USE_DISPLAY #define USE_SPI #define USE_DISPLAY_ST7789 #define USE_TOUCH_BUTTONS #define USE_FT5206 #undef USE_RULES #define USE_SCRIPT #define MAXBUTTONS 16 #define USE_LANBON_L8
Make sure to fully power cycle the device after applying the template.
Apply the template and issue
Backlog DisplayModel 12; DisplayRotate 0; DisplayWidth 240; DisplayHeight 320; DisplayFont 1; DisplayMode 0
Use this basic script to create touch buttons
>D >B dt [B1x50y10f2]Lanbon L8 dt [b0:20:60:200:60:10:16:1:3:Relay 1:] dt [b1:20:140:200:60:10:16:1:3:Relay 2:] dt [b2:20:220:200:60:10:16:1:3:Relay 3:]
Buttons are automatically assigned to relays.
You have to do further scripting to set behaviour of status LEDs, turn the screen off after a timeout and display more on the screen.