More devices
This commit is contained in:
parent
e18cac8891
commit
5b0148f355
@ -97,7 +97,11 @@ function doMotionCall(options) {
|
||||
});
|
||||
|
||||
req.on('error', function(err) {
|
||||
if(HOST) {
|
||||
Log.error(HOST + ': ' + err);
|
||||
} else {
|
||||
Log.error(err);
|
||||
}
|
||||
});
|
||||
|
||||
req.end();
|
||||
|
||||
@ -112,7 +112,11 @@ function doHoBuDoorBellCall(options) {
|
||||
});
|
||||
|
||||
req.on('error', function(err) {
|
||||
if(HOST) {
|
||||
Log.error(HOST + ': ' + err);
|
||||
} else {
|
||||
Log.error(err);
|
||||
}
|
||||
});
|
||||
|
||||
req.end();
|
||||
|
||||
@ -90,7 +90,11 @@ function doHoBuDoorBellCall() {
|
||||
});
|
||||
|
||||
req.on('error', function(err) {
|
||||
if(HOST) {
|
||||
Log.error(HOST + ': ' + err);
|
||||
} else {
|
||||
Log.error(err);
|
||||
}
|
||||
});
|
||||
|
||||
req.end();
|
||||
|
||||
@ -147,7 +147,11 @@ function saveValue(value, item) {
|
||||
});
|
||||
|
||||
req.on('error', function(err) {
|
||||
if(HOST) {
|
||||
Log.error(HOST + ': ' + err);
|
||||
} else {
|
||||
Log.error(err);
|
||||
}
|
||||
});
|
||||
|
||||
req.end();
|
||||
|
||||
@ -37,6 +37,82 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"host": "192.168.2.125",
|
||||
"port": 4223,
|
||||
"uid": "zrD",
|
||||
"callback": {
|
||||
"period": 60000
|
||||
},
|
||||
"on": {
|
||||
"new": {
|
||||
"value": {
|
||||
"type": "web",
|
||||
"host": "hobu",
|
||||
"port": "2999",
|
||||
"category": "TEMPERATURE",
|
||||
"room": 3
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"host": "192.168.2.125",
|
||||
"port": 4223,
|
||||
"uid": "xzF",
|
||||
"callback": {
|
||||
"period": 120000
|
||||
},
|
||||
"on": {
|
||||
"new": {
|
||||
"value": {
|
||||
"type": "web",
|
||||
"host": "hobu",
|
||||
"port": "2999",
|
||||
"category": "RH",
|
||||
"room": 3
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"host": "192.168.2.124",
|
||||
"port": 4223,
|
||||
"uid": "zsL",
|
||||
"callback": {
|
||||
"period": 60000
|
||||
},
|
||||
"on": {
|
||||
"new": {
|
||||
"value": {
|
||||
"type": "web",
|
||||
"host": "hobu",
|
||||
"port": "2999",
|
||||
"category": "TEMPERATURE",
|
||||
"room": 2
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"host": "192.168.2.124",
|
||||
"port": 4223,
|
||||
"uid": "xxR",
|
||||
"callback": {
|
||||
"period": 120000
|
||||
},
|
||||
"on": {
|
||||
"new": {
|
||||
"value": {
|
||||
"type": "web",
|
||||
"host": "hobu",
|
||||
"port": "2999",
|
||||
"category": "RH",
|
||||
"room": 2
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user