tavicu / homebridge-samsung-tizen

Homebridge plugin for Samsung TV's with Tizen OS
MIT License
646 stars 88 forks source link

Hoobs 3.3.5 - Sleep and Crash !!! #326

Closed Stewart06 closed 3 years ago

Stewart06 commented 3 years ago

Bonjour, depuis le passage à la version 3.3.5 de HOOBS, la fonction veille pour la TV fait planter le service complètement, obligé de rebooter le sytème !

[03/19/2021 02:14] [Thermostat] Current22.5 [03/19/2021 02:14] [Thermostat] Target22.5 [03/19/2021 02:14] [HOOBS 7C88 @ Thermostat @ Thermostat @ Temperature Display Units] characteristic value expected valid finite number and received "NaN" (number) [03/19/2021 02:14] [HOOBS RPi-4 CPU] Sending temp: 36.998 [03/19/2021 02:17] SocketOpenError : Invalid WebSocket frame: invalid status code 1005 [03/19/2021 02:17] at WebSocketSecure._checkSocket (/ home / hoobs / .hoobs / node_modules / homebridge- samsung-tizen / lib / methods / ws.js: 93: 19) [03/19/2021 02:17] at runMicrotasks () [03/19/2021 02:17] at processTicksAndRejections (internal / process / task_queues.js: 94: 5) { [03/19 / 2021 02:17] name: SocketOpenError ', [03/19/2021 02:17] response: undefined [03/19/2021 02:17] [03/19/2021 02:17] SocketOpenError: [03/19/2021 02:17] SocketOpenError: Invalid WebSocket frame: invalid status code 1005 [03/19/2021 02:17] at WebSocketSecure. checkSocket (/ home / hoobs / .hoobs / node_modules / homebridge- samsung-tizen / lib / methods / ws.js: 93: 19) [03/19/2021 02:17] at runMicrotasks () [19 / 03/2021 02:17] at processTickSAndRejections (internal / process / task_queues.js: 94: 5) { [03/19/2021 02:17] name: SocketOpenError ', [03/19/2021 02:17] response: undefined [03/19/2021 02:17]} [03/19/2021 02:17] undefined [03/19/2021 02:17] Got SIGTERM, shutting down Bridge ... [03/19/2021 02: 17] [Apple TV Platform] Shutting down Apple TV clients ... [03/19/2021 02:17] [Apple TV Platform] Shutting down Apple TV clients ... [03/19/2021 02:17] Catching error on dropMembership: {"code": "ERR_SOCKET_DGRAM_NOT_RUNNING"}

tavicu commented 3 years ago

I'm sorry but i can't help you. I am not using Hoobs so i don't know how to debug and help you.

But it looks like a connection problem with the websocket, not something related to Hoobs.

Stewart06 commented 3 years ago

Pourrez-vous m'expliquer se qu'est le websocket ?

tavicu commented 3 years ago

The plugin creates a connection between him and the TV via websocket. It appears that there is a problem opening this connection.

You could try hard restarting your TV: hold power button pressed until you see Samsung logo. Or easier, remove from the power socket and connect it again :)

Make sure the TV is on when you start the Homebridge instance

tavicu commented 3 years ago

Also make sure you are on the latest version of node. You can check with node -v. I am using v15.x.x