Git Product home page Git Product logo

homebridge-bravia-tvos's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

homebridge-bravia-tvos's Issues

Feature request: homekit support for older sony bravia models that have full ip control

First of all very good plugin and I’m very happy with it. Installation and config was easy, I was using an other plugin first could not get it to work, this one was painless.

I have 2 sony bravias at home, one that has android OS w805c and one that has what i think is a sony OS w805a.
I was using roomie remote before which was later renamed to simple control. Which had full ip control on both TV’s, bidirectional traffic, including wake on lan, but is not part of the homekit ecosystem this way. I was hoping for extra support to get this TV into homekit as well via homebridge.

Can’t automate power

Since the plugin only presents a Home app switch for on/off and input selector, there is no power selector in other apps.
This way the power cannot be automated; not even in Home app.

Could that be solved?

Plugin keeps turning off TV with iOS 12.2 beta3

After installing iOS 12.2 beta3, the TV keeps turning off automatically.
The problem disappeared when I removed the bravia-tvos platform from the config.json file so it seems that the problem comes from the plugin.

Volume control not working

Hi, since iOS Beta 12.2 the volume control doesn‘t work anymore in the AppleTV interface.

Can you have a look if that is a issue with the beta or maybe they changed something so you need to update your code?

Thanks

Node version warning

I get this warning ?!

Plugin /usr/local/lib/node_modules/homebridge-bravia-tvos requires Node version of ^8.9.1 which does not satisfy the current Node version of v10.15.3. You may need to upgrade your installation of Node.

Tick icons next to inputs

Do the ticks next to the inputs in tv setting have a purpose? or are they disabled by apple at the minutes, I was hoping to choose a default input for certain automations/scenes.

Plug-ins report errors on Sony 75z9f

[BraviaOSPlatform] [ERROR] 客厅电视: An error occured while handling accessories!
(node:2722) UnhandledPromiseRejectionWarning: TypeError: Converting circular structure to JSON
at JSON.stringify ()
at TelevisionAccessory.handleAccessory (/homebridge/node_modules/homebridge-bravia-tvos/src/accessory.js:127:30)
at process._tickCallback (internal/process/next_tick.js:68:7)
(node:2722) 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(). (rejection id: 2)
(node:2722) [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.

How can I deal with this problem?
thanks

Today, after my first successful configuration, I plan to add an input port.
As a result, I started reporting errors, whether I reverted to the previous configuration or made the same mistake.

iOS 12.3 Beta 2 - Upcoming changes

With iOS 12.3, the following changes are coming to HomeKit regarding TV Accessory:

  • It is no longer possible to select a specific input when the TV is off (see image)

V3.0 does not work at all

I used the v2.0 an it worked in general. My TV was visible in HomeKit and I was able to switch it on, off and change the CEC inputs.
Well after installing V3.0 my TV is gone. Of course I changed the config so I'm now on the MIN configuration:
{
"platform": "BraviaOSPlatform",
"tvs": [
{
"name": "Sony",
"ipadress": "192.168.2.233",
"psk": "XXXXXXX",
"cecInputs": true
}
],
"interval": 10
}

The only strange thing I can see is the following snippet of homebridge start procedure and yes - it only says undefined even in debug mode...
[4/26/2019, 9:51:47 PM] [BraviaOSPlatform] [INFO] Adding new accessory: Sony
[4/26/2019, 9:51:47 PM] undefined

[ERROR] Error: Failed to load data, status code:500

Hi,
I'm hitting an unexpected error on Sony TV KD-49X8000C and would appreciate if you could help.

  1. I'm able to get the list of apps by running terminal command so the IP and PSK are correct.
  2. I'm running homebridge as a docker container on a Synology NAS. Other plugins work OK. It's set up through https://github.com/oznu/homebridge-syno-spk with Homebridge Version 0.4.46
  3. I enabled debug log in Homebridge, hopefully this is enough information.

Thanks,
Sam

[2/10/2019, 10:50:33 PM] [BraviaOSPlatform] [ERROR] Sony Android: An error occured by getting inputs, trying again...
[2/10/2019, 10:50:33 PM] [BraviaOSPlatform] [ERROR] Error: Failed to load data, status code:500
[2/10/2019, 10:50:33 PM] [BraviaOSPlatform] [ERROR] Error: Failed to load data, status code:500
    at ClientRequest.<anonymous> (/homebridge/node_modules/homebridge-bravia-tvos/src/platform.js:77:18)
    at Object.onceWrapper (events.js:277:13)
    at ClientRequest.emit (events.js:189:13)
    at HTTPParser.parserOnIncomingClient [as onIncoming] (_http_client.js:556:21)
    at HTTPParser.parserOnHeadersComplete (_http_common.js:109:17)
    at Socket.socketOnData (_http_client.js:442:20)
    at Socket.emit (events.js:189:13)
    at addChunk (_stream_readable.js:284:12)
    at readableAddChunk (_stream_readable.js:265:11)
    at Socket.Readable.push (_stream_readable.js:220:10)
    at TCP.onStreamRead [as onread] (internal/stream_base_commons.js:94:17)

i see this bit of information in the log
Plugin /homebridge/node_modules/homebridge-bravia-tvos requires Node version of ^8.9.1 which does not satisfy the current Node version of v10.15.1. You may need to upgrade your installation of Node. but i saw your comment on #5 so i assume it's a non-issue

further configuration in the manufacturer's app necessary

Hi,
Im a noob at Homebridge and im trying to install your Plugin, but it doesn't appear in the home app when I add my homebridge, it says further configuration in the manufacturer's app necessary.
what am I missing here?

thanks and sorry for the stupid question ;)

ChanelInputs not working

Hi, thanks for adding the DVBT and C as channel inputs. However, those are not displayedas inputs. Config is updated correct and I already tried reinstalling the plugin several times, but can’t get the additional channelinputs displayed in the inputs list in homekit.

Any suggestions what to try?

ipadress to host

many people use dhcp and don't know ip, maybe "host" config is more goon as "ipadress"

On Off switch

Hi SeydX,
I have now switched to this plugin, Unfortunately, the device is not seen in a third-party APP.
I only see the "Sony TV Speaker" switch.
Is it possible to show the on / off switch separately?
So you can use this in scenes.
Thank you
det

tv select Dvbt not work status is off

in log show

[3/29/2019, 1:46:32 AM] [BraviaOSPlatform] [INFO] TV: Start: Dvbc (5)
[3/29/2019, 1:46:39 AM] [BraviaOSPlatform] [WARN] TV: TV OFF <- when select Dvbt

[Feature Request] Hide inactive entries from "Input" list in Home app

Would it be possible to manually (or better, automatically) hide inactive entries from the "Input" menu in the Home app?

As I am using a Home Cinema Amplifier, I'm only using one HDMI port (eARC/ARC). Therefore, I would like the HDMI 1, 2 and 4 to be hidden and only appear if an HDMI cable is plugged to them.

The TV allows to automatically hide the inactive entries from the input menu, so I'm wondering if it would be possible here?!

img_5db571282fd0-1

OK button on native Apple remote does not work as expected

Hi,

I am using the latest plugin version on Homebridge latest version. It is working just fine except for the OK button on the Apple native remote.

When on the Android TV home menu, it does not act as the OK button but rather like the EPG one on the remote.

I am using Android TV on a Sony Bravia AF9.

img_b1ff2f9034b3-1

channels and apps

hello

First thanks for your work, amazing.

Everything work but If I try config channels and apps display on home app but like active on gray and its not working, could you tell me if I am doing something wrong?

This is my config:
{
"platform": "BraviaOSPlatform",
"tvs": [
{
"name": "Televisión",
"ip": "XXX.XXX.X.XX",
"port": 80,
"psk": "XXXXXXX",
"wol": true,
"channels": [
{
"channel": 1,
"source": "TVE"
},
{
"channel": 2,
"source": "2"
}
],
"apps": [
"YouTube",
"Netflix"
]
}
],
"interval": 10
},

Status not reported

After replacing with V2, the status of the device isn’t updated anymore. Keeps showing offline when turned on via regular remote.

Turning on, off and switching channels works as expected.

Any idea how to fix that?

DVBC as Input

Is it in any way possible to define DVBC or any other digital inputs to be listed in the inputs list?

Thanks

Type error indexOF of undefined

TypeError: Cannot read property 'indexOf' of undefined
at API.platform (C:\Users\vietd\AppData\Roaming\npm\node_modules\homebridge\lib\api.js:108:12)
at Server._loadPlatforms (C:\Users\vietd\AppData\Roaming\npm\node_modules\homebridge\lib\server.js:316:45)
at Server.run (C:\Users\vietd\AppData\Roaming\npm\node_modules\homebridge\lib\server.js:86:36)
at module.exports (C:\Users\vietd\AppData\Roaming\npm\node_modules\homebridge\lib\cli.js:45:10)
at Object. (C:\Users\vietd\AppData\Roaming\npm\node_modules\homebridge\bin\homebridge:17:22)
at Module._compile (module.js:635:30)
at Object.Module._extensions..js (module.js:646:10)
at Module.load (module.js:554:32)
at tryModuleLoad (module.js:497:12)
at Function.Module._load (module.js:489:3)

TV appears in default room whenever homebridge is restarted

Whenever homebridge is restarted, TVs appear in the default room, and get removed from all scenes, and all preferences for inputs are lost as if they were removed and then re-added to HomeKit. On the other hand, the speaker preserves all the options as expected after restarting homebridge.

This is the configuration I'm using:

    {
      "platform": "BraviaOSPlatform",
       "interval": 10,
      "tvs": [
        {
          "name": "Sony Bravia",
          "ip": "....",
          "mac": "....",
          "wol": true,
          "port": 80,
          "psk": "....",
          "customSpeaker": true,
          "speakerType": "speaker",
          "extraInputs": true,
          "cecInputs": true,
          "channelInputs": ["DVBC"],
          "channels": [ ... ],
          "apps":[ ... ]
        }
      ]
    }

Error handling accessories

I'm seeing an error in log when setting up my Sony Android TV from 2015. Anything I'am doing wrong?

May 01 13:52:59 raspberrypi homebridge[22568]: [5/1/2019, 13:52:59] [BraviaOSPlatform] [INFO] Adding new accessory: Sony Wohnzimmer
May 01 13:52:59 raspberrypi homebridge[22568]: [5/1/2019, 13:52:59] [BraviaOSPlatform] [INFO] Sony Wohnzimmer: Initalizing Bravia API with PSK
May 01 13:52:59 raspberrypi homebridge[22568]: [5/1/2019, 13:52:59] [BraviaOSPlatform] [INFO] Sony Wohnzimmer: Cheking authentication...
May 01 13:52:59 raspberrypi homebridge[22568]: [5/1/2019, 13:52:59] [Config] Console is listening on port 8080.
May 01 13:52:59 raspberrypi homebridge[22568]: [5/1/2019, 13:52:59] Homebridge is running on port 51826.
May 01 13:52:59 raspberrypi homebridge[22568]: [5/1/2019, 13:52:59] [BraviaOSPlatform] [INFO] Sony Wohnzimmer: Authenticated!
May 01 13:52:59 raspberrypi homebridge[22568]: [5/1/2019, 13:52:59] [BraviaOSPlatform] [ERROR] Sony Wohnzimmer: An error occured while handling accessories!
May 01 13:52:59 raspberrypi homebridge[22568]: [5/1/2019, 13:52:59] [BraviaOSPlatform] [ERROR] {
May 01 13:52:59 raspberrypi homebridge[22568]:     "status": 500,
May 01 13:52:59 raspberrypi homebridge[22568]:     "message": "Internal Server Error",
May 01 13:52:59 raspberrypi homebridge[22568]:     "config": {
May 01 13:52:59 raspberrypi homebridge[22568]:         "transformRequest": {},
May 01 13:52:59 raspberrypi homebridge[22568]:         "transformResponse": {},
May 01 13:52:59 raspberrypi homebridge[22568]:         "timeout": 0,
May 01 13:52:59 raspberrypi homebridge[22568]:         "xsrfCookieName": "XSRF-TOKEN",
May 01 13:52:59 raspberrypi homebridge[22568]:         "xsrfHeaderName": "X-XSRF-TOKEN",
May 01 13:52:59 raspberrypi homebridge[22568]:         "maxContentLength": -1,
May 01 13:52:59 raspberrypi homebridge[22568]:         "headers": {
May 01 13:52:59 raspberrypi homebridge[22568]:             "Accept": "application/json, text/plain, */*",
May 01 13:52:59 raspberrypi homebridge[22568]:             "Content-Type": "application/json",
May 01 13:52:59 raspberrypi homebridge[22568]:             "X-Auth-PSK": "tv12345",
May 01 13:52:59 raspberrypi homebridge[22568]:             "User-Agent": "axios/0.18.0",
May 01 13:52:59 raspberrypi homebridge[22568]:             "Content-Length": 78
May 01 13:52:59 raspberrypi homebridge[22568]:         },
May 01 13:52:59 raspberrypi homebridge[22568]:         "method": "post",
May 01 13:52:59 raspberrypi homebridge[22568]:         "url": "http://192.168.2.148:80/sony/avContent",
May 01 13:52:59 raspberrypi homebridge[22568]:         "data": "{\"id\":1,\"method\":\"getCurrentExternalInputsStatus\",\"version\":\"1.0\",\"params\":[]}"
May 01 13:52:59 raspberrypi homebridge[22568]:     },
May 01 13:52:59 raspberrypi homebridge[22568]:     "data": {
May 01 13:52:59 raspberrypi homebridge[22568]:         "error": [
May 01 13:52:59 raspberrypi homebridge[22568]:             500,
May 01 13:52:59 raspberrypi homebridge[22568]:             "Internal Server Error"
May 01 13:52:59 raspberrypi homebridge[22568]:         ],
May 01 13:52:59 raspberrypi homebridge[22568]:         "id": 1
May 01 13:52:59 raspberrypi homebridge[22568]:     }
May 01 13:52:59 raspberrypi homebridge[22568]: }

No input with iOS 12.2 beta3

The input menu is now empty with the iOS 12.2 beta3 release.
It is working fine with 12.2 beta2 and nothing changed in my config file.
I can also see the input load correctly in the homebridge logs.

screenshot 2019-02-21 at 11 23 24

img_0010

Node version warning

When reading the homebridge logs, I can see the following warning message:

/usr/lib/node_modules/homebridge-bravia-tvos requires Node version of ^8.9.1 which does not satisfy the current Node version of v11.10.0. You may need to upgrade your installation of Node.

Is there any issue running a superior version of Node with this plugin? If not, why not remove the warning?

KDL support does not work properly

I tried to add my older KDL and authentication worked by PIN but it does not appear im HomeKit afterwards. Here is my configuration:

               "platform": "BraviaOSPlatform",
                "tvs": [{
                    "name": "SONY KD49XE8005",
                    "ip": "10.0.1.19",
                    "mac": "5c:ea:1d:64:c2:7b",
                    "port": 80,
                    "psk": "ABCDEFG123456789",
                    "customSpeaker": false,
                    "cecInputs": true
                },{
                    "name": "SONY KDL42W656A",
                    "ip": "10.0.1.20",
                    "mac": "70:18:8b:4d:90:d8",
                    "port": 80,
                    "wol": false,
                    "customSpeaker": false,
                    "cecInputs": true
                }],
                "interval": 10

... and my logs:

[4/30/2019, 12:50:12 PM] [BraviaOSPlatform] Initializing BraviaOSPlatform platform...
[4/30/2019, 12:50:12 PM] [BraviaOSPlatform] **************************************************************
[4/30/2019, 12:50:12 PM] [BraviaOSPlatform] BraviaOSPlatform v3.0.2 by SeydX
[4/30/2019, 12:50:12 PM] [BraviaOSPlatform] GitHub: https://github.com/SeydX/homebridge-bravia-tvos
[4/30/2019, 12:50:12 PM] [BraviaOSPlatform] Email: [email protected]
[4/30/2019, 12:50:12 PM] [BraviaOSPlatform] **************************************************************
[4/30/2019, 12:50:12 PM] [BraviaOSPlatform] start success...
Load homebridge-camera-ffmpeg.Camera-ffmpeg
[4/30/2019, 12:50:12 PM] [BraviaOSPlatform] [INFO] SONY KD49XE8005: Initalizing Bravia API with PSK
[4/30/2019, 12:50:12 PM] [BraviaOSPlatform] [INFO] Configuring accessory SONY KD49XE8005
[4/30/2019, 12:50:12 PM] [BraviaOSPlatform] [INFO] SONY KD49XE8005: Cheking authentication...
[4/30/2019, 12:50:12 PM] [BraviaOSPlatform] [INFO] SONY KDL42W656A: Initalizing Bravia API with IP Control
[4/30/2019, 12:50:12 PM] [BraviaOSPlatform] [INFO] SONY KDL42W656A: Cheking authentication...
Server listening on: http://<ip>:8282
[4/30/2019, 12:50:12 PM] [BraviaOSPlatform] [INFO] SONY KD49XE8005: Authenticated!
[4/30/2019, 12:50:12 PM] [BraviaOSPlatform] [INFO] SONY KD49XE8005: CEC detected, checking TV state before fetching inputs...
[4/30/2019, 12:50:13 PM] [BraviaOSPlatform] [WARN] SONY KD49XE8005: TV not on! Turning on the TV...
[4/30/2019, 12:50:13 PM] [BraviaOSPlatform] [INFO] SONY KD49XE8005: TV switched ON!
[4/30/2019, 12:50:13 PM] [BraviaOSPlatform] [INFO] SONY KD49XE8005: Wait 7s before fetching inputs..
Setup Payload:
X-HM://0023OA62T046N
Scan this code with your HomeKit app on your iOS device to pair with Homebridge:    
[4/30/2019, 12:50:16 PM] Homebridge is running on port 51827.
[4/30/2019, 12:50:17 PM] [BraviaOSPlatform] [INFO] SONY KDL42W656A: Authenticated!
[4/30/2019, 12:50:17 PM] [BraviaOSPlatform] [INFO] SONY KDL42W656A: CEC detected, checking TV state before fetching inputs...
[4/30/2019, 12:50:18 PM] [BraviaOSPlatform] [INFO] SONY KDL42W656A: SONY KDL42W656A.json refreshed with new cookie!
[4/30/2019, 12:50:20 PM] [BraviaOSPlatform] [INFO] SONY KD49XE8005: New Inputs fetched. Turning off TV again.
[4/30/2019, 12:50:20 PM] [BraviaOSPlatform] [INFO] SONY KD49XE8005: Collecting...
[4/30/2019, 12:50:21 PM] [BraviaOSPlatform] [INFO] SONY KD49XE8005: Inputs Finished!

Order of apps presented as TV inputs is different than what's specified in config.json

Just updated to V3.0. My config.json entry is here:
foo.txt
As you can see, the apps order is specified as "Netflix", "Prime Video", "ESPN", "Pandora", and "tinyCam PRO".
However, The apps shown in the list of TV inputs is in the order of "Prime Video", "Netflix", "tinyCam PRO", "ESPN", and "Pandora". Is there any way to reorder the list of inputs to match the config.json specification?
Besides this particular problem everything else seems to be working quite well.
Thanks in advance for your reply.....

TV giving No Response in HomeApp

When I add my Sony TV to HomeApp using you plugin for Homebridge I can only control it once. When it initial is added to HomeApp. After turning it off and on again the HomeApp is giving the TV status "No Response" any solution ideas for this?

BR, Hanno

Hide inactive entries from Input

Tried to untick the box in the Home app, and that works. But after restarting homebridge they appear again in the list.

From other post, seems like the Elgato Eve app suppose to fix this, but my TV doesn't appear in the app at all.

Not sure if this is a bug or intended.

Node Version Error

09:07:14] ---
Feb 03 09:07:14 Bridge homebridge[8808]: [2019-2-3 09:07:14] Plugin /usr/local/lib/node_modules/homebridge-bravia-tvos requires Node version of ^8.9.1 which does not satisfy the current Node version of v9.9.0. You may need to upgrade your installation of Node.
Feb 03 09:07:14 Bridge homebridge[8808]: [2019-2-3 09:07:14] Loaded plugin: homebridge-bravia-tvos

New update not working Node error

After installation now I get the node version error like previously reported;

Plugin /homebridge/node_modules/homebridge-bravia-tvos requires Node version of ^8.9.1 which does not satisfy the current Node version of v10.15.1. You may need to upgrade your installation of Node.

I run homebridge Version 0.4.46.
Hopefully you can help me out. Thanks, Ramon

[ERROR] Sony TV: An error occured while getting input state!

Installed the latest plug-in today. TV showed up in Home with all the correct inputs.

But soon after start it starts producing these:
[4/26/2019, 3:49:50 PM] [BraviaOSPlatform] [ERROR] Sony TV: An error occured while getting input state!
[4/26/2019, 3:49:50 PM] [BraviaOSPlatform] [ERROR] [object Object]

If I try to turn the TV on or OFF via the Home:

[4/26/2019, 3:58:45 PM] [BraviaOSPlatform] [INFO] Sony TV: Turn off
[4/26/2019, 3:58:46 PM] [BraviaOSPlatform] [ERROR] Sony TV: An error occured while setting new power state!

Any ideas?

TV shuts down when Homebridge restarts

Hi, I have two issues on the V3 of the Bravia Plugin:

  1. When homebridge restarts or I restart my Pi and the TV is currently turned on, the TV turns off when the plugin loads on homebridge startup.

  2. I‘m not longer able to turn my TV on. MAC is correct and WOL is set to true. However I‘m able to turn the TV on. I also tried the previous old dynamic plugin which is not based on the new HomeKit TV Service and it still can turn the tv on. But the new plugin is not able to do. This and issue number one started to appear after I uninstalled V2 and installed V3

Thanks

Cannot read property 'toString' of undefined

App version: 3.0.
TV: Sony Brava KD-55X8507C

I upgraded from 2.0 to 3.0 today, but I'm seeing the following error in the logs. Also, the inputs are spread out as different accessories instead of being under TV (although, this may just be a remaining issue from 2.0 which hasn't corrected itself yet since 3.0 has the error below. I tried to put in DEBUG, but the below is all I get:

[4/25/2019, 8:37:31 AM] [BraviaOSPlatform] Initializing BraviaOSPlatform platform...
[4/25/2019, 8:37:31 AM] [BraviaOSPlatform] **************************************************************
[4/25/2019, 8:37:31 AM] [BraviaOSPlatform] BraviaOSPlatform v3.0.0 by SeydX
[4/25/2019, 8:37:31 AM] [BraviaOSPlatform] GitHub: https://github.com/SeydX/homebridge-bravia-tvos
[4/25/2019, 8:37:31 AM] [BraviaOSPlatform] Email: [email protected]
[4/25/2019, 8:37:31 AM] [BraviaOSPlatform] **************************************************************
[4/25/2019, 8:37:31 AM] [BraviaOSPlatform] start success...
[4/25/2019, 8:37:31 AM] [BraviaOSPlatform] [INFO] TV: Initalizing Bravia API with PSK
[4/25/2019, 8:37:31 AM] [BraviaOSPlatform] [INFO] Configuring accessory TV
[4/25/2019, 8:37:31 AM] [BraviaOSPlatform] [INFO] TV: Cheking authentication...
[4/25/2019, 8:37:31 AM] [BraviaOSPlatform] [INFO] TV: Authenticated!
2019-04-25T06:37:31.859Z BraviaPlatform TV: Adding Television Service
[4/25/2019, 8:37:31 AM] [BraviaOSPlatform] [ERROR] TV: An error occured while handling accessories!
[4/25/2019, 8:37:31 AM] [BraviaOSPlatform] [ERROR] TypeError: Cannot read property 'toString' of undefined

There's nothing too special about the config. I tried setting cecInputs to false, and also removed the apps, but that made no difference.

        {
            "platform": "BraviaOSPlatform",
            "tvs": [
                {
                    "name": "TV",
                    "ip": "xxx.xxx.xxx.xxx",
                    "port": 80,
                    "psk": "xxxxxxx",
                    "extraInputs": false,
                    "cecInputs": true,
                    "channelInputs": false,
                    "apps": [
                        "YouTube",
                        "Netflix",
                        "Prime Video"
                    ]
                }
            ],
            "interval": 10
        }

[BETA] Version 3 - Bugfix Thread

Hey everyone,

as some of you may know, I am currently working on the v3 of my Bravia plugin. Most of it is already done. Currently I'm looking for beta testers to wipe out the remaining bugs and / or incorporate new requests.

Here you can read how to install the plugin and how to set it:

https://github.com/SeydX/homebridge-bravia-tvos/tree/beta
https://github.com/SeydX/homebridge-bravia-tvos/blob/beta/example-config.json

Note: Before you install the new plugin, I recommend you to delete the old plugin and remove it from HomeKit! And also delete the accessories and persist folders.

Then download the new plugin, install it, enter it in config.json, restart Homebridge and there you go!

Android Oreo 8.0

Hello

Updated my Sony Bravia Android 55XF to android 8.0
now the update 12.2 for ios is here

i can't connect.

all other bravia for homebridge works. but none of your homebridge plugins i can get to work sadly

all of them writes this
this one

[3/25/2019, 11:14:26 PM] [BraviaOSPlatform] [ERROR] TV: An error occured by getting system information, trying again...
[3/25/2019, 11:14:26 PM] [BraviaOSPlatform] [ERROR] Error: Failed to load data, status code:403

sorta the same the other ones you have write..
any help ? :)

Home app always displays last "favApps" as active

The Home App always displays the last favApps in my config file as active.

Selecting another app using the "Input" list will update the active app, but as soon as I change the app using the tv remote, the Home App will display the last favApps back.

In my example, "Steam link" is my last favApps in config.json.
img_0007

"accessories":[ { "accessory":"BraviaTVOS", "name":"TV", "interval":10, "ipadress":"10.0.1.3", "port":80, "psk":"sony", "extraInputs":false, "cecInputs":true, "channelInputs":false, "favApps":[ { "title":"Netflix", "uri":"com.sony.dtv.com.netflix.ninja.com.netflix.ninja.MainActivity" }, { "title":"Plex", "uri":"com.sony.dtv.com.plexapp.android.com.plexapp.plex.activities.SplashActivity" }, { "title":"Molotov TV", "uri":"com.sony.dtv.tv.molotov.app.tv.molotov.android.ui.SplashActivity" }, { "title":"Prime Video", "uri":"com.sony.dtv.com.amazon.amazonvideo.livingroom.com.amazon.ignition.IgnitionActivity" }, { "title":"YouTube", "uri":"com.sony.dtv.com.google.android.youtube.tv.com.google.android.apps.youtube.tv.activity.ShellActivity" }, { "title":"Be tv Go", "uri":"com.sony.dtv.be.tv.go.be.voo.voomotion.ui.splashscreen.SplashScreenActivity" }, { "title":"VOOmotion", "uri":"com.sony.dtv.be.voo.voomotion.be.voo.voomotion.ui.splashscreen.SplashScreenActivity" }, { "title":"Steam Link", "uri":"com.sony.dtv.com.valvesoftware.steamlink.com.valvesoftware.steamlink.SteamShellActivity" } ] } ] }

Control centre remote doesn't work

Thanks for the plugin! It works great in Home app but in the remote from drop down control centre I cannot find the TV, what could be wrong?
Another question, can I remove all inputs like HDMI 1, 2 only keep Apple TV and fav apps?
Thank you in advance!

doesn't work at all with oznu\docker-homebridge

bombs out straight away at startup

homebridge_1 | [2019-2-3 22:54:08] [TV] Initializing BraviaTVOS accessory...
homebridge_1 |
homebridge_1 | /homebridge/node_modules/homebridge-bravia-tvos/index.js:156
homebridge_1 | this.Television=new Service.Television(self.name||'Television');
homebridge_1 | ^
homebridge_1 | TypeError: Service.Television is not a constructor
homebridge_1 | at new BraviaTVOS (/homebridge/node_modules/homebridge-bravia-tvos/index.js:156:19)
homebridge_1 | at Server._loadAccessories (/usr/local/lib/node_modules/homebridge/lib/server.js:297:29)
homebridge_1 | at Server.run (/usr/local/lib/node_modules/homebridge/lib/server.js:87:38)
homebridge_1 | at module.exports (/usr/local/lib/node_modules/homebridge/lib/cli.js:45:10)
homebridge_1 | at Object. (/usr/local/lib/node_modules/homebridge/bin/homebridge:17:22)
homebridge_1 | at Module._compile (module.js:652:30)
homebridge_1 | at Object.Module._extensions..js (module.js:663:10)
homebridge_1 | at Module.load (module.js:565:32)
homebridge_1 | at tryModuleLoad (module.js:505:12)
homebridge_1 | at Function.Module._load (module.js:497:3)

TV showing up as "Not Supported" on Home app

I've installed the plug-in and it shows up on the Home App as a device but it says "not supported." I'm on the latest iOS beta and Ive configured all the settings on my Sony TV. Any suggestions would be great??

URI is invalid for apps

The plugin fails to start up apps (e.g., Netflix). By looking at the logs, the uri of the applications seem to be correct, yet the plugin fails by saying the uri is invalid. In the old version, the same uri worked when used in favApps.

[4/30/2019, 10:04:15 PM] [BraviaOSPlatform] [INFO] Sony Bravia: Turn on Netflix                                                                                                                                                                              
2019-04-30T20:04:15.138Z BraviaPlatformApi [Bravia Debug]: api request 357: post /sony/avContent - setPlayContent - [{"uri":"kamaji://BIV-2747"}]                                                                                                            
2019-04-30T20:04:15.214Z BraviaPlatformApi [Bravia Debug]: api request 357: Error - [3,"uri is invalid"]                                                                                                                                                     
[4/30/2019, 10:04:15 PM] [BraviaOSPlatform] [ERROR] Sony Bravia: An error occured while setting new input state!                                                                                                                                             
[4/30/2019, 10:04:15 PM] [BraviaOSPlatform] [ERROR] [                                                                                                                                                                                                        
    3,                                                                                                                                                                                                                                                       
    "uri is invalid"                                                                                                                                                                                                                                         
]                                                                                                                                              

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.