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.
Files changed (48) hide show
  1. boneio/core/cloud/data/init-certs-cloud.sh +10 -11
  2. boneio/version.py +1 -1
  3. boneio/webui/frontend-dist/schem/adc.schema.json +4 -4
  4. boneio/webui/frontend-dist/schem/areas.schema.json +2 -2
  5. boneio/webui/frontend-dist/schem/binary_sensor.schema.json +10 -10
  6. boneio/webui/frontend-dist/schem/config.schema.json +112 -112
  7. boneio/webui/frontend-dist/schem/cover.schema.json +2 -2
  8. boneio/webui/frontend-dist/schem/ds2482.schema.json +2 -2
  9. boneio/webui/frontend-dist/schem/event.schema.json +30 -30
  10. boneio/webui/frontend-dist/schem/ina219.schema.json +6 -6
  11. boneio/webui/frontend-dist/schem/lm75.schema.json +4 -4
  12. boneio/webui/frontend-dist/schem/mcp23017.schema.json +2 -2
  13. boneio/webui/frontend-dist/schem/mcp9808.schema.json +4 -4
  14. boneio/webui/frontend-dist/schem/modbus_devices.schema.json +6 -6
  15. boneio/webui/frontend-dist/schem/oled.schema.json +4 -4
  16. boneio/webui/frontend-dist/schem/output.schema.json +4 -4
  17. boneio/webui/frontend-dist/schem/output_group.schema.json +4 -4
  18. boneio/webui/frontend-dist/schem/pca9685.schema.json +2 -2
  19. boneio/webui/frontend-dist/schem/pcf8575.schema.json +2 -2
  20. boneio/webui/frontend-dist/schem/remote_devices.schema.json +18 -18
  21. boneio/webui/frontend-dist/schem/sensor.schema.json +4 -4
  22. boneio/webui/frontend-dist/schem/virtual_energy_sensor.schema.json +2 -2
  23. boneio/webui/schema/adc.schema.json +4 -4
  24. boneio/webui/schema/areas.schema.json +2 -2
  25. boneio/webui/schema/binary_sensor.schema.json +10 -10
  26. boneio/webui/schema/config.schema.json +112 -112
  27. boneio/webui/schema/cover.schema.json +2 -2
  28. boneio/webui/schema/ds2482.schema.json +2 -2
  29. boneio/webui/schema/event.schema.json +30 -30
  30. boneio/webui/schema/ina219.schema.json +6 -6
  31. boneio/webui/schema/lm75.schema.json +4 -4
  32. boneio/webui/schema/mcp23017.schema.json +2 -2
  33. boneio/webui/schema/mcp9808.schema.json +4 -4
  34. boneio/webui/schema/modbus_devices.schema.json +6 -6
  35. boneio/webui/schema/oled.schema.json +4 -4
  36. boneio/webui/schema/output.schema.json +4 -4
  37. boneio/webui/schema/output_group.schema.json +4 -4
  38. boneio/webui/schema/pca9685.schema.json +2 -2
  39. boneio/webui/schema/pcf8575.schema.json +2 -2
  40. boneio/webui/schema/remote_devices.schema.json +18 -18
  41. boneio/webui/schema/sensor.schema.json +4 -4
  42. boneio/webui/schema/virtual_energy_sensor.schema.json +2 -2
  43. {boneio-1.2.0.dev4.dist-info → boneio-1.2.0.dev5.dist-info}/METADATA +1 -1
  44. {boneio-1.2.0.dev4.dist-info → boneio-1.2.0.dev5.dist-info}/RECORD +48 -48
  45. {boneio-1.2.0.dev4.dist-info → boneio-1.2.0.dev5.dist-info}/WHEEL +0 -0
  46. {boneio-1.2.0.dev4.dist-info → boneio-1.2.0.dev5.dist-info}/entry_points.txt +0 -0
  47. {boneio-1.2.0.dev4.dist-info → boneio-1.2.0.dev5.dist-info}/licenses/LICENSE +0 -0
  48. {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
- # This version adds a *.black.boneio.app HTTPS block using the wildcard cert
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
- # HTTPS with hostname-based self-signed certificate (always available)
117
- https://, ${CURRENT_HOSTNAME} {
118
- tls internal
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.0dev4"
2
+ __version__ = "1.2.0dev5"
@@ -4,8 +4,8 @@
4
4
  "properties": {
5
5
  "adc": {
6
6
  "type": [
7
- "string",
8
- "array"
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
- "string",
73
- "array"
72
+ "array",
73
+ "string"
74
74
  ],
75
75
  "default": [
76
76
  {
@@ -4,8 +4,8 @@
4
4
  "properties": {
5
5
  "areas": {
6
6
  "type": [
7
- "string",
8
- "array"
7
+ "array",
8
+ "string"
9
9
  ],
10
10
  "items": {
11
11
  "type": [
@@ -4,8 +4,8 @@
4
4
  "properties": {
5
5
  "binary_sensor": {
6
6
  "type": [
7
- "string",
8
- "array"
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
- "string",
347
- "array"
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
- "string",
507
- "array"
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
- "string",
527
- "array"
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
- "string",
687
- "array"
686
+ "array",
687
+ "string"
688
688
  ],
689
689
  "description": "RGB Color [R, G, B]",
690
690
  "title": "Rgb"