homebridge-smartsystem 6.1.4 → 6.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.
package/README.md CHANGED
@@ -253,6 +253,8 @@ switch =>
253
253
  - 1: bugfixes, timeout mgt, etc...
254
254
  - 2: try fixing logfunction errors
255
255
  - 3: reverting to console.log
256
+ - 4: errors when starting power mgrs from platform.ts
257
+ - 5: v6.1.3 changes were gone... restored them.
256
258
 
257
259
  ## Hardware
258
260
  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
+ // logFunction = (m) => { F(m) };
114
114
  }
115
115
  exports.setLogFunction = setLogFunction;
116
116
  function err(type, message) {
package/duotecno/types.ts CHANGED
@@ -61,8 +61,8 @@ export const logSettings = {
61
61
  // can be overriden with server log function
62
62
  export let logFunction = console.log;
63
63
  export function setLogFunction(F) {
64
- console.log(">>>>>>>>> changing logfunction to: " + F.name + " <<<<<<<<<<");
65
- logFunction = (m) => { F(m) };
64
+ console.log(">>>>>>>>> NOT changing logfunction to: " + F.name + " <<<<<<<<<<");
65
+ // logFunction = (m) => { F(m) };
66
66
  }
67
67
 
68
68
  export function err(type: string, message: string | object) {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "homebridge-smartsystem",
3
3
  "displayname": "Duotecno Bridge",
4
- "version": "6.1.4",
4
+ "version": "6.1.5",
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",