boneIO 1.2.0.dev4__py3-none-any.whl → 1.2.0.dev5__py3-none-any.whl
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.
- boneio/core/cloud/data/init-certs-cloud.sh +10 -11
- boneio/version.py +1 -1
- boneio/webui/frontend-dist/schem/adc.schema.json +4 -4
- boneio/webui/frontend-dist/schem/areas.schema.json +2 -2
- boneio/webui/frontend-dist/schem/binary_sensor.schema.json +10 -10
- boneio/webui/frontend-dist/schem/config.schema.json +112 -112
- boneio/webui/frontend-dist/schem/cover.schema.json +2 -2
- boneio/webui/frontend-dist/schem/ds2482.schema.json +2 -2
- boneio/webui/frontend-dist/schem/event.schema.json +30 -30
- boneio/webui/frontend-dist/schem/ina219.schema.json +6 -6
- boneio/webui/frontend-dist/schem/lm75.schema.json +4 -4
- boneio/webui/frontend-dist/schem/mcp23017.schema.json +2 -2
- boneio/webui/frontend-dist/schem/mcp9808.schema.json +4 -4
- boneio/webui/frontend-dist/schem/modbus_devices.schema.json +6 -6
- boneio/webui/frontend-dist/schem/oled.schema.json +4 -4
- boneio/webui/frontend-dist/schem/output.schema.json +4 -4
- boneio/webui/frontend-dist/schem/output_group.schema.json +4 -4
- boneio/webui/frontend-dist/schem/pca9685.schema.json +2 -2
- boneio/webui/frontend-dist/schem/pcf8575.schema.json +2 -2
- boneio/webui/frontend-dist/schem/remote_devices.schema.json +18 -18
- boneio/webui/frontend-dist/schem/sensor.schema.json +4 -4
- boneio/webui/frontend-dist/schem/virtual_energy_sensor.schema.json +2 -2
- boneio/webui/schema/adc.schema.json +4 -4
- boneio/webui/schema/areas.schema.json +2 -2
- boneio/webui/schema/binary_sensor.schema.json +10 -10
- boneio/webui/schema/config.schema.json +112 -112
- boneio/webui/schema/cover.schema.json +2 -2
- boneio/webui/schema/ds2482.schema.json +2 -2
- boneio/webui/schema/event.schema.json +30 -30
- boneio/webui/schema/ina219.schema.json +6 -6
- boneio/webui/schema/lm75.schema.json +4 -4
- boneio/webui/schema/mcp23017.schema.json +2 -2
- boneio/webui/schema/mcp9808.schema.json +4 -4
- boneio/webui/schema/modbus_devices.schema.json +6 -6
- boneio/webui/schema/oled.schema.json +4 -4
- boneio/webui/schema/output.schema.json +4 -4
- boneio/webui/schema/output_group.schema.json +4 -4
- boneio/webui/schema/pca9685.schema.json +2 -2
- boneio/webui/schema/pcf8575.schema.json +2 -2
- boneio/webui/schema/remote_devices.schema.json +18 -18
- boneio/webui/schema/sensor.schema.json +4 -4
- boneio/webui/schema/virtual_energy_sensor.schema.json +2 -2
- {boneio-1.2.0.dev4.dist-info → boneio-1.2.0.dev5.dist-info}/METADATA +1 -1
- {boneio-1.2.0.dev4.dist-info → boneio-1.2.0.dev5.dist-info}/RECORD +48 -48
- {boneio-1.2.0.dev4.dist-info → boneio-1.2.0.dev5.dist-info}/WHEEL +0 -0
- {boneio-1.2.0.dev4.dist-info → boneio-1.2.0.dev5.dist-info}/entry_points.txt +0 -0
- {boneio-1.2.0.dev4.dist-info → boneio-1.2.0.dev5.dist-info}/licenses/LICENSE +0 -0
- {boneio-1.2.0.dev4.dist-info → boneio-1.2.0.dev5.dist-info}/top_level.txt +0 -0
|
@@ -1,10 +1,6 @@
|
|
|
1
1
|
#!/bin/sh
|
|
2
2
|
# Script for Caddy with cloud wildcard SSL certificate (PWA mode)
|
|
3
|
-
#
|
|
4
|
-
# downloaded by boneIO Cloud Registration.
|
|
5
|
-
#
|
|
6
|
-
# Used when cloud_registration is enabled in boneio config.
|
|
7
|
-
# Falls back to self-signed cert for hostname-based access.
|
|
3
|
+
# FIXED: Removed deprecated 'burst'/'interval' options for newer Caddy versions.
|
|
8
4
|
|
|
9
5
|
HOSTNAME_FILE="/data/last_hostname"
|
|
10
6
|
CURRENT_HOSTNAME="${HOST_HOSTNAME:-$(cat /etc/host_hostname 2>/dev/null || hostname)}"
|
|
@@ -78,7 +74,7 @@ fi
|
|
|
78
74
|
# Generate Caddyfile
|
|
79
75
|
cat > /tmp/Caddyfile << EOF
|
|
80
76
|
{
|
|
81
|
-
# Global options
|
|
77
|
+
# Global options - empty for internal issuer
|
|
82
78
|
}
|
|
83
79
|
|
|
84
80
|
# HTTP - serve directly
|
|
@@ -113,9 +109,14 @@ cat > /tmp/Caddyfile << EOF
|
|
|
113
109
|
}
|
|
114
110
|
}
|
|
115
111
|
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
112
|
+
${CLOUD_BLOCK}
|
|
113
|
+
|
|
114
|
+
# HTTPS with self-signed certificate (catch-all for hostname and IP access)
|
|
115
|
+
https:// {
|
|
116
|
+
# Wlaczenie on_demand dla wewnetrznego wystawcy pozwala na dynamiczne generowanie certyfikatow dla IP
|
|
117
|
+
tls internal {
|
|
118
|
+
on_demand
|
|
119
|
+
}
|
|
119
120
|
|
|
120
121
|
handle_errors {
|
|
121
122
|
@502-504 expression {err.status_code} >= 502 && {err.status_code} <= 504
|
|
@@ -146,8 +147,6 @@ https://, ${CURRENT_HOSTNAME} {
|
|
|
146
147
|
}
|
|
147
148
|
}
|
|
148
149
|
}
|
|
149
|
-
|
|
150
|
-
${CLOUD_BLOCK}
|
|
151
150
|
EOF
|
|
152
151
|
|
|
153
152
|
# Start Caddy with generated config
|
boneio/version.py
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
# flake8: noqa
|
|
2
|
-
__version__ = "1.2.
|
|
2
|
+
__version__ = "1.2.0dev5"
|
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
"properties": {
|
|
5
5
|
"adc": {
|
|
6
6
|
"type": [
|
|
7
|
-
"
|
|
8
|
-
"
|
|
7
|
+
"array",
|
|
8
|
+
"string"
|
|
9
9
|
],
|
|
10
10
|
"items": {
|
|
11
11
|
"type": [
|
|
@@ -69,8 +69,8 @@
|
|
|
69
69
|
},
|
|
70
70
|
"filters": {
|
|
71
71
|
"type": [
|
|
72
|
-
"
|
|
73
|
-
"
|
|
72
|
+
"array",
|
|
73
|
+
"string"
|
|
74
74
|
],
|
|
75
75
|
"default": [
|
|
76
76
|
{
|
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
"properties": {
|
|
5
5
|
"binary_sensor": {
|
|
6
6
|
"type": [
|
|
7
|
-
"
|
|
8
|
-
"
|
|
7
|
+
"array",
|
|
8
|
+
"string"
|
|
9
9
|
],
|
|
10
10
|
"items": {
|
|
11
11
|
"type": [
|
|
@@ -343,8 +343,8 @@
|
|
|
343
343
|
"properties": {
|
|
344
344
|
"pressed": {
|
|
345
345
|
"type": [
|
|
346
|
-
"
|
|
347
|
-
"
|
|
346
|
+
"array",
|
|
347
|
+
"string"
|
|
348
348
|
],
|
|
349
349
|
"items": {
|
|
350
350
|
"type": [
|
|
@@ -503,8 +503,8 @@
|
|
|
503
503
|
},
|
|
504
504
|
"rgb": {
|
|
505
505
|
"type": [
|
|
506
|
-
"
|
|
507
|
-
"
|
|
506
|
+
"array",
|
|
507
|
+
"string"
|
|
508
508
|
],
|
|
509
509
|
"description": "RGB Color [R, G, B]",
|
|
510
510
|
"title": "Rgb"
|
|
@@ -523,8 +523,8 @@
|
|
|
523
523
|
},
|
|
524
524
|
"released": {
|
|
525
525
|
"type": [
|
|
526
|
-
"
|
|
527
|
-
"
|
|
526
|
+
"array",
|
|
527
|
+
"string"
|
|
528
528
|
],
|
|
529
529
|
"items": {
|
|
530
530
|
"type": [
|
|
@@ -683,8 +683,8 @@
|
|
|
683
683
|
},
|
|
684
684
|
"rgb": {
|
|
685
685
|
"type": [
|
|
686
|
-
"
|
|
687
|
-
"
|
|
686
|
+
"array",
|
|
687
|
+
"string"
|
|
688
688
|
],
|
|
689
689
|
"description": "RGB Color [R, G, B]",
|
|
690
690
|
"title": "Rgb"
|