seydx / homebridge-bravia-tvos

Homebridge plugin for Sony Bravia Android TVs
MIT License
347 stars 32 forks source link

Edit page is blank #163

Closed themackworth closed 2 years ago

themackworth commented 2 years ago

I am running 5.0.5 of the plug in. When I select my TV from the drop down list and click the edit icon, I get brought to page where the contents is empty. I also see two errors in the console.

Screen Shot 2021-09-23 at 5 05 17 PM Screen Shot 2021-09-23 at 5 05 45 PM
seydx commented 2 years ago

Does the error occur every time you open it? Or only sporadically?

also which browser?

and can u post your tv cache (json) here pls. It is located in your homebridge directory (where your config.json is) /bravia/TVNAME.json

themackworth commented 2 years ago

Yes every time. I just added the TV for the first time. I am using Safari 15 on Catalina but it didn't work on chrome either. TV.txt

ctrlcmdshft commented 2 years ago

same issue here with fresh install today running firefox on windows

sony tv.txt

seydx commented 2 years ago

@themackworth

can you post some more details about the error pls (click on the arrow next to „ERROR“)

ctrlcmdshft commented 2 years ago

Here my error from firefox same error 6 times firefox_683

seydx commented 2 years ago

How about the homebridge logs? Are there also any errors?

ctrlcmdshft commented 2 years ago

image

ctrlcmdshft commented 2 years ago

Here the snippet in the home bridge config editor

image

seydx commented 2 years ago

@ctrlcmdshft

have you tested another browser?

ctrlcmdshft commented 2 years ago

Tried Firefox, edge, brave and there private windows as well

seydx commented 2 years ago

v5.0.6 (beta) is online, can u try it guys (maybe u need to clear browser cache after install and before open the config)

sudo npm i -g homebridge-bravia-tvos@beta

ctrlcmdshft commented 2 years ago

Beta not working at all

image image image

themackworth commented 2 years ago

I get the same error as before with beta Console.txt .

themackworth commented 2 years ago

I went back to all the versions from 5.0 to 5.0.6 beta and had the same issue on all of them.

themackworth commented 2 years ago

@SeydX Is this helpful at all? I am not a JS dev, but:

Screen Shot 2021-09-30 at 11 55 13 AM
seydx commented 2 years ago

@SeydX Is this helpful at all? I am not a JS dev, but: Screen Shot 2021-09-30 at 11 55 13 AM

yeah that was really helpful thanks!

new beta coming very soon!

seydx commented 2 years ago

can u test v5.0.7-beta pls

sudo npm i -g homebridge-bravia-tvos@beta

themackworth commented 2 years ago

Same error. Not sure if you removed the "Config Created" log, because I don't even see that anymore.

seydx commented 2 years ago

v5.0.7-beta.1 is online

can u remove the tv from the config (also the tv cache from your homebridge folder) and reconfigure it pls with a different name in the config

sudo npm i -g homebridge-bravia-tvos@beta

themackworth commented 2 years ago

I deleted the bravia folder, also a folder I found called undefined/bravia. I re-added the TV but I still get the same error :/

seydx commented 2 years ago

Hmm

The same error in the browser console? And the tv cache is written correct?

ctrlcmdshft commented 2 years ago

Wondering since my tv supports HomeKit which I found out last night. Could that be the issue since it has native support.

themackworth commented 2 years ago

Yes, same error I think. It gets into here:

Screen Shot 2021-10-01 at 10 08 45 AM

And I eventually get to here:

Screen Shot 2021-10-01 at 10 09 47 AM

And then after this I get the error in the console.

Screen Shot 2021-10-01 at 10 08 45 AM

I have a single TV in my bravia folder. 'Living Room.json' which is a new name from before.

    "name": "Living Room",
    "apps": [
        {
            "name": "Play Store",
            "uri": "com.sony.dtv.com.android.vending.com.google.android.finsky.tvmainactivity.TvMainActivity"
        },
        {
            "name": "YouTube",
            "uri": "com.sony.dtv.com.google.android.youtube.tv.com.google.android.apps.youtube.tv.activity.ShellActivity"
        },
        {
            "name": "YouTube Music",
            "uri": "com.sony.dtv.com.google.android.youtube.tvmusic.com.google.android.apps.youtube.tvmusic.application.MainActivity"
        },
        {
            "name": "Music",
            "uri": "com.sony.dtv.com.sony.dtv.osat.music.com.sonyericsson.music.MusicActivity"
        },
        {
            "name": "Media Player",
            "uri": "com.sony.dtv.com.sony.dtv.smartmediaapp.com.sony.dtv.smartmediaapp.MainActivity"
        },
        {
            "name": "TV",
            "uri": "com.sony.dtv.com.sony.dtv.tvx.com.sony.dtv.tvx.MainActivity"
        },
        {
            "name": "Program Guide",
            "uri": "com.sony.dtv.com.sony.dtv.tvxlauncher.programguide.com.sony.dtv.tvxlauncher.programguide.MainActivity"
        },
        {
            "name": "YouTube Kids",
            "uri": "com.sony.dtv.com.google.android.youtube.tvkids.com.google.android.apps.youtube.tvkids.activity.MainActivity"
        },
        {
            "name": "YouTube TV",
            "uri": "com.sony.dtv.com.google.android.youtube.tvunplugged.com.google.android.apps.youtube.tvunplugged.activity.MainActivity"
        },
        {
            "name": "Hulu",
            "uri": "com.sony.dtv.com.hulu.livingroomplus.com.hulu.livingroomplus.WKFactivity"
        },
        {
            "name": "VUDU",
            "uri": "com.sony.dtv.air.com.vudu.air.DownloaderTablet.air.com.vudu.air.DownloaderTablet.TvMainActivity"
        },
        {
            "name": "Prime Video",
            "uri": "com.sony.dtv.com.amazon.amazonvideo.livingroom.com.amazon.ignition.IgnitionActivity"
        },
        {
            "name": "Crackle",
            "uri": "com.sony.dtv.com.crackle.androidtv.com.crackle.alwayson.app.HomeActivity"
        },
        {
            "name": "Play Games",
            "uri": "com.sony.dtv.com.google.android.play.games.com.google.android.apps.play.games.app.atv.features.home.HomeActivity"
        },
        {
            "name": "Play Movies & TV",
            "uri": "com.sony.dtv.com.google.android.videos.com.google.android.videos.tv.presenter.activity.TvLauncherActivity"
        },
        {
            "name": "Netflix",
            "uri": "com.sony.dtv.com.netflix.ninja.com.netflix.ninja.MainActivity"
        },
        {
            "name": "Bonus Offer",
            "uri": "com.sony.dtv.com.sony.dtv.promos.com.sony.dtv.promos.MainActivity"
        },
        {
            "name": "Help",
            "uri": "com.sony.dtv.com.sony.dtv.smarthelp.com.sony.dtv.smarthelp.activity.MainActivity"
        },
        {
            "name": "TV Control Setup with Amazon Alexa",
            "uri": "com.sony.dtv.com.sony.dtv.smarthomesettings.com.sony.dtv.smarthomesettings.activity.MainActivity"
        },
        {
            "name": "Sony Select",
            "uri": "com.sony.dtv.com.sony.dtv.sonyselect.com.sony.dtv.sonyselect.activities.LaunchActivity"
        },
        {
            "name": "Timers",
            "uri": "com.sony.dtv.com.sony.dtv.timers.com.sony.dtv.activity.TimersMainActivity"
        },
        {
            "name": "DIRECTV Ready",
            "uri": "com.sony.dtv.com.sony.rvu.com.sony.rvu.Activity"
        },
        {
            "name": "Screen mirroring",
            "uri": "com.sony.dtv.screnmirroring.com.screnmirroring.com.StartScreenMirroringHomeActivity"
        },
        {
            "name": "Disney+",
            "uri": "com.sony.dtv.com.disney.disneyplus.com.bamtechmedia.dominguez.main.MainActivity"
        },
        {
            "name": "Play Music",
            "uri": "com.sony.dtv.com.google.android.music.com.google.android.music.tv.HomeActivity"
        },
        {
            "name": "Spotify",
            "uri": "com.sony.dtv.com.spotify.tv.android.com.spotify.tv.android.SpotifyTVActivity"
        },
        {
            "name": "Shop TV",
            "uri": "com.sony.dtv.sonyselect-ShopTV_CEB"
        },
        {
            "name": "Slacker Radio",
            "uri": "com.sony.dtv.ceb-5838"
        }
    ],
    "channels": [
        {
            "uri": "tv:analog?channel=2",
            "index": 0,
            "displayNumber": "2",
            "source": "analog"
        },
        {
            "uri": "tv:analog?channel=3",
            "index": 1,
            "displayNumber": "3",
            "source": "analog"
        },
        {
            "uri": "tv:analog?channel=4",
            "index": 2,
            "displayNumber": "4",
            "source": "analog"
        },
        {
            "uri": "tv:analog?channel=5",
            "index": 3,
            "displayNumber": "5",
            "source": "analog"
        },
        {
            "uri": "tv:analog?channel=6",
            "index": 4,
            "displayNumber": "6",
            "source": "analog"
        },
        {
            "uri": "tv:analog?channel=7",
            "index": 5,
            "displayNumber": "7",
            "source": "analog"
        },
        {
            "uri": "tv:analog?channel=8",
            "index": 6,
            "displayNumber": "8",
            "source": "analog"
        },
        {
            "uri": "tv:analog?channel=9",
            "index": 7,
            "displayNumber": "9",
            "source": "analog"
        },
        {
            "uri": "tv:analog?channel=10",
            "index": 8,
            "displayNumber": "10",
            "source": "analog"
        },
        {
            "uri": "tv:analog?channel=11",
            "index": 9,
            "displayNumber": "11",
            "source": "analog"
        },
        {
            "uri": "tv:analog?channel=12",
            "index": 10,
            "displayNumber": "12",
            "source": "analog"
        },
        {
            "uri": "tv:analog?channel=13",
            "index": 11,
            "displayNumber": "13",
            "source": "analog"
        },
        {
            "uri": "tv:analog?channel=14",
            "index": 12,
            "displayNumber": "14",
            "source": "analog"
        },
        {
            "uri": "tv:analog?channel=15",
            "index": 13,
            "displayNumber": "15",
            "source": "analog"
        },
        {
            "uri": "tv:analog?channel=16",
            "index": 14,
            "displayNumber": "16",
            "source": "analog"
        },
        {
            "uri": "tv:analog?channel=17",
            "index": 15,
            "displayNumber": "17",
            "source": "analog"
        },
        {
            "uri": "tv:analog?channel=18",
            "index": 16,
            "displayNumber": "18",
            "source": "analog"
        },
        {
            "uri": "tv:analog?channel=19",
            "index": 17,
            "displayNumber": "19",
            "source": "analog"
        },
        {
            "uri": "tv:analog?channel=20",
            "index": 18,
            "displayNumber": "20",
            "source": "analog"
        },
        {
            "uri": "tv:analog?channel=21",
            "index": 19,
            "displayNumber": "21",
            "source": "analog"
        },
        {
            "uri": "tv:analog?channel=22",
            "index": 20,
            "displayNumber": "22",
            "source": "analog"
        },
        {
            "uri": "tv:analog?channel=23",
            "index": 21,
            "displayNumber": "23",
            "source": "analog"
        },
        {
            "uri": "tv:analog?channel=24",
            "index": 22,
            "displayNumber": "24",
            "source": "analog"
        },
        {
            "uri": "tv:analog?channel=25",
            "index": 23,
            "displayNumber": "25",
            "source": "analog"
        },
        {
            "uri": "tv:analog?channel=26",
            "index": 24,
            "displayNumber": "26",
            "source": "analog"
        },
        {
            "uri": "tv:analog?channel=27",
            "index": 25,
            "displayNumber": "27",
            "source": "analog"
        },
        {
            "uri": "tv:analog?channel=28",
            "index": 26,
            "displayNumber": "28",
            "source": "analog"
        },
        {
            "uri": "tv:analog?channel=29",
            "index": 27,
            "displayNumber": "29",
            "source": "analog"
        },
        {
            "uri": "tv:analog?channel=30",
            "index": 28,
            "displayNumber": "30",
            "source": "analog"
        },
        {
            "uri": "tv:analog?channel=31",
            "index": 29,
            "displayNumber": "31",
            "source": "analog"
        },
        {
            "uri": "tv:analog?channel=32",
            "index": 30,
            "displayNumber": "32",
            "source": "analog"
        },
        {
            "uri": "tv:analog?channel=33",
            "index": 31,
            "displayNumber": "33",
            "source": "analog"
        },
        {
            "uri": "tv:analog?channel=34",
            "index": 32,
            "displayNumber": "34",
            "source": "analog"
        },
        {
            "uri": "tv:analog?channel=35",
            "index": 33,
            "displayNumber": "35",
            "source": "analog"
        },
        {
            "uri": "tv:analog?channel=36",
            "index": 34,
            "displayNumber": "36",
            "source": "analog"
        },
        {
            "uri": "tv:analog?channel=37",
            "index": 35,
            "displayNumber": "37",
            "source": "analog"
        },
        {
            "uri": "tv:analog?channel=38",
            "index": 36,
            "displayNumber": "38",
            "source": "analog"
        },
        {
            "uri": "tv:analog?channel=39",
            "index": 37,
            "displayNumber": "39",
            "source": "analog"
        },
        {
            "uri": "tv:analog?channel=40",
            "index": 38,
            "displayNumber": "40",
            "source": "analog"
        },
        {
            "uri": "tv:analog?channel=41",
            "index": 39,
            "displayNumber": "41",
            "source": "analog"
        },
        {
            "uri": "tv:analog?channel=42",
            "index": 40,
            "displayNumber": "42",
            "source": "analog"
        },
        {
            "uri": "tv:analog?channel=43",
            "index": 41,
            "displayNumber": "43",
            "source": "analog"
        },
        {
            "uri": "tv:analog?channel=44",
            "index": 42,
            "displayNumber": "44",
            "source": "analog"
        },
        {
            "uri": "tv:analog?channel=45",
            "index": 43,
            "displayNumber": "45",
            "source": "analog"
        },
        {
            "uri": "tv:analog?channel=46",
            "index": 44,
            "displayNumber": "46",
            "source": "analog"
        },
        {
            "uri": "tv:analog?channel=47",
            "index": 45,
            "displayNumber": "47",
            "source": "analog"
        },
        {
            "uri": "tv:analog?channel=48",
            "index": 46,
            "displayNumber": "48",
            "source": "analog"
        },
        {
            "uri": "tv:analog?channel=49",
            "index": 47,
            "displayNumber": "49",
            "source": "analog"
        },
        {
            "uri": "tv:analog?channel=50",
            "index": 48,
            "displayNumber": "50",
            "source": "analog"
        },
        {
            "uri": "tv:analog?channel=51",
            "index": 49,
            "displayNumber": "51",
            "source": "analog"
        },
        {
            "uri": "tv:analog?channel=52",
            "index": 50,
            "displayNumber": "52",
            "source": "analog"
        },
        {
            "uri": "tv:analog?channel=53",
            "index": 51,
            "displayNumber": "53",
            "source": "analog"
        },
        {
            "uri": "tv:analog?channel=54",
            "index": 52,
            "displayNumber": "54",
            "source": "analog"
        },
        {
            "uri": "tv:analog?channel=55",
            "index": 53,
            "displayNumber": "55",
            "source": "analog"
        },
        {
            "uri": "tv:analog?channel=56",
            "index": 54,
            "displayNumber": "56",
            "source": "analog"
        },
        {
            "uri": "tv:analog?channel=57",
            "index": 55,
            "displayNumber": "57",
            "source": "analog"
        },
        {
            "uri": "tv:analog?channel=58",
            "index": 56,
            "displayNumber": "58",
            "source": "analog"
        },
        {
            "uri": "tv:analog?channel=59",
            "index": 57,
            "displayNumber": "59",
            "source": "analog"
        },
        {
            "uri": "tv:analog?channel=60",
            "index": 58,
            "displayNumber": "60",
            "source": "analog"
        },
        {
            "uri": "tv:analog?channel=61",
            "index": 59,
            "displayNumber": "61",
            "source": "analog"
        },
        {
            "uri": "tv:analog?channel=62",
            "index": 60,
            "displayNumber": "62",
            "source": "analog"
        },
        {
            "uri": "tv:analog?channel=63",
            "index": 61,
            "displayNumber": "63",
            "source": "analog"
        },
        {
            "uri": "tv:analog?channel=64",
            "index": 62,
            "displayNumber": "64",
            "source": "analog"
        },
        {
            "uri": "tv:analog?channel=65",
            "index": 63,
            "displayNumber": "65",
            "source": "analog"
        },
        {
            "uri": "tv:analog?channel=66",
            "index": 64,
            "displayNumber": "66",
            "source": "analog"
        },
        {
            "uri": "tv:analog?channel=67",
            "index": 65,
            "displayNumber": "67",
            "source": "analog"
        },
        {
            "uri": "tv:analog?channel=68",
            "index": 66,
            "displayNumber": "68",
            "source": "analog"
        },
        {
            "uri": "tv:analog?channel=69",
            "index": 67,
            "displayNumber": "69",
            "source": "analog"
        }
    ],
    "commands": [
        {
            "name": "Num1",
            "value": "AAAAAQAAAAEAAAAAAw=="
        },
        {
            "name": "Num2",
            "value": "AAAAAQAAAAEAAAABAw=="
        },
        {
            "name": "Num3",
            "value": "AAAAAQAAAAEAAAACAw=="
        },
        {
            "name": "Num4",
            "value": "AAAAAQAAAAEAAAADAw=="
        },
        {
            "name": "Num5",
            "value": "AAAAAQAAAAEAAAAEAw=="
        },
        {
            "name": "Num6",
            "value": "AAAAAQAAAAEAAAAFAw=="
        },
        {
            "name": "Num7",
            "value": "AAAAAQAAAAEAAAAGAw=="
        },
        {
            "name": "Num8",
            "value": "AAAAAQAAAAEAAAAHAw=="
        },
        {
            "name": "Num9",
            "value": "AAAAAQAAAAEAAAAIAw=="
        },
        {
            "name": "Num0",
            "value": "AAAAAQAAAAEAAAAJAw=="
        },
        {
            "name": "Num11",
            "value": "AAAAAQAAAAEAAAAKAw=="
        },
        {
            "name": "Num12",
            "value": "AAAAAQAAAAEAAAALAw=="
        },
        {
            "name": "Enter",
            "value": "AAAAAQAAAAEAAAALAw=="
        },
        {
            "name": "GGuide",
            "value": "AAAAAQAAAAEAAAAOAw=="
        },
        {
            "name": "ChannelUp",
            "value": "AAAAAQAAAAEAAAAQAw=="
        },
        {
            "name": "ChannelDown",
            "value": "AAAAAQAAAAEAAAARAw=="
        },
        {
            "name": "VolumeUp",
            "value": "AAAAAQAAAAEAAAASAw=="
        },
        {
            "name": "VolumeDown",
            "value": "AAAAAQAAAAEAAAATAw=="
        },
        {
            "name": "Mute",
            "value": "AAAAAQAAAAEAAAAUAw=="
        },
        {
            "name": "TvPower",
            "value": "AAAAAQAAAAEAAAAVAw=="
        },
        {
            "name": "Audio",
            "value": "AAAAAQAAAAEAAAAXAw=="
        },
        {
            "name": "MediaAudioTrack",
            "value": "AAAAAQAAAAEAAAAXAw=="
        },
        {
            "name": "Tv",
            "value": "AAAAAQAAAAEAAAAkAw=="
        },
        {
            "name": "Input",
            "value": "AAAAAQAAAAEAAAAlAw=="
        },
        {
            "name": "TvInput",
            "value": "AAAAAQAAAAEAAAAlAw=="
        },
        {
            "name": "TvAntennaCable",
            "value": "AAAAAQAAAAEAAAAqAw=="
        },
        {
            "name": "WakeUp",
            "value": "AAAAAQAAAAEAAAAuAw=="
        },
        {
            "name": "PowerOff",
            "value": "AAAAAQAAAAEAAAAvAw=="
        },
        {
            "name": "Sleep",
            "value": "AAAAAQAAAAEAAAAvAw=="
        },
        {
            "name": "Right",
            "value": "AAAAAQAAAAEAAAAzAw=="
        },
        {
            "name": "Left",
            "value": "AAAAAQAAAAEAAAA0Aw=="
        },
        {
            "name": "SleepTimer",
            "value": "AAAAAQAAAAEAAAA2Aw=="
        },
        {
            "name": "Analog2",
            "value": "AAAAAQAAAAEAAAA4Aw=="
        },
        {
            "name": "TvAnalog",
            "value": "AAAAAQAAAAEAAAA4Aw=="
        },
        {
            "name": "Display",
            "value": "AAAAAQAAAAEAAAA6Aw=="
        },
        {
            "name": "Jump",
            "value": "AAAAAQAAAAEAAAA7Aw=="
        },
        {
            "name": "PicOff",
            "value": "AAAAAQAAAAEAAAA+Aw=="
        },
        {
            "name": "PictureOff",
            "value": "AAAAAQAAAAEAAAA+Aw=="
        },
        {
            "name": "Teletext",
            "value": "AAAAAQAAAAEAAAA/Aw=="
        },
        {
            "name": "Video1",
            "value": "AAAAAQAAAAEAAABAAw=="
        },
        {
            "name": "Video2",
            "value": "AAAAAQAAAAEAAABBAw=="
        },
        {
            "name": "AnalogRgb1",
            "value": "AAAAAQAAAAEAAABDAw=="
        },
        {
            "name": "Home",
            "value": "AAAAAQAAAAEAAABgAw=="
        },
        {
            "name": "Exit",
            "value": "AAAAAQAAAAEAAABjAw=="
        },
        {
            "name": "PictureMode",
            "value": "AAAAAQAAAAEAAABkAw=="
        },
        {
            "name": "Confirm",
            "value": "AAAAAQAAAAEAAABlAw=="
        },
        {
            "name": "Up",
            "value": "AAAAAQAAAAEAAAB0Aw=="
        },
        {
            "name": "Down",
            "value": "AAAAAQAAAAEAAAB1Aw=="
        },
        {
            "name": "ClosedCaption",
            "value": "AAAAAgAAAKQAAAAQAw=="
        },
        {
            "name": "Component1",
            "value": "AAAAAgAAAKQAAAA2Aw=="
        },
        {
            "name": "Component2",
            "value": "AAAAAgAAAKQAAAA3Aw=="
        },
        {
            "name": "Wide",
            "value": "AAAAAgAAAKQAAAA9Aw=="
        },
        {
            "name": "EPG",
            "value": "AAAAAgAAAKQAAABbAw=="
        },
        {
            "name": "PAP",
            "value": "AAAAAgAAAKQAAAB3Aw=="
        },
        {
            "name": "TenKey",
            "value": "AAAAAgAAAJcAAAAMAw=="
        },
        {
            "name": "BSCS",
            "value": "AAAAAgAAAJcAAAAQAw=="
        },
        {
            "name": "Ddata",
            "value": "AAAAAgAAAJcAAAAVAw=="
        },
        {
            "name": "Stop",
            "value": "AAAAAgAAAJcAAAAYAw=="
        },
        {
            "name": "Pause",
            "value": "AAAAAgAAAJcAAAAZAw=="
        },
        {
            "name": "Play",
            "value": "AAAAAgAAAJcAAAAaAw=="
        },
        {
            "name": "Rewind",
            "value": "AAAAAgAAAJcAAAAbAw=="
        },
        {
            "name": "Forward",
            "value": "AAAAAgAAAJcAAAAcAw=="
        },
        {
            "name": "DOT",
            "value": "AAAAAgAAAJcAAAAdAw=="
        },
        {
            "name": "Rec",
            "value": "AAAAAgAAAJcAAAAgAw=="
        },
        {
            "name": "Return",
            "value": "AAAAAgAAAJcAAAAjAw=="
        },
        {
            "name": "Blue",
            "value": "AAAAAgAAAJcAAAAkAw=="
        },
        {
            "name": "Red",
            "value": "AAAAAgAAAJcAAAAlAw=="
        },
        {
            "name": "Green",
            "value": "AAAAAgAAAJcAAAAmAw=="
        },
        {
            "name": "Yellow",
            "value": "AAAAAgAAAJcAAAAnAw=="
        },
        {
            "name": "SubTitle",
            "value": "AAAAAgAAAJcAAAAoAw=="
        },
        {
            "name": "CS",
            "value": "AAAAAgAAAJcAAAArAw=="
        },
        {
            "name": "BS",
            "value": "AAAAAgAAAJcAAAAsAw=="
        },
        {
            "name": "Digital",
            "value": "AAAAAgAAAJcAAAAyAw=="
        },
        {
            "name": "Options",
            "value": "AAAAAgAAAJcAAAA2Aw=="
        },
        {
            "name": "Media",
            "value": "AAAAAgAAAJcAAAA4Aw=="
        },
        {
            "name": "Prev",
            "value": "AAAAAgAAAJcAAAA8Aw=="
        },
        {
            "name": "Next",
            "value": "AAAAAgAAAJcAAAA9Aw=="
        },
        {
            "name": "DpadCenter",
            "value": "AAAAAgAAAJcAAABKAw=="
        },
        {
            "name": "CursorUp",
            "value": "AAAAAgAAAJcAAABPAw=="
        },
        {
            "name": "CursorDown",
            "value": "AAAAAgAAAJcAAABQAw=="
        },
        {
            "name": "CursorLeft",
            "value": "AAAAAgAAAJcAAABNAw=="
        },
        {
            "name": "CursorRight",
            "value": "AAAAAgAAAJcAAABOAw=="
        },
        {
            "name": "ShopRemoteControlForcedDynamic",
            "value": "AAAAAgAAAJcAAABqAw=="
        },
        {
            "name": "FlashPlus",
            "value": "AAAAAgAAAJcAAAB4Aw=="
        },
        {
            "name": "FlashMinus",
            "value": "AAAAAgAAAJcAAAB5Aw=="
        },
        {
            "name": "DemoMode",
            "value": "AAAAAgAAAJcAAAB8Aw=="
        },
        {
            "name": "Analog",
            "value": "AAAAAgAAAHcAAAANAw=="
        },
        {
            "name": "Mode3D",
            "value": "AAAAAgAAAHcAAABNAw=="
        },
        {
            "name": "DigitalToggle",
            "value": "AAAAAgAAAHcAAABSAw=="
        },
        {
            "name": "DemoSurround",
            "value": "AAAAAgAAAHcAAAB7Aw=="
        },
        {
            "name": "*AD",
            "value": "AAAAAgAAABoAAAA7Aw=="
        },
        {
            "name": "AudioMixUp",
            "value": "AAAAAgAAABoAAAA8Aw=="
        },
        {
            "name": "AudioMixDown",
            "value": "AAAAAgAAABoAAAA9Aw=="
        },
        {
            "name": "PhotoFrame",
            "value": "AAAAAgAAABoAAABVAw=="
        },
        {
            "name": "Tv_Radio",
            "value": "AAAAAgAAABoAAABXAw=="
        },
        {
            "name": "SyncMenu",
            "value": "AAAAAgAAABoAAABYAw=="
        },
        {
            "name": "Hdmi1",
            "value": "AAAAAgAAABoAAABaAw=="
        },
        {
            "name": "Hdmi2",
            "value": "AAAAAgAAABoAAABbAw=="
        },
        {
            "name": "Hdmi3",
            "value": "AAAAAgAAABoAAABcAw=="
        },
        {
            "name": "Hdmi4",
            "value": "AAAAAgAAABoAAABdAw=="
        },
        {
            "name": "TopMenu",
            "value": "AAAAAgAAABoAAABgAw=="
        },
        {
            "name": "PopUpMenu",
            "value": "AAAAAgAAABoAAABhAw=="
        },
        {
            "name": "OneTouchTimeRec",
            "value": "AAAAAgAAABoAAABkAw=="
        },
        {
            "name": "OneTouchView",
            "value": "AAAAAgAAABoAAABlAw=="
        },
        {
            "name": "DUX",
            "value": "AAAAAgAAABoAAABzAw=="
        },
        {
            "name": "FootballMode",
            "value": "AAAAAgAAABoAAAB2Aw=="
        },
        {
            "name": "iManual",
            "value": "AAAAAgAAABoAAAB7Aw=="
        },
        {
            "name": "Netflix",
            "value": "AAAAAgAAABoAAAB8Aw=="
        },
        {
            "name": "Assists",
            "value": "AAAAAgAAAMQAAAA7Aw=="
        },
        {
            "name": "FeaturedApp",
            "value": "AAAAAgAAAMQAAABEAw=="
        },
        {
            "name": "FeaturedAppVOD",
            "value": "AAAAAgAAAMQAAABFAw=="
        },
        {
            "name": "GooglePlay",
            "value": "AAAAAgAAAMQAAABGAw=="
        },
        {
            "name": "ActionMenu",
            "value": "AAAAAgAAAMQAAABLAw=="
        },
        {
            "name": "Help",
            "value": "AAAAAgAAAMQAAABNAw=="
        },
        {
            "name": "TvSatellite",
            "value": "AAAAAgAAAMQAAABOAw=="
        },
        {
            "name": "WirelessSubwoofer",
            "value": "AAAAAgAAAMQAAAB+Aw=="
        },
        {
            "name": "AndroidMenu",
            "value": "AAAAAgAAAMQAAABPAw=="
        },
        {
            "name": "RecorderMenu",
            "value": "AAAAAgAAAMQAAABIAw=="
        },
        {
            "name": "STBMenu",
            "value": "AAAAAgAAAMQAAABJAw=="
        },
        {
            "name": "MuteOn",
            "value": "AAAAAgAAAMQAAAAsAw=="
        },
        {
            "name": "MuteOff",
            "value": "AAAAAgAAAMQAAAAtAw=="
        },
        {
            "name": "AudioOutput_AudioSystem",
            "value": "AAAAAgAAAMQAAAAiAw=="
        },
        {
            "name": "AudioOutput_TVSpeaker",
            "value": "AAAAAgAAAMQAAAAjAw=="
        },
        {
            "name": "AudioOutput_Toggle",
            "value": "AAAAAgAAAMQAAAAkAw=="
        },
        {
            "name": "ApplicationLauncher",
            "value": "AAAAAgAAAMQAAAAqAw=="
        },
        {
            "name": "YouTube",
            "value": "AAAAAgAAAMQAAABHAw=="
        },
        {
            "name": "PartnerApp1",
            "value": "AAAAAgAACB8AAAAAAw=="
        },
        {
            "name": "PartnerApp2",
            "value": "AAAAAgAACB8AAAABAw=="
        },
        {
            "name": "PartnerApp3",
            "value": "AAAAAgAACB8AAAACAw=="
        },
        {
            "name": "PartnerApp4",
            "value": "AAAAAgAACB8AAAADAw=="
        },
        {
            "name": "PartnerApp5",
            "value": "AAAAAgAACB8AAAAEAw=="
        },
        {
            "name": "PartnerApp6",
            "value": "AAAAAgAACB8AAAAFAw=="
        },
        {
            "name": "PartnerApp7",
            "value": "AAAAAgAACB8AAAAGAw=="
        },
        {
            "name": "PartnerApp8",
            "value": "AAAAAgAACB8AAAAHAw=="
        },
        {
            "name": "PartnerApp9",
            "value": "AAAAAgAACB8AAAAIAw=="
        },
        {
            "name": "PartnerApp10",
            "value": "AAAAAgAACB8AAAAJAw=="
        },
        {
            "name": "PartnerApp11",
            "value": "AAAAAgAACB8AAAAKAw=="
        },
        {
            "name": "PartnerApp12",
            "value": "AAAAAgAACB8AAAALAw=="
        },
        {
            "name": "PartnerApp13",
            "value": "AAAAAgAACB8AAAAMAw=="
        },
        {
            "name": "PartnerApp14",
            "value": "AAAAAgAACB8AAAANAw=="
        },
        {
            "name": "PartnerApp15",
            "value": "AAAAAgAACB8AAAAOAw=="
        },
        {
            "name": "PartnerApp16",
            "value": "AAAAAgAACB8AAAAPAw=="
        },
        {
            "name": "PartnerApp17",
            "value": "AAAAAgAACB8AAAAQAw=="
        },
        {
            "name": "PartnerApp18",
            "value": "AAAAAgAACB8AAAARAw=="
        },
        {
            "name": "PartnerApp19",
            "value": "AAAAAgAACB8AAAASAw=="
        },
        {
            "name": "PartnerApp20",
            "value": "AAAAAgAACB8AAAATAw=="
        }
    ],
    "inputs": [
        {
            "name": "HT-CT800",
            "uri": "extInput:cec?type=freeuse&port=3&logicalAddr=5",
            "source": "cec"
        },
        {
            "name": "HDMI 1",
            "uri": "extInput:hdmi?port=1",
            "source": "hdmi"
        },
        {
            "name": "HDMI 2",
            "uri": "extInput:hdmi?port=2",
            "source": "hdmi"
        },
        {
            "name": "HDMI 3/ARC",
            "uri": "extInput:hdmi?port=3",
            "source": "hdmi"
        },
        {
            "name": "HDMI 4",
            "uri": "extInput:hdmi?port=4",
            "source": "hdmi"
        },
        {
            "name": "Video 1",
            "uri": "extInput:composite?port=1",
            "source": "composite"
        },
        {
            "name": "Video 2/Component",
            "uri": "extInput:component?port=1",
            "source": "component"
        },
        {
            "name": "Screen mirroring",
            "uri": "extInput:widi?port=1",
            "source": "widi"
        }
    ],
    "macros": []
}
seydx commented 2 years ago

And I eventually get to here:

Screen Shot 2021-10-01 at 10 09 47 AM

In the console it says "Config created" with your configuration behind it.

Can you post the created configuration from the console here (you need to expand it)? It seems that the configuration is corrupted so config ui x can not generate the configuration scheme

themackworth commented 2 years ago

Any idea what this config is? It is not my TV that I added

Screen Shot 2021-10-01 at 11 26 20 AM

.

seydx commented 2 years ago

This is your configuration (everything you have not filled in has been replaced with default values)

v5.0.7-beta.2 is online

sudo npm i -g homebridge-bravia-tvos@beta

Can u post a screenshot from your browser console after clicking on "Edit (icon)" pls

TheNastyness commented 2 years ago

I'm very new to homebridge so I suppose I could be doing something wrong... but I'm having the same issue. When I add the Sony TV I'm working on I see a blank settings window. Do you happen to have a compatibility list of which TV's may or may have full functionality? The one I'm working on is an XBR-65X850D which is a 2016 model. I followed this thread and have updated to v5.0.7-beta.2 but that didn't resolve it for me. Is there any other info I could provide you with that would assist you in helping me troubleshoot this?

seydx commented 2 years ago

I'm very new to homebridge so I suppose I could be doing something wrong... but I'm having the same issue. When I add the Sony TV I'm working on I see a blank settings window. Do you happen to have a compatibility list of which TV's may or may have full functionality? The one I'm working on is an XBR-65X850D which is a 2016 model. I followed this thread and have updated to v5.0.7-beta.2 but that didn't resolve it for me. Is there any other info I could provide you with that would assist you in helping me troubleshoot this?

The best information is probably in the browser console (the error should appear there when clicking the edit icon)

themackworth commented 2 years ago
Screen Shot 2021-10-01 at 9 02 35 PM
seydx commented 2 years ago

@themackworth

wow thx I found the problem. Its because your channels in your cache file does not contain the name of the channels lol

I think we are very close to the solution!

Can u do following steps pls

  1. sudo npm i -g @seydx/bravia@beta

This will install the latest beta of my bravia module

  1. Open terminal and type following command:

bravia exec TVIPHERE avContent getContentList 1.2 '{ "stIdx": 0, "cnt": 10, "source": "tv:analog" }'

(eg bravia exec 192.168.111.123 avContent getContentList 1.2 '{ "stIdx": 0, "cnt": 10, "source": "tv:analog" }')

  1. Copy paste the output here
themackworth commented 2 years ago

Hmm, that command doesn't seem to work.

Please use the CLI to register the TV before using this module!
seydx commented 2 years ago

Hmm, that command doesn't seem to work.

Please use the CLI to register the TV before using this module!

try this one

bravia exec TVIPHERE avContent getContentList 1.2 '{ "stIdx": 0, "cnt": 10, "source": "tv:analog" }' --name homebridge

themackworth commented 2 years ago
  "result": [
    [
      {
        "uri": "tv:analog?channel=2",
        "title": "",
        "index": 0,
        "dispNum": "2",
        "originalDispNum": "2",
        "tripletStr": "0.2.0",
        "programNum": 0,
        "programMediaType": "tv",
        "visibility": "visible"
      },
      {
        "uri": "tv:analog?channel=3",
        "title": "",
        "index": 1,
        "dispNum": "3",
        "originalDispNum": "3",
        "tripletStr": "0.3.0",
        "programNum": 0,
        "programMediaType": "tv",
        "visibility": "visible"
      },
      {
        "uri": "tv:analog?channel=4",
        "title": "",
        "index": 2,
        "dispNum": "4",
        "originalDispNum": "4",
        "tripletStr": "0.4.0",
        "programNum": 0,
        "programMediaType": "tv",
        "visibility": "visible"
      },
      {
        "uri": "tv:analog?channel=5",
        "title": "",
        "index": 3,
        "dispNum": "5",
        "originalDispNum": "5",
        "tripletStr": "0.5.0",
        "programNum": 0,
        "programMediaType": "tv",
        "visibility": "visible"
      },
      {
        "uri": "tv:analog?channel=6",
        "title": "",
        "index": 4,
        "dispNum": "6",
        "originalDispNum": "6",
        "tripletStr": "0.6.0",
        "programNum": 0,
        "programMediaType": "tv",
        "visibility": "visible"
      },
      {
        "uri": "tv:analog?channel=7",
        "title": "",
        "index": 5,
        "dispNum": "7",
        "originalDispNum": "7",
        "tripletStr": "0.7.0",
        "programNum": 0,
        "programMediaType": "tv",
        "visibility": "visible"
      },
      {
        "uri": "tv:analog?channel=8",
        "title": "",
        "index": 6,
        "dispNum": "8",
        "originalDispNum": "8",
        "tripletStr": "0.8.0",
        "programNum": 0,
        "programMediaType": "tv",
        "visibility": "visible"
      },
      {
        "uri": "tv:analog?channel=9",
        "title": "",
        "index": 7,
        "dispNum": "9",
        "originalDispNum": "9",
        "tripletStr": "0.9.0",
        "programNum": 0,
        "programMediaType": "tv",
        "visibility": "visible"
      },
      {
        "uri": "tv:analog?channel=10",
        "title": "",
        "index": 8,
        "dispNum": "10",
        "originalDispNum": "10",
        "tripletStr": "0.10.0",
        "programNum": 0,
        "programMediaType": "tv",
        "visibility": "visible"
      },
      {
        "uri": "tv:analog?channel=11",
        "title": "",
        "index": 9,
        "dispNum": "11",
        "originalDispNum": "11",
        "tripletStr": "0.11.0",
        "programNum": 0,
        "programMediaType": "tv",
        "visibility": "visible"
      }
    ]
  ],
  "id": 1,
  "turnedOff": null
}
seydx commented 2 years ago

ah because your tv doesnt provide any information about the name of the channels... fix coming very soon

seydx commented 2 years ago

v5.0.7-beta.3 is online

sudo npm i -g homebridge-bravia-tvos@beta

PS: After installation, please remove the old tv cache file and create a new tv cache file with the refresh icon in the user interface before editing it!

If the problem still occurs, please post the new cache file and a screenshot of the browser console

themackworth commented 2 years ago

Success!

Thank you for this.

seydx commented 2 years ago

@themackworth

everything working fine now?

seydx commented 2 years ago

thanks all, v5.0.7 is online now

DominikSp03 commented 1 year ago

Hello there, Unfortunately I have the same problem as mentioned before. The plugin is up to date and (v5.0.8) and connecting/control via app etc. works fine. But when I want to add Apps and Inputs, it wont work because my edit page is empty and it doesnt show the identifiers. Its not so big problem, because I can turn it on/off, but it would be nice to have the ability to control the inputs. Please help :) Screenshot 2022-09-26 131549 Screenshot 2022-09-26 131624