Git Product home page Git Product logo

Comments (86)

mmende avatar mmende commented on July 17, 2024 2

Da ich das Plugin in meiner Freizeit entwickle kann ich leider nicht jeden Tag daran weiter arbeiten. Deshalb bitte ich um etwas Geduld bei der Lösung deines Problems. Ich melde mich wie gesagt wenn ich Neuigkeiten für dich habe.

from homebridge-samsungtv-control2.

mmende avatar mmende commented on July 17, 2024 1

Ansonsten könntest du auch manuell mit npx homebridge-samsungtv-control discover überprüfen welche samsung fernseher das plugin findet... dort wird auch die usn angezeigt sofern der fernseher gefunden wurde

from homebridge-samsungtv-control2.

mmende avatar mmende commented on July 17, 2024 1

hm... der fehler ist neu. Ich melde mich wenn ich eine idee habe woran das liegen könnte.
Da das pairing aber schon mal klappt klingt das ganze auf jeden fall lösbar...

from homebridge-samsungtv-control2.

mmende avatar mmende commented on July 17, 2024 1

Ich versuche gerade das problem einzugrenzen... könntest du bitte folgendes ausführen
npx https://github.com/mmende/homebridge-samsungtv-control2#iss16 discover
Das gibt uns hoffentlich ein paar genauere hinweise was das problem sein könnte...

from homebridge-samsungtv-control2.

mmende avatar mmende commented on July 17, 2024 1

Ok super...d.h. das Problem kommt wohl von einem anderen upnp device. Mit der nächsten Version sollte dieser Fehler zwar noch im debug log erscheinen, aber der Fernseher sollte trotzdem problemlos eingebunden werden können. Ich melde mich wenn ich diese gepublished habe...

from homebridge-samsungtv-control2.

mmende avatar mmende commented on July 17, 2024 1

Ja, das Problem liegt darin, dass bisher Fehler die an dieser Stelle entstehen nicht abgefangen wurden. Warum dieses Gerät den Fehler auslöst weiß ich immer noch nicht genau, aber solange der Fernseher davon nicht betroffen ist können wir das denke erstmal vernachlässigen. Bis ich die nächste Version publishe wird es noch ein paar Tage dauern, aber du könntest das Plugin auch direkt über github installieren: npm i -g https://github.com/mmende/homebridge-samsungtv-control2 und schon mal prüfen ob der Rest dann normal durchläuft und der Fernseher z.B. in den logs auftaucht.

from homebridge-samsungtv-control2.

lukasj98 avatar lukasj98 commented on July 17, 2024 1

ok ich uninstall grad und install dann und sende dir dann wieder den log ok ?

from homebridge-samsungtv-control2.

mmende avatar mmende commented on July 17, 2024 1

Hm ok ... ich schaue mal warum log nicht übergeben wird und sage dir bescheid wenn es gefixed wurde.

from homebridge-samsungtv-control2.

lukasj98 avatar lukasj98 commented on July 17, 2024

i do not get any log in the logs

from homebridge-samsungtv-control2.

mmende avatar mmende commented on July 17, 2024

Could you try to start homebridge in debug mode? Some models don't expose their correct model number via upnp and will therefore not automatically be added as tv accessory.

from homebridge-samsungtv-control2.

lukasj98 avatar lukasj98 commented on July 17, 2024

how do i do it

from homebridge-samsungtv-control2.

lukasj98 avatar lukasj98 commented on July 17, 2024

i do not get any messages in the logs from your plugin

from homebridge-samsungtv-control2.

lukasj98 avatar lukasj98 commented on July 17, 2024

now i have debug mode on

from homebridge-samsungtv-control2.

lukasj98 avatar lukasj98 commented on July 17, 2024

but i do not get any logs from your plugin

from homebridge-samsungtv-control2.

lukasj98 avatar lukasj98 commented on July 17, 2024

can i chat with you in german

from homebridge-samsungtv-control2.

mmende avatar mmende commented on July 17, 2024

klar... siehst du log meldungen von anderen plugins?

from homebridge-samsungtv-control2.

lukasj98 avatar lukasj98 commented on July 17, 2024

ja ich wäre dir äußerst dankbar wenn wir das hinbekommen

from homebridge-samsungtv-control2.

lukasj98 avatar lukasj98 commented on July 17, 2024

könnten wir evtl skype mit bildschirmübertragung machen

from homebridge-samsungtv-control2.

lukasj98 avatar lukasj98 commented on July 17, 2024

oder teamviewer

from homebridge-samsungtv-control2.

lukasj98 avatar lukasj98 commented on July 17, 2024

hab schon so viele plugins probiert bei deinem funktioniert das paring

from homebridge-samsungtv-control2.

lukasj98 avatar lukasj98 commented on July 17, 2024

/homebridge # npx homebridge-samsungtv-control discover
Searching for devices...
(node:2908) UnhandledPromiseRejectionWarning: GotError: connect ECONNREFUSED 0.0.0.0:1901
at onError (/homebridge/node_modules/homebridge-samsungtv-control/node_modules/got/dist/source/request-as-event-emitter.js:140:29)
at handleRequest (/homebridge/node_modules/homebridge-samsungtv-control/node_modules/got/dist/source/request-as-event-emitter.js:173:17)
at processTicksAndRejections (internal/process/task_queues.js:97:5)
at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1141:16)
(node:2908) 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(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
(node:2908) [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.
(node:2908) PromiseRejectionHandledWarning: Promise rejection was handled asynchronously (rejection id: 1)
(node:2908) UnhandledPromiseRejectionWarning: GotError: connect ECONNREFUSED 0.0.0.0:1901
at onError (/homebridge/node_modules/homebridge-samsungtv-control/node_modules/got/dist/source/request-as-event-emitter.js:140:29)
at handleRequest (/homebridge/node_modules/homebridge-samsungtv-control/node_modules/got/dist/source/request-as-event-emitter.js:173:17)
at processTicksAndRejections (internal/process/task_queues.js:97:5)
at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1141:16)
(node:2908) 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(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 2)
/homebridge #

from homebridge-samsungtv-control2.

lukasj98 avatar lukasj98 commented on July 17, 2024

was kann ich tun

from homebridge-samsungtv-control2.

lukasj98 avatar lukasj98 commented on July 17, 2024

nur das paring funktioniert

from homebridge-samsungtv-control2.

lukasj98 avatar lukasj98 commented on July 17, 2024

paring funktioniert einwandfrei bekomme token über die pair1 command methode

fernseher schaltet auf mute nach pairing

from homebridge-samsungtv-control2.

lukasj98 avatar lukasj98 commented on July 17, 2024

offentlich findet sich eine lösung

from homebridge-samsungtv-control2.

lukasj98 avatar lukasj98 commented on July 17, 2024

für mich als rollstuhlfahrer wäre es super auch noch den tv in homekit zu haben

from homebridge-samsungtv-control2.

lukasj98 avatar lukasj98 commented on July 17, 2024

/homebridge # npx https://github.com/mmende/homebridge-samsungtv-cont
rol2#iss16 discover
Searching for devices...
Got error while trying to check device with usn: "uuid:7272e15a-2505-11e5-b345-b2a15400ef00". GotError: connect ECONNREFUSED 0.0.0.0:1901
at onError (/root/.npm/_npx/1260/lib/node_modules/homebridge-samsungtv-control/node_modules/got/dist/source/request-as-event-emitter.js:140:29)
at handleRequest (/root/.npm/_npx/1260/lib/node_modules/homebridge-samsungtv-control/node_modules/got/dist/source/request-as-event-emitter.js:173:17)
at processTicksAndRejections (internal/process/task_queues.js:97:5)
at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1141:16) {
name: 'RequestError',
code: 'ECONNREFUSED'
}
Found these devices:
[TV]Samsung LED40 (UE40H6400): usn "uuid:0f7f4902-0004-1000-b1b5-bc148513e64d"

from homebridge-samsungtv-control2.

lukasj98 avatar lukasj98 commented on July 17, 2024

Super vielen Dank dass du mich unterstützt und ich hoffe wir finden eine Lösung dass es bei mir funktioniert. Also kann ich bis zur nächsten Version den Fernseher noch nicht einbinden?

Ich bekomme auch wie es in der Beschreibung des Plugins steht keine automatischen Logs beim neu start ob tv gefunden werden. Erst mit dem command. Warum ? Und warum scheitert die Einbindung momentan?

D.h. wenn ich es richtig verstehe, dass momentan irgendein anderes Gerät was nichts mit dem Fernseher zu tun hat das Plugin blockiert und Fehler verursacht?

Da das Paring aber einwandfrei funktioniert denke ich dass wir gemeinsam eine Lösung finden oder ?

Ich wäre Dir wirklich äußerst dankbar wenn du mich bis zur finalen Einbindung weiter unterstützt 👍👍👍

from homebridge-samsungtv-control2.

lukasj98 avatar lukasj98 commented on July 17, 2024

Ok also wie soll ich dann genau vorgehen?
Ich habe es direkt über GitHub installiert
Wie probiere ich es jetzt am besten weiter ?

Da ich nach der Installation und einem Neustart keine Logs bezüglich TVGeräte bekomme

Welche Schritte bis zur Einbindung in HomeKit ?

from homebridge-samsungtv-control2.

mmende avatar mmende commented on July 17, 2024

Hast du die zuvor installierte Version vorher deinstalliert? Ich weiß nicht ob npm kapiert, dass es sich um das gleiche Modul handelt und dieses selbstständig deinstalliert wenn man über github installiert. Nach der installation über github Homebridge neustarten und erstmal schauen ob es in der plugin-section auftaucht. Optimalerweise tut es das und der Fernseher erscheint unter den homebridge accessories (sofern homebridge im insecure Mode gestartet wurde siehe link)

from homebridge-samsungtv-control2.

mmende avatar mmende commented on July 17, 2024

Außerdem wird der TV falls alles klappt als externe Accessory eingebunden (wegen einer Homekit Limitation) weshalb man ihn getrennt von der Homebridge-Bridge in Homekit einbinden muss (siehe Readme).

from homebridge-samsungtv-control2.

mmende avatar mmende commented on July 17, 2024

Nein... nur, dass der Fernseher nicht mir der Bridge selbst in Homekit hinzugefügt wird sondern als eigenständiges Gerät (aber mit der gleichen Pin). Wenn man in der Home App auf das + klickt, dann Gerät hinzufügen, dann "Ich habe keinen Code bzw. kann nicht scannen" sollte der Fernseher dort auftauchen. Für die Homebridge-Bridge kann man ja einfach den QR-Code scannen. Für Fernseher muss man es aber so machen wie hier beschrieben.

from homebridge-samsungtv-control2.

lukasj98 avatar lukasj98 commented on July 17, 2024

bin gerade dabei das plugin über den command zu installieren
/homebridge # npm i -g https://github.com/mmende/homebridge-samsungtv
-control2
npm WARN deprecated [email protected]: request has been deprecated, see request/request#3142
npm WARN deprecated [email protected]: this library is no longer supported
/usr/local/bin/homebridge-samsungtv-control -> /usr/local/lib/node_modules/homebridge-samsungtv-control/cli.js

[email protected] postinstall /usr/local/lib/node_modules/homebridge-samsungtv-control/node_modules/fast-xml-parser
node tasks/postinstall.js || exit 0

Love fast-xml-parser? Check https://amitkumargupta.work for more projects and contribution.

npm WARN [email protected] requires a peer of typescript@2 || 3 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of typescript@2 || 3 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of typescript@>=2.8.0 || >= 3.2.0-dev || >= 3.3.0-dev || >= 3.4.0-dev || >= 3.5.0-dev || >= 3.6.0-dev || >= 3.6.0-beta || >= 3.7.0-dev || >= 3.7.0-beta but none is installed. You must install peer dependencies yourself.

from homebridge-samsungtv-control2.

lukasj98 avatar lukasj98 commented on July 17, 2024

ist das bisher so richtig

from homebridge-samsungtv-control2.

mmende avatar mmende commented on July 17, 2024

Ja passt... die warnings kannst du ignorieren

from homebridge-samsungtv-control2.

lukasj98 avatar lukasj98 commented on July 17, 2024

und dann hab ich homebridge über (sudo) homebridge -I gestartet korrekt ? :)

from homebridge-samsungtv-control2.

lukasj98 avatar lukasj98 commented on July 17, 2024

und dann

from homebridge-samsungtv-control2.

lukasj98 avatar lukasj98 commented on July 17, 2024

ich habe schon viel probiert was sollte ich jetzt machen
danke dass du mich unterstützt

hab neu gestartet und tv ist auch an

from homebridge-samsungtv-control2.

mmende avatar mmende commented on July 17, 2024

Siehst du irgendwelche log-Meldungen?

from homebridge-samsungtv-control2.

lukasj98 avatar lukasj98 commented on July 17, 2024

nein [8/2/2020, 11:48:28 AM] Loaded plugin: [email protected]
[8/2/2020, 11:48:28 AM] Registering platform 'homebridge-config-ui-x.config'
[8/2/2020, 11:48:28 AM] ---
[8/2/2020, 11:48:28 AM] ====================
[8/2/2020, 11:48:28 AM] ERROR LOADING PLUGIN homebridge-samsungtv-control:
[8/2/2020, 11:48:28 AM] Error: Cannot find module '/usr/local/lib/node_modules/homebridge-samsungtv-control/dist/index.js'
Require stack:

  • /usr/local/lib/node_modules/homebridge/lib/plugin.js
  • /usr/local/lib/node_modules/homebridge/lib/pluginManager.js
  • /usr/local/lib/node_modules/homebridge/lib/api.js
  • /usr/local/lib/node_modules/homebridge/lib/server.js
  • /usr/local/lib/node_modules/homebridge/lib/cli.js
  • /usr/local/lib/node_modules/homebridge/bin/homebridge
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:965:15)
    at Function.Module._load (internal/modules/cjs/loader.js:841:27)
    at Module.require (internal/modules/cjs/loader.js:1025:19)
    at require (internal/modules/cjs/helpers.js:72:18)
    at Plugin.load (/usr/local/lib/node_modules/homebridge/src/plugin.ts:181:27)
    at /usr/local/lib/node_modules/homebridge/src/pluginManager.ts:120:16
    at Map.forEach ()
    at PluginManager.initializeInstalledPlugins (/usr/local/lib/node_modules/homebridge/src/pluginManager.ts:118:18)
    at Server.start (/usr/local/lib/node_modules/homebridge/src/server.ts:150:24)
    at cli (/usr/local/lib/node_modules/homebridge/src/cli.ts:80:10)
    [8/2/2020, 11:48:28 AM] ====================
    Setup Payload:
    X-HM://0023ISYWYK49B
    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 │     
└────────────┘     

[8/2/2020, 11:48:28 AM] Homebridge is running on port 33896.

from homebridge-samsungtv-control2.

lukasj98 avatar lukasj98 commented on July 17, 2024

plugin erscheint aber in UI

from homebridge-samsungtv-control2.

mmende avatar mmende commented on July 17, 2024

Ah ok ... mein Fehler. Bei dem Master-Branch des Repositories ist der Code noch nicht gebuilded worden (von typescript zu javascript). Du kannst aber den Branch nehmen den ich für dein Issue angelegt habe... einfach noch mal so installieren: npm i -g https://github.com/mmende/homebridge-samsungtv-control2#iss16

from homebridge-samsungtv-control2.

lukasj98 avatar lukasj98 commented on July 17, 2024

vielen dank irgendwann wird es klappen

from homebridge-samsungtv-control2.

lukasj98 avatar lukasj98 commented on July 17, 2024

[8/2/2020, 11:56:06 AM] [HB Supervisor] Restarting Homebridge...
[8/2/2020, 11:56:06 AM] [HB Supervisor] Starting Homebridge with extra flags: -I -P /homebridge/node_modules -D
[8/2/2020, 11:56:06 AM] [HB Supervisor] Started Homebridge v1.1.1 with PID: 1007
[8/2/2020, 11:56:07 AM] Loaded config.json with 0 accessories and 1 platforms.
[8/2/2020, 11:56:07 AM] ---
[8/2/2020, 11:56:08 AM] Loaded plugin: [email protected]
[8/2/2020, 11:56:08 AM] Registering accessory 'homebridge-dummy.DummySwitch'
[8/2/2020, 11:56:08 AM] ---
[8/2/2020, 11:56:08 AM] Loaded plugin: [email protected]
[8/2/2020, 11:56:08 AM] Registering platform 'homebridge-config-ui-x.config'
[8/2/2020, 11:56:08 AM] ---
[8/2/2020, 11:56:08 AM] Loaded plugin: [email protected]
[8/2/2020, 11:56:08 AM] Registering platform 'homebridge-samsungtv-control.SamsungTVControl'
[8/2/2020, 11:56:08 AM] ---
[8/2/2020, 11:56:08 AM] Loading 1 platforms...
[8/2/2020, 11:56:08 AM] [Config] Initializing config platform...
[8/2/2020, 11:56:08 AM] [Config] Running in Service Mode
Setup Payload:
X-HM://0023ISYWYJNJL
Enter this code with your HomeKit app on your iOS device to pair with Homebridge:

┌────────────┐     
│ 031-45-154 │     
└────────────┘     

[8/2/2020, 11:56:08 AM] Homebridge is running on port 51687.
[8/2/2020, 11:56:20 AM] [Config] Starting terminal session

from homebridge-samsungtv-control2.

mmende avatar mmende commented on July 17, 2024

Kannst du homebridge noch mal im Debug-Mode starten?

from homebridge-samsungtv-control2.

lukasj98 avatar lukasj98 commented on July 17, 2024

also wie genau hab in UI einstellungen debug an

from homebridge-samsungtv-control2.

lukasj98 avatar lukasj98 commented on July 17, 2024

image

from homebridge-samsungtv-control2.

mmende avatar mmende commented on July 17, 2024

Ah ok... ich wundere mich nur wo die Debug-Meldungen im Log bleiben

from homebridge-samsungtv-control2.

lukasj98 avatar lukasj98 commented on July 17, 2024

sudo homebridge debbug

from homebridge-samsungtv-control2.

lukasj98 avatar lukasj98 commented on July 17, 2024

hab ich grad gemacht

from homebridge-samsungtv-control2.

lukasj98 avatar lukasj98 commented on July 17, 2024

was soll ich tun

from homebridge-samsungtv-control2.

mmende avatar mmende commented on July 17, 2024

Ist das oben der gesamte Log?

from homebridge-samsungtv-control2.

lukasj98 avatar lukasj98 commented on July 17, 2024

hab nochmal restartet

from homebridge-samsungtv-control2.

lukasj98 avatar lukasj98 commented on July 17, 2024

was kann ich jetzt probieren

from homebridge-samsungtv-control2.

mmende avatar mmende commented on July 17, 2024

Kommt außer dem was du oben gepostet hattest nichts im log?

from homebridge-samsungtv-control2.

lukasj98 avatar lukasj98 commented on July 17, 2024

[8/2/2020, 12:05:13 PM] [HB Supervisor] OS: Linux 4.4.59+ x64
[8/2/2020, 12:05:13 PM] [HB Supervisor] Node.js v12.18.3 /usr/local/bin/node
[8/2/2020, 12:05:13 PM] [HB Supervisor] Homebridge Path: /usr/local/lib/node_modules/homebridge/bin/homebridge
[8/2/2020, 12:05:13 PM] [HB Supervisor] UI Path: /usr/local/lib/node_modules/homebridge-config-ui-x/dist/bin/standalone.js
[8/2/2020, 12:05:13 PM] [HB Supervisor] Starting Homebridge with extra flags: -I -P /homebridge/node_modules -D
[8/2/2020, 12:05:13 PM] [HB Supervisor] Started Homebridge v1.1.1 with PID: 1721
[8/2/2020, 12:05:13 PM] Loaded config.json with 0 accessories and 1 platforms.
[8/2/2020, 12:05:13 PM] ---
[8/2/2020, 12:05:14 PM] Loaded plugin: [email protected]
[8/2/2020, 12:05:14 PM] Registering accessory 'homebridge-dummy.DummySwitch'
[8/2/2020, 12:05:14 PM] ---
[8/2/2020, 12:05:14 PM] Loaded plugin: [email protected]
[8/2/2020, 12:05:14 PM] Registering platform 'homebridge-config-ui-x.config'
[8/2/2020, 12:05:14 PM] ---
[8/2/2020, 12:05:15 PM] Loaded plugin: [email protected]
[8/2/2020, 12:05:15 PM] Registering platform 'homebridge-samsungtv-control.SamsungTVControl'
[8/2/2020, 12:05:15 PM] ---
[8/2/2020, 12:05:15 PM] Loading 1 platforms...
[8/2/2020, 12:05:15 PM] [Config] Initializing config platform...
[8/2/2020, 12:05:15 PM] [Config] Running in Service Mode
Setup Payload:
X-HM://0023ISYWYJNJL
Enter this code with your HomeKit app on your iOS device to pair with Homebridge:

┌────────────┐     
│ 031-45-154 │     
└────────────┘     

[8/2/2020, 12:05:15 PM] Homebridge is running on port 51687.
[8/2/2020, 12:05:16 PM] [Config] Homebridge Config UI X v4.24.0 is listening on :: port 8080
[8/2/2020, 12:05:21 PM] [Config] Starting terminal session
[8/2/2020, 12:05:33 PM] [Config] Terminal session ended.
[8/2/2020, 12:05:47 PM] [Config] Starting terminal session
[8/2/2020, 12:09:01 PM] [Config] Terminal session ended.
[8/2/2020, 12:09:04 PM] [Config] Starting terminal session
[8/2/2020, 12:10:34 PM] [Config] Terminal session ended.
[8/2/2020, 12:10:43 PM] [Config] Starting terminal session

from homebridge-samsungtv-control2.

lukasj98 avatar lukasj98 commented on July 17, 2024

nein

from homebridge-samsungtv-control2.

lukasj98 avatar lukasj98 commented on July 17, 2024

da kommt nichts anderes

from homebridge-samsungtv-control2.

mmende avatar mmende commented on July 17, 2024

Ok, dann gibt es wohl noch irgend ein anderes Problem... Ich gehe mal den Code durch und versuche rauszufinden wo beim initialisieren noch was schief laufen könnte und melde mich dann wieder.

from homebridge-samsungtv-control2.

lukasj98 avatar lukasj98 commented on July 17, 2024

ok hoffentlich klappt es ... vielen vielen dank schonmal

from homebridge-samsungtv-control2.

lukasj98 avatar lukasj98 commented on July 17, 2024

aber komisch ist dass ich keinen ordner von deinem plugin auf dem server finde unter node_modules

from homebridge-samsungtv-control2.

mmende avatar mmende commented on July 17, 2024

Das Plugin wurde ja global installiert (deshalb der -g Flag beim installieren)... d.H. der Ordner liegt im globalen node_modules Ordner.

from homebridge-samsungtv-control2.

lukasj98 avatar lukasj98 commented on July 17, 2024

aber scheint ja installiert zu sein (paring klappt)also liegt es am code

from homebridge-samsungtv-control2.

lukasj98 avatar lukasj98 commented on July 17, 2024

andere homebridge sachen haben ja funktioniert. ich hatte mal eine anderes plugin für lichter von osram in der homebridge das ging

from homebridge-samsungtv-control2.

lukasj98 avatar lukasj98 commented on July 17, 2024

also kann ich momentan das setup nicht machen ?

from homebridge-samsungtv-control2.

lukasj98 avatar lukasj98 commented on July 17, 2024

wenn ich versuche über config den tv einzubinden wie in der readme kommt immer dieser fehler

(node:368) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'log' of undefined
at debug (/usr/local/lib/node_modules/homebridge/src/logger.ts:144:12)
at checkDeviceDetails (/usr/local/lib/node_modules/homebridge-samsungtv-control/src/utils/detectDevices.ts:56:5)
at processTicksAndRejections (internal/process/task_queues.js:97:5)
(node:368) 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(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
(node:368) [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.
(node:368) PromiseRejectionHandledWarning: Promise rejection was handled asynchronously (rejection id: 1)
(node:368) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'log' of undefined
at debug (/usr/local/lib/node_modules/homebridge/src/logger.ts:144:12)
at checkDeviceDetails (/usr/local/lib/node_modules/homebridge-samsungtv-control/src/utils/detectDevices.ts:56:5)
at processTicksAndRejections (internal/process/task_queues.js:97:5)
(node:368) 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(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 2)

from homebridge-samsungtv-control2.

lukasj98 avatar lukasj98 commented on July 17, 2024

hab jetzt versucht über discover und dann paring manuell die config zu machen hab richtige usn nummer und token aber taucht nicht als gerät auf da muss noch ein fehler sein

from homebridge-samsungtv-control2.

lukasj98 avatar lukasj98 commented on July 17, 2024

8/2/2020, 1:39:05 PM] Registering platform 'homebridge-samsungtv-control.SamsungTVControl'
[8/2/2020, 1:39:05 PM] ---
[8/2/2020, 1:39:05 PM] Loading 2 platforms...
[8/2/2020, 1:39:05 PM] [Config] Initializing config platform...
[8/2/2020, 1:39:05 PM] [Config] Running in Service Mode
[8/2/2020, 1:39:05 PM] [SamsungTVControl] Initializing SamsungTVControl platform...
[8/2/2020, 1:39:05 PM] [SamsungTVControl] Got config {
platform: 'SamsungTVControl',
devices: [
{
usn: 'uuid:0f7f4902-0004-1000-b1b5-bc148513e64d',
token: 'eyJzZXNzaW9uSWQiOiIxIiwiYWVzS2V5IjoiNGJkYjQ3YmM2NDkwZDBhNDZhNTAwMzM3NDZiNmUxNTIifQ==',
name: 'Bedroom TV'
}
]
}
[8/2/2020, 1:39:05 PM] [SamsungTVControl] Using node-persist path: /homebridge/.homebridge-samsungtv-control
Setup Payload:
X-HM://0023ISYWYJNJL
Enter this code with your HomeKit app on your iOS device to pair with Homebridge:

┌────────────┐     
│ 031-45-154 │     
└────────────┘     

[8/2/2020, 1:39:05 PM] Homebridge is running on port 51687.
[8/2/2020, 1:39:05 PM] [SamsungTVControl] SamsungTVControl db - /homebridge/.homebridge-samsungtv-control/49a93582a910673f04262657317b99d0 does not exist, returning undefined value
[8/2/2020, 1:39:07 PM] [Config] Homebridge Config UI X v4.24.0 is listening on :: port 8080
(node:368) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'log' of undefined
at debug (/usr/local/lib/node_modules/homebridge/src/logger.ts:144:12)
at checkDeviceDetails (/usr/local/lib/node_modules/homebridge-samsungtv-control/src/utils/detectDevices.ts:56:5)
at processTicksAndRejections (internal/process/task_queues.js:97:5)
(node:368) 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(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
(node:368) [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.
(node:368) PromiseRejectionHandledWarning: Promise rejection was handled asynchronously (rejection id: 1)
(node:368) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'log' of undefined
at debug (/usr/local/lib/node_modules/homebridge/src/logger.ts:144:12)
at checkDeviceDetails (/usr/local/lib/node_modules/homebridge-samsungtv-control/src/utils/detectDevices.ts:56:5)
at processTicksAndRejections (internal/process/task_queues.js:97:5)
(node:368) 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(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 2)

from homebridge-samsungtv-control2.

lukasj98 avatar lukasj98 commented on July 17, 2024

ich bin verzweifelt dabei aber ich glaub es liegt nicht am tv der dürfte kompatibel sein

from homebridge-samsungtv-control2.

lukasj98 avatar lukasj98 commented on July 17, 2024

Also am tv liegt es nicht

from homebridge-samsungtv-control2.

lukasj98 avatar lukasj98 commented on July 17, 2024

also in der library wird mein tv als unterstützes modell gelistet

from homebridge-samsungtv-control2.

mmende avatar mmende commented on July 17, 2024

Diese Fehlermeldung sollte auch nicht mehr mit der Library zu tun haben. Hab den Bug aber noch nicht gefunden...

from homebridge-samsungtv-control2.

lukasj98 avatar lukasj98 commented on July 17, 2024

ok. komisch dass ich das plugin gar nicht verwenden kann. aber hoffentlich findet sich die lösung

from homebridge-samsungtv-control2.

lukasj98 avatar lukasj98 commented on July 17, 2024

Gibt es schon Neuigkeiten?

from homebridge-samsungtv-control2.

mmende avatar mmende commented on July 17, 2024

Nein noch nicht. Was hattest du denn zuletzt angepasst (weil ja jetzt zumindest das Plugin geladen wird...wenn auch mit Fehlermeldung). Kann es sein, dass vorher in der Config unter platforms noch kein Objekt mit { "platform": "SamsungTVControl" ... enthalten war?

from homebridge-samsungtv-control2.

lukasj98 avatar lukasj98 commented on July 17, 2024

Ja ich habe einfach mal die Config aus der readme aber mit eigenen Nummern passend zum tv aber funktioniert nicht 

from homebridge-samsungtv-control2.

lukasj98 avatar lukasj98 commented on July 17, 2024

?

from homebridge-samsungtv-control2.

lukasj98 avatar lukasj98 commented on July 17, 2024

https://github.com/kkapitan/homebridge-homesung

dieses plugin funktioniert. alle commands gehe aber da hab ich in homekit jede taste vom tv als switch und nicht den tv als tv mit den jeweiligen unteroptionen wie bei deinem plugin. kannst du mir weiterhelfen.

ich wäre dir äußerst dankbar

from homebridge-samsungtv-control2.

lukasj98 avatar lukasj98 commented on July 17, 2024

ich kann dir auch die config schicken

from homebridge-samsungtv-control2.

lukasj98 avatar lukasj98 commented on July 17, 2024

wenn das plugin jetzt so wäre wie deins, dass es in homekit als tv mit fernbedienung angezeigt wird wäre es perfekt. bekommst du das hin?

das würde mir so sehr helfen

from homebridge-samsungtv-control2.

lukasj98 avatar lukasj98 commented on July 17, 2024

aber dann müsste man das doch auch in deinem schönen Plugin als Homekit TV hinbekommen. ?

from homebridge-samsungtv-control2.

lukasj98 avatar lukasj98 commented on July 17, 2024

?

from homebridge-samsungtv-control2.

lukasj98 avatar lukasj98 commented on July 17, 2024

wie ist der aktuelle Stand

from homebridge-samsungtv-control2.

lukasj98 avatar lukasj98 commented on July 17, 2024

?

from homebridge-samsungtv-control2.

lukasj98 avatar lukasj98 commented on July 17, 2024

???

from homebridge-samsungtv-control2.

lukasj98 avatar lukasj98 commented on July 17, 2024

??

from homebridge-samsungtv-control2.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.