Hi guys,
I'm having some trouble integrating my Samsung TV running HyperTizen as a Remote Control Source for Hyperion.
Digging through the dev's Discord I managed to add the TV as a Remote Source launching these commands:
const ws = new WebSocket('ws://your-tvs-ip:8086');
ws.send(JSON.stringify({ event: 0, key: 'rpcServer', value: 'ws://hyperion-server-ip:8090' }));
ws.send(JSON.stringify({ event: 0, key: 'enabled', value: 'true' }));
but once added it only show a pitch black image as Live Video preview.
Nonetheless, if I re-run the second command (ws.send(JSON.stringify({ event: 0, key: 'rpcServer', value: 'ws://hyperion-server-ip:8090' }));) it will start showing coherent leds preview and the leds would actually works, but the preview would still remain pitch black.
My setup is composed by:
- a containerized Hyperion instance (foorschtbar/hyperion-docker|(HEAD detached at 2.0.16) (Paulchen-Panther-cb85d2d/a93d79b-1705568419)) which is reachable by Home Assistant (and works flawlessly with).
- a remote source running HyperTizen
- an ESP32 running Aircoookie/WLED and controlling a WS2812B led strip
After 30s the Hyperion server will send a Send close command to the TV which freeze the system once again.
Here's a log dump of a single run:
2024-12-12T21:50:16.908Z [WEBSOCKET] (DEBUG) (WebSocketClient.cpp:30:WebSocketClient()) New connection from ::ffff:172.23.0.1
2024-12-12T21:50:16.966Z [WEBSOCKET] (DEBUG) (JsonAPI.cpp:154:handleInstanceSwitch()) Client '::ffff:172.23.0.1' switch to Hyperion instance 0
2024-12-12T21:50:17.205Z [WEBSOCKET] (DEBUG) (JsonAPI.cpp:1232:handleLoggingCommand()) log streaming activated for client ::ffff:172.23.0.1
2024-12-12T21:50:44.855Z [WEBSOCKET] (DEBUG) (WebSocketClient.cpp:30:WebSocketClient()) New connection from ::ffff:192.168.1.[TV]
2024-12-12T21:50:44.873Z [MUXER|First LED Hardware instance] (DEBUG) (PriorityMuxer.cpp:182:registerInput()) Reuse input 'HyperTizen@::ffff:192.168.1.[TV]/IMAGE' (HyperTizen Data) with priority 99
2024-12-12T21:50:47.214Z [MUXER|First LED Hardware instance] (DEBUG) (PriorityMuxer.cpp:182:registerInput()) Previous line repeats 10 times
2024-12-12T21:50:47.214Z [IMAGETOLED|First LED Hardware instance] (DEBUG) (ImageToLedsMap.cpp:112:ImageToLedsMap()) Total index number is: 800 (memory: 800). Reduced pixel set factor: 0, Accuracy level: 0, Image size: 64 x 48, LED areas: 6
2024-12-12T21:50:47.448Z [MUXER|First LED Hardware instance] (DEBUG) (PriorityMuxer.cpp:182:registerInput()) Reuse input 'HyperTizen@::ffff:192.168.1.[TV]/IMAGE' (HyperTizen Data) with priority 99
2024-12-12T21:51:14.861Z [WEBSOCKET] (DEBUG) (WebSocketClient.cpp:213:sendClose()) Send close to ::ffff:192.168.1.[TV]: 1000
Any suggestions on how to fix the black preview or at least disable the 30s auto-shutoff?
Thank you for your time.


