Hallo,
meine FHEM-Installation war jetzt ein Jahr gelegen. Heute wollte ich diese wieder reaktivieren und habe FHEM und die Homebridge aktualisiert. Leider startet diese nun nicht mehr. Folgende Meldung erhalte ich:
pi@raspberrypi ~ $ cd ~/homebridge
pi@raspberrypi ~/homebridge $ 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>
[10/10/2017, 3:20:47 PM] Loaded plugin: homebridge-fhem
homebridge API version: 2.1
[10/10/2017, 3:20:47 PM] Registering platform 'homebridge-fhem.FHEM'
[10/10/2017, 3:20:47 PM] ---
[10/10/2017, 3:20:47 PM] Loaded config.json with 0 accessories and 1 platforms.
[10/10/2017, 3:20:47 PM] ---
[10/10/2017, 3:20:47 PM] Loading 1 platforms...
[10/10/2017, 3:20:47 PM] [FHEM] Initializing homebridge-fhem.FHEM platform...
starting longpoll: http://127.0.0.1:8083/fhem.pl?XHR=1&inform=type=status;addglobal=1;filter=.*;since=null;fmt=JSON×tamp=1507641648505
[10/10/2017, 3:20:48 PM] [FHEM] Checking genericDeviceType...
[10/10/2017, 3:20:48 PM] [FHEM] executing: http://127.0.0.1:8083/fhem?cmd=%7BAttrVal(%22global%22,%22userattr%22,%22%22)%7D&XHR=1
[10/10/2017, 3:20:48 PM] [FHEM] Fetching FHEM devices...
[10/10/2017, 3:20:48 PM] [FHEM] fetching: http://127.0.0.1:8083/fhem?cmd=jsonlist2%20room=HomeKit&XHR=1
[10/10/2017, 3:20:48 PM] Loading 0 accessories...
Server listening on: http://<ip>:8282
[10/10/2017, 3:20:48 PM] [FHEM] There was a problem connecting to FHEM (http://127.0.0.1:8083/fhem?cmd=%7BAttrVal(%22global%22,%22userattr%22,%22%22)%7D&XHR=1).
[10/10/2017, 3:20:48 PM] [FHEM] 400: Bad Request
[10/10/2017, 3:20:48 PM] [FHEM] There was a problem connecting to FHEM
[10/10/2017, 3:20:48 PM] [FHEM] 400: Bad Request
Wer kann mir sagen, woran es liegt?
Viele Grüße,
Andreas
Hi,
auf den ersten Blick sieht es danach aus: https://wiki.fhem.de/wiki/CsrfToken-HowTo
Gruß Otto
Hallo Otto,
vielen Dank, Volltreffer. Genau das wars!
Viele Grüße,
Andreas