Features Wishlist
Waveshare 10.1 V3: declare the OV5647 camera so Screen camera fits the board
Board: **Waveshare ESP32-P4-WIFI6-Touch-LCD-10.1 V3 (waveshare101v3), chip revision v3.x
Tessera: 0.4.103, built with ESPHome 2026.10.1, Screen camera 0.6.15 with the part Video
What happens
Screen camera shows "Missing hardware" for this screen, because packages/boards/waveshare101-v3.yaml
does not declare the camera sensor (CAMERA_I2C, the feature camera_sensor). The board does have a
camera: an OmniVision OV5647 on the MIPI-CSI port.
When I add the plugin through the screen's Override YAML, the camera works: Home Assistant gets its
stills, the RTSP video plays, and the light level and motion work. But the app still sees no
camera_sensor on this board. As a result, Video in Home Assistant appears for a few seconds and
then disappears.
Hardware, as found on this unit
- The OV5647 answers on the touch bus (SDA GPIO7, SCL GPIO8). esp_cam_sensor auto-detects it there.
- It has no XCLK from the P4; it clocks itself.
- Waveshare's own examples for this series drive the same sensor on the same bus (SCCB on GPIO7/8, XCLK and RESET not connected).
Suggested change
In packages/boards/waveshare101-v3.yaml, under substitutions::
# The OV5647 on the MIPI-CSI port answers on the touch bus and clocks itself (the feature camera_sensor).
CAMERA_I2C: touch_bus
CAMERA_XCLK_PIN: "-1"
The pre-v3 waveshare101.yaml probably needs the same two lines, but I have not tried it.
Two things I needed beyond that (for Screen camera)
- Sensor mode. esp_cam_sensor starts the OV5647 at 800x800 by default. The frame hub treats that
as a tall frame and halves it to 800x400, so the video comes out squashed. The binned 1280x960 mode
reads the whole sensor and fixes this:
Settingesp32: framework: sdkconfig_options: CONFIG_CAMERA_OV5647_MIPI_RAW10_1280X960_BINNING_45FPS: "y" CONFIG_CAMERA_OV5647_MIPI_DEFAULT_FMT_RAW10_1280X960_BINNING_45FPS: "y"esp_video_camera resolutionto anything other than the sensor's mode gives no frames at all, because the ISP does not scale. - Orientation. On this board the module sits sideways. With the screen lying down (LVGL rotation
270), the picture needs a 270Β° clockwise turn to be upright.
screen_videodoes not do quarter turns, so I patched it locally: the turn happens in the PPA copy it already makes, the encoder's width and height are swapped, andMAX_PIXELSis raised to 1280x960. The stream comes out 960x1280 and upright. I can share the patch if it helps.
Tested
On one unit only: stills, the RTSP video (checked with ffmpeg: upright, 960x1280), and light level and motion with sensing on. Not tried: the app's own install of the plugin, because the app still reports the missing feature.
Discussion 0
Add a commentStart the conversation
Share an example, ask a question or explain how you would use this.