seydx / homebridge-bravia-tv

Homebridge dynamic platform plugin for Sony Bravia Android TVs
37 stars 4 forks source link

Hanging on getting the Channels? #1

Closed XRyu closed 6 years ago

XRyu commented 6 years ago

Hi,

my homebdridge don't seems to work with this plugin right, i always get the following in the logs since i I added the platform config:

[HomeAssistant] Fetching HomeAssistant devices.
[HomeAssistant] Failed getting devices: Error: socket hang up. Retrying...
[Tortuga TV] Missing storage file! Checking TV state...
[Tortuga TV] TV is active.
[Tortuga TV] An error occurred by getting 'Channels'! Trying again...
[Tortuga TV] {"error":[7,"Illegal State"],"id":1}
[HomeAssistant] Fetching HomeAssistant devices.

and loops again.

My config is the following:

        {
            "platform": "BraviaTV",
            "name": "Tortuga TV",
            "ipadress": "192.168.178.28",
            "psk": "sony"
        }

My TV is a Sony Bravia KD-65X8505C with the recent Android 7.0 Update

Do you have any ideas how to resolve this? :)

seydx commented 6 years ago

Hey,

how you receive your channels? This plugin only support DVBT at the moment, i made some bugfixes in the newest version (v3.0.1), you can also try to start without channels if you don't receive your channels with DVBT

just put "channelsEnabled":false in your config json and try again starting homebridge

XRyu commented 6 years ago

I dont use any DVB at all right now, only using Apps. Now with the "channelsEnabled":false it works :) It had to start for some long time, i was even away from home for the day, when i came back everything was working :)

How do i ask Siri to start i.e. Netflix or Amazon Prime? Is this possible to do?

Else, would it be possible, to expose the Apps as "devices" so i might say "Siri turn on Netflix / Amazon Prime in living room"? Possibly with an filter-attribute in config. Just an Idea :)

seydx commented 6 years ago

To Start Apps with Siri you need to create scenes with i.e. the Eve App, choose the right App number and it should work then

XRyu commented 6 years ago

Thank you! :) As it now works for me, i will close this issue :)