Beiträge von Imperium9999

    ich Habe den Pin in meiner config,json rausgenommen, so läuft es jetzt :thumbup:

    Vielen Dank für super Unterstützung!


    Julian

    Ich habe es jetzt einfach gemacht:D sieht jetzt auch soweit ganz gut aus. Nur diesen [7/19/2019, 12:49:04 PM] [Alexa] ERROR: HAP Discovery failed, please review config Meldung bekomme ich jetzt noch immer.


    okay danke, leider trotzdem wieder der gleiche SyntaxError.


    Ich habe es so wie du geschrieben hast de- und wieder installiert. Node ist Version v4.5.0.


    müsste bei installieren das nicht Install heißen? sudo npm uninstall -g --unsafe-perm homebridge-alexa


    Daraus entstand folgender Log:

    Julian

    Hallo,

    ich bin neu hier und habe seit gestern eine Alexa.


    Ich habe seit ein paar Jahren schon eine Hombridge zwischen Apple HomeKit und einer CCU2 von Homematik.

    Ich würde jetzt gerne das Homebridge-Alexa Plugin installieren um meine Gräte aus Apple HomeKit mit der Alexa Streuern zu können.

    Leider ist mein englisch nicht so gut...

    Ich habe das Plugin installiert und die Config.json Datei angepasst.


    GNU nano 2.7.4 File: /home/pi/.homebridge/config.json


    {

    "bridge": {

    "name": "Homebridge",

    "username": "CC:22:3D:E3:CE:30",

    "port": 51826,

    "pin": "031-45-154"

    },


    "platforms": [{

    "platform": "HomeMatic",

    "name": "HomeMatic CCU2",

    "ccu_ip": "192.168.178.49",

    "filter_device": [],

    "filter_channel": [],

    "outlets": [],

    "doors": [],

    "programs": [],

    "accessories": [],

    "subsection": "Homekit",

    "variables": ["Anwesenheit", "Automatikfunktionen"]

    },


    {

    "platform": "Alexa",

    "name": "Alexa",

    "username": "Imperium9999",

    "password": "*******",

    "pin": "031-45-155"

    }]


    }


    Ich bekomme jetzt folgende Fehler beim Starten der Homebridge:


    *** WARNING *** The program 'node' uses the Apple Bonjour compatibility layer of Avahi.

    *** WARNING *** Please fix your application to use the native API of Avahi!

    *** WARNING *** For more information see <http://0pointer.de/avahi-compat?s=libdns_sd&e=node>

    *** WARNING *** The program 'node' called 'DNSServiceRegister()' which is not supported (or only supported partially) in the Apple Bonjour compatibility layer of Avahi.

    *** WARNING *** Please fix your application to use the native API of Avahi!

    *** WARNING *** For more information see <http://0pointer.de/avahi-compa…node&f=DNSServiceRegister>

    [7/18/2019, 2:53:51 PM] ====================

    [7/18/2019, 2:53:51 PM] ERROR LOADING PLUGIN homebridge-alexa:

    [7/18/2019, 2:53:51 PM] SyntaxError: Block-scoped declarations (let, const, function, class) not yet supported outside strict mode

    at exports.runInThisContext (vm.js:53:16)

    at Module._compile (module.js:373:25)

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

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

    at Function.Module._load (module.js:300:12)

    at Module.require (module.js:353:17)

    at require (internal/module.js:12:17)

    at Object.<anonymous> (/usr/local/lib/node_modules/homebridge-alexa/node_modules/debug/src/index.js:9:19)

    at Module._compile (module.js:409:26)

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

    [7/18/2019, 2:53:51 PM] ====================

    [7/18/2019, 2:53:52 PM] Loaded plugin: homebridge-homematic

    [7/18/2019, 2:53:52 PM] Registering platform 'homebridge-homematic.HomeMatic'

    [7/18/2019, 2:53:52 PM] ---

    [7/18/2019, 2:53:52 PM] Loaded config.json with 0 accessories and 2 platforms.

    [7/18/2019, 2:53:52 PM] ---

    [7/18/2019, 2:53:52 PM] Loading 2 platforms...

    [7/18/2019, 2:53:52 PM] [HomeMatic CCU2] Initializing HomeMatic platform...

    [7/18/2019, 2:53:52 PM] [HomeMatic CCU2] Homematic Plugin Version 0.0.97

    [7/18/2019, 2:53:52 PM] [HomeMatic CCU2] Plugin by thkl https://github.com/thkl

    [7/18/2019, 2:53:52 PM] [HomeMatic CCU2] Homematic is a registered trademark of the EQ-3 AG

    [7/18/2019, 2:53:52 PM] [HomeMatic CCU2] Please report any issues to https://github.com/thkl/homebridge-homematic/issues

    [7/18/2019, 2:53:52 PM] [HomeMatic CCU2] will connect to your ccu at 192.168.178.49

    [7/18/2019, 2:53:52 PM] [HomeMatic CCU2] using binrpc for communication with BidCos-RF

    [7/18/2019, 2:53:52 PM] [HomeMatic CCU2] init RPC for BidCos-RF.

    [7/18/2019, 2:53:52 PM] [HomeMatic CCU2] local ip used : 192.168.178.52. you may change that with local_ip parameter in config

    [7/18/2019, 2:53:52 PM] [HomeMatic CCU2] Fetching Homematic devices...

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

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

    ^


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

    at API.platform (/usr/local/lib/node_modules/homebridge/lib/api.js:122:13)

    at Server.str.replace.Server._loadPlatforms (/usr/local/lib/node_modules/homebridge/lib/server.js:294:45)

    at Server.str.replace.Server.run (/usr/local/lib/node_modules/homebridge/lib/server.js:85: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:409:26)

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

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

    at Function.Module._load (module.js:300:12)

    at Function.Module.runMain (module.js:441:10)


    Ich hoffe ihr könnt mir Helfen :)

    Danke schonmal!