Sonoff Basic Tasmota als Garagenöffner

  • Deine Config.json wird nicht gefunden. Laut deiner log sollte sie unter Root sein. Gib mal in der Console: sudo nano /root/.homebridge/config.json

    ein und kopier da Deine Config rein

  • peterpan007


    probier mal so


    {

    "bridge":{

    "name":"Homebridge",

    "username":"CC:22:3D:E3:CE:30",

    "port":51826,

    "pin":"031-45-154"

    },

    "platforms":[


    ],

    "accessories":[

    {

    "accessory": "CommandGarageDoor",

    "manufacturer": "selfmade",

    "simulateTimeOpening": 3,

    "model": "model x",

    "serialnumber": "y",

    "simulateTimeOpen": 5,

    "command": "curl http://192.168.178.57/cm?cmnd=Power1%20TOGGLE",

    "name": "Hofeinfahrt",

    "simulateTimeClosing": 2

    }

    ]

    }

  • Also ich hab ein Problem, sobald ich Homebridge-mqtt installiere stürzt die Homebridge ab ...


    Marco hattest du das auch?


    Mit freundlichen Grüßen

  • *** 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-compa…node&f=DNSServiceRegister>

    [2018-2-20 20:48:58] Loaded plugin: homebridge-commandgaragedoor

    [2018-2-20 20:48:58] Registering accessory 'homebridge-commandgaragedoor.CommandGarageDoor'

    [2018-2-20 20:48:58] ---

    [2018-2-20 20:48:58] Loaded config.json with 1 accessories and 0 platforms.

    [2018-2-20 20:48:58] ---

    [2018-2-20 20:48:58] Loading 0 platforms...

    [2018-2-20 20:48:58] Loading 1 accessories...

    [2018-2-20 20:48:58] [Hofeinfahrt] Initializing CommandGarageDoor accessory...

    Setup Payload:

    X-HM://0023ISYWY86L8

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




























    Or enter this code with your HomeKit app on your iOS device to pair with Homebridge:


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

    ? 031-45-154 ?

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


    events.js:183

    throw er; // Unhandled 'error' event

    ^


    Error: listen EADDRINUSE :::51826

    at Object._errnoException (util.js:1024:11)

    at _exceptionWithHostPort (util.js:1046:20)

    at Server.setupListenHandle [as _listen2] (net.js:1351:14)

    at listenInCluster (net.js:1392:12)

    at Server.listen (net.js:1476:7)

    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:607:16)

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

    at Server.run (/usr/local/lib/node_modules/homebridge/lib/server.js:96:10)

  • peterpan007


    Was ich noch vergessen habe zu fragen ? Wo hast du jetzt deine config.json abgespeichert ?

    Unter....... /home/pi/.homebridge/config.json

    Oder in

    /root/.homebridge/config.json

    Es sieht so aus als wenn Du in beiden Verzeichnissen Deine config.json drin hast. Check das mal. Falls es so ist, lösch mal die in /home/pi/.homebridge

  • Marco73

    Danke für deine unterstützung.

    Jetzt habe auch ich es hin bekommen.


    Da ich aber nicht mit Endlagensensoren arbeite, bekomme ich eine Meldung "keine Antwort"

    Ist das normal so, wenn keine Sensoren verbaut sind ?

    Oder kann ich da noch etwas einstellen.


    Danke