FHEM > Frontends

Homebridge Schleife "fetching FHEM Devices"

(1/2) > >>

apple_christ:
Hallo Zusammen,

zum Umzug habe ich mein RPI3 neu aufgesetzt und damit auch FHEM.
Bei der Konfiguration von Homebridge kommt es leider zu einer endlos Schleife "fetching FHEM Devices" (siehe unten)
Meine Config.json habe ich ebenso angefügt.

Ich würde mich über hilfreiche Kommentare freuen.


--- Code: ---pi@raspberrypi:~ $ 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>
ERROR: npm is known not to run on Node.js v4.5.0
Node.js 4 is supported but the specific version you're running has
a bug known to break npm. Please update to at least ${rel.min} to use this
version of npm. You can find the latest release of Node.js at https://nodejs.org/
[9/19/2017, 10:13:31 AM] Loaded plugin: homebridge-fhem
homebridge API version: 2.2
this homebridge-fhem 0.3.7
[9/19/2017, 10:13:31 AM] Registering platform 'homebridge-fhem.FHEM'
[9/19/2017, 10:13:31 AM] ---
[9/19/2017, 10:13:31 AM] Loaded config.json with 0 accessories and 1 platforms.
[9/19/2017, 10:13:31 AM] ---
[9/19/2017, 10:13:31 AM] Loading 1 platforms...
[9/19/2017, 10:13:31 AM] [FHEM] Initializing FHEM platform...
starting longpoll: http://192.168.0.3:8083/fhem?XHR=1&inform=type=status;addglobal=1;filter=.*;since=null;fmt=JSON&timestamp=1505808812914
[9/19/2017, 10:13:32 AM] [FHEM] Fetching FHEM devices...
[9/19/2017, 10:13:32 AM] Loading 0 accessories...
Server error: Error: listen EADDRINUSE :::8282
Server listening on: http://<ip>:8283
longpoll error: Error: read ECONNRESET, retry in: 5000msec
[9/19/2017, 10:13:33 AM] [FHEM] Fetching FHEM devices...
[9/19/2017, 10:13:33 AM] [FHEM] Fetching FHEM devices...
[9/19/2017, 10:13:34 AM] [FHEM] Fetching FHEM devices...
[9/19/2017, 10:13:35 AM] [FHEM] Fetching FHEM devices...
[9/19/2017, 10:13:35 AM] [FHEM] Fetching FHEM devices...
[9/19/2017, 10:13:36 AM] [FHEM] Fetching FHEM devices...
[9/19/2017, 10:13:36 AM] [FHEM] Fetching FHEM devices...
[9/19/2017, 10:13:37 AM] [FHEM] Fetching FHEM devices...
[9/19/2017, 10:13:37 AM] [FHEM] Fetching FHEM devices...
[9/19/2017, 10:13:38 AM] [FHEM] Fetching FHEM devices...
starting longpoll: http://192.168.0.3:8083/fhem?XHR=1&inform=type=status;addglobal=1;filter=.*;since=null;fmt=JSON&timestamp=1505808818098
longpoll error: Error: read ECONNRESET, retry in: 10000msec
--- Ende Code ---



--- Code: ---{
    "bridge": {
        "name": "Homebridge",
        "username": "CC:22:3D:E3:CE:30",
        "port": 51826,
        "pin": "031-45-154"
    },

    "platforms": [
        {
            "platform": "FHEM",
            "name": "FHEM",
            "server": "192.168.0.3",
            "port": "8083",
            "auth": {"user": "admin", "pass": "nosuchadmin"},
            "filter": "room=Homekit"
        }
     ],

    "accessories": []
}
--- Ende Code ---

justme1968:
stimmt die ip? verwendest du wirklich http oder doch https?

was passiert wenn die die url von hand aufrufst?

apple_christ:
Danke für die schnelle Antwort. Die IP stimmt und ich verwende Https. die URL ist nicht aufrufbar.

apple_christ:
Ich habe nun die Config um die Zeile ssl erweitert. Leider tritt nun diese Fehlermeldung auf.


--- Code: ---pi@raspberrypi:~ $ 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>
ERROR: npm is known not to run on Node.js v4.5.0
Node.js 4 is supported but the specific version you're running has
a bug known to break npm. Please update to at least ${rel.min} to use this
version of npm. You can find the latest release of Node.js at https://nodejs.org/
[9/19/2017, 11:27:26 AM] Loaded plugin: homebridge-fhem
homebridge API version: 2.2
this homebridge-fhem 0.3.7
[9/19/2017, 11:27:27 AM] Registering platform 'homebridge-fhem.FHEM'
[9/19/2017, 11:27:27 AM] ---
[9/19/2017, 11:27:27 AM] Loaded config.json with 0 accessories and 1 platforms.
[9/19/2017, 11:27:27 AM] ---
[9/19/2017, 11:27:27 AM] Loading 1 platforms...
[9/19/2017, 11:27:27 AM] [FHEM] Initializing FHEM platform...
starting longpoll: https://192.168.0.3:8083:8083/fhem?XHR=1&inform=type=status;addglobal=1;filter=.*;since=null;fmt=JSON&timestamp=1505813248648
[9/19/2017, 11:27:28 AM] [FHEM] Fetching FHEM devices...
[9/19/2017, 11:27:28 AM] Loading 0 accessories...
Server listening on: http://<ip>:8282
[9/19/2017, 11:27:29 AM] [FHEM] Checking devices and attributes...
[9/19/2017, 11:27:29 AM] [FHEM]   executing: https://192.168.0.3:8083:8083/fhem?cmd=%7BAttrVal(%22global%22,%22userattr%22,%22%22)%7D&fwcsrf=csrf_697383677734858&XHR=1
[9/19/2017, 11:27:29 AM] [FHEM]   executing: https://192.168.0.3:8083:8083/fhem?cmd=jsonlist2%20TYPE=siri&fwcsrf=csrf_697383677734858&XHR=1
longpoll ended, reconnect in: 200msec
[9/19/2017, 11:27:29 AM] [FHEM] Fetching FHEM devices...
[9/19/2017, 11:27:29 AM] [FHEM] fetching: https://192.168.0.3:8083:8083/fhem?cmd=jsonlist2%20room=Homekit&fwcsrf=csrf_697383677734858&XHR=1
starting longpoll: https://192.168.0.3:8083:8083/fhem?XHR=1&inform=type=status;addglobal=1;filter=.*;since=null;fmt=JSON&timestamp=1505813249290
[9/19/2017, 11:27:29 AM] [FHEM] failed to parse <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head root="/fhem"><title>Home, Sweet Home</title><link rel="shortcut icon" href="/fhem/icons/favicon" /><meta charset="UTF-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><link href="/fhem/pgm2/style.css?v=1505812618" rel="stylesheet"/><link href="/fhem/pgm2/jquery-ui.min.css" rel="stylesheet"/><script attr='' type="text/javascript" src="/fhem/pgm2/jquery.min.js"></script><script attr='' type="text/javascript" src="/fhem/pgm2/jquery-ui.min.js"></script><script attr='' type="text/javascript" src="/fhem/pgm2/fhemweb.js"></script><script attr='' type="text/javascript" src="/fhem/pgm2/fhemweb_colorpicker.js"></script><script attr='' type="text/javascript" src="/fhem/pgm2/fhemweb_fbcalllist.js"></script><script attr='' type="text/javascript" src="/fhem/pgm2/fhemweb_knob.js"></script><script attr='' type="text/javascript" src="/fhem/pgm2/fhemweb_readingsGroup.js"></script><script attr='' type="text/javascript" src="/fhem/pgm2/fhemweb_readingsHistory.js"></script><script attr='' type="text/javascript" src="/fhem/pgm2/fhemweb_sortable.js"></script><script attr='' type="text/javascript" src="/fhem/pgm2/fhemweb_uzsu.js"></script><script attr='' type="text/javascript" src="/fhem/pgm2/fhemweb_weekprofile.js"></script></head><body name='Home, Sweet Home' fw_id='182' generated="1505813248" longpoll="1" fwcsrf='csrf_697383677734858' data-confirmDelete='1' data-confirmJSError='1' data-addHtmlTitle='1' data-webName='WEB '><div id="menuScrollArea"><div><a href="/fhem?"><div id="logo"></div></a></div><div id="menu"><table><tr><td><table class="room roomBlock1"><tr><td><div class="menu_Save_config"><a href="/fhem?cmd=save&fwcsrf=csrf_697383677734858">Save config</a> <a id="saveCheck" class="changed" style="visibility:hidden">?</a></div></td></tr></table></td></tr><tr><td><table class="room roomBlock2"><tr><td><div class="menu_10_Flur"><a href="/fhem?room=10%5fFlur">10_Flur</a></div></td></tr><tr><td><div class="menu_20_K__che"><a href="/fhem?room=20%5fK%c3%bcche">20_Küche</a></div></td></tr><tr><td><div class="menu_30_Wohnzimmer"><a href="/fhem?room=30%5fWohnzimmer">30_Wohnzimmer</a></div></td></tr><tr><td><div class="menu_50_Schlafzimmer"><a href="/fhem?room=50%5fSchlafzimmer">50_Schlafzimmer</a></div></td></tr><tr><td><div class="menu_CUL_HM"><a href="/fhem?room=CUL%5fHM">CUL_HM</a></div></td></tr><tr><td><div class="menu_Homekit"><a href="/fhem?room=Homekit">Homekit</a></div></td></tr><tr><td><div class="menu_Unsorted"><a href="/fhem?room=Unsorted">Unsorted</a></div></td></tr><tr><td><div class="menu_Everything"><a href="/fhem?room=all"><img class='icon icoEverything' src="/fhem/images/default/icoEverything.png" alt="icoEverything" title="icoEverything">&nbsp;Everything</a></div></td></tr></table></td></tr><tr><td><table class="room roomBlock3"><tr><td><div class="menu_Logfile"><a href="/fhem/FileLog_logWrapper?dev=Logfile&type=text&file=fhem-2017-09.log">Logfile</a></div></td></tr><tr><td><div><a href="/fhem/docs/commandref.html" target="_blank" >Commandref</a></div></td></tr><tr><td><div><a href="http://fhem.de/fhem.html#Documentation" target="_blank" >Remote doc</a></div></td></tr><tr><td><div class="menu_Edit_files"><a href="/fhem?cmd=style%20list&fwcsrf=csrf_697383677734858">Edit files</a></div></td></tr><tr><td><div class="menu_Select_style"><a href="/fhem?cmd=style%20select&fwcsrf=csrf_697383677734858">Select style</a></div></td></tr><tr><td><div class="menu_Event_monitor"><a href="/fhem?cmd=style%20eventMonitor&fwcsrf=csrf_697383677734858">Event monitor</a></div></td></tr></table></td></tr></table></div></div><div id="hdr"><table border="0" class="header"><tr><td style="padding:0"><form method="post" action="/fhem"><input type="hidden" name="fw_id" value="182"/><input type="hidden" name="fwcsrf" value="csrf_697383677734858"/><input type="text" name="cmd" class="maininput" size="40" value=""/></form></td></tr></table></div></body></html>
[9/19/2017, 11:27:30 AM] [FHEM]   executing: https://192.168.0.3:8083:8083/fhem?cmd=%7B%20addToAttrList(%20%22homebridgeMapping:textField-long%22%20)%20%7D&fwcsrf=csrf_697383677734858&XHR=1
[9/19/2017, 11:27:30 AM] [FHEM] homebridgeMapping attribute created.
[9/19/2017, 11:27:30 AM] [FHEM]   executing: https://192.168.0.3:8083:8083/fhem?cmd=%7BaddToAttrList(%20%22genericDeviceType:security,ignore,switch,outlet,light,blind,thermometer,thermostat,contact,garage,window,lock%22%20)%20%7D&fwcsrf=csrf_697383677734858&XHR=1
[9/19/2017, 11:27:30 AM] [FHEM] got: undefined results
Scan this code with your HomeKit App on your iOS device to pair with Homebridge:
                       
    ┌────────────┐     
    │ 031-45-154 │     
    └────────────┘     
                       
[9/19/2017, 11:27:30 AM] Homebridge is running on port 51826.
[9/19/2017, 11:27:30 AM] [FHEM] Checking devices and attributes...
[9/19/2017, 11:27:30 AM] [FHEM]   executing: https://192.168.0.3:8083:8083/fhem?cmd=%7BAttrVal(%22global%22,%22userattr%22,%22%22)%7D&fwcsrf=csrf_697383677734858&XHR=1
[9/19/2017, 11:27:30 AM] [FHEM]   executing: https://192.168.0.3:8083:8083/fhem?cmd=jsonlist2%20TYPE=siri&fwcsrf=csrf_697383677734858&XHR=1
longpoll ended, reconnect in: 200msec
starting longpoll: https://192.168.0.3:8083:8083/fhem?XHR=1&inform=type=status;addglobal=1;filter=.*;since=null;fmt=JSON&timestamp=1505813250796
[9/19/2017, 11:27:31 AM] [FHEM] genericDeviceType attribute was not known. please restart.
--- Ende Code ---

justme1968:
ich sehe keinen fehler ...

Navigation

[0] Themen-Index

[#] Nächste Seite

Zur normalen Ansicht wechseln