You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -17,7 +17,7 @@ Accessing your (web)cam requires to have the client run on localhost or a HTTPS
17
17
The default value in your MagicMirror config.js is already `localhost` so most users shouldn't be affected.
18
18
19
19
Just in case you still have problems (like [here](https://github.com/rejas/MMM-MotionDetector/issues/6)) check your config
20
-
and see if you can solve it by outcommenting the ip-address under
20
+
and see if you can solve it by uncommenting the ip-address under
21
21
22
22
```JavaScript
23
23
let config = {
@@ -27,19 +27,19 @@ let config = {
27
27
28
28
### Raspberry Pi OS
29
29
30
-
Due to some changes on chromium and raspiOS (see https://github.com/rejas/MMM-MotionDetector/issues/56) the [legacy raspios](https://www.raspberrypi.com/news/new-old-functionality-with-raspberry-pi-os-legacy/) is needed.
30
+
Due to some changes on chromium and raspiOS (see https://github.com/rejas/MMM-MotionDetector/issues/56) the [legacy raspiOS](https://www.raspberrypi.com/news/new-old-functionality-with-raspberry-pi-os-legacy/) is needed.
31
31
32
32
Any help getting this module run on the default raspiOS is greatly appreciated!
33
33
34
34
Some people had success with enabling the legacy camera mode in the default raspiOS, but this is not a 100% confirmed:
35
35
36
-
```
36
+
```shell
37
37
sudo raspi-config
38
38
```
39
39
40
40
Then go to
41
41
42
-
```
42
+
```shell
43
43
3 Interface Options ->I1 Legacy Camera
44
44
```
45
45
@@ -59,13 +59,6 @@ If you want to use the wired PI-camera follow these steps provided by [@rev138](
59
59
60
60
Another tutorial on how to enable the PI-camera in the browser can be found [in this blog post](https://reprage.com/post/pi-camera-module-in-the-browser).
61
61
62
-
### Mac support
63
-
64
-
Thanks to [3vidar](https://github.com/3vidar) you can also use this module on a Mac.
65
-
For now the code only resides in the branch called "mac" in this git repo.
66
-
67
-
I hope to find the time to generalize it and have it in the mainline too.
68
-
69
62
## Configuration
70
63
71
64
To use this module, add it to the modules array in the `config/config.js` file:
@@ -74,25 +67,26 @@ To use this module, add it to the modules array in the `config/config.js` file:
74
67
modules: [
75
68
{
76
69
module:"MMM-MotionDetector",
77
-
position:"top_left", // Optional. This can be any of the regions. Displays debug informations.
70
+
position:"top_left", // Optional. This can be any of the regions. Displays debug information.
78
71
config: {
79
72
// The config property is optional.
80
73
// See 'Configuration options' for more information.
| `captureIntervalTime` | Time in ms between capturing images for detection<br><br>**Default value:** `1000` |
93
-
| `scoreThreshold` | Threshold minimum for an image to be considered significant<br><br>**Default value:** `20` |
94
-
| `timeout` | Time in ms after which monitor is turned off when no motion is detected<br><br>Set to -1 to never turn off the monitor<br><br>**Default value:** `120000` |
95
-
| `deviceId` | (optional) specify which camera to use in case multiple exist in the system. |
0 commit comments