EN
Cloud
R1BBIT · COMMUNITY

Show & tell

A question from the R1BBIT community

Greenhouse on a P4: a chart on the panel and a push to the phone

Finally finished it. An ESP32-P4 with a ten-inch panel, an SI7021 inside, a DS18B20 in the soil.

Greenhouse panel

The whole thing is 40 lines: VARS_PUBLISH sends the readings to the cloud, DISPLAY_WIDGET draws the chart right on the panel, and SEND_NOTIFY calls me when it drops below 12 °C at night.

The nice surprise: the chart appeared on the phone by itself — I wrote nothing for it.

31
3 replies

Sign in to reply

Viktoradmin·

Great build. Could you show the CONFIG? That panel doesn't come up first try for a lot of people, and yours clearly picked up the touch as well.

7
Lucía Ferrer·

Of course:

CONFIG
  DISPLAY_DRIVER MIPI_DSI
  DISPLAY_WIDTH  1024
  DISPLAY_HEIGHT 600
  TOUCH_DRIVER GT911
  I2C_SDA 7
  I2C_SCL 8
END_CONFIG
12
Dan Whitfield·

What about power? My panel pulled the USB rail down and the board rebooted as soon as the backlight came on.

3