iobroker.prosoft_flow 0.1.3 → 0.1.5

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.
@@ -8,7 +8,8 @@
8
8
  "items": {
9
9
  "headerConn": {
10
10
  "type": "header",
11
- "text": "Modbus Rabitə Ayarları (Serial RTU / Modbus TCP)"
11
+ "text": "Modbus Rabitə Ayarları (Serial RTU / Modbus TCP)",
12
+ "size": 5
12
13
  },
13
14
  "connectionType": {
14
15
  "type": "select",
@@ -52,7 +53,8 @@
52
53
  "serialHeader": {
53
54
  "type": "header",
54
55
  "text": "Serial Parametrləri (COM Port)",
55
- "hidden": "data.connectionType !== 'serial'"
56
+ "hidden": "data.connectionType !== 'serial'",
57
+ "size": 5
56
58
  },
57
59
  "serialPort": {
58
60
  "type": "text",
@@ -165,7 +167,8 @@
165
167
  "netHeader": {
166
168
  "type": "header",
167
169
  "text": "TCP Şəbəkə Parametrləri",
168
- "hidden": "data.connectionType === 'serial'"
170
+ "hidden": "data.connectionType === 'serial'",
171
+ "size": 5
169
172
  },
170
173
  "tcpHost": {
171
174
  "type": "text",
@@ -320,7 +323,8 @@
320
323
  },
321
324
  "clockHeader": {
322
325
  "type": "header",
323
- "text": "AFC Vaxt Mənbəyi"
326
+ "text": "AFC Vaxt Mənbəyi",
327
+ "size": 5
324
328
  },
325
329
  "afcTimeRegister": {
326
330
  "type": "number",
@@ -333,7 +337,8 @@
333
337
  },
334
338
  "groupsHeader": {
335
339
  "type": "header",
336
- "text": "Hesabat Qrupları Konfiqurasiyası (Oxuma Növü: Cədvəl / Dövri / Əl ilə)"
340
+ "text": "Hesabat Qrupları Konfiqurasiyası (Oxuma Növü: Cədvəl / Dövri / Əl ilə)",
341
+ "size": 5
337
342
  },
338
343
  "reportGroups": {
339
344
  "type": "table",
@@ -498,7 +503,8 @@
498
503
  },
499
504
  "dailyTagsHeader": {
500
505
  "type": "header",
501
- "text": "Gündəlik Hesabat Teqləri (Daily Report - 57 Teq)"
506
+ "text": "Gündəlik Hesabat Teqləri (Daily Report - 57 Teq)",
507
+ "size": 5
502
508
  },
503
509
  "dailyTags": {
504
510
  "type": "table",
@@ -581,7 +587,8 @@
581
587
  },
582
588
  "hourlyTagsHeader": {
583
589
  "type": "header",
584
- "text": "Saatlıq Hesabat Teqləri (Hourly Report - 57 Teq)"
590
+ "text": "Saatlıq Hesabat Teqləri (Hourly Report - 57 Teq)",
591
+ "size": 5
585
592
  },
586
593
  "hourlyTags": {
587
594
  "type": "table",
@@ -664,7 +671,8 @@
664
671
  },
665
672
  "snapshotTagsHeader": {
666
673
  "type": "header",
667
- "text": "Ani Hesabat Teqləri (Snapshot Report - 57 Teq)"
674
+ "text": "Ani Hesabat Teqləri (Snapshot Report - 57 Teq)",
675
+ "size": 5
668
676
  },
669
677
  "snapshotTags": {
670
678
  "type": "table",
@@ -740,7 +748,8 @@
740
748
  },
741
749
  "customTagsHeader": {
742
750
  "type": "header",
743
- "text": "Xüsusi Hesabat Teqləri (Prover və s.)"
751
+ "text": "Xüsusi Hesabat Teqləri (Prover və s.)",
752
+ "size": 5
744
753
  },
745
754
  "customReportTags": {
746
755
  "type": "table",
@@ -821,7 +830,8 @@
821
830
  "items": {
822
831
  "licHeader": {
823
832
  "type": "header",
824
- "text": "Avadanlıq İdentifikatoru və Lisenziyalaşdırma"
833
+ "text": "Avadanlıq İdentifikatoru və Lisenziyalaşdırma",
834
+ "size": 5
825
835
  },
826
836
  "licText": {
827
837
  "type": "staticText",
@@ -857,6 +867,14 @@
857
867
  "min": 1,
858
868
  "max": 65535,
859
869
  "sm": 4
870
+ },
871
+ "hardwareId": {
872
+ "type": "text",
873
+ "label": "Avadanlıq İdentifikatoru (Hardware ID)",
874
+ "readOnly": true,
875
+ "copyToClipboard": true,
876
+ "help": "Lisenziya açarı almaq üçün bu İD-ni tərtibatçıya təqdim edin",
877
+ "sm": 12
860
878
  }
861
879
  }
862
880
  }
package/io-package.json CHANGED
@@ -1,8 +1,14 @@
1
1
  {
2
2
  "common": {
3
3
  "name": "prosoft_flow",
4
- "version": "0.1.3",
4
+ "version": "0.1.5",
5
5
  "news": {
6
+ "0.1.5": {
7
+ "en": "Updated cryptographic keypair for seamless zero-passphrase license generation."
8
+ },
9
+ "0.1.4": {
10
+ "en": "Fixed jsonConfig header size validation and added auto-copyable Hardware ID field to licensing tab."
11
+ },
6
12
  "0.1.3": {
7
13
  "en": "Added M3 Age Reg (Meter 3 Age Register) column to admin jsonConfig."
8
14
  },
@@ -82,6 +88,7 @@
82
88
  "reconnectInterval": 5000,
83
89
  "slaveId": 244,
84
90
  "pollInterval": 1000,
91
+ "hardwareId": "",
85
92
  "licenseKey": "",
86
93
  "licenseTimeSource": "afc",
87
94
  "licenseTimeAddress": 9950,
package/main.js CHANGED
@@ -56,6 +56,14 @@ class ProsoftFlow extends utils.Adapter {
56
56
 
57
57
  await this.setState('info.hardwareId', { val: hwId, ack: true });
58
58
  await this.setState('info.environmentType', { val: envType, ack: true });
59
+
60
+ // Populate native.hardwareId so Instance Settings UI displays it with copy button
61
+ if (this.config.hardwareId !== hwId) {
62
+ this.config.hardwareId = hwId;
63
+ await this.extendForeignObjectAsync(`system.adapter.${this.namespace}`, {
64
+ native: { hardwareId: hwId },
65
+ });
66
+ }
59
67
  await this.setState('info.licenseStatus', {
60
68
  val: licInfo.valid ? `Valid (${licInfo.edition || 'licensed'})` : licInfo.message,
61
69
  ack: true,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "iobroker.prosoft_flow",
3
- "version": "0.1.3",
3
+ "version": "0.1.5",
4
4
  "description": "ioBroker adapter for Prosoft Flow Computers via Native AOT Modbus RTU / TCP with Age 1 reporting and RFC-005 licensing",
5
5
  "author": {
6
6
  "name": "gokturk413",