UNPKG
fx-hs100-api
Version:
latest (0.3.0)
0.3.0
TPLink HS100/HS110 WiFi Smart Plug API
github.com/czjs2/hs100-api
czjs2/hs100-api
fx-hs100-api
/
test
/
lib
/
config.js
10 lines
(6 loc)
•
291 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
'use strict'
;
const
client = {
debug
:
false
};
// Configuration used by some tests. Will turn the device off/on.
const
plug = {
host
:
'10.0.0.60'
,
port
:
9999
};
const
invalidPlug = {
deviceId
:
'invalidPlug'
,
host
:
'1.2.3.4'
,
timeout
:
1000
};
module
.
exports
= {client, plug, invalidPlug};