homebridge-windy-camera 1.0.1 → 1.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/config.schema.json +52 -0
  2. package/package.json +3 -2
@@ -0,0 +1,52 @@
1
+ {
2
+ "pluginAlias": "WindyCamera",
3
+ "pluginType": "platform",
4
+ "singular": true,
5
+ "headerDisplay": "מצלמת מכ״ם גשם מבוססת Windy.com. כל השדות אופציונליים — אם לא מוגדרים, ייעשה שימוש בערכי ברירת המחדל המוגדרים בקוד הפלאגין.",
6
+ "schema": {
7
+ "type": "object",
8
+ "properties": {
9
+ "name": {
10
+ "title": "שם המצלמה",
11
+ "type": "string",
12
+ "default": "מכ״ם גשם"
13
+ },
14
+ "lat": {
15
+ "title": "קו רוחב (Latitude)",
16
+ "type": "number"
17
+ },
18
+ "lon": {
19
+ "title": "קו אורך (Longitude)",
20
+ "type": "number"
21
+ },
22
+ "width": {
23
+ "title": "רוחב התמונה (פיקסלים)",
24
+ "type": "integer",
25
+ "minimum": 100
26
+ },
27
+ "height": {
28
+ "title": "גובה התמונה (פיקסלים)",
29
+ "type": "integer",
30
+ "minimum": 100
31
+ },
32
+ "captureIntervalMs": {
33
+ "title": "תדירות צילום (מילישניות)",
34
+ "type": "integer",
35
+ "minimum": 10000,
36
+ "description": "לדוגמה 120000 = כל 2 דקות"
37
+ },
38
+ "chromiumPath": {
39
+ "title": "נתיב לקובץ ההרצה של Chromium",
40
+ "type": "string"
41
+ },
42
+ "imagePath": {
43
+ "title": "נתיב שמירת קובץ התמונה",
44
+ "type": "string"
45
+ },
46
+ "cameraUIDatabasePath": {
47
+ "title": "נתיב מסד הנתונים של camera.ui",
48
+ "type": "string"
49
+ }
50
+ }
51
+ }
52
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "homebridge-windy-camera",
3
- "version": "1.0.1",
3
+ "version": "1.0.3",
4
4
  "description": "Captures a live Windy.com radar map screenshot and keeps it registered as a camera inside homebridge-camera-ui",
5
5
  "main": "index.js",
6
6
  "keywords": [
@@ -10,7 +10,8 @@
10
10
  "index.js",
11
11
  "inject-camera.py",
12
12
  "scripts/postinstall.js",
13
- "README.md"
13
+ "README.md",
14
+ "config.schema.json"
14
15
  ],
15
16
  "scripts": {
16
17
  "postinstall": "node scripts/postinstall.js || true"