@camstack/addon-provider-ecowitt 0.2.151 → 0.2.153

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.
package/dist/index.js CHANGED
@@ -1,14 +1,18 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
2
  const require_addon = require("./addon.js");
3
+ exports.ADDON_MIGRATIONS = require_addon.ADDON_MIGRATIONS;
3
4
  exports.ECOWITT_DEVICE_GROUPS = require_addon.ECOWITT_DEVICE_GROUPS;
5
+ exports.ECOWITT_SYSTEM = require_addon.ECOWITT_SYSTEM;
4
6
  exports.EcowittProviderAddon = require_addon.EcowittProviderAddon;
5
7
  exports.buildConnectionFormSchema = require_addon.buildConnectionFormSchema;
6
8
  exports.buildEcowittGatewayCandidates = require_addon.buildEcowittGatewayCandidates;
7
9
  exports.capForQuantity = require_addon.capForQuantity;
10
+ exports.connectionFromSettings = require_addon.connectionFromSettings;
8
11
  exports.deviceGroupForSensor = require_addon.deviceGroupForSensor;
9
12
  exports.deviceGroupLabel = require_addon.deviceGroupLabel;
10
13
  exports.ecowittConfigSchema = require_addon.ecowittConfigSchema;
11
- exports.ecowittGatewaySchema = require_addon.ecowittGatewaySchema;
14
+ exports.gatewayDeviceNativeId = require_addon.gatewayDeviceNativeId;
15
+ exports.gatewayKeyOf = require_addon.gatewayKeyOf;
12
16
  exports.groupNativeId = require_addon.groupNativeId;
13
17
  exports.sensorLabel = require_addon.sensorLabel;
14
18
  exports.settingsToEcowittConfig = require_addon.settingsToEcowittConfig;
package/dist/index.mjs CHANGED
@@ -1,2 +1,2 @@
1
- import { EcowittProviderAddon, a as deviceGroupForSensor, c as valueFieldForCap, d as ecowittGatewaySchema, f as settingsToEcowittConfig, i as capForQuantity, l as buildConnectionFormSchema, n as groupNativeId, o as deviceGroupLabel, r as ECOWITT_DEVICE_GROUPS, s as sensorLabel, t as buildEcowittGatewayCandidates, u as ecowittConfigSchema } from "./addon.mjs";
2
- export { ECOWITT_DEVICE_GROUPS, EcowittProviderAddon, buildConnectionFormSchema, buildEcowittGatewayCandidates, capForQuantity, deviceGroupForSensor, deviceGroupLabel, ecowittConfigSchema, ecowittGatewaySchema, groupNativeId, sensorLabel, settingsToEcowittConfig, valueFieldForCap };
1
+ import { EcowittProviderAddon, a as ECOWITT_DEVICE_GROUPS, c as deviceGroupLabel, d as ECOWITT_SYSTEM, f as buildConnectionFormSchema, g as settingsToEcowittConfig, h as gatewayKeyOf, i as groupNativeId, l as sensorLabel, m as ecowittConfigSchema, n as buildEcowittGatewayCandidates, o as capForQuantity, p as connectionFromSettings, r as gatewayDeviceNativeId, s as deviceGroupForSensor, t as ADDON_MIGRATIONS, u as valueFieldForCap } from "./addon.mjs";
2
+ export { ADDON_MIGRATIONS, ECOWITT_DEVICE_GROUPS, ECOWITT_SYSTEM, EcowittProviderAddon, buildConnectionFormSchema, buildEcowittGatewayCandidates, capForQuantity, connectionFromSettings, deviceGroupForSensor, deviceGroupLabel, ecowittConfigSchema, gatewayDeviceNativeId, gatewayKeyOf, groupNativeId, sensorLabel, settingsToEcowittConfig, valueFieldForCap };
package/i18n/en.json CHANGED
@@ -1,6 +1,4 @@
1
1
  {
2
- "connection.s_identity.title": "Gateway",
3
- "connection.s_identity.name.label": "Name",
4
2
  "connection.s_transport.title": "Transport",
5
3
  "connection.s_transport.description": "Local poll connects out to the gateway (recommended). Push listener needs the gateway \"Customized\" upload pointed at this hub.",
6
4
  "connection.s_transport.transport.label": "Transport",
package/i18n/it.json CHANGED
@@ -1,6 +1,4 @@
1
1
  {
2
- "connection.s_identity.title": "Gateway",
3
- "connection.s_identity.name.label": "Nome",
4
2
  "connection.s_transport.title": "Trasporto",
5
3
  "connection.s_transport.description": "Il polling locale si connette al gateway (consigliato). Il listener push richiede che l'upload \"Customized\" del gateway punti a questo hub.",
6
4
  "connection.s_transport.transport.label": "Trasporto",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-provider-ecowitt",
3
- "version": "0.2.151",
3
+ "version": "0.2.153",
4
4
  "description": "Ecowitt weather-station device-provider addon for CamStack — wraps the @apocaliss92/nodewitt local-poll / push client",
5
5
  "keywords": [
6
6
  "camstack",
@@ -39,22 +39,28 @@
39
39
  "category": "providers",
40
40
  "name": "Ecowitt",
41
41
  "version": "0.1.0",
42
- "description": "Adopt Ecowitt weather-station gateways and their sensors over the local network (poll or push)",
42
+ "description": "Add an Ecowitt weather-station gateway as an integration (local poll or push) and adopt its Gateway device, group containers and sensors",
43
43
  "entry": "./dist/addon.js",
44
44
  "icon": "assets/icon.svg",
45
45
  "color": "#2e8b57",
46
46
  "instanceMode": "multiple",
47
- "mode": "standalone",
47
+ "mode": "account",
48
48
  "execution": {
49
49
  "placement": "hub-only"
50
50
  },
51
51
  "capabilities": [
52
52
  {
53
53
  "name": "device-provider"
54
+ },
55
+ {
56
+ "name": "device-adoption"
54
57
  }
55
58
  ]
56
59
  }
57
- ]
60
+ ],
61
+ "requires": {
62
+ "server": ">=1.2.719"
63
+ }
58
64
  },
59
65
  "files": [
60
66
  "dist",