[gelöst] Homebridge wird nicht gefunden

Begonnen von binford6000, 27 Dezember 2017, 10:37:02

Vorheriges Thema - Nächstes Thema

binford6000

Hallo Zusammen,
ich kann auf meinen iOS Geräten (iPhone 6s und iPad Air2) keine homebridge mehr finden. Weder Eve noch Home können die Homebridge finden.
Egal ob über Code-Eingabe oder QR-Code-Bild. Ein Nanoleaf Aurora taucht aber zB. auf und kann auch verbunden und genutzt werden...

Hier mal die Eckdaten:
hardware: raspi3
debian: aktuelles debian stretch 9.3
node: 6.12.2
homebridge: 0.4.33
homebridge-fhem: 0.37
EDIT: iOS jeweils auf dem neusten Stand: 11.2.1

Meine config.json sieht so aus:

{
    "bridge": {
        "name": "Homebridge",
        "username": "0C:23:3D:E3:CE:30",
        "port": 51826,
        "pin": "031-45-154"
    },

    "platforms": [
        {
            "platform": "FHEM",
            "name": "FHEM",
            "server": "127.0.0.1",
            "port": "8088",
            "filter": "room=Homekit"
        }
     ],

    "accessories": []
}


Dabei ist es egal ob homebridge manuell oder als Dienst(systemd) gestartet wird.

Was ich bereits gemacht habe:
- update homebridge und homebridge-fhem
- alles komplett neu installiert (ohne Fehlermeldung)
- persist-Ordner gelöscht und homebridge neu gestartet
- user(MAC-Adresse) geändert und homebridge neu gestartet
- mehrmals die Home-App zurückgesetzt

Hier die Ausgabe auf der Console bei manuellem Start. Sieht soweit für mich alles gut aus:

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-compat?s=libdns_sd&e=node&f=DNSServiceRegister>
[2017-12-27 09:52:51] Loaded plugin: homebridge-fhem
homebridge API version: 2.2
this homebridge-fhem 0.3.7
[2017-12-27 09:52:51] Registering platform 'homebridge-fhem.FHEM'
[2017-12-27 09:52:51] ---
[2017-12-27 09:52:51] Loaded config.json with 0 accessories and 1 platforms.
[2017-12-27 09:52:51] ---
[2017-12-27 09:52:51] Loading 1 platforms...
[2017-12-27 09:52:51] [FHEM] Initializing FHEM platform...
starting longpoll: http://127.0.0.1:8088/fhem?XHR=1&inform=type=status;addglobal=1;filter=.*;since=null;fmt=JSON&timestamp=1514364772742
[2017-12-27 09:52:52] [FHEM] Fetching FHEM devices...
[2017-12-27 09:52:52] Loading 0 accessories...
Server listening on: http://<ip>:8282
[2017-12-27 09:52:52] [FHEM] Checking devices and attributes...
[2017-12-27 09:52:52] [FHEM]   executing: http://127.0.0.1:8088/fhem?cmd=%7BAttrVal(%22global%22,%22userattr%22,%22%22)%7D&XHR=1
[2017-12-27 09:52:52] [FHEM]   executing: http://127.0.0.1:8088/fhem?cmd=jsonlist2%20TYPE=siri&XHR=1
[2017-12-27 09:52:52] [FHEM] siri device is siri
[2017-12-27 09:52:52] [FHEM]   executing: http://127.0.0.1:8088/fhem?cmd=%7B$defs%7Bsiri%7D-%3E%7B%22homebridge-fhem%20version%22%7D%20=%20%220.3.7%22%7D&XHR=1
[2017-12-27 09:52:53] [FHEM] Fetching FHEM devices...
[2017-12-27 09:52:53] [FHEM] fetching: http://127.0.0.1:8088/fhem?cmd=jsonlist2%20room=Homekit&XHR=1
[2017-12-27 09:52:53] [FHEM] got: 10 results
[2017-12-27 09:52:53] [FHEM] homebridgeMapping: SecuritySystemCurrentState=alarmState,values=armhome:0;armaway:1;armnight:2;disarm:3;alarm:4
SecuritySystemTargetState=modeAlarm,values=armhome:0;armaway:1;armnight:2;disarm:3,cmds=0:modeAlarm+armhome;1:modeAlarm+armaway;2:modeAlarm+armnight;3:modeAlarm+disarm,delay=1
SecuritySystemAlarmType=alarmTriggered_ct,values=0:0;/.*/:1
OccupancyDetected=presence,values=present:1;absent:0
Mute=dnd,valueOn=on,cmdOn=dnd+on,cmdOff=dnd+off
On=anyoneElseAtHome,valueOn=on,cmdOn=anyoneElseAtHome+on,cmdOff=anyoneElseAtHome+off
StatusTampered=sensorsTampered_ct,values=0:0;/.*/:1
MotionDetected=motionsInside_ct,values=0:0;/.*/:1
StatusLowBattery=batteryLow_ct,values=0:0;/.*/:1
E863F10F-079E-48FF-8F27-9C2605A29F52=pressure,name=AirPressure,format=UINT16
[2017-12-27 09:52:53] [FHEM] Wohnung is security
[2017-12-27 09:52:53] [FHEM] Wohnung has
[2017-12-27 09:52:53] [FHEM]   CurrentAmbientLightLevel [luminance]
[2017-12-27 09:52:53] [FHEM]   CurrentTemperature [temperature]
[2017-12-27 09:52:53] [FHEM]   CurrentRelativeHumidity [humidity]
[2017-12-27 09:52:53] [FHEM]   Custom AirPressure [pressure]
[2017-12-27 09:52:53] [FHEM]   SecuritySystemCurrentState [alarmState]
[2017-12-27 09:52:53] [FHEM]   SecuritySystemTargetState [modeAlarm]
[2017-12-27 09:52:53] [FHEM]   SecuritySystemAlarmType [alarmTriggered_ct]
[2017-12-27 09:52:53] [FHEM]   OccupancyDetected [presence]
[2017-12-27 09:52:53] [FHEM]   Mute [dnd]
[2017-12-27 09:52:53] [FHEM]   On [anyoneElseAtHome;anyoneElseAtHome on,anyoneElseAtHome off]
[2017-12-27 09:52:53] [FHEM]   StatusTampered [sensorsTampered_ct]
[2017-12-27 09:52:53] [FHEM]   MotionDetected [motionsInside_ct]
[2017-12-27 09:52:53] [FHEM]   StatusLowBattery [batteryLow_ct]
  2017-12-27 09:52:53 caching: Wohnung-luminance: 10335
[2017-12-27 09:52:53] [FHEM]     caching: CurrentAmbientLightLevel: 10335 (as number; from '10335')
  2017-12-27 09:52:53 caching: Wohnung-temperature: 2
[2017-12-27 09:52:53] [FHEM]     caching: CurrentTemperature: 2 (as number; from '2')
  2017-12-27 09:52:53 caching: Wohnung-humidity: 90
[2017-12-27 09:52:53] [FHEM]     caching: CurrentRelativeHumidity: 90 (as number; from '90')
  2017-12-27 09:52:53 caching: Wohnung-pressure: 963
[2017-12-27 09:52:53] [FHEM]     caching: Custom AirPressure: 963 (as number; from '963')
  2017-12-27 09:52:53 caching: Wohnung-alarmState: disarm
[2017-12-27 09:52:53] [FHEM]     caching: SecuritySystemCurrentState: 3 (as number; means DISARMED; from 'disarm')
  2017-12-27 09:52:53 caching: Wohnung-alarmTriggered_ct: 0
[2017-12-27 09:52:53] [FHEM]     caching: SecuritySystemAlarmType: 0 (as number; from '0')
  2017-12-27 09:52:53 caching: Wohnung-presence: present
[2017-12-27 09:52:53] [FHEM]     caching: OccupancyDetected: 1 (as number; means OCCUPANCY_DETECTED; from 'present')
  2017-12-27 09:52:53 caching: Wohnung-dnd: off
[2017-12-27 09:52:53] [FHEM]     caching: Mute: false (as boolean; from 'off')
  2017-12-27 09:52:53 caching: Wohnung-anyoneElseAtHome: off
[2017-12-27 09:52:53] [FHEM]     caching: On: false (as boolean; from 'off')
  2017-12-27 09:52:53 caching: Wohnung-sensorsTampered_ct: 0
[2017-12-27 09:52:53] [FHEM]     caching: StatusTampered: 0 (as number; means NOT_TAMPERED; from '0')
  2017-12-27 09:52:53 caching: Wohnung-motionsInside_ct: 0
[2017-12-27 09:52:53] [FHEM]     caching: MotionDetected: false (as boolean; from '0')
  2017-12-27 09:52:53 caching: Wohnung-batteryLow_ct: 0
[2017-12-27 09:52:53] [FHEM]     caching: StatusLowBattery: 0 (as number; means BATTERY_LEVEL_NORMAL; from '0')
[2017-12-27 09:52:53] [FHEM] fl_tischlampe_licht is light
[2017-12-27 09:52:53] [FHEM] fl_tischlampe_licht has
[2017-12-27 09:52:53] [FHEM]   On [onoff;on,off]
[2017-12-27 09:52:53] [FHEM]   Brightness [bri]
  2017-12-27 09:52:53 caching: fl_tischlampe_licht-onoff: 0
[2017-12-27 09:52:53] [FHEM]     caching: On: 0 (as number; from '0')
  2017-12-27 09:52:53 caching: fl_tischlampe_licht-bri: 153
[2017-12-27 09:52:53] [FHEM]     caching: Brightness: 60 (as number; from '153')
[2017-12-27 09:52:53] [FHEM] homebridgeMapping: On=valueOn=home,cmdOn=home,cmdOff=absent
[2017-12-27 09:52:53] [FHEM] rr_Antonia is switch
[2017-12-27 09:52:53] [FHEM] rr_Antonia has
[2017-12-27 09:52:53] [FHEM]   OccupancyDetected [presence]
[2017-12-27 09:52:53] [FHEM]   On [undefined;home,absent]
  2017-12-27 09:52:53 caching: rr_Antonia-presence: absent
[2017-12-27 09:52:53] [FHEM]     caching: OccupancyDetected: 0 (as number; means OCCUPANCY_NOT_DETECTED; from 'absent')
  2017-12-27 09:52:53 caching: rr_Antonia-state: absent
[2017-12-27 09:52:53] [FHEM]     caching: On: false (as boolean; from 'absent')
[2017-12-27 09:52:53] [FHEM] homebridgeMapping: On=valueOn=home,cmdOn=home,cmdOff=absent
[2017-12-27 09:52:53] [FHEM] rr_Hannah is switch
[2017-12-27 09:52:53] [FHEM] rr_Hannah has
[2017-12-27 09:52:53] [FHEM]   OccupancyDetected [presence]
[2017-12-27 09:52:53] [FHEM]   On [undefined;home,absent]
  2017-12-27 09:52:53 caching: rr_Hannah-presence: absent
[2017-12-27 09:52:53] [FHEM]     caching: OccupancyDetected: 0 (as number; means OCCUPANCY_NOT_DETECTED; from 'absent')
  2017-12-27 09:52:53 caching: rr_Hannah-state: gone
[2017-12-27 09:52:53] [FHEM]     caching: On: false (as boolean; from 'gone')
[2017-12-27 09:52:53] [FHEM] homebridgeMapping: On=valueOn=home,cmdOn=home,cmdOff=absent
[2017-12-27 09:52:53] [FHEM] rr_Sebastian is switch
[2017-12-27 09:52:53] [FHEM] rr_Sebastian has
[2017-12-27 09:52:53] [FHEM]   OccupancyDetected [presence]
[2017-12-27 09:52:53] [FHEM]   On [undefined;home,absent]
  2017-12-27 09:52:53 caching: rr_Sebastian-presence: present
[2017-12-27 09:52:53] [FHEM]     caching: OccupancyDetected: 1 (as number; means OCCUPANCY_DETECTED; from 'present')
  2017-12-27 09:52:53 caching: rr_Sebastian-state: home
[2017-12-27 09:52:53] [FHEM]     caching: On: true (as boolean; from 'home')
[2017-12-27 09:52:53] [FHEM] sz_bett_licht is light
[2017-12-27 09:52:53] [FHEM] sz_bett_licht has
[2017-12-27 09:52:53] [FHEM]   On [onoff;on,off]
[2017-12-27 09:52:53] [FHEM]   Brightness [bri]
[2017-12-27 09:52:53] [FHEM]   Hue [hue;hue;0-65535]
[2017-12-27 09:52:53] [FHEM]   Saturation [sat;sat;0-254]
[2017-12-27 09:52:53] [FHEM]   colormode [colormode]
[2017-12-27 09:52:53] [FHEM]   xy [xy]
  2017-12-27 09:52:53 caching: sz_bett_licht-onoff: 0
[2017-12-27 09:52:53] [FHEM]     caching: On: 0 (as number; from '0')
  2017-12-27 09:52:53 caching: sz_bett_licht-bri: 1
[2017-12-27 09:52:53] [FHEM]     caching: Brightness: 0 (as number; from '1')
  2017-12-27 09:52:53 caching: sz_bett_licht-hue: 65242
[2017-12-27 09:52:53] [FHEM]     caching: Hue: 357 (as number; from '65242')
  2017-12-27 09:52:53 caching: sz_bett_licht-sat: 254
[2017-12-27 09:52:53] [FHEM]     caching: Saturation: 100 (as number; from '254')
  2017-12-27 09:52:53 caching: sz_bett_licht-colormode: xy
  2017-12-27 09:52:53 caching: sz_bett_licht-xy: 0.7064,0.2725
[2017-12-27 09:52:53] [FHEM] wz_kugel_licht is light
[2017-12-27 09:52:53] [FHEM] wz_kugel_licht has
[2017-12-27 09:52:53] [FHEM]   On [onoff;on,off]
[2017-12-27 09:52:53] [FHEM]   Brightness [bri]
[2017-12-27 09:52:53] [FHEM]   Hue [hue;hue;0-65535]
[2017-12-27 09:52:53] [FHEM]   Saturation [sat;sat;0-254]
[2017-12-27 09:52:53] [FHEM]   colormode [colormode]
[2017-12-27 09:52:53] [FHEM]   xy [xy]
  2017-12-27 09:52:53 caching: wz_kugel_licht-onoff: 0
[2017-12-27 09:52:53] [FHEM]     caching: On: 0 (as number; from '0')
  2017-12-27 09:52:53 caching: wz_kugel_licht-bri: 200
[2017-12-27 09:52:53] [FHEM]     caching: Brightness: 79 (as number; from '200')
  2017-12-27 09:52:53 caching: wz_kugel_licht-hue: 14948
[2017-12-27 09:52:53] [FHEM]     caching: Hue: 82 (as number; from '14948')
  2017-12-27 09:52:53 caching: wz_kugel_licht-sat: 143
[2017-12-27 09:52:53] [FHEM]     caching: Saturation: 56 (as number; from '143')
  2017-12-27 09:52:53 caching: wz_kugel_licht-colormode: hs
  2017-12-27 09:52:53 caching: wz_kugel_licht-xy: 0.4588,0.4104
[2017-12-27 09:52:53] [FHEM] wz_stehlampe_licht is light
[2017-12-27 09:52:53] [FHEM] wz_stehlampe_licht has
[2017-12-27 09:52:53] [FHEM]   On [onoff;on,off]
[2017-12-27 09:52:53] [FHEM]   Brightness [bri]
  2017-12-27 09:52:53 caching: wz_stehlampe_licht-onoff: 0
[2017-12-27 09:52:53] [FHEM]     caching: On: 0 (as number; from '0')
  2017-12-27 09:52:53 caching: wz_stehlampe_licht-bri: 153
[2017-12-27 09:52:53] [FHEM]     caching: Brightness: 60 (as number; from '153')
[2017-12-27 09:52:53] [FHEM] wz_strasse_licht is light
[2017-12-27 09:52:53] [FHEM] wz_strasse_licht has
[2017-12-27 09:52:53] [FHEM]   On [onoff;on,off]
[2017-12-27 09:52:53] [FHEM]   Brightness [bri]
[2017-12-27 09:52:53] [FHEM]   Hue [hue;hue;0-65535]
[2017-12-27 09:52:53] [FHEM]   Saturation [sat;sat;0-254]
[2017-12-27 09:52:53] [FHEM]   colormode [colormode]
[2017-12-27 09:52:53] [FHEM]   xy [xy]
  2017-12-27 09:52:53 caching: wz_strasse_licht-onoff: 0
[2017-12-27 09:52:53] [FHEM]     caching: On: 0 (as number; from '0')
  2017-12-27 09:52:53 caching: wz_strasse_licht-bri: 115
[2017-12-27 09:52:53] [FHEM]     caching: Brightness: 45 (as number; from '115')
  2017-12-27 09:52:53 caching: wz_strasse_licht-hue: 14948
[2017-12-27 09:52:53] [FHEM]     caching: Hue: 82 (as number; from '14948')
  2017-12-27 09:52:53 caching: wz_strasse_licht-sat: 143
[2017-12-27 09:52:53] [FHEM]     caching: Saturation: 56 (as number; from '143')
  2017-12-27 09:52:53 caching: wz_strasse_licht-colormode: hs
  2017-12-27 09:52:53 caching: wz_strasse_licht-xy: 0.4588,0.4104
[2017-12-27 09:52:53] [FHEM] wz_treppe_licht is light
[2017-12-27 09:52:53] [FHEM] wz_treppe_licht has
[2017-12-27 09:52:53] [FHEM]   On [onoff;on,off]
[2017-12-27 09:52:53] [FHEM]   Brightness [bri]
[2017-12-27 09:52:53] [FHEM]   Hue [hue;hue;0-65535]
[2017-12-27 09:52:53] [FHEM]   Saturation [sat;sat;0-254]
[2017-12-27 09:52:53] [FHEM]   colormode [colormode]
[2017-12-27 09:52:53] [FHEM]   xy [xy]
  2017-12-27 09:52:53 caching: wz_treppe_licht-onoff: 0
[2017-12-27 09:52:53] [FHEM]     caching: On: 0 (as number; from '0')
  2017-12-27 09:52:53 caching: wz_treppe_licht-bri: 200
[2017-12-27 09:52:53] [FHEM]     caching: Brightness: 79 (as number; from '200')
  2017-12-27 09:52:53 caching: wz_treppe_licht-hue: 14948
[2017-12-27 09:52:53] [FHEM]     caching: Hue: 82 (as number; from '14948')
  2017-12-27 09:52:53 caching: wz_treppe_licht-sat: 143
[2017-12-27 09:52:53] [FHEM]     caching: Saturation: 56 (as number; from '143')
  2017-12-27 09:52:53 caching: wz_treppe_licht-colormode: hs
  2017-12-27 09:52:53 caching: wz_treppe_licht-xy: 0.4588,0.4104
[2017-12-27 09:52:53] [FHEM] Initializing platform accessory 'Wohnung'...
[2017-12-27 09:52:53] [FHEM] creating services for Wohnung
[2017-12-27 09:52:53] [FHEM]   information service for Wohnung
[2017-12-27 09:52:53] [FHEM]     manufacturer, model and serial number characteristics for Wohnung
[2017-12-27 09:52:53] [FHEM]   SecuritySystem service for Wohnung
HAP Warning: Characteristic 0000006B-0000-1000-8000-0026BB765291 not in required or optional characteristics for service 0000007E-0000-1000-8000-0026BB765291. Adding anyway.
[2017-12-27 09:52:53] [FHEM]     CurrentAmbientLightLevel characteristic for Wohnung:luminance
HAP Warning: Characteristic 00000011-0000-1000-8000-0026BB765291 not in required or optional characteristics for service 0000007E-0000-1000-8000-0026BB765291. Adding anyway.
[2017-12-27 09:52:53] [FHEM]     CurrentTemperature characteristic for Wohnung:temperature
HAP Warning: Characteristic 00000010-0000-1000-8000-0026BB765291 not in required or optional characteristics for service 0000007E-0000-1000-8000-0026BB765291. Adding anyway.
[2017-12-27 09:52:53] [FHEM]     CurrentRelativeHumidity characteristic for Wohnung:humidity
[2017-12-27 09:52:53] [FHEM]     Custom AirPressure characteristic for Wohnung:pressure
[2017-12-27 09:52:53] [FHEM]     SecuritySystemCurrentState characteristic for Wohnung:alarmState
[2017-12-27 09:52:53] [FHEM]     SecuritySystemTargetState characteristic for Wohnung:modeAlarm
[2017-12-27 09:52:53] [FHEM]     SecuritySystemAlarmType characteristic for Wohnung:alarmTriggered_ct
HAP Warning: Characteristic 00000071-0000-1000-8000-0026BB765291 not in required or optional characteristics for service 0000007E-0000-1000-8000-0026BB765291. Adding anyway.
[2017-12-27 09:52:53] [FHEM]     OccupancyDetected characteristic for Wohnung:presence
HAP Warning: Characteristic 0000011A-0000-1000-8000-0026BB765291 not in required or optional characteristics for service 0000007E-0000-1000-8000-0026BB765291. Adding anyway.
[2017-12-27 09:52:53] [FHEM]     Mute characteristic for Wohnung:dnd
HAP Warning: Characteristic 00000025-0000-1000-8000-0026BB765291 not in required or optional characteristics for service 0000007E-0000-1000-8000-0026BB765291. Adding anyway.
[2017-12-27 09:52:53] [FHEM]     On characteristic for Wohnung:anyoneElseAtHome
[2017-12-27 09:52:53] [FHEM]     StatusTampered characteristic for Wohnung:sensorsTampered_ct
HAP Warning: Characteristic 00000022-0000-1000-8000-0026BB765291 not in required or optional characteristics for service 0000007E-0000-1000-8000-0026BB765291. Adding anyway.
[2017-12-27 09:52:53] [FHEM]     MotionDetected characteristic for Wohnung:motionsInside_ct
HAP Warning: Characteristic 00000079-0000-1000-8000-0026BB765291 not in required or optional characteristics for service 0000007E-0000-1000-8000-0026BB765291. Adding anyway.
[2017-12-27 09:52:53] [FHEM]     StatusLowBattery characteristic for Wohnung:batteryLow_ct
[2017-12-27 09:52:53] [FHEM] Initializing platform accessory 'fl_tischlampe_licht'...
[2017-12-27 09:52:53] [FHEM] creating services for fl_tischlampe_licht
[2017-12-27 09:52:53] [FHEM]   information service for fl_tischlampe_licht
[2017-12-27 09:52:53] [FHEM]     manufacturer, model and serial number characteristics for fl_tischlampe_licht
[2017-12-27 09:52:53] [FHEM]   Lightbulb service for fl_tischlampe_licht
[2017-12-27 09:52:53] [FHEM]     On characteristic for fl_tischlampe_licht:onoff
[2017-12-27 09:52:53] [FHEM]     Brightness characteristic for fl_tischlampe_licht:bri
[2017-12-27 09:52:53] [FHEM] Initializing platform accessory 'rr_Antonia'...
[2017-12-27 09:52:53] [FHEM] creating services for rr_Antonia
[2017-12-27 09:52:53] [FHEM]   information service for rr_Antonia
[2017-12-27 09:52:53] [FHEM]     manufacturer, model and serial number characteristics for rr_Antonia
[2017-12-27 09:52:53] [FHEM]   Switch service for rr_Antonia
HAP Warning: Characteristic 00000071-0000-1000-8000-0026BB765291 not in required or optional characteristics for service 00000049-0000-1000-8000-0026BB765291. Adding anyway.
[2017-12-27 09:52:53] [FHEM]     OccupancyDetected characteristic for rr_Antonia:presence
[2017-12-27 09:52:53] [FHEM]     On characteristic for rr_Antonia:state
[2017-12-27 09:52:53] [FHEM] Initializing platform accessory 'rr_Hannah'...
[2017-12-27 09:52:53] [FHEM] creating services for rr_Hannah
[2017-12-27 09:52:53] [FHEM]   information service for rr_Hannah
[2017-12-27 09:52:53] [FHEM]     manufacturer, model and serial number characteristics for rr_Hannah
[2017-12-27 09:52:53] [FHEM]   Switch service for rr_Hannah
HAP Warning: Characteristic 00000071-0000-1000-8000-0026BB765291 not in required or optional characteristics for service 00000049-0000-1000-8000-0026BB765291. Adding anyway.
[2017-12-27 09:52:53] [FHEM]     OccupancyDetected characteristic for rr_Hannah:presence
[2017-12-27 09:52:53] [FHEM]     On characteristic for rr_Hannah:state
[2017-12-27 09:52:53] [FHEM] Initializing platform accessory 'rr_Sebastian'...
[2017-12-27 09:52:53] [FHEM] creating services for rr_Sebastian
[2017-12-27 09:52:53] [FHEM]   information service for rr_Sebastian
[2017-12-27 09:52:53] [FHEM]     manufacturer, model and serial number characteristics for rr_Sebastian
[2017-12-27 09:52:53] [FHEM]   Switch service for rr_Sebastian
HAP Warning: Characteristic 00000071-0000-1000-8000-0026BB765291 not in required or optional characteristics for service 00000049-0000-1000-8000-0026BB765291. Adding anyway.
[2017-12-27 09:52:53] [FHEM]     OccupancyDetected characteristic for rr_Sebastian:presence
[2017-12-27 09:52:53] [FHEM]     On characteristic for rr_Sebastian:state
[2017-12-27 09:52:53] [FHEM] Initializing platform accessory 'sz_bett_licht'...
[2017-12-27 09:52:53] [FHEM] creating services for sz_bett_licht
[2017-12-27 09:52:53] [FHEM]   information service for sz_bett_licht
[2017-12-27 09:52:53] [FHEM]     manufacturer, model and serial number characteristics for sz_bett_licht
[2017-12-27 09:52:53] [FHEM]   Lightbulb service for sz_bett_licht
[2017-12-27 09:52:53] [FHEM]     On characteristic for sz_bett_licht:onoff
[2017-12-27 09:52:53] [FHEM]     Brightness characteristic for sz_bett_licht:bri
[2017-12-27 09:52:53] [FHEM]     Hue characteristic for sz_bett_licht:hue
[2017-12-27 09:52:53] [FHEM]     Saturation characteristic for sz_bett_licht:sat
[2017-12-27 09:52:53] [FHEM] Initializing platform accessory 'wz_kugel_licht'...
[2017-12-27 09:52:53] [FHEM] creating services for wz_kugel_licht
[2017-12-27 09:52:53] [FHEM]   information service for wz_kugel_licht
[2017-12-27 09:52:53] [FHEM]     manufacturer, model and serial number characteristics for wz_kugel_licht
[2017-12-27 09:52:53] [FHEM]   Lightbulb service for wz_kugel_licht
[2017-12-27 09:52:53] [FHEM]     On characteristic for wz_kugel_licht:onoff
[2017-12-27 09:52:53] [FHEM]     Brightness characteristic for wz_kugel_licht:bri
[2017-12-27 09:52:53] [FHEM]     Hue characteristic for wz_kugel_licht:hue
[2017-12-27 09:52:53] [FHEM]     Saturation characteristic for wz_kugel_licht:sat
[2017-12-27 09:52:53] [FHEM] Initializing platform accessory 'wz_stehlampe_licht'...
[2017-12-27 09:52:53] [FHEM] creating services for wz_stehlampe_licht
[2017-12-27 09:52:53] [FHEM]   information service for wz_stehlampe_licht
[2017-12-27 09:52:53] [FHEM]     manufacturer, model and serial number characteristics for wz_stehlampe_licht
[2017-12-27 09:52:53] [FHEM]   Lightbulb service for wz_stehlampe_licht
[2017-12-27 09:52:53] [FHEM]     On characteristic for wz_stehlampe_licht:onoff
[2017-12-27 09:52:53] [FHEM]     Brightness characteristic for wz_stehlampe_licht:bri
[2017-12-27 09:52:53] [FHEM] Initializing platform accessory 'wz_strasse_licht'...
[2017-12-27 09:52:53] [FHEM] creating services for wz_strasse_licht
[2017-12-27 09:52:53] [FHEM]   information service for wz_strasse_licht
[2017-12-27 09:52:53] [FHEM]     manufacturer, model and serial number characteristics for wz_strasse_licht
[2017-12-27 09:52:53] [FHEM]   Lightbulb service for wz_strasse_licht
[2017-12-27 09:52:53] [FHEM]     On characteristic for wz_strasse_licht:onoff
[2017-12-27 09:52:53] [FHEM]     Brightness characteristic for wz_strasse_licht:bri
[2017-12-27 09:52:53] [FHEM]     Hue characteristic for wz_strasse_licht:hue
[2017-12-27 09:52:53] [FHEM]     Saturation characteristic for wz_strasse_licht:sat
[2017-12-27 09:52:53] [FHEM] Initializing platform accessory 'wz_treppe_licht'...
[2017-12-27 09:52:53] [FHEM] creating services for wz_treppe_licht
[2017-12-27 09:52:53] [FHEM]   information service for wz_treppe_licht
[2017-12-27 09:52:53] [FHEM]     manufacturer, model and serial number characteristics for wz_treppe_licht
[2017-12-27 09:52:53] [FHEM]   Lightbulb service for wz_treppe_licht
[2017-12-27 09:52:53] [FHEM]     On characteristic for wz_treppe_licht:onoff
[2017-12-27 09:52:53] [FHEM]     Brightness characteristic for wz_treppe_licht:bri
[2017-12-27 09:52:53] [FHEM]     Hue characteristic for wz_treppe_licht:hue
[2017-12-27 09:52:53] [FHEM]     Saturation characteristic for wz_treppe_licht:sat
Setup Payload:
X-HM://0023ISYWYCP91
Scan this code with your HomeKit app on your iOS device to pair with Homebridge:
[Payload-QR-Code]
Or enter this code with your HomeKit app on your iOS device to pair with Homebridge:

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

[2017-12-27 09:52:53] Homebridge is running on port 51826.


Ein sudo service homebridge status liefert:

  homebridge.service - Node.js HomeKit Server
   Loaded: loaded (/etc/systemd/system/homebridge.service; enabled; vendor preset: enabled)
   Active: active (running) since Wed 2017-12-27 10:29:49 CET; 1min 20s ago
Main PID: 27566 (homebridge)
   CGroup: /system.slice/homebridge.service
           └─27566 homebridge

Dez 27 10:29:55 fhem1 homebridge[27566]:
Dez 27 10:29:55 fhem1 homebridge[27566]:
Dez 27 10:29:55 fhem1 homebridge[27566]:
Dez 27 10:29:55 fhem1 homebridge[27566]: Or enter this code with your HomeKit app on your iOS device to pai
Dez 27 10:29:55 fhem1 homebridge[27566]:
Dez 27 10:29:55 fhem1 homebridge[27566]:     ┌────────────┐
Dez 27 10:29:55 fhem1 homebridge[27566]:     │ 031-45-154 │
Dez 27 10:29:55 fhem1 homebridge[27566]:     └────────────┘
Dez 27 10:29:55 fhem1 homebridge[27566]:
Dez 27 10:29:55 fhem1 homebridge[27566]: [2017-12-27 10:29:55] Homebridge is running on port 51826.


So langsam gehen mir die Ideen aus... Hat noch jemand einen Tipp für mich?
VG Sebastian

gent

Hi Sebastian,

die Homebridge hat aber schon mal funktioniert? Seit wann wird sie denn nicht mehr erkannt? Hattest Du iOS 11 auf deinen Geräten, bevor Du die Homebridge ,,verloren" hast?
Viele Grüße, Holger


Gesendet von iPhone mit Tapatalk Pro
fhem auf rPi3 mit USB boot und M2, cul866 (hm), homebridge, FlowerSens, Shelly, Harmony, WemosD1, Sonoff/Tasmota, grafana, mqtt/mosquitto

binford6000

ZitatHi Sebastian,

die Homebridge hat aber schon mal funktioniert? Seit wann wird sie denn nicht mehr erkannt? Hattest Du iOS 11 auf deinen Geräten, bevor Du die Homebridge ,,verloren" hast?
Viele Grüße, Holger
Hallo Holger,
ja die Homebridge hat mal funktioniert. Seit wann sie nicht mehr funktioniert kann ich leider nicht genau sagen. Hatte in der Zwischenzeit mehr mit Alexa am Hut...

Größere "Events" waren:
- Update auf Stretch
- Update der iOS-Geräte auf 11 (da hat die Homebridge noch funktioniert)
- Zurückspielen eines iPhone SE Backups auf das iPhone 6S

Muss irgendwann danach passiert sein...
Für mich sieht es so aus als dass die iOS-Geräte die Homebridge einfach nicht sehen.
Im Browser auf Port 8282 sehe ich ebenfalls alle Geräte. Und beim manuellen Start werden die einzelnen Readings auch aktualisiert:
  2017-12-28 14:45:11 caching: Wohnung-luminance: 15092
[2017-12-28 14:45:11] [FHEM]     caching: CurrentAmbientLightLevel: 15092 (as number; from '15092')
  2017-12-28 14:45:16 caching: Wohnung-luminance: 12778
[2017-12-28 14:45:16] [FHEM]     caching: CurrentAmbientLightLevel: 12778 (as number; from '12778')
  2017-12-28 14:45:25 caching: Wohnung-motionsInside_ct: 0
[2017-12-28 14:45:25] [FHEM]     caching: MotionDetected: false (as boolean; from '0')
  2017-12-28 14:45:34 caching: wz_stehlampe_licht-onoff: 0
[2017-12-28 14:45:34] [FHEM]     caching: On: 0 (as number; from '0')
  2017-12-28 14:45:36 caching: fl_tischlampe_licht-onoff: 0
[2017-12-28 14:45:36] [FHEM]     caching: On: 0 (as number; from '0')
2017-12-28 14:46:04 caching: Wohnung-humidity: 73
[2017-12-28 14:46:04] [FHEM]     caching: CurrentRelativeHumidity: 73 (as number; from '73')
  2017-12-28 14:46:04 caching: Wohnung-pressure: 974
[2017-12-28 14:46:04] [FHEM]     caching: Custom AirPressure: 974 (as number; from '974')


Andere Dienste wie alexa, owntracks und mosquitto laufen auf dem gleichen Raspi3 und sind nach wie vor erreichbar. 

VG Sebastian

gent

Hi Sebastian,

sorry, war über den Jahreswechsel offline. Frohes Neues Jahr erstmal.

Der einzige Unterschied bei mir in der config.json ist, dass ich noch ein auth Objekt in der plattform für FHEM habe.
Vielleicht hilft das bei Dir auch. Die Syntax kann ich Dir schicken, wenn ich wieder am PC bin 
LG Holger



Gesendet von iPhone mit Tapatalk Pro
fhem auf rPi3 mit USB boot und M2, cul866 (hm), homebridge, FlowerSens, Shelly, Harmony, WemosD1, Sonoff/Tasmota, grafana, mqtt/mosquitto

binford6000

Zitat von: gent am 03 Januar 2018, 21:53:07
Hi Sebastian,

sorry, war über den Jahreswechsel offline. Frohes Neues Jahr erstmal.

Der einzige Unterschied bei mir in der config.json ist, dass ich noch ein auth Objekt in der plattform für FHEM habe.
Vielleicht hilft das bei Dir auch. Die Syntax kann ich Dir schicken, wenn ich wieder am PC bin 
LG Holger
Gesendet von iPhone mit Tapatalk Pro
Moin Holger,
sorry für meine späte Antwort. Hab gesundheitlich etwas geschwächelt...
Ich habe sämtliche Varianten von
"auth": {"user": "FhemUser", "pass": "XXX"},
über
"auth": {"user": "", "pass": ""},
und einfach komplett Weglassen durch. Das Ergebnis ist jeweils das Gleiche(!):
Die Homebridge startet fröhlich und findet alle Geräte, zeigt Änderungen der Werte an usw. Egal ob manuell oder als Dienst.
Nur auf meinen iOS Geräten wird sie nicht gefunden...

VG Sebastian

justme1968

lösch mal den persist Ordner in .homebridge nach dem anhalten von homebridge. danach in der config einen etwas anderen username verwenden.
hue, tradfri, alexa-fhem, homebridge-fhem, LightScene, readingsGroup, ...

https://github.com/sponsors/justme-1968

binford6000

Zitat von: justme1968 am 14 Januar 2018, 10:36:23
lösch mal den persist Ordner in .homebridge nach dem anhalten von homebridge. danach in der config einen etwas anderen username verwenden.
Moin Andre,
das habe ich alles schon gemacht. Das Ergebnis bleibt leider gleich: Homebridge startet, sieht alle Geräte, zeigt Änderungen der Readings...
Beim Scannen des QR-Codes/Eingabe Code erhalte ich nach "Nach Gerät suchen": "Gerät wurde nicht gefunden". In Eve analog.
VG Sebastian

justme1968

und wenn du den code von hand eingibst?
hue, tradfri, alexa-fhem, homebridge-fhem, LightScene, readingsGroup, ...

https://github.com/sponsors/justme-1968

binford6000

Zitat von: justme1968 am 14 Januar 2018, 12:50:07
und wenn du den code von hand eingibst?
Auch das hilft leider nicht!

justme1968

installiert mal einen bonjour browser auf dem ios device und schau ob du den hap service siehst
hue, tradfri, alexa-fhem, homebridge-fhem, LightScene, readingsGroup, ...

https://github.com/sponsors/justme-1968

binford6000

Zitat von: justme1968 am 14 Januar 2018, 19:13:41
installiert mal einen bonjour browser auf dem ios device und schau ob du den hap service siehst
Der hap service von der homebridge taucht nicht auf. Nur der vom Aurora.

justme1968

dann hast du vermutlich irgend eine art netzwerk problem.

schau ob du den service mit einem bonjour browser direkt auf dem rechner siehst auf dem die homebridge läuft.
hue, tradfri, alexa-fhem, homebridge-fhem, LightScene, readingsGroup, ...

https://github.com/sponsors/justme-1968

binford6000

Ich forsche mal weiter. Trotzdem Danke für den Support!
VG Sebastian

binford6000

#13
Zitat von: justme1968 am 14 Januar 2018, 19:50:15
dann hast du vermutlich irgend eine art netzwerk problem.

schau ob du den service mit einem bonjour browser direkt auf dem rechner siehst auf dem die homebridge läuft.
So, erste Ergebnisse sind zu verzeichnen:
avahi-browse -t _hap._tcp liefert erstmal kein Ergebnis.
Nach einem Neustart des avahi-daemon allerdings das:
avahi-browse -t _hap._tcp
+   eth0 IPv6 Homebridge                                    _hap._tcp            local
+   eth0 IPv4 Homebridge                                    _hap._tcp            local

Ein kleine google-Suche hat ergeben, dass der avahi-daemon im Standard vor systemd-resolved startet, aber eigentlich von systemd-resolved Abhängig ist.
Das erklärt auch, warum nach einen Neustart vom avahi-daemon die Homebridge sichtbar wird. Ich habe vorher nur geschaut, ob die Dienste alle laufen,
nicht aber die Dienste explizit neugestartet...

EDIT: Die Homebridge taucht somit wieder in den iOS Geräten auf.

binford6000

Hallo Zusammen,
hier nochmals in Kurzform eine kleine Zusammenfassung.

Aussgangssituation:
Raspi3 mit Debian Stretch neu aufgesetzt.
IPv4-Konfiguration per systemd-networkd vorgenommen.
Homebridge korrekt eingerichetet aber die iOS-Geräte finden die Homebridge nicht (mehr).

Fehlersuche
Zunächst mal die App "Discovery - DNS-SD Browser" (siehe Foto) auf einem iOS -Gerät installiert und geprüft ob die Homebridge auftaucht.
Dann auf dem Raspi das Paket "avahi-utils" installiert und mit
avahi-browse -t _hap._tcp geprüft ob die Homebridge auftaucht. Bei Erfolg siht das dann so aus:
avahi-browse -t _hap._tcp
+   eth0 IPv6 Homebridge                                    _hap._tcp            local
+   eth0 IPv4 Homebridge                                    _hap._tcp            local


Ursache und Abhilfe
Mehr oder weniger durch Zufall habe ich dann herausgefunden, dass der avahi-daemon vor systemd-resolved
startet, aber eigentlich von diesem Dienst Abhängig ist. Um nicht weiter an meinem Debian rum zu pfuschen
habe ich mir dann folgendes eingerichtet:

Ein serviced device für den avahi-daemon in fhem angelegt:
defmod fhem1_avahi_service serviced avahi-daemon
attr fhem1_avahi_service alias fhem1: avahi-daemon
attr fhem1_avahi_service cmdIcon restart:rc_REPEAT stop:rc_STOP status:rc_INFO start:rc_PLAY
attr fhem1_avahi_service devStateIcon Initialized|status:light_question error|failed:light_exclamation running:audio_play:stop stopped:audio_stop:start stopping:audio_stop .*starting:audio_repeat
attr fhem1_avahi_service event-on-change-reading state
attr fhem1_avahi_service genericDeviceType switch
attr fhem1_avahi_service homebridgeMapping On=state,valueOff=/stopped|failed/,cmdOff=stop,cmdOn=start\
StatusJammed=state,values=/error|failed/:JAMMED;;/.*/:NOT_JAMMED
attr fhem1_avahi_service icon hue_room_garage
attr fhem1_avahi_service room 90_Dienste
attr fhem1_avahi_service serviceRegexFailed dead|failed
attr fhem1_avahi_service serviceRegexStarted running|active
attr fhem1_avahi_service webCmd start:restart:stop:status

Um dann bei global:INITIALIZED den avahi-daemon neu zu starten:
{
  fhem "sleep 300; set fhem1_avahi_service restart; msg push Der avahi-daemon wurde neu gestartet.";
}


An dieser Stelle nochmals Danke an Holger und Andre!
VG Sebastian