跳转至

有线树莓派CSI摄像头

准备工作

  • 树莓派摄像头

  • HASSOS(HAOS)

    • 版本6.0或以上

      在更早版本的HassOS中安装摄像头,可以参考Getting the Raspberry Pi Camera to Work on HASSOS

    • armv7架构操作系统(32bit)

      arm64架构对应的HomeAssistant core docker镜像中,不存在raspistill工具

config.txt配置

  • 将tf卡插入Windows电脑,hassos-boot分区上的/config.txt
  • 登录HASSOS,编辑文件/mnt/boot/config.txt

    Setting start_x to 1

    start_x=1

    The next line is optional, if you don't want the

    red LED on the camera to light while the camera

    is active

    disable_camera_led=1

    gpu_mem=128

    gpu_mem_256=64

    gpu_mem_512=128

    gpu_mem_1024=128

参考:config.txt完整说明

集成参考

返回课程目录↩