homebridge-openwrt-control 0.0.2-beta.44 → 0.0.2-beta.45

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/openwrt.js +1 -1
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "displayName": "OpenWrt Control",
3
3
  "name": "homebridge-openwrt-control",
4
- "version": "0.0.2-beta.44",
4
+ "version": "0.0.2-beta.45",
5
5
  "description": "Homebridge plugin to control OpenWrt flashed devices.",
6
6
  "license": "MIT",
7
7
  "author": "grzegorz914",
package/src/openwrt.js CHANGED
@@ -99,7 +99,7 @@ class OpenWrt extends EventEmitter {
99
99
 
100
100
  //const networkInfo = await this.ubusCall('network.device', 'status', '{ "name": "eth0" }');
101
101
  //const networkInfo = await this.ubusCall('file', 'read', { path: '/sys/class/net/eth0/address' });
102
- if (this.logDebug) this.emit('debug', `Network info data: ${networkInfo}`);
102
+ //if (this.logDebug) this.emit('debug', `Network info data: ${networkInfo}`);
103
103
 
104
104
  //const wirelessStatus = await this.ubusCall('network.wireless', 'status');
105
105
  const wirelessStatus = await this.ubusCall('uci', 'get', { config: 'wireless' });