Beiträge von Hubo_Sky

    Hallo!

    Also, meine Config sieht so aus:

    Pins, IPs und Usernames sind nicht echt.

    Hallo Hubo_Sky dieses plugin funktioniert nicht mehr nach Logitech harmony hub update.

    Habe jetzt gewechselt auf andere plugin https://www.npmjs.com/package/homebridge-harmony

    Der funktioniert einwandfrei.

    Gruss

    Kann man damit auch irgendwie die Laustärke steuern?

    Hallo

    Kurze Vorstellung, bin 44 Jahre, komme aus Wien und würde gerne meinen HarmonyHub über eine Homebridge in mein Homekit einbinden.
    Bin absoluter Neuling in dem Thema Homebridge usw.
    Nach einigen Schwierigkeiten und einlesen läuft die Homebridge nun mal auf meiner QNAP und auch das Plugin wird geladen.
    Doch es funktioniert nicht wirklich und mien Know How scheitert nun, deswegen bitte ich um Hilfe!

    Ich kann die Homebridge hinzufügen in Homekit, doch die HarmonyHub Aktionen fehlen irgendwie.
    Ich habe nur 1 Schalter "Harmony Hub" im Homekit, obwohl ich mehrere Aktionen konfiguriert habe.

    Folgend meine Install.sh:

    Noch meine config.json:

    Und das sind die Fehler die er in der Console auspuckt:


    [2/24/2019, 1:37:01 PM] [HarmonyHub] {HarmonyHub} Found <1> hubs

    [2/24/2019, 1:37:01 PM] [HarmonyHub] {HarmonyHub} <b751b32e-9f76-470e-b951-8f2cc0b5dc25> <Harmony Hub>

    [2/24/2019, 1:37:01 PM] [HarmonyHub] {HarmonyHub} handleError: { HTTPError: Response code 417 (Expectation Failed)

    at EventEmitter.emitter.on (/usr/local/lib/node_modules/homebridge-harmonyhub-plugin/node_modules/got/source/as-promise.js:74:19)

    at process._tickCallback (internal/process/next_tick.js:68:7)

    name: 'HTTPError',

    host: '192.168.2.12:8088',

    hostname: '192.168.2.12',

    method: 'POST',

    path: '/',

    socketPath: undefined,

    protocol: 'http:',

    url: 'http://192.168.2.12:8088/',

    gotOptions:

    { path: '/',

    protocol: 'http:',

    slashes: true,

    auth: null,

    host: '192.168.2.12:8088',

    port: '8088',

    hostname: '192.168.2.12',

    hash: null,

    search: null,

    query: null,

    pathname: '/',

    href: 'http://192.168.2.12:8088/',

    retry:

    { retries: [Function],

    methods: [Set],

    statusCodes: [Set],

    errorCodes: [Set],

    maxRetryAfter: 5000 },

    headers:

    { 'user-agent': 'got/9.6.0 (https://github.com/sindresorhus/got)',

    'content-type': 'application/json',

    accept: 'text/plain',

    origin: 'http//:localhost.nebula.myharmony.com',

    'accept-encoding': 'gzip, deflate',

    'content-length': 54 },

    hooks:

    { beforeRequest: [],

    beforeRedirect: [],

    beforeRetry: [],

    afterResponse: [],

    beforeError: [],

    init: [] },

    decompress: true,

    throwHttpErrors: true,

    followRedirect: true,

    stream: false,

    form: false,

    json: true,

    cache: false,

    useElectronNet: false,

    method: 'POST',

    body: '{"id":0,"cmd":"connect.discoveryinfo?get","params":{}}',

    gotTimeout: { request: 5000 } },

    statusCode: 417,

    statusMessage: 'Expectation Failed',

    headers:

    { 'access-control-allow-headers': 'origin, content-type, accept',

    'access-control-allow-method': 'POST, OPTIONS',

    'access-control-allow-origin': 'http//:localhost.nebula.myharmony.com',

    'content-length': '16' },

    body: { code: '417' } }

    [2/24/2019, 1:37:01 PM] [HarmonyHub] {HarmonyHub} handleError: TypeError: Cannot read property 'getActivities' of undefined

    at /usr/local/lib/node_modules/homebridge-harmonyhub-plugin/lib/harmonyhub.js:130:27

    at tryCallOne (/usr/local/lib/node_modules/homebridge-harmonyhub-plugin/node_modules/promise/lib/core.js:37:12)

    at /usr/local/lib/node_modules/homebridge-harmonyhub-plugin/node_modules/promise/lib/core.js:123:15

    at flush (/usr/local/lib/node_modules/homebridge-harmonyhub-plugin/node_modules/asap/raw.js:50:29)

    at process._tickCallback (internal/process/next_tick.js:61:11)

    [2/24/2019, 1:37:01 PM] [HarmonyHub] {HarmonyHub} handleError: TypeError: Cannot read property 'getCurrentActivity' of undefined

    at /usr/local/lib/node_modules/homebridge-harmonyhub-plugin/lib/harmonyhub.js:178:27

    at tryCallOne (/usr/local/lib/node_modules/homebridge-harmonyhub-plugin/node_modules/promise/lib/core.js:37:12)

    at /usr/local/lib/node_modules/homebridge-harmonyhub-plugin/node_modules/promise/lib/core.js:123:15

    at flush (/usr/local/lib/node_modules/homebridge-harmonyhub-plugin/node_modules/asap/raw.js:50:29)

    at process._tickCallback (internal/process/next_tick.js:61:11)

    Ich bedanke mich schon mal für Eure Hilfe und Mühen.

    Lg
    Bernd