Skip to content

feat: Camera improvements #412

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 25 commits into from
Feb 18, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
281f2e0
CAMERA_MODEL_XIAO_ESP32S3 added
kakopappa Dec 14, 2024
312c7f3
chore: additional cam models.
kakopappa Dec 14, 2024
6de16ea
chore: formatting and camera init
kakopappa Dec 14, 2024
a9b02ad
chore: formatting
kakopappa Dec 14, 2024
18d7b5c
fix: use unique_ptr to clean up client
kakopappa Dec 19, 2024
9621999
feat: camera motion capture as gif
kakopappa Jan 5, 2025
7feec37
Merge branch 'dev-3.4.0' of https://github.com/sinricpro/esp8266-esp3…
kakopappa Jan 5, 2025
87c88ca
fix: url
kakopappa Jan 5, 2025
3651614
fix: comment
kakopappa Jan 5, 2025
44a6c6f
fix: remove incorrect example
kakopappa Jan 5, 2025
2f346a8
feat: camera examples
kakopappa Jan 5, 2025
fc9e613
fix: workflow for esp32
kakopappa Jan 5, 2025
577300f
fix: format and esp32 camera example compliation
kakopappa Jan 5, 2025
0d525be
fix: remove camera examples
kakopappa Jan 5, 2025
8887233
feat: compile camera examples
kakopappa Jan 5, 2025
7207501
fix: deps
kakopappa Jan 5, 2025
f28efda
fix: compliation error
kakopappa Jan 5, 2025
a8abc2e
fix: clean workflow
kakopappa Jan 5, 2025
4acb10e
fix: double import
kakopappa Jan 6, 2025
56766b2
clean up and snapshot supprot added.
kakopappa Jan 14, 2025
c8b9480
fix: set default camera for compliation
kakopappa Jan 14, 2025
089e995
feat: add missing camera examples
kakopappa Jan 14, 2025
df14fd7
fix: mjpeg-camera example
kakopappa Feb 18, 2025
7bb9742
fix: adding https://github.com/geeksville/Micro-RTSP.git as dep
kakopappa Feb 18, 2025
7c75552
Update build-esp32-camera-examples.yaml
kakopappa Feb 18, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
47 changes: 47 additions & 0 deletions .github/workflows/build-esp32-camera-examples.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
name: ESP32 Camera Examples

on:
push:
pull_request:

env:
SKETCHES: |
examples/Camera/motion-capture
examples/Camera/snapshot-camera
examples/Camera/mjpeg-camera

jobs:
compile-camera-examples:
runs-on: ubuntu-latest

strategy:
fail-fast: false
matrix:
include:
- board: "esp32:esp32:esp32"
platform-url: "https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json"

steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Install Python dependencies
run: |
python -m pip install --upgrade pip
pip install pyserial

- name: Compile ESP32 camera examples
uses: arduino/compile-sketches@v1
with:
fqbn: ${{ matrix.board }}
platforms: |
- name: esp32:esp32
source-url: ${{ matrix.platform-url }}
libraries: |
- source-path: ./
- source-url: https://github.com/Links2004/arduinoWebSockets.git
- source-url: https://github.com/bblanchon/ArduinoJson.git
- source-url: https://github.com/geeksville/Micro-RTSP.git
sketch-paths: ${{ env.SKETCHES }}
cli-compile-flags: |
- --warnings=none
27 changes: 26 additions & 1 deletion .github/workflows/build-esp8266-esp32.yml
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@kakopappa Please remove the camera examples from this list. This job runs on ESP32 and ESP8266 and will fail on ESP8266.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @sivar2311

added a new workflow for camera examples

Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,32 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
example: [examples/ACUnit, examples/AirQualitySensor/AirQualitySensor, examples/Blinds, examples/ContactSensor, examples/DimSwitch, examples/doorbell, examples/Fan, examples/GarageDoor, examples/Light/Light, examples/Lock/Lock, examples/Lock/Lock_with_feedback, examples/MotionSensor, examples/PowerSensor, examples/Relay/MultiRelays_advance, examples/Relay/Relay, examples/Speaker, examples/Switch/MultiSwitch_advance, examples/Switch/MultiSwitch_beginner, examples/Switch/MultiSwitch_intermediate, examples/Switch/Switch, examples/Thermostat, examples/TV, examples/OTAUpdate, examples/Health, examples/Settings/MultiWiFi]
example:
- examples/ACUnit
- examples/Blinds
- examples/ContactSensor
- examples/DimSwitch
- examples/doorbell
- examples/Fan
- examples/GarageDoor
- examples/Light/Light
- examples/Lock/Lock
- examples/Lock/Lock_with_feedback
- examples/MotionSensor
- examples/PowerSensor
- examples/Relay/MultiRelays_advance
- examples/Relay/Relay
- examples/Speaker
- examples/Switch/MultiSwitch_advance
- examples/Switch/MultiSwitch_beginner
- examples/Switch/MultiSwitch_intermediate
- examples/Switch/Switch
- examples/Thermostat
- examples/TV
- examples/OTAUpdate
- examples/Health
- examples/Settings/MultiWiFi
- examples/AirQualitySensor/AirQualitySensor

steps:

Expand Down
Loading