Beiträge von Oberstobacht

    Ein nettes hallo an die Profis.

    Soweit läuft meine Homebridge stabil. Zum Logfile im Fenster von Homebridge Config UI X wird mir zu Beginn (wenn ich ganz hoch scrolle) immer folgender Fehler angezeigt.

    The log tail command "-n journalctl -o cat -n 500 -f -u homebridge" exited with code 0. Please check the command in your config.jason is correct.


    Hat zwar keinen Einfluss auf die Funktion, ich möchte jedoch gern verstehen, was die Ursache ist und wie ich den Fehler beheben kann. Vielleicht ist ja hier jemand der eine Idee hat und mir helfen kann.


    Grüsse Euer Oberst

    Hallo zusammen,


    ich möchte gern folgendes Szenario umsetzen.


    Ich habe auf der Terrasse ein Hue LED Outdoor Stripe verbaut.

    Den schalte ich über einen Aqara Türsensor ein, wenn jemand nach Sonnenuntergang die Tür öffnet. Funktioniert soweit perfekt.
    Nun möchte ich den, wenn ich wieder rein gehe (nach der Zigarette...), wieder aus schalten. Funktioniert erst mal auch soweit.
    1. Regel: Wenn es nach Sonnenuntergang ist, und Aqara Sensor öffnet , dann Licht an.

    2. Regel: Wenn Aqara Sensor schließt , Licht aus.

    Da es aber gelegentlich vorkommt, dass meine Frau noch draußen ist, wenn ich schon wieder drin bin und die Tür zumache. Steht sie ja plötzlich im Dunkeln. Das findet Sie nicht so cool.

    Deshalb möchte ich gern die 2. Regen anpassen. Und zwar wie folgt...

    Wenn Aqara Sensor schließt, sollen immer noch 10 Minuten ablaufen bis das das Licht aus geht. Die Regel Sensor schließt, und Licht ist an, soll also immer einen Timer mit 10 starten und dann erst das Licht aus schalten.

    So richtig habe ich dafür nichts gefunden um das umzusetzen.
    Hat jemand eine Idee, oder einen Tipp, wie ich das umsetzen kann, bzw. mit welcher App das funktioniert.


    Danke

    Oberst

    Hallo,


    Ich habe heute meine Homebridge auf Autostart umgestellt. Soweit läuft auch alles. Habe mich an die Anleitung von "sschuste" gehalten.


    Homebridge Autostart Problem


    Jetzt habe ich jedoch das Problem, dass mir Homebridge immer abschmiert wenn ich in HomeKit das Nuki steuere.

    Im Log, sehe ich folgende Fehler. Kann mir eventuell jemand einen Tip geben, wo das Problem liegt.


    Danke im Voraus

    Euer Oberst.


    Log:

    [2019-10-20 22:52:58] Homebridge is running on port 51826.

    pi : TTY=pts/0 ; PWD=/home/pi/.homebridge ; USER=root ; COMMAND=/bin/journalctl -o cat -n 500 -f -u homebridge

    pam_unix(sudo:session): session opened for user root by (uid=0)

    [2019-10-20 22:53:45] [Nuki] Process lock action '2' for Nuki lock 'xxxxxxx' (instance id '0') on Nuki bridge 'http://192.168.001.222:8080'.

    [2019-10-20 22:53:45] [Nuki] Send request to Nuki bridge 'http://192.168.001.222:8080' on '/lockAction' with '{"token":"FI6xkq","nukiId":"xxxxxxxx","deviceType":0,"action":"2"}'.

    [2019-10-20 22:53:55] [Nuki] Request to Nuki bridge 'http://192.168.001.222:8080' finished with status code '200' and body '{"success": true, "batteryCritical": false}'. null

    [2019-10-20 22:53:55] Error: EACCES: permission denied, open '/.node-persist/storage/b472ee01b4165c802e8dfc819a05753d'

    at Object.fs.openSync (fs.js:545:3)

    at Object.fs.writeFileSync (fs.js:1275:33)

    at LocalStorage.persistKeySync (/usr/local/lib/node_modules/homebridge-nukiio/node_modules/node-persist/src/local-storage.js:460:16)

    at LocalStorage.setItemSync (/usr/local/lib/node_modules/homebridge-nukiio/node_modules/node-persist/src/local-storage.js:251:14)

    at NukiLock._setLockCache (/usr/local/lib/node_modules/homebridge-nukiio/src/nuki/NukiLock.js:166:27)

    at NukiLock.<anonymous> (/usr/local/lib/node_modules/homebridge-nukiio/src/nuki/NukiLock.js:80:12)

    at NukiBridge.<anonymous> (/usr/local/lib/node_modules/homebridge-nukiio/src/nuki/NukiBridge.js:368:11)

    at Request.self.callback (/usr/local/lib/node_modules/homebridge-nukiio/node_modules/request/request.js:185:22)

    at Request.emit (events.js:182:13)

    at Request.<anonymous> (/usr/local/lib/node_modules/homebridge-nukiio/node_modules/request/request.js:1157:10)

    at Request.emit (events.js:182:13)

    at IncomingMessage.<anonymous> (/usr/local/lib/node_modules/homebridge-nukiio/node_modules/request/request.js:1079:12)

    at Object.onceWrapper (events.js:275:13)

    at IncomingMessage.emit (events.js:187:15)

    at endReadableNT (_stream_readable.js:1091:14)

    at process._tickCallback (internal/process/next_tick.js:174:19)

    [2019-10-20 22:53:55] Got SIGTERM, shutting down Homebridge...

    homebridge.service: main process exited, code=exited, status=143/n/a

    Unit homebridge.service entered failed state.

    homebridge.service holdoff time over, scheduling restart.

    Stopping Node.js HomeKit Server...

    Starting Node.js HomeKit Server...


    Und hier noch meine Zopfig als es hilfreich ist:


    {

    "bridge": {

    "username": "CD:22:3D:E3:C3:31",

    "name": "RonnyPi",

    "pin": "031-45-111",

    "port": 51826

    },

    "accessories": [

    {

    "accessory": "YamahaMC",

    "name": "YSP-1600",

    "host": "192.168.001.177",

    "zone": "main",

    "maxvol": 100

    },

    {

    "accessory": "XiaomiRoborockVacuum",

    "name": "Xiaomi Roborock S50 Vacuum 2nd Generation",

    "ip": "192.168.1.46",

    "token": "111111111111111111111111111",

    "pause": true,

    "dock": true

    }

    ],

    "platforms": [

    {

    "platform": "NukiBridge",

    "name": "Nuki",

    "api_token": "xxxxxx",

    "bridge_url": "192.168.001.222:8080",

    "webhook_port": "51827",

    "lock_state_mode": "1",

    "webhook_server_ip_or_name": "192.168.001.223",

    "locks": [

    {

    "id": "xxxxxxxx",

    "usesDoorLatch": "true",

    "name": "Tür",

    "priority": "1"

    }

    ],

    "openers": [

    {

    "id": "xxxxxxxx",

    "name": "Hoftor",

    "priority": "1"

    }

    ]

    },

    {

    "platform": "People",

    "name": "LEDSchalter",

    "threshold": "1",

    "pingInterval": "7000",

    "ignoreReEnterExitSeconds": "0",

    "anyoneSensor": "true",

    "nooneSensor": "false",

    "people": [

    {

    "name": "LEDKIZITV",

    "target": "192.168.001.007"

    }

    ]

    },

    {

    "platform": "config",

    "name": "config",

    "theme": "blue",

    "port": 8081,

    "sudo": true,

    "log": {

    "method": "systemd",

    "service": "homebridge"

    }

    },

    {

    "platform": "RademacherHomePilot",

    "name": "RademacherHomePilot",

    "url": "http://192.168.001.230"

    },

    {

    "debug": false,

    "password": "123456",

    "url": "http://192.168.1.1",

    "platform": "Fritz!Box",

    "username": "abcdef",

    "name": "Fritz",

    "interval": 90,

    "concurrent": true,

    "options": {

    "strictSSL": "false"

    }

    }

    ]

    }

    Hallo Zusammen,


    irgendwie bekomme ich es nicht hin und brauche Hilfe.

    Habe alles nach Anleitung installiert, aber bekomme schon beim Start scho einen Fehler. Hat jemand eine Idee woran es liegen kann?


    Wäre sehr über Hilfe erfreut.


    Danke Oberst


    [2019-10-18 21:44:14] [RademacherHomePilot] Warning. No password has been configured. Consider protecting access to your HomePilot.

    [2019-10-18 21:44:14] [Nuki] Send request to Nuki bridge 'http://192.168.001.222:8080' on '/callback/list' with '{"token":"FI6xkq"}'.

    [2019-10-18 21:44:15] [RademacherHomePilot] Unknown product: 99999998

    [2019-10-18 21:44:15] [RademacherHomePilot] { description: 'Ronny Iphone',

    deviceGroup: 3,

    did: 1010003,

    automations: [ 130 ],

    readings: { area_entered: true },

    timestamp: 1571320752,

    iconSetInverted: 0,

    iconSet: { k: 'iconset38' },

    name: 'RonnyiPhone(iPhone112)',

    statusValid: true,

    deviceNumber: '99999998',

    uid: '9D873FCC-188A-45C8-B71E-1E2EB1E6DA5B',

    visible: true }

    [2019-10-18 21:44:15] [RademacherHomePilot] blinds are online: Rollo Kinderzimmer(Alexa) [1010004]

    [2019-10-18 21:44:15] [RademacherHomePilot] blinds are online: Rollo Tür (Alexa) [1010002]

    [2019-10-18 21:44:15] [RademacherHomePilot] blinds are online: Rollo Fenster (Alexa) [1010001]

    [2019-10-18 21:44:15] [RademacherHomePilot] blinds are online: Rollo unten (Alexa) [1010000]

    [2019-10-18 21:44:15] [Nuki] Request to Nuki bridge 'http://192.168.001.222:8080' finished with status code '200' and body '{"callbacks": [{"id": 1, "url": "http://192.168.001.223:51827/"}]}'. null

    [2019-10-18 21:44:15] [Nuki] Webhook for plugin already exists.

    [2019-10-18 21:44:16] [Blasi] ERR connect | miio.device, next try in 2 minutes | Error: Could not connect to device, handshake timeout

    (node:29578) UnhandledPromiseRejectionWarning: Error: Could not connect to device, handshake timeout

    at Timeout.handshakeTimeout.setTimeout [as _onTimeout] (/usr/local/lib/node_modules/homebridge-xiaomi-roborock-vacuum/node_modules/miio/lib/network.js:432:17)

    at ontimeout (timers.js:427:11)

    at tryOnTimeout (timers.js:289:5)

    at listOnTimeout (timers.js:252:5)

    at Timer.processTimers (timers.js:212:10)

    (node:29578) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)

    (node:29578) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

    [2019-10-18 21:44:16] [Fritz] Fritz!Box platform login successful

    [2019-10-18 21:44:16] [Fritz] Discovering accessories

    [2019-10-18 21:44:17] [Fritz] Using tr64 api for guest Wifi

    [2019-10-18 21:44:21] [Fritz] Alarm sensors found: none

    [2019-10-18 21:44:22] [Fritz] Outlets found: 116570099522

    [2019-10-18 21:44:23] [Fritz] Thermostats found: 109710536784,109710507504,109710507880,119610820280,119610823832

    [2019-10-18 21:44:23] [Fritz] Sensors found: none

    [2019-10-18 21:44:23] [Fritz] Initializing platform accessory 'Guest WLAN'...

    [2019-10-18 21:44:23] [Fritz] Initializing platform accessory 'Dose Balkon'...

    [2019-10-18 21:44:23] [Fritz] Initializing platform accessory 'Wohnzimmer Tür'...

    [2019-10-18 21:44:23] [Fritz] Initializing platform accessory 'Wohnzimmer Fenster'...

    [2019-10-18 21:44:23] [Fritz] Initializing platform accessory 'Heizung Kinderzimmer'...

    [2019-10-18 21:44:23] [Fritz] Initializing platform accessory 'Heizung Schlafzimmer'...

    [2019-10-18 21:44:23] [Fritz] Initializing platform accessory 'Heizung Bad'...

    Setup Payload:

    X-HM://0023ISYVR489D

    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-111 ?

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


    [2019-10-18 21:44:23] Homebridge is running on port 51826.


    Und im Betrieb bekomme ich auch Fehler und somit auch keine Verbindung in Homekit:


    [2019-10-18 21:52:05] [RademacherHomePilot] Rollo unten (Alexa) [1010000] - Current target position: 100

    [2019-10-18 21:52:05] [RademacherHomePilot] Rollo unten (Alexa) [1010000] - getting current position

    [2019-10-18 21:52:05] [RademacherHomePilot] Rollo unten (Alexa) [1010000] - getting obstruction detected

    [2019-10-18 21:52:05] [Blasi] ERR getCleaning | No vacuum cleaner is discovered yet.

    [2019-10-18 21:52:05] [Blasi] INF ensureDevice | undefined | The socket was destroyed or not initialised, initialising the device

    [2019-10-18 21:52:05] [Blasi] ERR getSpeed | No vacuum cleaner is discovered yet.

    [2019-10-18 21:52:05] [Blasi] INF ensureDevice | undefined | The socket was destroyed or not initialised, initialising the device

    [2019-10-18 21:52:05] [Blasi] ERR getBatteryLow | No vacuum cleaner is discovered yet.

    [2019-10-18 21:52:05] [Blasi] INF ensureDevice | undefined | The socket was destroyed or not initialised, initialising the device

    [2019-10-18 21:52:05] [Blasi] ERR getDocked | No vacuum cleaner is discovered yet.

    [2019-10-18 21:52:05] [Blasi] INF ensureDevice | undefined | The socket was destroyed or not initialised, initialising the device

    [2019-10-18 21:52:05] [Fritz] Getting outlet 116570099522 state

    [2019-10-18 21:52:05] [Fritz] Getting guest WLAN state

    [2019-10-18 21:52:05] [RademacherHomePilot] Rollo Tür (Alexa) [1010002] - Current target position: 100

    [2019-10-18 21:52:05] [RademacherHomePilot] Rollo Tür (Alexa) [1010002] - getting obstruction detected

    [2019-10-18 21:52:05] [RademacherHomePilot] Rollo Tür (Alexa) [1010002] - getting current position

    [2019-10-18 21:52:05] [Fritz] Getting thermostat 119610823832 battery status

    [2019-10-18 21:52:05] [YSP-1600] HTTP GetStatus result:Off

    [2019-10-18 21:52:05] [RademacherHomePilot] Rollo Kinderzimmer(Alexa) [1010004] - obstruction detected: 0 errors

    [2019-10-18 21:52:05] [RademacherHomePilot] Rollo Tür (Alexa) [1010002] - obstruction detected: 0 errors

    [2019-10-18 21:52:05] [RademacherHomePilot] Rollo Tür (Alexa) [1010002] - current position: 100

    [2019-10-18 21:52:05] [RademacherHomePilot] Rollo unten (Alexa) [1010000] - current target: 100

    [2019-10-18 21:52:05] [RademacherHomePilot] Rollo Fenster (Alexa) [1010001] - current position: 100

    [2019-10-18 21:52:05] [RademacherHomePilot] Rollo Kinderzimmer(Alexa) [1010004] - current position: 100

    [2019-10-18 21:52:05] [RademacherHomePilot] Rollo Fenster (Alexa) [1010001] - current target: 100

    [2019-10-18 21:52:05] [RademacherHomePilot] Rollo unten (Alexa) [1010000] - obstruction detected: 0 errors

    [2019-10-18 21:52:05] [RademacherHomePilot] Rollo Fenster (Alexa) [1010001] - obstruction detected: 0 errors

    [2019-10-18 21:52:05] [RademacherHomePilot] Rollo Tür (Alexa) [1010002] - current target: 100

    [2019-10-18 21:52:05] [RademacherHomePilot] Rollo Kinderzimmer(Alexa) [1010004] - current target: 100

    [2019-10-18 21:52:05] [RademacherHomePilot] Rollo unten (Alexa) [1010000] - current position: 100

    [2019-10-18 21:52:07] [Blasi] ERR connect | miio.device, next try in 2 minutes | Error: Could not connect to device, handshake timeout

    [2019-10-18 21:52:09] [Blasi] ERR getCleaning | No vacuum cleaner is discovered yet.

    [2019-10-18 21:52:09] [Blasi] INF ensureDevice | undefined | The socket was destroyed or not initialised, initialising the device

    [2019-10-18 21:52:09] [Blasi] ERR getSpeed | No vacuum cleaner is discovered yet.

    [2019-10-18 21:52:09] [Blasi] INF ensureDevice | undefined | The socket was destroyed or not initialised, initialising the device

    [2019-10-18 21:52:09] [Blasi] ERR getDocked | No vacuum cleaner is discovered yet.

    [2019-10-18 21:52:09] [Blasi] INF ensureDevice | undefined | The socket was destroyed or not initialised, initialising the device

    [2019-10-18 21:52:09] [Blasi] ERR getBatteryLow | No vacuum cleaner is discovered yet.

    [2019-10-18 21:52:09] [Blasi] INF ensureDevice | undefined | The socket was destroyed or not initialised, initialising the device

    [2019-10-18 21:52:11] [Blasi] ERR connect | miio.device, next try in 2 minutes | Error: Could not connect to device, handshake timeout

    [2019-10-18 21:52:11] [Blasi] ERR getCleaning | No vacuum cleaner is discovered yet.

    [2019-10-18 21:52:11] [Blasi] INF ensureDevice | undefined | The socket was destroyed or not initialised, initialising the device

    [2019-10-18 21:52:11] [Blasi] ERR getSpeed | No vacuum cleaner is discovered yet.

    [2019-10-18 21:52:11] [Blasi] INF ensureDevice | undefined | The socket was destroyed or not initialised, initialising the device

    [2019-10-18 21:52:11] [Blasi] ERR getDocked | No vacuum cleaner is discovered yet.

    [2019-10-18 21:52:11] [Blasi] INF ensureDevice | undefined | The socket was destroyed or not initialised, initialising the device

    [2019-10-18 21:52:11] [Blasi] ERR getBatteryLow | No vacuum cleaner is discovered yet.

    [2019-10-18 21:52:11] [Blasi] INF ensureDevice | undefined | The socket was destroyed or not initialised, initialising the device

    [2019-10-18 21:52:13] [Blasi] ERR connect | miio.device, next try in 2 minutes | Error: Could not connect to device, handshake timeout

    Hallo zusammen,


    in der Hoffnung das hier jemand mit liest, der mir helfen kann, mache ich mal dieses Thema auf.
    Auf Github gibt es oben genanntes Plugin.

    https://github.com/shawnstrickland/homebridge-tesvor
    Da ich von Tesvor einen Sauger habe, möchte ich diesen gern in homebrige einbinden. Da ich aber nicht der Profi bin, stellt sich mir folgendes Problem.

    Laut Config benötige ich eine „Client id“ und “developer produkt id“.
    Kann mir eventuell jemand erklären wo und wie ich die bekommen bzw. auslesen kann?


    Über Hilfe würde ich mich sehr freuen.


    euer Oberst


    Code
    "platforms": [
    {
    "platform": "Tesvor",
    "token" : "token will be generated upon first run of homebridge without a token",
    "clientId": "developer Product ID",
    "clientSecret": "developer Product Secret.",
    "username" : "username",
      "password" : "password"
    }
    ],