Was läuft falsch ?

  • Hallo.

    Ich habe auf meinem Raspberry Homekit mit 3 Plugins installiert.

    Das Fritz Box Plug in funktioniert einwandfrei und wird angezeigt in Apple Homekit.

    Dann habe ich noch ein Plugin für Hue installiert und eines für Tado. Weder Tado noch Hue wird in der Homekit App angezeigt.

    Es wird kein Fehler ausgegeben, funktioniert aber trotzdem nicht.


    Folgendes wird angezeigt beim Starten von Homebridge:


    Loaded plugin: homebridge-fritz

    [3/21/2017, 7:01:36 PM] Registering platform 'homebridge-fritz.Fritz!Box'

    [3/21/2017, 7:01:36 PM] ---

    [3/21/2017, 7:01:38 PM] Loaded plugin: homebridge-fritzbox

    [3/21/2017, 7:01:38 PM] Registering platform 'homebridge-fritzbox.FRITZ!Box'

    [3/21/2017, 7:01:38 PM] ---

    [3/21/2017, 7:01:39 PM] Loaded plugin: homebridge-hue

    [3/21/2017, 7:01:39 PM] Registering platform 'homebridge-hue.Hue'

    [3/21/2017, 7:01:39 PM] ---

    [3/21/2017, 7:01:39 PM] Loaded plugin: homebridge-tado

    [3/21/2017, 7:01:39 PM] Registering accessory 'homebridge-tado.TADO'

    [3/21/2017, 7:01:39 PM] ---

    [3/21/2017, 7:01:39 PM] Loaded config.json with 1 accessories and 2 platforms.

    [3/21/2017, 7:01:39 PM] ---

    [3/21/2017, 7:01:39 PM] Loading 2 platforms...

    [3/21/2017, 7:01:39 PM] [My FritzBox] Initializing Fritz!Box platform...

    [3/21/2017, 7:01:39 PM] [Hue] Initializing Hue platform...

    [3/21/2017, 7:01:39 PM] [Hue] homebridge-hue v0.3.11, node v4.3.2, homebridge api v2.1

    [3/21/2017, 7:01:39 PM] Loading 1 accessories...

    [3/21/2017, 7:01:39 PM] [Tado] Initializing TADO accessory...

    [3/21/2017, 7:01:39 PM] [Hue] Wohnung Coburg: BSB002 bridge, api v1.17.0

    [3/21/2017, 7:01:39 PM] [Hue] Wohnung Coburg: 1 accessories

    [3/21/2017, 7:01:39 PM] [Hue] Initializing platform accessory 'Wohnung Coburg'...

    [3/21/2017, 7:01:39 PM] [Hue] Wohnung Coburg: 2 services

    [3/21/2017, 7:01:42 PM] [My FritzBox] Fritz!Box platform login successful

    [3/21/2017, 7:01:42 PM] [My FritzBox] Discovering accessories

    [3/21/2017, 7:01:43 PM] [My FritzBox] Outlets found:

    [3/21/2017, 7:01:44 PM] [My FritzBox] Thermostats found:

    [3/21/2017, 7:01:44 PM] [My FritzBox] Sensors found:

    [3/21/2017, 7:01:44 PM] [My FritzBox] Initializing platform accessory 'Guest WLAN'...

    Scan this code with your HomeKit App on your iOS device to pair with Homebridge:

  • {
    "bridge":{
    "name":"Homebridge",
    "username":"CC:22:3D:E3:CE:30",
    "port":51826,
    "pin":"031-45-154"
    },
    "accessories":[
    {
    "accessory": "TADO",
    "name": "Tado",
    "homeID": "58817",
    "username": "xxxxxxxx",
    "password": "xxxxxxx"
    }
    ],
    "platforms":[
    {
    "platform":"Fritz!Box",
    "name":"My FritzBox",
    "username":"xxxxxx",
    "password":"xxxxxxxx",
    "url":"http://fritz.box",
    "interval":60,
    "options":{
    "strictSSL":false
    }
    },
    {
    "platform":"Hue",
    "name":"Hue",
    "host":"192.168.178.39",
    "users":{
    "001788FFFE2B4540": "2vDQgVaxG6M1tbt98-SJ5JBjDxicrLrncoMhgR1o"
    }
    ,
    "sensors":false,
    "excludeSensorTypes":[
    "CLIP",
    "Geofence",
    "Daylight"
    ],
    "lowBattery":25,
    "lights":false,
    "philipsLights":false,
    "ct":false,
    "groups":false,
    "group0":false,
    "rooms":false,
    "schedules":false,
    "rules":false,
    "heartrate":5,
    "waitTimeUpdate":20,
    "timeout":5,
    "parallelRequests":10,
    "waitTimeResend":300
    }
    ]
    }

  • was meinst du mit hue plugin wird nicht angezeigt ?


    bei dir dürfte von hue maximal die


    "heartrate":5,


    angezeigt werden, da alles andere "false", wenn ich nicht irre.


    ist auch ok, denn kannst ja die hue-app-eigenen räume eh in der apple app übernehmen. die dürften da doch aber angezeigt werden, oder ?

  • Mxas88


    sonst stell in der config bei der hue die "sensors":true


    wenn du keine hue motion hast, macht das zwar nicht wirklich sinn, aber -glaube- er zeigt dann zuminest den daylight sensor der hue-bridge an. dann sieht man, ob du DEN in der apple-app angezeigt bekommst.

  • Die Lampen werden ganz normal über die Original Hue App in der HomeKit App angezeigt.


    Hab jetzt mal die Sensoren auf True gestellt.


    [3/22/2017, 6:37:06 PM] Loaded plugin: homebridge-fritz

    [3/22/2017, 6:37:07 PM] Registering platform 'homebridge-fritz.Fritz!Box'

    [3/22/2017, 6:37:07 PM] ---

    [3/22/2017, 6:37:08 PM] Loaded plugin: homebridge-fritzbox

    [3/22/2017, 6:37:08 PM] Registering platform 'homebridge-fritzbox.FRITZ!Box'

    [3/22/2017, 6:37:08 PM] ---

    [3/22/2017, 6:37:09 PM] Loaded plugin: homebridge-hue

    [3/22/2017, 6:37:09 PM] Registering platform 'homebridge-hue.Hue'

    [3/22/2017, 6:37:09 PM] ---

    [3/22/2017, 6:37:09 PM] Loaded plugin: homebridge-tado

    [3/22/2017, 6:37:09 PM] Registering accessory 'homebridge-tado.TADO'

    [3/22/2017, 6:37:09 PM] ---

    [3/22/2017, 6:37:09 PM] Loaded config.json with 1 accessories and 2 platforms.

    [3/22/2017, 6:37:09 PM] ---

    [3/22/2017, 6:37:09 PM] Loading 2 platforms...

    [3/22/2017, 6:37:09 PM] [My FritzBox] Initializing Fritz!Box platform...

    [3/22/2017, 6:37:09 PM] [Hue] Initializing Hue platform...

    [3/22/2017, 6:37:09 PM] [Hue] homebridge-hue v0.3.11, node v4.3.2, homebridge api v2.1

    [3/22/2017, 6:37:09 PM] Loading 1 accessories...

    [3/22/2017, 6:37:09 PM] [Tado] Initializing TADO accessory...

    [3/22/2017, 6:37:09 PM] [Hue] Wohnung Coburg: BSB002 bridge, api v1.17.0

    [3/22/2017, 6:37:09 PM] [Hue] Wohnung Coburg: 18 accessories

    [3/22/2017, 6:37:09 PM] [Hue] Initializing platform accessory 'Wohnung Coburg'...

    [3/22/2017, 6:37:09 PM] [Hue] Wohnung Coburg: 2 services

    [3/22/2017, 6:37:09 PM] [Hue] Initializing platform accessory 'Daylight'...

    [3/22/2017, 6:37:09 PM] [Hue] Initializing platform accessory 'Schlafzimmer'...

    [3/22/2017, 6:37:09 PM] [Hue] Initializing platform accessory 'Wohnzimmer'...

    [3/22/2017, 6:37:09 PM] [Hue] Initializing platform accessory 'Dimmer Switch 4 SceneCycle'...

    [3/22/2017, 6:37:09 PM] [Hue] Initializing platform accessory 'iPhone 7 ms'...

    [3/22/2017, 6:37:09 PM] [Hue] Initializing platform accessory 'iPhone 7 ms'...

    [3/22/2017, 6:37:09 PM] [Hue] Initializing platform accessory 'iPhone 7 ms'...

    [3/22/2017, 6:37:09 PM] [Hue] Initializing platform accessory 'HomeAway'...

    [3/22/2017, 6:37:09 PM] [Hue] Initializing platform accessory 'HomeAway'...

    [3/22/2017, 6:37:09 PM] [Hue] Initializing platform accessory 'HomeAway'...

    [3/22/2017, 6:37:09 PM] [Hue] Initializing platform accessory 'Katharina'...

    [3/22/2017, 6:37:09 PM] [Hue] Initializing platform accessory 'Hue temperature sensor 1'...

    [3/22/2017, 6:37:09 PM] [Hue] Initializing platform accessory 'MotionSensor 14.Companion'...

    [3/22/2017, 6:37:09 PM] [Hue] Initializing platform accessory 'XFDani[1]sn:state'...

    [3/22/2017, 6:37:09 PM] [Hue] Initializing platform accessory 'XFDani[1][1]sn:step'...

    [3/22/2017, 6:37:09 PM] [Hue] Initializing platform accessory 'XFDHueDim4Btn1001State'...

    [3/22/2017, 6:37:09 PM] [Hue] Initializing platform accessory 'XFDHueDim2Btn1000State'...

    [3/22/2017, 6:37:10 PM] [My FritzBox] Fritz!Box platform login successful

    [3/22/2017, 6:37:10 PM] [My FritzBox] Discovering accessories

    [3/22/2017, 6:37:11 PM] [My FritzBox] Outlets found:

    [3/22/2017, 6:37:12 PM] [My FritzBox] Thermostats found:

    [3/22/2017, 6:37:12 PM] [My FritzBox] Sensors found:

    [3/22/2017, 6:37:12 PM] [My FritzBox] Initializing platform accessory 'Guest WLAN'...

    Scan this code with your HomeKit App on your iOS device to pair with Homebridge:

    ??????????????

    ? 031-45-154 ?

    ??????????????

    events.js:141

    throw er; // Unhandled 'error' event

    ^


    Error: listen EADDRINUSE :::51826

    at Object.exports._errnoException (util.js:870:11)

    at exports._exceptionWithHostPort (util.js:893:20)

    at Server._listen2 (net.js:1236:14)

    at listen (net.js:1272:10)

    at Server.listen (net.js:1368:5)

    at EventedHTTPServer.listen (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/lib/util/eventedhttp.js:60:19)

    at HAPServer.listen (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/lib/HAPServer.js:158:20)

    at Bridge.Accessory.publish (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/lib/Accessory.js:496:16)

    at Server._publish (/usr/local/lib/node_modules/homebridge/lib/server.js:114:16)

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

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

    at /usr/local/lib/node_modules/homebridge-fritz/index.js:125:25

    at tryCatcher (/usr/local/lib/node_modules/homebridge-fritz/node_modules/bluebird/js/release/util.js:16:23)

    at Promise._settlePromiseFromHandler (/usr/local/lib/node_modules/homebridge-fritz/node_modules/bluebird/js/release/promise.js:512:31)

    at Promise._settlePromise (/usr/local/lib/node_modules/homebridge-fritz/node_modules/bluebird/js/release/promise.js:569:18)

    at Promise._fulfillPromises (/usr/local/lib/node_modules/homebridge-fritz/node_modules/bluebird/js/release/promise.js:668:14)



    Jetzt kommen die obigen Fehler.

  • Have you ever received an Error: listen EADDRINUSE? Well this error is a Generic TCP/IP message thrown by nodejs apps trying to listen on a port already being listened to.. This is normally caused by a homebridge process running in the background without you realizing it.


    Gib ein "killall hombridge"

    Dann nochmal neu starten

  • Ja, ich glaube ich habe das Problem gefunden.


    Es lief zweimal Homebridge


    einmal: homebridge

    und einmal: sudo Homebridge


    Wie kann ich das denn ändern? Ich hab das wohl zweimal installiert