homebridge-nukiio

  • nach wie vor


    an dem umlaut "Haust Ü r" liegt das nicht, denke ich ?


    Initializing platform accessory 'undefined'...

    /usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/lib/Accessory.js:46

    if (!displayName) throw new Error("Accessories must be created with a non-empty displayName.");

    ^


    Error: Accessories must be created with a non-empty displayName.

    at new Accessory (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/lib/Accessory.js:46:27)

    at Server._createAccessory (/usr/local/lib/node_modules/homebridge/lib/server.js:396:21)

    at Server.<anonymous> (/usr/local/lib/node_modules/homebridge/lib/server.js:364:32)

    at /usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/lib/util/once.js:15:19

    at Object.accessories (/usr/local/lib/node_modules/homebridge-people/index.js:58:9)

    at Server._loadPlatformAccessories (/usr/local/lib/node_modules/homebridge/lib/server.js:354:20)

    at Server._loadPlatforms (/usr/local/lib/node_modules/homebridge/lib/server.js:298:16)

    at Server.run (/usr/local/lib/node_modules/homebridge/lib/server.js:80:36)

    at module.exports (/usr/local/lib/node_modules/homebridge/lib/cli.js:40:10)

    at Object.<anonymous> (/usr/local/lib/node_modules/homebridge/bin/homebridge:17:22)

    at Module._compile (module.js:570:32)

    at Object.Module._extensions..js (module.js:579:10)

    at Module.load (module.js:487:32)

    at tryModuleLoad (module.js:446:12)

    at Function.Module._load (module.js:438:3)

    at Module.runMain (module.js:604:10)



    beim starten von HB

  • "...Accessories must be created with a non-empty displayName..."


    ich hab das unter platorms eingefügt.


    liest sich für mich amateuer aber so, als hätte ich vlt. durch "ungeschicktes". } { } [ ] setzen doch die config falsch, obwohl Validator "grün" sagt

  • Platforms erstellen automatisch ein Accessorie… aber zum Error kann ich nix sagen.


  • schade...aber bei mir erstellt -warum auch immer- die platform "NukiBridge" eine undefinierte accessoy


    Loaded config.json with 0 accessories and 3 platforms.

    [2017-03-01 22:52:24] ---

    [2017-03-01 22:52:24] Loading 3 platforms...

    [2017-03-01 22:52:24] [Harmony] Initializing HarmonyHub platform...

    [2017-03-01 22:52:24] [Hue] Initializing Hue platform...

    [2017-03-01 22:52:24] [Hue] homebridge-hue v0.3.3, node v6.9.5, homebridge v2.1

    [2017-03-01 22:52:24] Initializing People platform...

    [2017-03-01 22:52:24] Initializing platform accessory 'Wilfried ist'...

    [2017-03-01 22:52:24] Initializing platform accessory 'Jutta ist'...

    [2017-03-01 22:52:24] Initializing platform accessory 'undefined'...

  • Probier das mal:


  • Der Fehler ist bei der Jutta ;)


    Code
    }, {
                    "name": "Jutta ist",
                    "target": "android-xxxxxxxxxx",
                    "threshold": 2,
                    "pingInterval": 10000,
                    "ignoreReEnterExitSeconds": 0
                }]
            }, 



  • {


    "platform": "People",


    "anyoneSensor" : true,


    "nooneSensor" : true,


    "webhookPort": 51828,


    "pingInterval": 10000,


    "ignoreReEnterExitSeconds": 0,


    "people" :


    [


    {


    "name" : "Wilfried ist",


    "target" : "wkneer-iphone-6",


    "threshold" : 2,


    "pingInterval": 10000,


    "ignoreReEnterExitSeconds": 0


    },


    {


    "name" : "Jutta ist",


    "target" : "android-xxxxxxxxxx",


    "threshold" : 2,


    "pingInterval": 10000,


    "ignoreReEnterExitSeconds": 0


    }

    ]

    },




    {


    "platform": "NukiBridge",


    "bridge_url": "192.xxx.x.xxx",


    "api_token" : "xxxxxx",


    "request_timeout_lockstate": 5000,


    "request_timeout_lockaction": 30000,


    "cache_directory": "./.node-persist/storage",


    "webhook_server_ip_or_name": "xxx.xxx.xxx.xxx",


    "webhook_port": 51827,


    "lock_state_mode": 1,


    "add_maintainance_buttons": false,


    "locks": [


    {


    "id": "your-lock-id",


    "name": "Haustür",


    "usesDoorLatch" : true,


    "priority" : 1


    }


    ]


    }





    ]


    }


    Ich glaube so, es ist schwer mit dem iPad das zu überblicken.

  • danke euch , hab ich geändert, und der Fehler sich auch geändert ...aber immerhin schon mal ein anderer


    Loaded config.json with 0 accessories and 4 platforms.

    [2017-03-01 23:30:52] ---

    [2017-03-01 23:30:52] Loading 4 platforms...

    [2017-03-01 23:30:52] [Harmony] Initializing HarmonyHub platform...

    [2017-03-01 23:30:52] [Hue] Initializing Hue platform...

    [2017-03-01 23:30:52] [Hue] homebridge-hue v0.3.3, node v6.9.5, homebridge v2.1

    [2017-03-01 23:30:52] Initializing People platform...

    [2017-03-01 23:30:52] Initializing platform accessory 'Wilfried ist'...

    [2017-03-01 23:30:52] Initializing platform accessory 'Jutta ist'...

    [2017-03-01 23:30:52] Initializing platform accessory 'Anyone'...

    [2017-03-01 23:30:52] Initializing platform accessory 'No One'...

    [2017-03-01 23:30:52] WebHook: Started server on port '51828'.

    /usr/local/lib/node_modules/homebridge/lib/api.js:118

    throw new Error("The requested platform '" + name + "' was not registered by any plugin.");

    ^


    Error: The requested platform 'NukiBridge' was not registered by any plugin.