Commit Graph

39 Commits

Author SHA1 Message Date
Owen Carter 84b55bad91
No face (#117)
* RemoveFace recognition, add basic OTA
* Document new IDE board selection
* #120 Correctly free boxes
* Disable WiFi Powersave for better responsiveness (#123)
* #116 OTA Password
* Force correct partition table for PlatformIO
* Readme notes regarding the 3.x branch
* Cleanup unused vars
2021-06-08 15:49:10 +02:00
Owen Carter b03317eb42
Disable WiFi Powersave for better responsiveness (#123)
Appears to make the module a tad more responsive once connected
2021-06-08 10:57:40 +02:00
Owen Carter 7fae903ed3
Logging and Debug improvements (#111)
* Logging format improvements plus debounce serial at startup
* Be clearer about whether Stream or Image capture generated a particular error, also for face recognition errors
* User defined face detection text
2021-05-11 20:09:17 +02:00
Owen Carter 0226536055
Debug Toggle in AP mode (#105)
* #92 Debug Toggle in AP mode
* Re-structure how serial input and debug is handled/setup to allow for expansion
2021-05-09 15:04:00 +02:00
Owen Carter 26d1719430
Add client, stream and image counts to dump (#104)
* Dump a count of current connections, number of streams served, number of images sent
* Dump can be triggered on serial by sending a `d`
2021-05-09 12:45:10 +02:00
Owen Carter 77e83d9b74
Ui timers (#78)
Adds a 1-minute auto-refresh to the dump page
When a reboot is triggered from the UI better feedback is given and a timer started to refresh the page after 30s
The reboot is now done by a watchdog timer to ensure a hard reboot.
Error page:
- Reboots seem to occasionally leave the camera hardware in a bad state (I2C comms failed, it's a common problem with no real solutions yet)
- I now catch these errors and still start the web server; giving an error page that advises a hard restart (power off/on). But the esp module will also reboot once every minute since these errors also tend to spontaneously clear after a while.
2020-11-20 17:05:00 +01:00
Owen Carter d23c1c490a
Bssid connect (#77)
* Show the bssid during scan and connect
* Connect with BSSID specified to force strongest signal when SSID's are identical
* Allow specifying BSSID directly in config
2020-10-29 08:13:08 +01:00
Owen Carter 244fbb3593
Allow setting hostname and auto-led (#75)
Implement automatic Lamp illumination only while camera is active. (#72 thanks @TodWulff )
Allow Hostname setting (#74 thanks @mrmessy )
A couple of small fixes and some unnecessary debug output removed too.
2020-10-26 00:04:21 +01:00
Owen Carter e2dfb773d7
Api and other documentation (#73)
* Create CONTRIBUTING.md
* key/val pair definitions, fix #55
2020-10-14 13:40:08 +02:00
Owen Carter 925b8eeeec
Simple versioning system (#71) 2020-10-12 13:17:21 +02:00
Owen Carter 9045e43c94
facedb and debug info (#70)
* Small bug in identifying faces when enrolling
* Sort out debug logging and add a face ID count to dump
2020-10-11 18:19:22 +02:00
Owen 7d29e36853 A whole bunch of tweaks and little fixes 2020-10-07 15:43:28 +02:00
Owen Carter 6d5ae2ef5b
Portal page with hardcoded IP addresses (#69) 2020-10-07 12:19:19 +02:00
Owen Carter 1399d874fc
Multi wifi (#64)
* Multi-Wifi with best signal scanning and retry when disconnected
* AP mode; can work (optionally) as a fallback when no network found
* Captive portal
* Dump output tweaks
* Config file comments
2020-10-06 13:29:54 +02:00
Owen Carter adfa3ca8d3
Stream view fix, Status dump (#63)
* Better treatment of rotated stream in stream viewer,
still not perfect but ok for now.
* Info Page: fix #56
2020-10-03 19:49:08 +02:00
Owen a35817e716 Less flashy notification LED, face recognition stubs 2020-09-28 20:32:12 +02:00
Owen Carter 25d5c86d90
Spiffs basic preferences save and restore (#49)
Implement SPIFFS based preferences save and restore, stubs for FaceDB to be aded later.
UI confirmations for Actions
2020-09-27 15:21:44 +02:00
Owen a755093a8e Partially revert the previous commit 2020-09-26 12:19:46 +02:00
Owen 274f7b7270 The messy file structure was bugging me, so a small filesystem layout refactoring, all non-core files are now in 'local' 2020-09-26 11:47:22 +02:00
Owen Carter 5689fa7e30
Wifi persistance (#46)
* Making the WiFi reconnect more robust. (#44)
* Configurable wifi watchdog
* Fix logic, Better user feedback for connect/disconnect

Co-authored-by: Athrogate <AthrogatePEQ@users.noreply.github.com>
2020-09-25 18:01:47 +02:00
Owen 79952f77dc Some trivial structure and log changes 2020-09-22 12:03:18 +02:00
Owen 941d6a49bf style 2020-09-22 10:55:40 +02:00
Owen cf3a220a8a Start storing rotation as a signed integer, instead of a string. makes saving/loading preferences easier 2020-09-22 10:47:47 +02:00
Owen Carter e28eadd66d
Doc options (#42)
* Discreet camera option settings defaults, commented out by default, and a note about them in the readme
2020-09-21 22:22:44 +02:00
Mojca Rojko 387dc078c9
Move flashLED & setLamp to start of file (#41)
Fix builds on PlatformIO (and other Development Environments too, I suspect)
2020-09-16 22:12:41 +02:00
Owen Carter 9b8584f8c3
Defaults and general improvements (#24)
* A whole bunch more user configurable default settings 
* Stream URL now exposed
* Restore Linear LED operation with a nicer logarithmic function.
* Small fixes and tweaks to UI, info and javascript
* Logo
2020-09-09 02:57:37 +02:00
Owen Carter d57f5e029c
Remove Camera Selector (#19)
* CAMERA_MODULE_OVxxxx directives stripped out
* Feedback camera module model and warn if unsupported (but fallback to OV 2640)
2020-08-26 12:20:19 +02:00
Owen Carter dd8cf6eb46
Moreconfig (#14)
Move board hardware and other user options into myconfig
Add ability to disable lamp if fitted but not used or wanted
Disable the mjpg stream statistics output by default
2020-08-23 21:49:10 +02:00
Owen Carter ede61d4c74
defaults, not personal settings (#12) 2020-08-21 19:49:14 +02:00
jmfloyd 15b3db536c
Added rotation initialisation - allows to start with say 90deg. + Wifi AP option (#9)
Changes from JMfloyd:
*Allow to define an initial rotation value (compiled in) on startup; sets the select object, and initialises the figure transformations.
*Allows option to setup a wifi AP for standalone operation; My setup is for a rear camera on a trailer which requires a 90 rotation
* Additional myconfig options for rotation and wifi AP
2020-08-21 18:36:36 +02:00
Owen Carter f93c7a2882 Add pins definition for M5STACK_NO_PSRAM; looks to be a popular module but has a different pin layout.
- See https://randomnerdtutorials.com/esp32-cam-video-streaming-face-recognition-arduino-ide/#comment-406803 for more
- Also discussed on: https://randomnerdtutorials.com/esp32-cam-troubleshooting-guide/
- Addresses: sp_camera_fb_get(): Failed to get the frame on time!
2020-04-07 23:52:59 +02:00
Owen 5edf1bead7 Cant stop tweaking 2019-11-18 17:25:18 +01:00
Owen d50dc56fc4 Some comments and config rearrangement 2019-11-18 12:23:23 +01:00
Owen bd951254b3 iProdding and poking into a releasable form 2019-11-18 10:31:48 +01:00
Owen d0a9071785 Working, release> 2019-11-18 02:43:07 +01:00
Owen 43186d3110 Lamp controls auto-hide, stream toggles no longer in settings menu, some visual fluff 2019-11-17 14:06:41 +01:00
Owen c36967057a Trying to make a Linear Illumination LED pwm. 2019-11-16 15:24:25 +01:00
Owen db4ba4efd6 Light working better, notification LED 2019-11-16 05:49:41 +01:00
Owen 882858ea38 Working... 2019-11-14 18:00:37 +01:00