Apple Homekit: die Hoffnung stirbt zuletzt

Begonnen von eldrik, 23 Januar 2015, 13:57:07

Vorheriges Thema - Nächstes Thema

stratege-0815

Hallo zusammen,
bei mir läuft es jetzt auch.
Pilight Steckdosen können über Siri geschaltet werden. Ein paar Fallen hatte ich mir noch selber gestellt...

Der Raum in der Hombridge heißt "Homekit" und ich hatte den via FHEM als HomeKit angelegt. Kleine Ursache große Wirkung.

Dann hatte ich versucht Eve zu koppeln und der Hombridge Server war gar nicht gestartet, Aua.  >:( das passierte weil er zu diesem Zeitpunkt noch nicht als Dienst etabliert war.

Beim Versuch den Start gemäß der Anleitung aus meintechlog.de zu automatisieren hatte ich vergessen die Pfade anzupassen und in meiner /etc/init.d/homebridge stand Müll. Das musste ich auch erst einmal wieder komplett zurückdrehen bis es dann im zweiten Anlauf lief.

Alles Kleinigkeiten die große Auswirkungen hatten. Ich hoffe mit dieser Rückmeldung eventuell anderen helfen zu können.

Gruß
Jan

CarstenF

@stratege-0815
Hi, welcher Fehler hat denn zu diesem EADDRINUSE geführt? Also die Portbelegung. War das der automatisierte Start? Ich habe nämlich den gleichen Fehler.
Gruß Carsten
Raspberry Pi4
CUL 868, CUL 433, LaCrosse Gateway, Zigbeetomqtt2, HUE, Homematic
Max-Cube umgeflasht
MAX!, FhemtoFhem, Homebridge, FhemConnector, IR_Gateway und sonst auch noch allerlei Spielzeug....

janlau

Guten Abend,
habe gerade noch einmal das steuern der Rollladen über Siri probiert und es funktionierte :)
Der Befehl lautete: Öffne die Jalousien bzw. Schließe die Jalousien. Dies war auch möglich in einzelnen Räumen.
Also z.B. Öffne die Jalousien im Kinderzimmer.
Meine iOS Version ist die aktuelle Public Beta von iOS 9.1

Ma_Bo

Welches genericdevicestype hast du für die Rolladen vergeben ?
NUC mit FHEM, HM Heizungsthermostate, HM Wandthermostate, Intertechno Funksteckdosen, 10" Tablet als Wanddisplay, KeyMatic, Fensterkontakte, Fensterkontakte umgebaut als Wassermelder und Briefkastenmelder, Aussenthermostat, Anwesenheitssteuerung über Fritz Box, Google Home usw. usw.

janlau

Zitat von: Ma_Bo am 02 November 2015, 18:26:58
Welches genericdevicestype hast du für die Rolladen vergeben ?

ich habe den genericDeviceType blind verwendet.

Habe gerade mal mehrere Rollladen in einen Raum gepackt. Leider wird immer nur eine pro Raum angesteuert. Aber denke mal auch dieses Problem wird bald behoben.

volschin


Zitat von: janlau am 02 November 2015, 18:17:18
Meine iOS Version ist die aktuelle Public Beta von iOS 9.1
Es gibt keine aktuelle 9.1 Beta, höchstens 9.2 Beta 1.
Intel NUC+Ubuntu 24.04+Docker+FHEM6
HomeMatic: HM-MOD-RPI-PCB+HM-USB-CFG2+hmland+diverse, HUE: Hue-Bridge, RaspBee+deCONZ+diverse
Amzn Dash-Buttons, Siro Rollos
4xRPi, 4xCO20, OWL+USB, HarmonyHub, FRITZ!Box 7690, Echo Dots+Show8, HomeBridge

janlau

Zitat von: volschin am 02 November 2015, 18:30:43
Es gibt keine aktuelle 9.1 Beta, höchstens 9.2 Beta 1.

Ohhh dann wird es wohl die offizielle Version sein. Ist die 9.1 (13B143). 9.2 Habe ich noch nicht installiert.

Ma_Bo

#1342
Wie kann ich ALLE Daten aus EVE löschen, habe meine Bridge gestoppt und einige Devices in fhem gelöscht, dann die Bridge wieder gestartet, jetzt sind alle unter EVE auf N.V., auf der Konsole kann ich sehen, dass die Bridge vernünftig läuft, nur EVE zickt rum, löschen der App bringt auch nix, da die Daten ja aus der Cloud gezogen werden.

*********EDIT

hab es unter homekit gelöscht, jetzt startet leider die Bridge mit folgendem Fehler :

events.js:72
        throw er; // Unhandled 'error' event
              ^
Error: listen EADDRINUSE
    at errnoException (net.js:904:11)
    at Server._listen2 (net.js:1042:14)
    at listen (net.js:1064:10)
    at Server.listen (net.js:1138:5)
    at EventedHTTPServer.listen (/home/pi/homebridge/node_modules/hap-nodejs/lib/util/eventedhttp.js:58:19)
    at HAPServer.listen (/home/pi/homebridge/node_modules/hap-nodejs/lib/HAPServer.js:132:20)
    at Bridge.Accessory.publish (/home/pi/homebridge/node_modules/hap-nodejs/lib/Accessory.js:347:16)
    at publish (/home/pi/homebridge/app.js:215:10)
    at /home/pi/homebridge/app.js:140:9
    at /home/pi/homebridge/node_modules/hap-nodejs/lib/util/once.js:15:19
NUC mit FHEM, HM Heizungsthermostate, HM Wandthermostate, Intertechno Funksteckdosen, 10" Tablet als Wanddisplay, KeyMatic, Fensterkontakte, Fensterkontakte umgebaut als Wassermelder und Briefkastenmelder, Aussenthermostat, Anwesenheitssteuerung über Fritz Box, Google Home usw. usw.

SpeedMaxX

Hi, warst Du schon in den Systemeinstellungen unter Datenschutz?

Waldgeist78

langsam wird es unübersichtlich...

RasPi ~/homebridge $ cd persist
rm *

iPhone => Einstellungen => Datenschutz => HomeKit => Konfig zurücksetzen

Raspi/Hombridge neu starten und alles von vorne einrichten

Porky666

Hallo auch ich komme nicht weiter,
Scheint alles zu laufen, aber kein connect mehr mit EVE oder anderen Apps.
Löschen von den persist Dateien und HomeKit zurücksetzten alles nix.
Einen anderen Raum zur Nutzung mit 1 Device eingetragen - kein connect mit EVE.
Vielleicht kann mir ja jemand auf die Sprünge helfen.
Rechner ist ein Odroid u3 mit guter ausreichender Performance.
Egal von welchem IOS Device mit aktueller Public Beta oder aktueller IOS Release.

npm run start Ausgabe :
Welcome to Ubuntu 15.10 (GNU/Linux 3.8.13.30 armv7l)

* Documentation:  https://help.ubuntu.com/

Last login: Mon Nov  2 20:45:55 2015 from 192.168.178.46
root@fhem:~# su odroid
odroid@fhem:/root$ cd /home/odroid/homebridge/p
persist/   platforms/
odroid@fhem:/root$ cd /home/odroid/homebridge/persist/
odroid@fhem:~/homebridge/persist$ ls
odroid@fhem:~/homebridge/persist$ cd ..
odroid@fhem:~/homebridge$ npm run start

> homebridge@0.1.1 start /home/odroid/homebridge
> DEBUG=* node app.js || true

*** 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-compat?s=libdns_sd&e=node&f=DNSServiceRegister>
Starting HomeBridge server...
_____________________________________________________________________
IMPORTANT: Homebridge is in the middle of some big changes.
           Read more about it here:
           https://github.com/nfarina/homebridge/wiki/Migration-Guide
_____________________________________________________________________

Loading 1 platforms...
[FHEM] Initializing FHEM platform...
starting longpoll: http://192.168.178.50:8083/fhem.pl?XHR=1&inform=type=status;filter=.*;since=null;fmt=JSON&timestamp=1446493709956
[FHEM] Fetching FHEM switchable devices...
[FHEM] fetching: http://192.168.178.50:8083/fhem?cmd=jsonlist2%20room=Homekit&XHR=1
Loading 0 accessories...
Server listening on: http://<ip>:8081
[FHEM] got: 18 results
[FHEM] Aussensensor has temperature [temperature]
[FHEM] Aussensensor has light [luminosity]
[FHEM] Aussensensor has battery [battery]
[FHEM] Aussensensor has firmware [D-firmware]
[FHEM] Aussenthermometer has temperature [temperature]
[FHEM] Aussenthermometer has humidity [humidity]
[FHEM] Aussenthermometer has battery [battery]
[FHEM] Aussenthermometer has firmware [D-firmware]
[FHEM] Herdlicht is switchable
[FHEM] Herdlicht has onOff [state;on,off]
[FHEM] PCA301_01A21E is switchable
[FHEM] PCA301_01A21E has onOff [state;on,off]
[FHEM] PCA301_02BD83 is switchable
[FHEM] PCA301_02BD83 has onOff [state;on,off]
[FHEM] PCA301_03A005 is outlet
[FHEM] PCA301_03A005 has onOff [state;on,off]
[FHEM] PCA301_09F38B is switchable
[FHEM] PCA301_09F38B has onOff [state;on,off]
[FHEM] PCA301_09F7A5 is switchable
[FHEM] PCA301_09F7A5 has onOff [state;on,off]
[FHEM] SAECO is switchable
[FHEM] SAECO has onOff [state;on,off]
[FHEM] Spuellicht is switchable
[FHEM] Spuellicht has onOff [state;on,off]
[FHEM] Stehlampe_SZ is switchable
[FHEM] Stehlampe_SZ has onOff [state;on,off]
[FHEM] TV is switchable
[FHEM] TV has onOff [state;on,off]
[FHEM] Thermostat_Bad is thermostat [desired-temp;6-30:0.5]
[FHEM] Thermostat_Bad has temperature [measured-temp]
[FHEM] Thermostat_Bad has humidity [humidity]
[FHEM] Thermostat_Bad has battery [battery]
[FHEM] Thermostat_Bad has firmware [D-firmware]
[FHEM] Thermostat_SZ is thermostat [desired-temp;6-30:0.5]
[FHEM] Thermostat_SZ has temperature [measured-temp]
[FHEM] Thermostat_SZ has humidity [humidity]
[FHEM] Thermostat_SZ has battery [battery]
[FHEM] Thermostat_SZ has firmware [D-firmware]
[FHEM] Thermostat_WZ is thermostat [desired-temp;6-30:0.5]
[FHEM] Thermostat_WZ has temperature [measured-temp]
[FHEM] Thermostat_WZ has humidity [humidity]
[FHEM] Thermostat_WZ has battery [battery]
[FHEM] Thermostat_WZ has firmware [D-firmware]
[FHEM] Trockner is switchable
[FHEM] Trockner has onOff [state;on,off]
[FHEM] Waschmaschine is switchable
[FHEM] Waschmaschine has onOff [state;on,off]
[FHEM] XBMCBAD is switchable
[FHEM] XBMCBAD has onOff [state;on,off]
[FHEM] Initializing platform accessory 'Aussensensor'...
[FHEM] creating services for Aussensensor
[FHEM]   information service for Aussensensor
[FHEM]     firmware revision characteristic for Aussensensor
[FHEM]   temperature sensor service for Aussensensor
[FHEM]     temperature characteristic for Aussensensor
[FHEM]     light characteristic for Aussensensor
[FHEM]     battery status characteristic for Aussensensor
[FHEM] Initializing platform accessory 'Aussenthermometer'...
[FHEM] creating services for Aussenthermometer
[FHEM]   information service for Aussenthermometer
[FHEM]     firmware revision characteristic for Aussenthermometer
[FHEM]   temperature sensor service for Aussenthermometer
[FHEM]     temperature characteristic for Aussenthermometer
[FHEM]     humidity characteristic for Aussenthermometer
[FHEM]     battery status characteristic for Aussenthermometer
[FHEM] Initializing platform accessory 'Herdlicht'...
[FHEM] creating services for Herdlicht
[FHEM]   information service for Herdlicht
[FHEM]   switch service for Herdlicht (undefined)
[FHEM]     on characteristic for Herdlicht
[FHEM] Initializing platform accessory 'PCA301_01A21E'...
[FHEM] creating services for PCA301_01A21E
[FHEM]   information service for PCA301_01A21E
[FHEM]   switch service for PCA301_01A21E (undefined)
[FHEM]     on characteristic for PCA301_01A21E
[FHEM] Initializing platform accessory 'PCA301_02BD83'...
[FHEM] creating services for PCA301_02BD83
[FHEM]   information service for PCA301_02BD83
[FHEM]   switch service for PCA301_02BD83 (undefined)
[FHEM]     on characteristic for PCA301_02BD83
[FHEM] Initializing platform accessory 'PCA301_03A005'...
[FHEM] creating services for PCA301_03A005
[FHEM]   information service for PCA301_03A005
[FHEM]   outlet service for PCA301_03A005
[FHEM]     on characteristic for PCA301_03A005
[FHEM] Initializing platform accessory 'PCA301_09F38B'...
[FHEM] creating services for PCA301_09F38B
[FHEM]   information service for PCA301_09F38B
[FHEM]   switch service for PCA301_09F38B (undefined)
[FHEM]     on characteristic for PCA301_09F38B
[FHEM] Initializing platform accessory 'PCA301_09F7A5'...
[FHEM] creating services for PCA301_09F7A5
[FHEM]   information service for PCA301_09F7A5
[FHEM]   switch service for PCA301_09F7A5 (undefined)
[FHEM]     on characteristic for PCA301_09F7A5
[FHEM] Initializing platform accessory 'SAECO'...
[FHEM] creating services for SAECO
[FHEM]   information service for SAECO
[FHEM]   switch service for SAECO (undefined)
[FHEM]     on characteristic for SAECO
[FHEM] Initializing platform accessory 'Spuellicht'...
[FHEM] creating services for Spuellicht
[FHEM]   information service for Spuellicht
[FHEM]   switch service for Spuellicht (undefined)
[FHEM]     on characteristic for Spuellicht
[FHEM] Initializing platform accessory 'Stehlampe_SZ'...
[FHEM] creating services for Stehlampe_SZ
[FHEM]   information service for Stehlampe_SZ
[FHEM]   switch service for Stehlampe_SZ (undefined)
[FHEM]     on characteristic for Stehlampe_SZ
[FHEM] Initializing platform accessory 'TV'...
[FHEM] creating services for TV
[FHEM]   information service for TV
[FHEM]   switch service for TV (undefined)
[FHEM]     on characteristic for TV
[FHEM] Initializing platform accessory 'Thermostat_Bad'...
[FHEM] creating services for Thermostat_Bad
[FHEM]   information service for Thermostat_Bad
[FHEM]     firmware revision characteristic for Thermostat_Bad
[FHEM]   thermostat service for Thermostat_Bad
[FHEM]     temperature characteristic for Thermostat_Bad
[FHEM]     humidity characteristic for Thermostat_Bad
[FHEM]     battery status characteristic for Thermostat_Bad
[FHEM]     target temperature characteristic for Thermostat_Bad
[FHEM] Initializing platform accessory 'Thermostat_SZ'...
[FHEM] creating services for Thermostat_SZ
[FHEM]   information service for Thermostat_SZ
[FHEM]     firmware revision characteristic for Thermostat_SZ
[FHEM]   thermostat service for Thermostat_SZ
[FHEM]     temperature characteristic for Thermostat_SZ
[FHEM]     humidity characteristic for Thermostat_SZ
[FHEM]     battery status characteristic for Thermostat_SZ
[FHEM]     target temperature characteristic for Thermostat_SZ
[FHEM] Initializing platform accessory 'Thermostat_WZ'...
[FHEM] creating services for Thermostat_WZ
[FHEM]   information service for Thermostat_WZ
[FHEM]     firmware revision characteristic for Thermostat_WZ
[FHEM]   thermostat service for Thermostat_WZ
[FHEM]     temperature characteristic for Thermostat_WZ
[FHEM]     humidity characteristic for Thermostat_WZ
[FHEM]     battery status characteristic for Thermostat_WZ
[FHEM]     target temperature characteristic for Thermostat_WZ
[FHEM] Initializing platform accessory 'Trockner'...
[FHEM] creating services for Trockner
[FHEM]   information service for Trockner
[FHEM]   switch service for Trockner (undefined)
[FHEM]     on characteristic for Trockner
[FHEM] Initializing platform accessory 'Waschmaschine'...
[FHEM] creating services for Waschmaschine
[FHEM]   information service for Waschmaschine
[FHEM]   switch service for Waschmaschine (undefined)
[FHEM]     on characteristic for Waschmaschine
[FHEM] Initializing platform accessory 'XBMCBAD'...
[FHEM] creating services for XBMCBAD
[FHEM]   information service for XBMCBAD
[FHEM]   switch service for XBMCBAD (undefined)
[FHEM]     on characteristic for XBMCBAD
Scan this code with your HomeKit App on your iOS device:

    ┌────────────┐
    │ 031-45-154 │
    └────────────┘

  Accessory [Homebridge] Creating new AccessoryInfo for our HAP server +0ms
  Accessory [Homebridge] Creating new IdentifierCache +20ms
  EventedHTTPServer Server listening on port 51826 +64ms
  2015-11-02 19:49:09 caching: Aussensensor-luminosity: 133.16981132075472 as number

Gruß
Stefan
ODROID U3 1GB Ubuntu immer aktuell
FHEM immer das aktuellste Development
Defined modules:

COC; CULv3; HMLAN :HM-CC-SCD,HM-CC-TC,HM-LC-SW4-PCB,HM-LC-Sw1PBU-FM,HM-OU-LED16,HM-SCI-3-FM,HM-SEC-SC,HM-SEC-WIN,HM-WDS10-TH-O; ESA2000; FS20; HUEBridge; Huedevices; IT; JeeLink :PCA301 :panstamp:

CarstenF

Hallo auch, vielleicht weiß ja jemand Rat. Dieser Fehler wird immer mal wieder im Thread erwähnt, jedoch steht nirgendwo eine Lösung. Wenn ich Homebridge starte, kann ich dem Startprozess auch munter zuschauen. Alle Devices im Raum HomeKit werden eingelesen Siehe unten.
Mit viel Glück und vielen Neustarts erhascht man in EVE zumindest mal einen Blick auf die Homebridge (nur suchen), jedoch kommt keine Verbindung zustande, weil irgendwas blockiert. Weiß jemand, welchen Schalter man umlegen muß (und wie das geht), damit die Bridge sauber läuft.
Ich habe die Bridge schon mehrfach in EVE gelöscht, die Datenschutzeinstellungen für HomeKit auf dem IPAD zurückgesetzt, Das iPad resettet und auch den Raspberry PI mehrfach neugestartet. Es scheint mir, das ein Prozess einen bestimmten Port blockiert, der für die Kommunikation mit EVE zuständig ist. Ich finde aber nichts. Vielleicht hat ja jemand eine Idee.

Gruß Carsten

pi@raspberrypi ~/homebridge $ npm run start

> homebridge@0.1.1 start /home/pi/homebridge
> DEBUG=* node app.js || true

*** 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-compat?s=libdns_sd&e=node&f=DNSServiceRegister>
Starting HomeBridge server...
_____________________________________________________________________
IMPORTANT: Homebridge is in the middle of some big changes.
           Read more about it here:
           https://github.com/nfarina/homebridge/wiki/Migration-Guide
_____________________________________________________________________

Loading 1 platforms...
[FHEM] Initializing FHEM platform...
starting longpoll: http://192.168.1.22:8083/fhem.pl?XHR=1&inform=type=status;filter=.*;since=null;fmt=JSON&timestamp=1446538902164
[FHEM] Fetching FHEM switchable devices...
[FHEM] fetching: http://192.168.1.22:8083/fhem?cmd=jsonlist2%20room=Homekit&XHR=1
Loading 0 accessories...
Server error: Error: listen EADDRINUSE
[FHEM] got: 42 results
[FHEM] ignoring Aufsteh_Carsten (dummy)
[FHEM] Balkonsensor has temperature [temperature]
[FHEM] Balkonsensor has humidity [humidity]
[FHEM] Balkonsensor has battery [battery]
[FHEM]   caching: Balkonsensor-temperature: 6.4 as number (from 6.4)
[FHEM]   caching: Balkonsensor-humidity: 81 as number (from 81)
[FHEM]   caching: Balkonsensor-battery: 0 as number (from ok)
[FHEM] Carfi_Iphone is occupancy sensor
[FHEM]   caching: Carfi_Iphone-state: 1 as number (from present)
[FHEM] Fernsehen is switchable
[FHEM] Fernsehen has onOff [state;on,off]
[FHEM]   caching: Fernsehen-state: 0 as number (from off)
[FHEM] Flurlicht_Gross is switchable
[FHEM] Flurlicht_Gross has onOff [state;on,off]
[FHEM]   caching: Flurlicht_Gross-state: 0 as number (from off)
[FHEM] IT_000000FFFF is switchable
[FHEM] IT_000000FFFF has onOff [state;on,off]
[FHEM]   caching: IT_000000FFFF-state: 0 as number (from off)
[FHEM] IT_00000F000F is switchable
[FHEM] IT_00000F000F has onOff [state;on,off]
[FHEM]   caching: IT_00000F000F-state: 0 as number (from off)
[FHEM] IT_00000F0FFF is switchable
[FHEM] IT_00000F0FFF has onOff [state;on,off]
[FHEM]   caching: IT_00000F0FFF-state: 0 as number (from off)
[FHEM] IT_00000FF0FF is switchable
[FHEM] IT_00000FF0FF has onOff [state;on,off]
[FHEM]   caching: IT_00000FF0FF-state: 0 as number (from off)
[FHEM] IT_00000FFF0F is switchable
[FHEM] IT_00000FFF0F has onOff [state;on,off]
[FHEM]   caching: IT_00000FFF0F-state: 1 as number (from on)
[FHEM] IT_0011101000111011101011111001010 is switchable
[FHEM] IT_0011101000111011101011111001010 has onOff [state;on,off]
[FHEM]   caching: IT_0011101000111011101011111001010-state: 0 as number (from off)
[FHEM] IT_0011101000111011101011111001011 is switchable
[FHEM] IT_0011101000111011101011111001011 has onOff [state;on,off]
[FHEM]   caching: IT_0011101000111011101011111001011-state: 0 as number (from off)
[FHEM] IT_00FF0FFF0F is switchable
[FHEM] IT_00FF0FFF0F has onOff [state;on,off]
[FHEM]   caching: IT_00FF0FFF0F-state: 0 as number (from off)
[FHEM] IT_0FFF00FFFF is switchable
[FHEM] IT_0FFF00FFFF has onOff [state;on,off]
[FHEM]   caching: IT_0FFF00FFFF-state: 0 as number (from off)
[FHEM] IT_0FFF0F0FFF is switchable
[FHEM] IT_0FFF0F0FFF has onOff [state;on,off]
[FHEM]   caching: IT_0FFF0F0FFF-state: 0 as number (from off)
[FHEM] IT_0FFF0FF0FF is switchable
[FHEM] IT_0FFF0FF0FF has onOff [state;on,off]
[FHEM]   caching: IT_0FFF0FF0FF-state: 1 as number (from on)
[FHEM] IT_0FFFF0FFFF is switchable
[FHEM] IT_0FFFF0FFFF has onOff [state;on,off]
[FHEM]   caching: IT_0FFFF0FFFF-state: 0 as number (from off)
[FHEM] IT_F0000FF0FF is switchable
[FHEM] IT_F0000FF0FF has onOff [state;on,off]
[FHEM]   caching: IT_F0000FF0FF-state: 1 as number (from on)
[FHEM] IT_F0000FFF0F is switchable
[FHEM] IT_F0000FFF0F has onOff [state;on,off]
[FHEM]   caching: IT_F0000FFF0F-state: 0 as number (from off)
[FHEM] Josh_Iphone is occupancy sensor
[FHEM]   caching: Josh_Iphone-state: 0 as number (from absent)
[FHEM] Kuechebunt_links has RGB [rgb]
[FHEM] Kuechebunt_links has onOff [state;on,off]
[FHEM] Kuechebunt_links has hue [hue;0-360]
[FHEM] Kuechebunt_links has sat [sat;0-100]
[FHEM]   caching: Kuechebunt_links-hue: 116 as number (from 116)
[FHEM]   caching: Kuechebunt_links-rgb: 000A00 as string (from 000A00)
[FHEM]   caching: Kuechebunt_links-state: 1 as number (from on 4)
[FHEM] Kuechebunt_rechts has RGB [rgb]
[FHEM] Kuechebunt_rechts has onOff [state;on,off]
[FHEM] Kuechebunt_rechts has hue [hue;0-360]
[FHEM] Kuechebunt_rechts has sat [sat;0-100]
[FHEM]   caching: Kuechebunt_rechts-hue: 120 as number (from 120)
[FHEM]   caching: Kuechebunt_rechts-rgb: 000A00 as string (from 000A00)
[FHEM]   caching: Kuechebunt_rechts-state: 1 as number (from on 4)
[FHEM] LaCrosse_26 has temperature [temperature]
[FHEM] LaCrosse_26 has humidity [humidity]
[FHEM] LaCrosse_26 has battery [battery]
[FHEM]   caching: LaCrosse_26-temperature: 16.1 as number (from 16.1)
[FHEM]   caching: LaCrosse_26-humidity: 72 as number (from 72)
[FHEM]   caching: LaCrosse_26-battery: 0 as number (from ok)
[FHEM] LaCrosse_2A has temperature [temperature]
[FHEM] LaCrosse_2A has humidity [humidity]
[FHEM] LaCrosse_2A has battery [battery]
[FHEM]   caching: LaCrosse_2A-temperature: 14.9 as number (from 14.9)
[FHEM]   caching: LaCrosse_2A-humidity: 71 as number (from 71)
[FHEM]   caching: LaCrosse_2A-battery: 0 as number (from ok)
[FHEM] LaCrosse_3C has temperature [temperature]
[FHEM] LaCrosse_3C has humidity [humidity]
[FHEM] LaCrosse_3C has battery [battery]
[FHEM]   caching: LaCrosse_3C-temperature: 22 as number (from 22)
[FHEM]   caching: LaCrosse_3C-humidity: 65 as number (from 65)
[FHEM]   caching: LaCrosse_3C-battery: 0 as number (from ok)
[FHEM] MAX_0458e1 is thermostat [desiredTemperature;5.0-30.0:0.5]
[FHEM] MAX_0458e1 has thermostat mode [mode;desiredTemperature]
[FHEM] MAX_0458e1 has temperature [temperature]
[FHEM] MAX_0458e1 has humidity [humidity]
[FHEM] MAX_0458e1 has battery [battery]
[FHEM] MAX_0458e1 has firmware [firmware]
[FHEM]   caching: MAX_0458e1-temperature: 17.2 as number (from 17.2)
[FHEM]   caching: MAX_0458e1-humidity: 0 as number (from 0)
[FHEM]   caching: MAX_0458e1-battery: 0 as number (from ok)
[FHEM]   caching: MAX_0458e1-firmware: 1.6 as string (from 1.6)
[FHEM]   caching: MAX_0458e1-desiredTemperature: 15.5 as number (from 15.5)
[FHEM]   caching: MAX_0458e1-mode: 1 as number (from manual)
[FHEM] MAX_04dc10 is contact sensor [state]
[FHEM] MAX_04dc10 has battery [battery]
[FHEM] MAX_04dc10 has firmware [firmware]
[FHEM]   caching: MAX_04dc10-battery: 0 as number (from ok)
[FHEM]   caching: MAX_04dc10-firmware: 1.3 as string (from 1.3)
[FHEM]   caching: MAX_04dc10-state: 0 as number (from closed)
[FHEM] MAX_04dd98 is contact sensor [state]
[FHEM] MAX_04dd98 has battery [battery]
[FHEM] MAX_04dd98 has firmware [firmware]
[FHEM]   caching: MAX_04dd98-battery: 0 as number (from ok)
[FHEM]   caching: MAX_04dd98-firmware: 1.3 as string (from 1.3)
[FHEM]   caching: MAX_04dd98-state: 0 as number (from closed)
[FHEM] MAX_0f0920 is contact sensor [state]
[FHEM] MAX_0f0920 has battery [battery]
[FHEM] MAX_0f0920 has firmware [firmware]
[FHEM]   caching: MAX_0f0920-battery: 0 as number (from ok)
[FHEM]   caching: MAX_0f0920-firmware: 1.0 as string (from 1.0)
[FHEM]   caching: MAX_0f0920-state: 0 as number (from closed)
[FHEM] MAX_0f1168 is contact sensor [state]
[FHEM] MAX_0f1168 has battery [battery]
[FHEM] MAX_0f1168 has firmware [firmware]
[FHEM]   caching: MAX_0f1168-battery: 0 as number (from ok)
[FHEM]   caching: MAX_0f1168-firmware: 1.0 as string (from 1.0)
[FHEM]   caching: MAX_0f1168-state: 1 as number (from opened)
[FHEM] MAX_0f1252 is contact sensor [state]
[FHEM] MAX_0f1252 has battery [battery]
[FHEM] MAX_0f1252 has firmware [firmware]
[FHEM]   caching: MAX_0f1252-battery: 0 as number (from ok)
[FHEM]   caching: MAX_0f1252-firmware: 1.0 as string (from 1.0)
[FHEM]   caching: MAX_0f1252-state: 0 as number (from closed)
[FHEM] MAX_0f1269 is contact sensor [state]
[FHEM] MAX_0f1269 has battery [battery]
[FHEM] MAX_0f1269 has firmware [firmware]
[FHEM]   caching: MAX_0f1269-battery: 0 as number (from ok)
[FHEM]   caching: MAX_0f1269-firmware: 1.0 as string (from 1.0)
[FHEM]   caching: MAX_0f1269-state: 0 as number (from closed)
[FHEM] MAX_0f1595 is contact sensor [state]
[FHEM] MAX_0f1595 has battery [battery]
[FHEM] MAX_0f1595 has firmware [firmware]
[FHEM]   caching: MAX_0f1595-battery: 0 as number (from ok)
[FHEM]   caching: MAX_0f1595-firmware: 1.0 as string (from 1.0)
[FHEM]   caching: MAX_0f1595-state: 1 as number (from opened)
[FHEM] ignoring Nachhausekomm_Carsten (dummy)
[FHEM] PCA301_019FFA is switchable
[FHEM] PCA301_019FFA has onOff [state;on,off]
[FHEM]   caching: PCA301_019FFA-state: 1 as number (from on)
[FHEM] PCA301_027367 is switchable
[FHEM] PCA301_027367 has onOff [state;on,off]
[FHEM]   caching: PCA301_027367-state: 1 as number (from on)
[FHEM] PCA301_0E7AB5 is switchable
[FHEM] PCA301_0E7AB5 has onOff [state;on,off]
[FHEM]   caching: PCA301_0E7AB5-state: 1 as number (from on)
[FHEM] PCA301_0E7C2B is switchable
[FHEM] PCA301_0E7C2B has onOff [state;on,off]
[FHEM]   caching: PCA301_0E7C2B-state: 1 as number (from on)
[FHEM] PCA301_0FA73B is switchable
[FHEM] PCA301_0FA73B has onOff [state;on,off]
[FHEM]   caching: PCA301_0FA73B-state: 1 as number (from on)
[FHEM] Wohnzimmerfluter_einzeln is switchable
[FHEM] Wohnzimmerfluter_einzeln has onOff [state;on,off]
[FHEM]   caching: Wohnzimmerfluter_einzeln-state: 1 as number (from on)
[FHEM] Wohnzimmersensor has temperature [temperature]
[FHEM] Wohnzimmersensor has humidity [humidity]
[FHEM] Wohnzimmersensor has battery [battery]
[FHEM]   caching: Wohnzimmersensor-temperature: 17 as number (from 17)
[FHEM]   caching: Wohnzimmersensor-humidity: 70 as number (from 70)
[FHEM]   caching: Wohnzimmersensor-battery: 0 as number (from ok)
[FHEM] ignoring mareen (dummy)
[FHEM] Initializing platform accessory 'Balkonsensor'...
[FHEM] creating services for Balkonsensor
[FHEM]   information service for Balkonsensor
[FHEM]   temperature sensor service for Balkonsensor
[FHEM]     temperature characteristic for Balkonsensor
[FHEM]     humidity characteristic for Balkonsensor
[FHEM]     battery status characteristic for Balkonsensor
[FHEM] Initializing platform accessory 'Carfi_Iphone'...
[FHEM] creating services for Carfi_Iphone
[FHEM]   information service for Carfi_Iphone
[FHEM]   occupancy sensor service for Carfi_Iphone
[FHEM]     occupancy detected characteristic for Carfi_Iphone
[FHEM] Initializing platform accessory 'Fernsehen'...
[FHEM] creating services for Fernsehen
[FHEM]   information service for Fernsehen
[FHEM]   switch service for Fernsehen
[FHEM]     on characteristic for Fernsehen
[FHEM] Initializing platform accessory 'Flurlicht_Gross'...
[FHEM] creating services for Flurlicht_Gross
[FHEM]   information service for Flurlicht_Gross
[FHEM]   switch service for Flurlicht_Gross
[FHEM]     on characteristic for Flurlicht_Gross
[FHEM] Initializing platform accessory 'IT_000000FFFF'...
[FHEM] creating services for IT_000000FFFF
[FHEM]   information service for IT_000000FFFF
[FHEM]   switch service for IT_000000FFFF
[FHEM]     on characteristic for IT_000000FFFF
[FHEM] Initializing platform accessory 'IT_00000F000F'...
[FHEM] creating services for IT_00000F000F
[FHEM]   information service for IT_00000F000F
[FHEM]   switch service for IT_00000F000F
[FHEM]     on characteristic for IT_00000F000F
[FHEM] Initializing platform accessory 'IT_00000F0FFF'...
[FHEM] creating services for IT_00000F0FFF
[FHEM]   information service for IT_00000F0FFF
[FHEM]   switch service for IT_00000F0FFF
[FHEM]     on characteristic for IT_00000F0FFF
[FHEM] Initializing platform accessory 'IT_00000FF0FF'...
[FHEM] creating services for IT_00000FF0FF
[FHEM]   information service for IT_00000FF0FF
[FHEM]   switch service for IT_00000FF0FF
[FHEM]     on characteristic for IT_00000FF0FF
[FHEM] Initializing platform accessory 'IT_00000FFF0F'...
[FHEM] creating services for IT_00000FFF0F
[FHEM]   information service for IT_00000FFF0F
[FHEM]   switch service for IT_00000FFF0F
[FHEM]     on characteristic for IT_00000FFF0F
[FHEM] Initializing platform accessory 'IT_0011101000111011101011111001010'...
[FHEM] creating services for IT_0011101000111011101011111001010
[FHEM]   information service for IT_0011101000111011101011111001010
[FHEM]   switch service for IT_0011101000111011101011111001010
[FHEM]     on characteristic for IT_0011101000111011101011111001010
[FHEM] Initializing platform accessory 'IT_0011101000111011101011111001011'...
[FHEM] creating services for IT_0011101000111011101011111001011
[FHEM]   information service for IT_0011101000111011101011111001011
[FHEM]   switch service for IT_0011101000111011101011111001011
[FHEM]     on characteristic for IT_0011101000111011101011111001011
[FHEM] Initializing platform accessory 'IT_00FF0FFF0F'...
[FHEM] creating services for IT_00FF0FFF0F
[FHEM]   information service for IT_00FF0FFF0F
[FHEM]   switch service for IT_00FF0FFF0F
[FHEM]     on characteristic for IT_00FF0FFF0F
[FHEM] Initializing platform accessory 'IT_0FFF00FFFF'...
[FHEM] creating services for IT_0FFF00FFFF
[FHEM]   information service for IT_0FFF00FFFF
[FHEM]   switch service for IT_0FFF00FFFF
[FHEM]     on characteristic for IT_0FFF00FFFF
[FHEM] Initializing platform accessory 'IT_0FFF0F0FFF'...
[FHEM] creating services for IT_0FFF0F0FFF
[FHEM]   information service for IT_0FFF0F0FFF
[FHEM]   switch service for IT_0FFF0F0FFF
[FHEM]     on characteristic for IT_0FFF0F0FFF
[FHEM] Initializing platform accessory 'IT_0FFF0FF0FF'...
[FHEM] creating services for IT_0FFF0FF0FF
[FHEM]   information service for IT_0FFF0FF0FF
[FHEM]   switch service for IT_0FFF0FF0FF
[FHEM]     on characteristic for IT_0FFF0FF0FF
[FHEM] Initializing platform accessory 'IT_0FFFF0FFFF'...
[FHEM] creating services for IT_0FFFF0FFFF
[FHEM]   information service for IT_0FFFF0FFFF
[FHEM]   switch service for IT_0FFFF0FFFF
[FHEM]     on characteristic for IT_0FFFF0FFFF
[FHEM] Initializing platform accessory 'IT_F0000FF0FF'...
[FHEM] creating services for IT_F0000FF0FF
[FHEM]   information service for IT_F0000FF0FF
[FHEM]   switch service for IT_F0000FF0FF
[FHEM]     on characteristic for IT_F0000FF0FF
[FHEM] Initializing platform accessory 'IT_F0000FFF0F'...
[FHEM] creating services for IT_F0000FFF0F
[FHEM]   information service for IT_F0000FFF0F
[FHEM]   switch service for IT_F0000FFF0F
[FHEM]     on characteristic for IT_F0000FFF0F
[FHEM] Initializing platform accessory 'Josh_Iphone'...
[FHEM] creating services for Josh_Iphone
[FHEM]   information service for Josh_Iphone
[FHEM]   occupancy sensor service for Josh_Iphone
[FHEM]     occupancy detected characteristic for Josh_Iphone
[FHEM] Initializing platform accessory 'Kuechebunt_links'...
[FHEM] creating services for Kuechebunt_links
[FHEM]   information service for Kuechebunt_links
[FHEM]   switch service for Kuechebunt_links
[FHEM]     on characteristic for Kuechebunt_links
[FHEM]     hue characteristic for Kuechebunt_links
[FHEM]     saturation characteristic for Kuechebunt_links
[FHEM] Initializing platform accessory 'Kuechebunt_rechts'...
[FHEM] creating services for Kuechebunt_rechts
[FHEM]   information service for Kuechebunt_rechts
[FHEM]   switch service for Kuechebunt_rechts
[FHEM]     on characteristic for Kuechebunt_rechts
[FHEM]     hue characteristic for Kuechebunt_rechts
[FHEM]     saturation characteristic for Kuechebunt_rechts
[FHEM] Initializing platform accessory 'LaCrosse_26'...
[FHEM] creating services for LaCrosse_26
[FHEM]   information service for LaCrosse_26
[FHEM]   temperature sensor service for LaCrosse_26
[FHEM]     temperature characteristic for LaCrosse_26
[FHEM]     humidity characteristic for LaCrosse_26
[FHEM]     battery status characteristic for LaCrosse_26
[FHEM] Initializing platform accessory 'LaCrosse_2A'...
[FHEM] creating services for LaCrosse_2A
[FHEM]   information service for LaCrosse_2A
[FHEM]   temperature sensor service for LaCrosse_2A
[FHEM]     temperature characteristic for LaCrosse_2A
[FHEM]     humidity characteristic for LaCrosse_2A
[FHEM]     battery status characteristic for LaCrosse_2A
[FHEM] Initializing platform accessory 'LaCrosse_3C'...
[FHEM] creating services for LaCrosse_3C
[FHEM]   information service for LaCrosse_3C
[FHEM]   temperature sensor service for LaCrosse_3C
[FHEM]     temperature characteristic for LaCrosse_3C
[FHEM]     humidity characteristic for LaCrosse_3C
[FHEM]     battery status characteristic for LaCrosse_3C
[FHEM] Initializing platform accessory 'MAX_0458e1'...
[FHEM] creating services for MAX_0458e1
[FHEM]   information service for MAX_0458e1
[FHEM]     firmware revision characteristic for MAX_0458e1
[FHEM]   thermostat service for MAX_0458e1
[FHEM]     temperature characteristic for MAX_0458e1
[FHEM]     humidity characteristic for MAX_0458e1
[FHEM]     battery status characteristic for MAX_0458e1
[FHEM]     target temperature characteristic for MAX_0458e1
[FHEM] Initializing platform accessory 'MAX_04dc10'...
[FHEM] creating services for MAX_04dc10
[FHEM]   information service for MAX_04dc10
[FHEM]     firmware revision characteristic for MAX_04dc10
[FHEM]   contact sensor service for MAX_04dc10
[FHEM]     battery status characteristic for MAX_04dc10
[FHEM]     contact sensor characteristic for MAX_04dc10
[FHEM]     current door state characteristic for MAX_04dc10
[FHEM] Initializing platform accessory 'MAX_04dd98'...
[FHEM] creating services for MAX_04dd98
[FHEM]   information service for MAX_04dd98
[FHEM]     firmware revision characteristic for MAX_04dd98
[FHEM]   contact sensor service for MAX_04dd98
[FHEM]     battery status characteristic for MAX_04dd98
[FHEM]     contact sensor characteristic for MAX_04dd98
[FHEM]     current door state characteristic for MAX_04dd98
[FHEM] Initializing platform accessory 'MAX_0f0920'...
[FHEM] creating services for MAX_0f0920
[FHEM]   information service for MAX_0f0920
[FHEM]     firmware revision characteristic for MAX_0f0920
[FHEM]   contact sensor service for MAX_0f0920
[FHEM]     battery status characteristic for MAX_0f0920
[FHEM]     contact sensor characteristic for MAX_0f0920
[FHEM]     current door state characteristic for MAX_0f0920
[FHEM] Initializing platform accessory 'MAX_0f1168'...
[FHEM] creating services for MAX_0f1168
[FHEM]   information service for MAX_0f1168
[FHEM]     firmware revision characteristic for MAX_0f1168
[FHEM]   contact sensor service for MAX_0f1168
[FHEM]     battery status characteristic for MAX_0f1168
[FHEM]     contact sensor characteristic for MAX_0f1168
[FHEM]     current door state characteristic for MAX_0f1168
[FHEM] Initializing platform accessory 'MAX_0f1252'...
[FHEM] creating services for MAX_0f1252
[FHEM]   information service for MAX_0f1252
[FHEM]     firmware revision characteristic for MAX_0f1252
[FHEM]   contact sensor service for MAX_0f1252
[FHEM]     battery status characteristic for MAX_0f1252
[FHEM]     contact sensor characteristic for MAX_0f1252
[FHEM]     current door state characteristic for MAX_0f1252
[FHEM] Initializing platform accessory 'MAX_0f1269'...
[FHEM] creating services for MAX_0f1269
[FHEM]   information service for MAX_0f1269
[FHEM]     firmware revision characteristic for MAX_0f1269
[FHEM]   contact sensor service for MAX_0f1269
[FHEM]     battery status characteristic for MAX_0f1269
[FHEM]     contact sensor characteristic for MAX_0f1269
[FHEM]     current door state characteristic for MAX_0f1269
[FHEM] Initializing platform accessory 'MAX_0f1595'...
[FHEM] creating services for MAX_0f1595
[FHEM]   information service for MAX_0f1595
[FHEM]     firmware revision characteristic for MAX_0f1595
[FHEM]   contact sensor service for MAX_0f1595
[FHEM]     battery status characteristic for MAX_0f1595
[FHEM]     contact sensor characteristic for MAX_0f1595
[FHEM]     current door state characteristic for MAX_0f1595
[FHEM] Initializing platform accessory 'PCA301_019FFA'...
[FHEM] creating services for PCA301_019FFA
[FHEM]   information service for PCA301_019FFA
[FHEM]   switch service for PCA301_019FFA
[FHEM]     on characteristic for PCA301_019FFA
[FHEM] Initializing platform accessory 'PCA301_027367'...
[FHEM] creating services for PCA301_027367
[FHEM]   information service for PCA301_027367
[FHEM]   switch service for PCA301_027367
[FHEM]     on characteristic for PCA301_027367
[FHEM] Initializing platform accessory 'PCA301_0E7AB5'...
[FHEM] creating services for PCA301_0E7AB5
[FHEM]   information service for PCA301_0E7AB5
[FHEM]   switch service for PCA301_0E7AB5
[FHEM]     on characteristic for PCA301_0E7AB5
[FHEM] Initializing platform accessory 'PCA301_0E7C2B'...
[FHEM] creating services for PCA301_0E7C2B
[FHEM]   information service for PCA301_0E7C2B
[FHEM]   switch service for PCA301_0E7C2B
[FHEM]     on characteristic for PCA301_0E7C2B
[FHEM] Initializing platform accessory 'PCA301_0FA73B'...
[FHEM] creating services for PCA301_0FA73B
[FHEM]   information service for PCA301_0FA73B
[FHEM]   switch service for PCA301_0FA73B
[FHEM]     on characteristic for PCA301_0FA73B
[FHEM] Initializing platform accessory 'Wohnzimmerfluter_einzeln'...
[FHEM] creating services for Wohnzimmerfluter_einzeln
[FHEM]   information service for Wohnzimmerfluter_einzeln
[FHEM]   switch service for Wohnzimmerfluter_einzeln
[FHEM]     on characteristic for Wohnzimmerfluter_einzeln
[FHEM] Initializing platform accessory 'Wohnzimmersensor'...
[FHEM] creating services for Wohnzimmersensor
[FHEM]   information service for Wohnzimmersensor
[FHEM]   temperature sensor service for Wohnzimmersensor
[FHEM]     temperature characteristic for Wohnzimmersensor
[FHEM]     humidity characteristic for Wohnzimmersensor
[FHEM]     battery status characteristic for Wohnzimmersensor
Scan this code with your HomeKit App on your iOS device:
                       
    ┌────────────┐     
    │ 031-45-154 │     
    └────────────┘     
                       
  Accessory [Homebridge] Creating new AccessoryInfo for our HAP server +0ms
  Accessory [Homebridge] Creating new IdentifierCache +254ms

events.js:72
        throw er; // Unhandled 'error' event
              ^
Error: listen EADDRINUSE
    at errnoException (net.js:904:11)
    at Server._listen2 (net.js:1042:14)
    at listen (net.js:1064:10)
    at Server.listen (net.js:1138:5)
    at EventedHTTPServer.listen (/home/pi/homebridge/node_modules/hap-nodejs/lib/util/eventedhttp.js:58:19)
    at HAPServer.listen (/home/pi/homebridge/node_modules/hap-nodejs/lib/HAPServer.js:132:20)
    at Bridge.Accessory.publish (/home/pi/homebridge/node_modules/hap-nodejs/lib/Accessory.js:347:16)
    at publish (/home/pi/homebridge/app.js:215:10)
    at /home/pi/homebridge/app.js:140:9
    at /home/pi/homebridge/node_modules/hap-nodejs/lib/util/once.js:15:19
Raspberry Pi4
CUL 868, CUL 433, LaCrosse Gateway, Zigbeetomqtt2, HUE, Homematic
Max-Cube umgeflasht
MAX!, FhemtoFhem, Homebridge, FhemConnector, IR_Gateway und sonst auch noch allerlei Spielzeug....

stratege-0815

Hallo Carsten,
diese Fehlermeldung habe ich bisher auch noch nicht verstanden. Ich habe 2x den persist Ordner geleert, 2x die MAC Adresse in der config.json von homebridge geändert und beim dritten mal neu Konfiguration lief es dann.
Insgesamt ist das ganze leider für mich auch noch mit einigen Fragezeichen behaftet - sprich ich weiss nicht an allen Stellen was wie ineinander greift.
Gruß
Jan

knueppler

Hi,

die Meldung EADDRINUSE gibt schon den richtigen Hinweis, homebridge will eine Adresse (Port) verwenden, die schon belegt ist.
Erläuterung bspw. hier: https://github.com/nfarina/homebridge/issues/76
ZitatEADDRINUSE occurs when node will start a server on a port which is already in use. Homebridge has a hard coded starting port 51826 in app.js. From this port number it counts new port numbers for each accessory. Maybe one of this is already in use by another process...

Ciao, Christian

CarstenF

Hm, also wenn ich z.B. in der Config.json den Anfangsport verändere, könnte die Meldung weg sein. Das probiere ich mal....:-)
Werde berichten ob es funktioniert.
Raspberry Pi4
CUL 868, CUL 433, LaCrosse Gateway, Zigbeetomqtt2, HUE, Homematic
Max-Cube umgeflasht
MAX!, FhemtoFhem, Homebridge, FhemConnector, IR_Gateway und sonst auch noch allerlei Spielzeug....