From e794df084d767458553daa4cdf8f6af870eb9b9a Mon Sep 17 00:00:00 2001 From: RoboSchmied Date: Tue, 23 Jan 2024 16:30:54 +0100 Subject: [PATCH 1/4] (re)start majestic on terminal (#308) --- en/firmware-sensor-install-sc223a.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/en/firmware-sensor-install-sc223a.md b/en/firmware-sensor-install-sc223a.md index 74c8088..7b07ea6 100644 --- a/en/firmware-sensor-install-sc223a.md +++ b/en/firmware-sensor-install-sc223a.md @@ -24,8 +24,9 @@ Search for "Isp_FrameRate" in file [/etc/sensors/sc223a_i2c_1080p.ini](https://g cli -s .video0.fps 30 ``` -Restart streamer: +(Re)start streamer: ```sh -killall -1 majestic +killall majestic +majestic ``` From 2893b52a63580d2fe54d6d0471bce94a4537d293 Mon Sep 17 00:00:00 2001 From: thegroove <535855+thegroove@users.noreply.github.com> Date: Wed, 24 Jan 2024 03:37:16 +0100 Subject: [PATCH 2/4] Update adding-wifi-driver.md (#309) No more building.sh --- en/adding-wifi-driver.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/en/adding-wifi-driver.md b/en/adding-wifi-driver.md index 8a0a7ed..5c06065 100644 --- a/en/adding-wifi-driver.md +++ b/en/adding-wifi-driver.md @@ -67,13 +67,13 @@ Example: you want to add the RTL8188EUS driver: ### Step 4: Build your firmware Return to the root directory of the openipc firmware directory `openipc-firmware/`. -Run `./building.sh` and select the configuration you have edited in the previous step. +Run `make` and select the configuration you have edited in the previous step. -Alternatively, you can run `./building.sh `, where `` is the name of the config file you have just edited, minus the `_defconfig` +Alternatively, you can run `make BOARD=`, where `` is the name of the config file you have just edited, minus the `_defconfig` Example: you want to build `ultimate` for `hi3516ev200`: -`./building.sh hi3516ev200_ultimate` +`make BOARD=hi3516ev200_ultimate` When the build is complete, you will find the output in the `output/images/` directory: From b0c48b24f91635abccfa69620abd000ad0a50cf9 Mon Sep 17 00:00:00 2001 From: Signor Pellegrino <68112357+FlyRouter@users.noreply.github.com> Date: Wed, 24 Jan 2024 14:19:57 +0300 Subject: [PATCH 3/4] Update majestic-streamer.md, ad features --- en/majestic-streamer.md | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/en/majestic-streamer.md b/en/majestic-streamer.md index faf66aa..a6ecbc9 100644 --- a/en/majestic-streamer.md +++ b/en/majestic-streamer.md @@ -35,9 +35,22 @@ At the moment it is possible to change parameters in the configuration file via This allows parameters to be changed with a single line in pseudo-dynamic mode on some platforms simply by forcing a re-read of the configuration file. ``` -cli -s .video0.codec h264 ; cli -s .video0.fps 10 ; killall -1 majestic +cli -s .video0.codec h264 ; cli -s .video0.fps 10 ; killall -HUP majestic ``` +### Experimental Control Features (not yet described in endpoints) + +``` +/metrics/gain +``` +``` +/night/ircut +``` +``` +/night/light +``` + + ### Auto day/night detection The experiments continue... From b8f3852de504f4ca3f69254365f7fc7ff41cc3cc Mon Sep 17 00:00:00 2001 From: Signor Pellegrino <68112357+FlyRouter@users.noreply.github.com> Date: Wed, 24 Jan 2024 16:34:16 +0300 Subject: [PATCH 4/4] Update majestic-streamer.md, update options --- en/majestic-streamer.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/en/majestic-streamer.md b/en/majestic-streamer.md index a6ecbc9..83ef1e1 100644 --- a/en/majestic-streamer.md +++ b/en/majestic-streamer.md @@ -53,6 +53,19 @@ cli -s .video0.codec h264 ; cli -s .video0.fps 10 ; killall -HUP majestic ### Auto day/night detection +If the light sensor gpio is set, it will use the default mode. + +The settings work like this: +```day < [minThreshold] | hysteresis | [maxThreshold] < night``` + +If the sensor gain is 1024 on a bright day the minThreshold could be set to 2000, +if the sensor gain is 32000 on a dark night the maxThreshold could be set to 10000. + +``` +cli -s .nightMode.minThreshold 10 +cli -s .nightMode.maxThreshold 50 +``` + The experiments continue...