homebridge-smartsystem 6.1.4 → 6.1.7

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/README.md CHANGED
@@ -19,25 +19,25 @@ inherited versions of smartApp
19
19
  - v3.1 - include switches (only 1 type working) / september 2019
20
20
  - v3.1.1 - added unit-macro cmd status changes / september 2019
21
21
 
22
- ## v5.0.1, March 2020, Johan, first merge working
22
+ ### v5.0.1, March 2020, Johan, first merge working
23
23
  - new separate branch "v2.0"
24
24
 
25
- ## v5.0.2, May 2020, Johan, working version of
25
+ ### v5.0.2, May 2020, Johan, working version of
26
26
  - backup, restore
27
27
  - store scenes and execute them on status changes
28
28
  - add http switches (next to smappee - mqqt) like Shelly
29
29
 
30
- ## v5.0.5, June 2020, Johan, feature release
30
+ ### v5.0.5, June 2020, Johan, feature release
31
31
  - added "Condition" moods
32
32
  - sort on logical unit address
33
33
  - added: #, *, ! type modifiers
34
34
 
35
- ## v5.0.6, .7, .8
35
+ ### v5.0.6, .7, .8
36
36
  - (6,7) Fixed small reported issues
37
37
  - (8) Bug fixes for saving switches
38
38
  - (8) added new app
39
39
 
40
- ## v5.1.0b1
40
+ ### v5.1.0b1
41
41
  - add nr-devices in webpage of services
42
42
  - change display name (sfeer)
43
43
  - feedback of plugs
@@ -136,123 +136,128 @@ switch =>
136
136
  - removed: logicalReqNodeAddress (never used)
137
137
  - removed test configs from repo
138
138
 
139
- ## v5.6.8/9
139
+ ### v5.6.8/9
140
140
  - trying to fix connection loss
141
141
 
142
- ## v5.6.10
142
+ ### v5.6.10
143
143
  - add heartbeat to master to prevent connection loss
144
144
 
145
- ## v5.6.11
145
+ ### v5.6.11
146
146
  - fix PIR and other stuff like values for virtual units / macro's
147
147
 
148
- ## v5.6.12
148
+ ### v5.6.12
149
149
  - added logging for files
150
150
  - R2: added new version of the app v2.3.4 B2
151
151
  - R3: keep heartbeat if socket closes unexpectedly
152
152
  - R4: added not ready message
153
153
  - R5: support for short url's /node/unit/value
154
154
 
155
- ## v5.7.1
155
+ ### v5.7.1
156
156
  - smappee channel rules now accept 3+2+7 format for a channel
157
157
 
158
- ## v5.7.2
158
+ ### v5.7.2
159
159
  - smappee now has "sun" rules: low == (production < consumption>)
160
160
 
161
- ## v5.8.0
161
+ ### v5.8.0
162
162
  - Added API calls /masters/list & services /units/set & get
163
163
 
164
- ## v5.9.0
164
+ ### v5.9.0
165
165
  - added extended type selection in master->node->unit->detail page (not yet tested !!)
166
166
 
167
- ## v5.9.1
167
+ ### v5.9.1
168
168
  - added stubs for openHAB switch/dimmer/updown
169
169
 
170
- ## v5.9.2
170
+ ### v5.9.2
171
171
  - added active / used unit flag, allowing more units in the gateway, only those "actice" are sent to Homebridge
172
172
 
173
- ## v5.10.0
173
+ ### v5.10.0
174
174
  - openHAB support for up/downs, dimmers en switches. copied from smartapp.js file of Pieter Becu <pieter@bqnet.be>
175
175
 
176
- ## v5.10.1
176
+ ### v5.10.1
177
177
  - added git user.name/email to update.sh
178
178
 
179
- ## v5.10.2
179
+ ### v5.10.2
180
180
  - better upgrade to new config layout (used - active units)
181
181
 
182
- ## v5.10.3
182
+ ### v5.10.3
183
183
  - waiting for active config units (not total units)
184
184
 
185
- ## v5.10.4
185
+ ### v5.10.4
186
186
  - Extended saved type was not used on restart
187
187
 
188
- ## v5.10.5 - R1/2/3
188
+ ### v5.10.5 - R1/2/3
189
189
  - Added $T (0-511) for bindings (Hue)
190
190
  - trying to fix up/down - windowcovering
191
191
  - trying to fix ready state (nr units in systems versus in config)
192
- ## v5.10.5 - R4
192
+ ### v5.10.5 - R4
193
193
  - changed mood-press(true) to (-1)
194
- ## v5.10.5 - R5 - 26/02/2021
194
+ ### v5.10.5 - R5 - 26/02/2021
195
195
  - send "stop" to openHAB for status = 0
196
- ## v5.10.5 - R6 - 27/02/2021
196
+ ### v5.10.5 - R6 - 27/02/2021
197
197
  - app upgrade to 2.3.7
198
- ## v5.10.6 - 08/04/2021
198
+ ### v5.10.6 - 08/04/2021
199
199
  - delete spaces from backup names
200
200
  - updated files on the server: for f in *\ *.json ; do mv "$f" ${f//\ /}; done
201
201
 
202
- ## v5.11.0 - 04/06/2021
202
+ ### v5.11.0 - 04/06/2021
203
203
  - fixed bug in sun/power selection of rule
204
204
  - changed power rule functionality (now: compare channels with "sun-consumption")
205
- ## v5.11.0 - R2 - 04/06/2021
205
+ ### v5.11.0 - R2 - 04/06/2021
206
206
  - change name of master does not generate new master anymore
207
- ## v5.11.1 - 04/06/2021
207
+ ### v5.11.1 - 04/06/2021
208
208
  - turn of debug -> production
209
- ## v5.11.2 - 04/06/2021
209
+ ### v5.11.2 - 04/06/2021
210
210
  - Fixed Long standing rule editing bug: kEmptyRule included an array
211
- ## v5.11.3 - 16/08/2021
211
+ ### v5.11.3 - 16/08/2021
212
212
  - don't do request status of clicking an up/down in the web interface
213
213
  - added extra logging for heartbeats
214
- ## v5.11.5 - 17/08/2021
214
+ ### v5.11.5 - 17/08/2021
215
215
  - tryout for "no-macro" on a switch
216
216
  - fixes no-macro "save" bug
217
217
  - added send-no-stop for up/downs
218
218
 
219
- ## v5.12.0 - 18/08/2021
219
+ ### v5.12.0 - 18/08/2021
220
220
  - added reconnect in the master conf file
221
221
  - cleaned up a lot of logging
222
222
  - auto read config file in constructor
223
- ## v5.12.1 - 27-08-2021
223
+ ### v5.12.1 - 27-08-2021
224
224
  - use heartbeat to reconnect after network connection lost. Needs last version op ip master soft, in previous versions the heartbeat was broken.
225
- ## v5.12.2 - 09-01-2022
225
+ ### v5.12.2 - 09-01-2022
226
226
  - fixed problem when checking smappee switch (only used nr, not type)
227
- ## v5.12.3 - 10-01-2022
227
+ ### v5.12.3 - 10-01-2022
228
228
  - added reboot command -> in the homebridge page or as an url: /reboot
229
229
 
230
- ## v5.13.0 - 23-05-2022
230
+ ### v5.13.0 - 23-05-2022
231
231
  - added "power" bindings -> set 1/10th of value of unit to power of channels. Visualisation is done in the Pro and Lite app.
232
- ## v5.13.1 - 24-05-2022
232
+ ### v5.13.1 - 24-05-2022
233
233
  - Display nr devices on HomeBridge
234
234
 
235
- ## v5.14.0 - 19-06-2022
235
+ ### v5.14.0 - 19-06-2022
236
236
  - network settings + reboot
237
- ## v5.14.1 - todo
237
+ ### v5.14.1 - todo
238
238
  - listen on gpio pin
239
239
 
240
240
  ## v6.0.x - 01-07-2022
241
- - .1: first version running on Homebridge UI
241
+ Homebridge UI version
242
+ - .1: first working version
242
243
  - .9: read version from package.json
243
244
  - .10: removed "homekit" nav tab,
244
245
  added "restart plugin" to settings,
245
246
  set lock target state to "locked"
246
247
 
247
- ## v6.1.0 - 15-07-2022
248
+ ### v6.1.0 - 15-07-2022
248
249
  - global debug, log, err functions in types.ts
249
250
  - split smappee.ts in PowerBase + smappee/p1/shelly
250
251
 
251
- ## v6.1.x - 21-07-2022 - P1 release
252
+ ### v6.1.x - 21-07-2022 - P1 release
252
253
  - 0: implemented P1 power meter telegram
253
254
  - 1: bugfixes, timeout mgt, etc...
254
255
  - 2: try fixing logfunction errors
255
256
  - 3: reverting to console.log
257
+ - 4: errors when starting power mgrs from platform.ts
258
+ - 5: v6.1.3 changes were gone... restored them.
259
+ - 6: added login with pw in config + http.get with on-error
260
+ - 7: allow NaN in bindings compare for update
256
261
 
257
262
  ## Hardware
258
263
  A Raspberry Pi that connects to a Duotecno IP Node
@@ -353,6 +358,11 @@ sudo raspi-config
353
358
  curl -sSfL https://repo.homebridge.io/KEY.gpg | sudo gpg --dearmor | sudo tee /usr/share/keyrings/homebridge.gpg > /dev/null
354
359
  echo "deb [signed-by=/usr/share/keyrings/homebridge.gpg] https://repo.homebridge.io stable main" | sudo tee /etc/apt/sources.list.d/homebridge.list > /dev/null
355
360
 
361
+ # Deinstall old version running through pm2
362
+ pm2 stop homebridge
363
+ pm2 delete homebridge
364
+ pm2 save
365
+
356
366
  # Install Homebridge
357
367
  sudo apt-get update
358
368
  sudo apt-get --yes install homebridge
@@ -382,7 +392,7 @@ sudo npm install --save homebridge-smartsystem
382
392
              "manufacturer": "Duotecno-Coppieters",
383
393
              "name": "Duotecno",
384
394
              "platform": "DuotecnoPlatform",
385
-             "smappee": true,
395
+             "smappee": true, "shelly": false, "p1": false,
386
396
              "smartapp": true,
387
397
              "system": true,
388
398
              "socapp": false
@@ -12,10 +12,11 @@
12
12
  "platform": "DuotecnoPlatform",
13
13
  "smappee": true,
14
14
  "p1": true,
15
- "shelly": true,
15
+ "shelly": false,
16
16
  "smartapp": true,
17
17
  "system": true,
18
- "socapp": false
18
+ "socapp": false,
19
+ "password": "Tester"
19
20
  }
20
21
  ],
21
22
  "accessories": []