Skip to content

15 second delay after powering off #189

@funtast

Description

@funtast

There is a problem in closing control websocket on ports 8001 and 8002 by TV itself which does not allow to monitor TV state (or or off)

But there is a solution:
On powering on TV with minimum delay opens any of following ports: 9110/9117/9119 (The last of this works in my case) and in powering off it closes it with also minimum delay.

So, if we want to monitor power state of TV we just need try to connect to this port with delay for 1 second. And when connection established wait for connection to be closed. On "connect" event we will understand, that tv is powered on and on "close" event we will know, that tv is powered off.

In this case we can decide what command send to tv to power it on or power it off.

Also this solution works even if tv is turning on from remote control (ir/bluetooth)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions