homebridge-smartsystem 6.1.2 → 6.1.3

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
@@ -248,10 +248,11 @@ switch =>
248
248
  - global debug, log, err functions in types.ts
249
249
  - split smappee.ts in PowerBase + smappee/p1/shelly
250
250
 
251
- ## v6.1.1 - 21-07-2022 - P1 release
252
- - R1: implemented P1 power meter telegram
253
- - R2: bugfixes, timeout mgt, etc...
254
-
251
+ ## v6.1.x - 21-07-2022 - P1 release
252
+ - 0: implemented P1 power meter telegram
253
+ - 1: bugfixes, timeout mgt, etc...
254
+ - 2: try fixing logfunction errors
255
+ - 3: reverting to console.log
255
256
 
256
257
  ## Hardware
257
258
  A Raspberry Pi that connects to a Duotecno IP Node
package/duotecno/types.js CHANGED
@@ -109,8 +109,8 @@ exports.logSettings = {
109
109
  // can be overriden with server log function
110
110
  exports.logFunction = console.log;
111
111
  function setLogFunction(F) {
112
- console.log(">>>>>>>>> changing logfunction to: " + F.name + " <<<<<<<<<<");
113
- exports.logFunction = (m) => { F(m); };
112
+ console.log(">>>>>>>>> NOT changing logfunction to: " + F.name + " <<<<<<<<<<");
113
+ // exports.logFunction = (m) => { F(m); };
114
114
  }
115
115
  exports.setLogFunction = setLogFunction;
116
116
  function err(type, message) {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "homebridge-smartsystem",
3
3
  "displayname": "Duotecno Bridge",
4
- "version": "6.1.2",
4
+ "version": "6.1.3",
5
5
  "description": "SmartServer (Proxy Websockets to TCP sockets, Smappee MQTT, Duotecno IP Nodes, Homekit interface)",
6
6
  "main": "index.js",
7
7
  "author": "Johan Coppieters",