Fixes
This commit is contained in:
@@ -68,7 +68,7 @@ function connect(item) {
|
||||
// Callback function for intensity callback
|
||||
function (intensity) {
|
||||
Log.log('Intensity: ' + intensity);
|
||||
doHoBuDoorBellCall(item);
|
||||
doHoBuDoorBellCall(HOST, item);
|
||||
}
|
||||
);
|
||||
|
||||
@@ -81,7 +81,9 @@ function connect(item) {
|
||||
|
||||
|
||||
/* private */
|
||||
function doHoBuDoorBellCall(item) {
|
||||
function doHoBuDoorBellCall(host, item) {
|
||||
const HOST = host;
|
||||
|
||||
var options = {
|
||||
host: item.on.action.ring.host,
|
||||
port: item.on.action.ring.port,
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
"period": 1000,
|
||||
"ring": {
|
||||
"marker": 2300,
|
||||
"host": "hobu",
|
||||
"host": "hobu.local",
|
||||
"port": "2999",
|
||||
"path": "/doorbell/ring/Wohnungstür/"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user