interactionresearchstudio / NaturewatchCameraServer

A Python / OpenCV camera server to stream Pi camera content to a remote client through a website.
https://mynaturewatch.net
GNU General Public License v3.0
103 stars 49 forks source link

Update OS to Bullseye #99

Closed andysheen closed 2 years ago

andysheen commented 2 years ago

Description

Fixes #95

Type of change

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration.

Tested on the following devices:

Checklist:

Vincent-Stragier commented 2 years ago

@mikevanis, I just realized I was not clear and partially wrong in the above comment. But basically you should remove:

raspi-config nonint do_camera 1
echo "start_x=1" >> /boot/config.txt

And replace it by:

raspi-config nonint do_legacy 0

I tested it on a Raspberry Pi 4. I did not realize at first that do_legacy was implemented, but it is (https://www.raspberrypi.com/news/new-old-functionality-with-raspberry-pi-os-legacy). Apparently the picamera module will be updated (and I suppose that after do_camera must be used), because they are trying to use open source drivers.

Edit: I built an image here with this change.

mikevanis commented 2 years ago

@Vincent-Stragier can confirm this works on Pi Zero 2 W. I'll fix it directly on the main branch. Thank you!