Closed ursusHU closed 3 years ago
Current config:
{ "name": "BraviaTVOS", "debug": true, "tvs": [ { "name": "Living Room Television", "ip": "192.168.XXXXX", "mac": "XXXXXXXXX", "port": 80, "timeout": 5, "psk": "XXXX", "refreshInputs": false, "inputs": [ "extInput:hdmi" ] } ], "platform": "BraviaOSPlatform" }
@ursusHU
Thx for reporting. It seems that your TV is not listed as an android tv?
The power state could be fixed easily.
Because of the non visible inputs i need your inputs .json file
[11/9/2020, 07:19:12] [BraviaTVOS] Living Room Television: All inputs fetched! Stored to /var/lib/homebridge-bravia/bravia/Living_Room_Television-inputs.json
@SeydX yes you are right it isn't an android tv, it's slightly earlier, however previously the on/off part was working fine (more or less). And also some inputs were appearing. So I still think your plugin could do the job. 👍
{ "apps": [ { "icon": "http://portal.store.sonyentertainmentnetwork.com/haku/img/biv_apps/BIV-2747/168x168/BIV-2747.png", "title": "Netflix", "uri": "kamaji://BIV-2747", "type": "application" }, { "icon": "http://portal.store.sonyentertainmentnetwork.com/haku/img/biv_apps/BIV-4024/168x168/BIV-4024.png", "title": "Filmbox Live", "uri": "kamaji://BIV-4024", "type": "application" }, { "icon": "http://portal.store.sonyentertainmentnetwork.com/haku/img/biv_apps/BIV-5896/168x168/BIV-5896.png", "title": "Toon Goggles - for DTV14", "uri": "kamaji://BIV-5896", "type": "application" }, { "icon": "http://portal.store.sonyentertainmentnetwork.com/haku/img/biv_apps/BIV-3069/168x168/BIV-3069.png", "title": "Stingray Qello", "uri": "kamaji://BIV-3069", "type": "application" }, { "icon": "http://portal.store.sonyentertainmentnetwork.com/haku/img/biv_apps/BIV-3031/168x168/BIV-3031.png", "title": "Wild TV", "uri": "kamaji://BIV-3031", "type": "application" }, { "icon": "http://portal.store.sonyentertainmentnetwork.com/haku/img/biv_apps/BIV-3155/168x168/BIV-3155.png", "title": "GREEN.TV", "uri": "kamaji://BIV-3155", "type": "application" }, { "icon": "http://portal.store.sonyentertainmentnetwork.com/haku/img/biv_apps/BIV-3607/168x168/BIV-3607.png", "title": "YouTube", "uri": "kamaji://BIV-3607", "type": "application" }, { "icon": "http://portal.store.sonyentertainmentnetwork.com/haku/img/biv_apps/BIV-3499/168x168/BIV-3499.png", "title": "iFood.tv", "uri": "kamaji://BIV-3499", "type": "application" }, { "icon": "http://portal.store.sonyentertainmentnetwork.com/haku/img/biv_apps/BIV-1804/168x168/BIV-1804.png", "title": "uStudio", "uri": "kamaji://BIV-1804", "type": "application" }, { "icon": "http://portal.store.sonyentertainmentnetwork.com/haku/img/biv_apps/BIV-3487/168x168/BIV-3487.png", "title": "Meteonews TV", "uri": "kamaji://BIV-3487", "type": "application" }, { "icon": "http://portal.store.sonyentertainmentnetwork.com/haku/img/biv_apps/BIV-1979/168x168/BIV-1979.png", "title": "Tagesschau", "uri": "kamaji://BIV-1979", "type": "application" }, { "icon": "http://portal.store.sonyentertainmentnetwork.com/haku/img/biv_apps/BIV-4968/168x168/BIV-4968.png", "title": "DW for Smart TV", "uri": "kamaji://BIV-4968", "type": "application" }, { "icon": "http://portal.store.sonyentertainmentnetwork.com/haku/img/biv_apps/BIV-3411/168x168/BIV-3411.png", "title": "Digital Concert Hall", "uri": "kamaji://BIV-3411", "type": "application" }, { "icon": "http://portal.store.sonyentertainmentnetwork.com/haku/img/biv_apps/BIV-3373/168x168/BIV-3373.png", "title": "Activate Enhanced Features", "uri": "kamaji://BIV-3373", "type": "application" }, { "icon": "http://192.168.68.105/sony/appControl/icon/pack%3AAppDataSource%2Fimg%2Fhome_AppInternetBrowser.png", "title": "Internetböngésző", "uri": "preset://web-browser", "type": "application" }, { "icon": "http://192.168.68.105/sony/appControl/icon/pack%3AAppDataSource%2Fimg%2Fhome_AppPhotoshare.png", "title": "Photo Share", "uri": "preset://photoshare", "type": "application" }, { "icon": "http://192.168.68.105/sony/appControl/icon/pack%3AAppDataSource%2Fimg%2Fhome_AppScreenMirroring.png", "title": "Képernyő-tükrözés", "uri": "preset://wifi-display", "type": "application" }, { "icon": "http://192.168.68.105/sony/appControl/icon/pack%3AAppDataSource%2Fimg%2Fhome_AppHomeTheaterControl.png", "title": "Házimozi vezérlése", "uri": "preset://home-theater-control", "type": "application" }, { "icon": "http://192.168.68.105/sony/appControl/icon/aais-icon%3A%2F%2Fcom.sony.braviaaclock%2Fcom.sony.braviaaclock.MainActivity%2Fhu_HU%2F.png", "title": "\"α\" CLOCK", "uri": "aapp://aais-app://com.sony.braviaaclock/com.sony.braviaaclock.MainActivity", "type": "application" }, { "icon": "http://192.168.68.105/sony/appControl/icon/aais-icon%3A%2F%2Fcom.sony.dtv.mediaplayer%2Fcom.sony.dtv.mediaplayer.MediaContentsBrowserActivity%2Fhu_HU%2F.png", "title": "Médialejátszó", "uri": "aapp://aais-app://com.sony.dtv.mediaplayer/com.sony.dtv.mediaplayer.MediaContentsBrowserActivity", "type": "application" }, { "icon": "http://192.168.68.105/sony/appControl/icon/aais-icon%3A%2F%2Fcom.sony.braviaphotoframemode%2Fcom.sony.photoframe.PhotoFrameAppActivity%2Fhu_HU%2F.png", "title": "Fotókeret mód", "uri": "aapp://aais-app://com.sony.braviaphotoframemode/com.sony.photoframe.PhotoFrameAppActivity", "type": "application" } ], "channels": [], "commands": [ { "name": "PowerOff", "value": "AAAAAQAAAAEAAAAvAw==", "type": "ircc" }, { "name": "Input", "value": "AAAAAQAAAAEAAAAlAw==", "type": "ircc" }, { "name": "GGuide", "value": "AAAAAQAAAAEAAAAOAw==", "type": "ircc" }, { "name": "EPG", "value": "AAAAAgAAAKQAAABbAw==", "type": "ircc" }, { "name": "Favorites", "value": "AAAAAgAAAHcAAAB2Aw==", "type": "ircc" }, { "name": "Display", "value": "AAAAAQAAAAEAAAA6Aw==", "type": "ircc" }, { "name": "Home", "value": "AAAAAQAAAAEAAABgAw==", "type": "ircc" }, { "name": "Options", "value": "AAAAAgAAAJcAAAA2Aw==", "type": "ircc" }, { "name": "Return", "value": "AAAAAgAAAJcAAAAjAw==", "type": "ircc" }, { "name": "Up", "value": "AAAAAQAAAAEAAAB0Aw==", "type": "ircc" }, { "name": "Down", "value": "AAAAAQAAAAEAAAB1Aw==", "type": "ircc" }, { "name": "Right", "value": "AAAAAQAAAAEAAAAzAw==", "type": "ircc" }, { "name": "Left", "value": "AAAAAQAAAAEAAAA0Aw==", "type": "ircc" }, { "name": "Confirm", "value": "AAAAAQAAAAEAAABlAw==", "type": "ircc" }, { "name": "Red", "value": "AAAAAgAAAJcAAAAlAw==", "type": "ircc" }, { "name": "Green", "value": "AAAAAgAAAJcAAAAmAw==", "type": "ircc" }, { "name": "Yellow", "value": "AAAAAgAAAJcAAAAnAw==", "type": "ircc" }, { "name": "Blue", "value": "AAAAAgAAAJcAAAAkAw==", "type": "ircc" }, { "name": "Num1", "value": "AAAAAQAAAAEAAAAAAw==", "type": "ircc" }, { "name": "Num2", "value": "AAAAAQAAAAEAAAABAw==", "type": "ircc" }, { "name": "Num3", "value": "AAAAAQAAAAEAAAACAw==", "type": "ircc" }, { "name": "Num4", "value": "AAAAAQAAAAEAAAADAw==", "type": "ircc" }, { "name": "Num5", "value": "AAAAAQAAAAEAAAAEAw==", "type": "ircc" }, { "name": "Num6", "value": "AAAAAQAAAAEAAAAFAw==", "type": "ircc" }, { "name": "Num7", "value": "AAAAAQAAAAEAAAAGAw==", "type": "ircc" }, { "name": "Num8", "value": "AAAAAQAAAAEAAAAHAw==", "type": "ircc" }, { "name": "Num9", "value": "AAAAAQAAAAEAAAAIAw==", "type": "ircc" }, { "name": "Num0", "value": "AAAAAQAAAAEAAAAJAw==", "type": "ircc" }, { "name": "Num11", "value": "AAAAAQAAAAEAAAAKAw==", "type": "ircc" }, { "name": "Num12", "value": "AAAAAQAAAAEAAAALAw==", "type": "ircc" }, { "name": "VolumeUp", "value": "AAAAAQAAAAEAAAASAw==", "type": "ircc" }, { "name": "VolumeDown", "value": "AAAAAQAAAAEAAAATAw==", "type": "ircc" }, { "name": "Mute", "value": "AAAAAQAAAAEAAAAUAw==", "type": "ircc" }, { "name": "ChannelUp", "value": "AAAAAQAAAAEAAAAQAw==", "type": "ircc" }, { "name": "ChannelDown", "value": "AAAAAQAAAAEAAAARAw==", "type": "ircc" }, { "name": "SubTitle", "value": "AAAAAgAAAJcAAAAoAw==", "type": "ircc" }, { "name": "ClosedCaption", "value": "AAAAAgAAAKQAAAAQAw==", "type": "ircc" }, { "name": "Enter", "value": "AAAAAQAAAAEAAAALAw==", "type": "ircc" }, { "name": "DOT", "value": "AAAAAgAAAJcAAAAdAw==", "type": "ircc" }, { "name": "Analog", "value": "AAAAAgAAAHcAAAANAw==", "type": "ircc" }, { "name": "Teletext", "value": "AAAAAQAAAAEAAAA/Aw==", "type": "ircc" }, { "name": "Exit", "value": "AAAAAQAAAAEAAABjAw==", "type": "ircc" }, { "name": "Analog2", "value": "AAAAAQAAAAEAAAA4Aw==", "type": "ircc" }, { "name": "*AD", "value": "AAAAAgAAABoAAAA7Aw==", "type": "ircc" }, { "name": "Digital", "value": "AAAAAgAAAJcAAAAyAw==", "type": "ircc" }, { "name": "Analog?", "value": "AAAAAgAAAJcAAAAuAw==", "type": "ircc" }, { "name": "BS", "value": "AAAAAgAAAJcAAAAsAw==", "type": "ircc" }, { "name": "CS", "value": "AAAAAgAAAJcAAAArAw==", "type": "ircc" }, { "name": "BSCS", "value": "AAAAAgAAAJcAAAAQAw==", "type": "ircc" }, { "name": "Ddata", "value": "AAAAAgAAAJcAAAAVAw==", "type": "ircc" }, { "name": "PicOff", "value": "AAAAAQAAAAEAAAA+Aw==", "type": "ircc" }, { "name": "Tv_Radio", "value": "AAAAAgAAABoAAABXAw==", "type": "ircc" }, { "name": "Theater", "value": "AAAAAgAAAHcAAABgAw==", "type": "ircc" }, { "name": "SEN", "value": "AAAAAgAAABoAAAB9Aw==", "type": "ircc" }, { "name": "InternetWidgets", "value": "AAAAAgAAABoAAAB6Aw==", "type": "ircc" }, { "name": "InternetVideo", "value": "AAAAAgAAABoAAAB5Aw==", "type": "ircc" }, { "name": "Netflix", "value": "AAAAAgAAABoAAAB8Aw==", "type": "ircc" }, { "name": "SceneSelect", "value": "AAAAAgAAABoAAAB4Aw==", "type": "ircc" }, { "name": "Mode3D", "value": "AAAAAgAAAHcAAABNAw==", "type": "ircc" }, { "name": "iManual", "value": "AAAAAgAAABoAAAB7Aw==", "type": "ircc" }, { "name": "Audio", "value": "AAAAAQAAAAEAAAAXAw==", "type": "ircc" }, { "name": "Wide", "value": "AAAAAgAAAKQAAAA9Aw==", "type": "ircc" }, { "name": "Jump", "value": "AAAAAQAAAAEAAAA7Aw==", "type": "ircc" }, { "name": "PAP", "value": "AAAAAgAAAKQAAAB3Aw==", "type": "ircc" }, { "name": "MyEPG", "value": "AAAAAgAAAHcAAABrAw==", "type": "ircc" }, { "name": "ProgramDescription", "value": "AAAAAgAAAJcAAAAWAw==", "type": "ircc" }, { "name": "WriteChapter", "value": "AAAAAgAAAHcAAABsAw==", "type": "ircc" }, { "name": "TrackID", "value": "AAAAAgAAABoAAAB+Aw==", "type": "ircc" }, { "name": "TenKey", "value": "AAAAAgAAAJcAAAAMAw==", "type": "ircc" }, { "name": "AppliCast", "value": "AAAAAgAAABoAAABvAw==", "type": "ircc" }, { "name": "acTVila", "value": "AAAAAgAAABoAAAByAw==", "type": "ircc" }, { "name": "DeleteVideo", "value": "AAAAAgAAAHcAAAAfAw==", "type": "ircc" }, { "name": "PhotoFrame", "value": "AAAAAgAAABoAAABVAw==", "type": "ircc" }, { "name": "TvPause", "value": "AAAAAgAAABoAAABnAw==", "type": "ircc" }, { "name": "KeyPad", "value": "AAAAAgAAABoAAAB1Aw==", "type": "ircc" }, { "name": "Media", "value": "AAAAAgAAAJcAAAA4Aw==", "type": "ircc" }, { "name": "SyncMenu", "value": "AAAAAgAAABoAAABYAw==", "type": "ircc" }, { "name": "Forward", "value": "AAAAAgAAAJcAAAAcAw==", "type": "ircc" }, { "name": "Play", "value": "AAAAAgAAAJcAAAAaAw==", "type": "ircc" }, { "name": "Rewind", "value": "AAAAAgAAAJcAAAAbAw==", "type": "ircc" }, { "name": "Prev", "value": "AAAAAgAAAJcAAAA8Aw==", "type": "ircc" }, { "name": "Stop", "value": "AAAAAgAAAJcAAAAYAw==", "type": "ircc" }, { "name": "Next", "value": "AAAAAgAAAJcAAAA9Aw==", "type": "ircc" }, { "name": "Rec", "value": "AAAAAgAAAJcAAAAgAw==", "type": "ircc" }, { "name": "Pause", "value": "AAAAAgAAAJcAAAAZAw==", "type": "ircc" }, { "name": "Eject", "value": "AAAAAgAAAJcAAABIAw==", "type": "ircc" }, { "name": "FlashPlus", "value": "AAAAAgAAAJcAAAB4Aw==", "type": "ircc" }, { "name": "FlashMinus", "value": "AAAAAgAAAJcAAAB5Aw==", "type": "ircc" }, { "name": "TopMenu", "value": "AAAAAgAAABoAAABgAw==", "type": "ircc" }, { "name": "PopUpMenu", "value": "AAAAAgAAABoAAABhAw==", "type": "ircc" }, { "name": "RakurakuStart", "value": "AAAAAgAAAHcAAABqAw==", "type": "ircc" }, { "name": "OneTouchTimeRec", "value": "AAAAAgAAABoAAABkAw==", "type": "ircc" }, { "name": "OneTouchView", "value": "AAAAAgAAABoAAABlAw==", "type": "ircc" }, { "name": "OneTouchRec", "value": "AAAAAgAAABoAAABiAw==", "type": "ircc" }, { "name": "OneTouchStop", "value": "AAAAAgAAABoAAABjAw==", "type": "ircc" }, { "name": "DUX", "value": "AAAAAgAAABoAAABzAw==", "type": "ircc" }, { "name": "FootballMode", "value": "AAAAAgAAABoAAAB2Aw==", "type": "ircc" }, { "name": "Social", "value": "AAAAAgAAABoAAAB0Aw==", "type": "ircc" } ] }
Allright, the plugin can fetch apps and commands correctly...
Only inputs and channels can not be fetched
The reason for inputs not fetching is because it can not read the tv state.. I can fix this
Only for the channels i need to look deeper in the api
Btw. turning tv on/off working with the plugin?
Thx for reporting
Yes, the turning on and off works flawless from Homekit.
@ursusHU
v4.0.3 is online and should fix the state error and give additional output in the log which i need to fix the error with fetching inputs
@SeydX
After startup of Homebridge (the TV in turned on during that time) the following information appears:
`[10/11/2020, 09:45:42] [BraviaTVOS] Initializing BraviaOSPlatform platform... [10/11/2020, 09:45:42] [BraviaTVOS] Living Room Television: Configuring accessory... [10/11/2020, 09:45:42] [BraviaTVOS] Living Room Television: Adding tv service [10/11/2020, 09:45:42] [BraviaTVOS] Living Room Television: Adding speaker service [10/11/2020, 09:45:42] Living Room Television 0A3D is running on port 44821. [10/11/2020, 09:45:42] Please add [Living Room Television 0A3D] manually in Home app. Setup Code: XXX
[10/11/2020, 09:45:42] Homebridge v1.2.3 is running on port 51041. [10/11/2020, 09:45:42] [BraviaTVOS] Living Room Television: Refreshing all inputs.. [10/11/2020, 09:45:42] [BraviaTVOS] Living Room Television: Fetching all applications [10/11/2020, 09:45:47] [BraviaTVOS] Living Room Television: An error occured during fetching apps, skip.. [10/11/2020, 09:45:47] [BraviaTVOS] Error: timeout of 5000ms exceeded at createError (/usr/local/lib/node_modules/homebridge-bravia-tvos/node_modules/axios/lib/core/createError.js:16:15) at RedirectableRequest.handleRequestTimeout (/usr/local/lib/node_modules/homebridge-bravia-tvos/node_modules/axios/lib/adapters/http.js:264:16) at Object.onceWrapper (events.js:421:28) at RedirectableRequest.emit (events.js:315:20) at Timeout._onTimeout (/usr/local/lib/node_modules/homebridge-bravia-tvos/node_modules/follow-redirects/index.js:166:13) at listOnTimeout (internal/timers.js:554:17) at processTimers (internal/timers.js:497:7) { config: { url: 'http://192.XXXX:80/sony/appControl', method: 'post', data: '{"id":3,"method":"getApplicationList","version":"1.0","params":[]}', headers: { Accept: 'application/json, text/plain, /', 'Content-Type': 'text/xml; charset=UTF-8', SOAPACTION: '"urn:schemas-sony-com:service:IRCC:1#X_SendIRCC"', 'X-Auth-PSK': 'XXXX', 'User-Agent': 'axios/0.21.0', 'Content-Length': 66 }, transformRequest: [ [Function: transformRequest] ], transformResponse: [ [Function: transformResponse] ], timeout: 5000, adapter: [Function: httpAdapter], xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, maxBodyLength: -1, validateStatus: [Function: validateStatus] }, code: 'ECONNABORTED', request: <ref 1> Writable { _writableState: WritableState { objectMode: false, highWaterMark: 16384, finalCalled: false, needDrain: false, ending: false, ended: false, finished: false, destroyed: false, decodeStrings: true, defaultEncoding: 'utf8', length: 0, writing: false, corked: 0, sync: true, bufferProcessing: false, onwrite: [Function: bound onwrite], writecb: null, writelen: 0, afterWriteTickInfo: null, buffered: [], bufferedIndex: 0, allBuffers: true, allNoop: true, pendingcb: 0, prefinished: false, errorEmitted: false, emitClose: true, autoDestroy: true, errored: null, closed: false }, _events: [Object: null prototype] { response: [Array], error: [Array] }, _eventsCount: 2, _maxListeners: undefined, _options: { maxRedirects: 21, maxBodyLength: 10485760, protocol: 'http:', path: '/sony/appControl', method: 'POST', headers: [Object], agent: undefined, agents: [Object], auth: undefined, hostname: '192.XXX', port: '80', nativeProtocols: [Object], pathname: '/sony/appControl' }, _ended: false, _ending: true, _redirectCount: 0, _redirects: [], _requestBodyLength: 66, _requestBodyBuffers: [ [Object] ], _onNativeResponse: [Function (anonymous)], _currentRequest: ClientRequest { _events: [Object: null prototype], _eventsCount: 7, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: true, _last: true, chunkedEncoding: false, shouldKeepAlive: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: false, _headerSent: true, socket: [Socket], _header: 'POST /sony/appControl HTTP/1.1\r\n' + 'Accept: application/json, text/plain, /\r\n' + 'Content-Type: text/xml; charset=UTF-8\r\n' + 'SOAPACTION: "urn:schemas-sony-com:service:IRCC:1#X_SendIRCC"\r\n' + 'X-Auth-PSK: XXXX\r\n' + 'User-Agent: axios/0.21.0\r\n' + 'Content-Length: 66\r\n' + 'Host: 192.XXX\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: noopPendingOutput], agent: [Agent], socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/sony/appControl', _ended: false, res: null, aborted: true, timeoutCb: null, upgradeOrConnect: false, parser: [HTTPParser], maxHeadersCount: null, reusedSocket: false, host: '192.XXX', protocol: 'http:', _redirectable: [Circular 1],
[Symbol(kNeedDrain)]: false,
[Symbol(corked)]: 0,
[Symbol(kOutHeaders)]: [Object: null prototype]
},
_currentUrl: 'http://192.XXX:80/sony/appControl',
_timeout: Timeout {
_idleTimeout: 5000,
_idlePrev: null,
_idleNext: null,
_idleStart: 8823,
_onTimeout: [Function (anonymous)],
_timerArgs: undefined,
_repeat: null,
_destroyed: true,
[Symbol(refed)]: true,
[Symbol(kHasPrimitive)]: false,
[Symbol(asyncId)]: 61,
[Symbol(triggerId)]: 57
},
[Symbol(kCapture)]: false
}, response: undefined, isAxiosError: true, toJSON: [Function: toJSON] } [10/11/2020, 09:45:47] [BraviaTVOS] Living Room Television: Fetching all tv inputs [10/11/2020, 09:45:52] [BraviaTVOS] Living Room Television: An error occured during fetching tv inputs, skip.. [10/11/2020, 09:45:52] [BraviaTVOS] Error: timeout of 5000ms exceeded at createError (/usr/local/lib/node_modules/homebridge-bravia-tvos/node_modules/axios/lib/core/createError.js:16:15) at RedirectableRequest.handleRequestTimeout (/usr/local/lib/node_modules/homebridge-bravia-tvos/node_modules/axios/lib/adapters/http.js:264:16) at Object.onceWrapper (events.js:421:28) at RedirectableRequest.emit (events.js:315:20) at Timeout._onTimeout (/usr/local/lib/node_modules/homebridge-bravia-tvos/node_modules/follow-redirects/index.js:166:13) at listOnTimeout (internal/timers.js:554:17) at processTimers (internal/timers.js:497:7) { config: { url: 'http://192.XXX:80/sony/system', method: 'post', data: '{"id":3,"method":"getPowerStatus","version":"1.0","params":[]}', headers: { Accept: 'application/json, text/plain, /', 'Content-Type': 'text/xml; charset=UTF-8', SOAPACTION: '"urn:schemas-sony-com:service:IRCC:1#X_SendIRCC"', 'X-Auth-PSK': 'XXXX', 'User-Agent': 'axios/0.21.0', 'Content-Length': 62 }, transformRequest: [ [Function: transformRequest] ], transformResponse: [ [Function: transformResponse] ], timeout: 5000, adapter: [Function: httpAdapter], xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, maxBodyLength: -1, validateStatus: [Function: validateStatus] }, code: 'ECONNABORTED', request: <ref 1> Writable { _writableState: WritableState { objectMode: false, highWaterMark: 16384, finalCalled: false, needDrain: false, ending: false, ended: false, finished: false, destroyed: false, decodeStrings: true, defaultEncoding: 'utf8', length: 0, writing: false, corked: 0, sync: true, bufferProcessing: false, onwrite: [Function: bound onwrite], writecb: null, writelen: 0, afterWriteTickInfo: null, buffered: [], bufferedIndex: 0, allBuffers: true, allNoop: true, pendingcb: 0, prefinished: false, errorEmitted: false, emitClose: true, autoDestroy: true, errored: null, closed: false }, _events: [Object: null prototype] { response: [Array], error: [Array] }, _eventsCount: 2, _maxListeners: undefined, _options: { maxRedirects: 21, maxBodyLength: 10485760, protocol: 'http:', path: '/sony/system', method: 'POST', headers: [Object], agent: undefined, agents: [Object], auth: undefined, hostname: '192.XXX', port: '80', nativeProtocols: [Object], pathname: '/sony/system' }, _ended: false, _ending: true, _redirectCount: 0, _redirects: [], _requestBodyLength: 62, _requestBodyBuffers: [ [Object] ], _onNativeResponse: [Function (anonymous)], _currentRequest: ClientRequest { _events: [Object: null prototype], _eventsCount: 7, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: true, _last: true, chunkedEncoding: false, shouldKeepAlive: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: false, _headerSent: true, socket: [Socket], _header: 'POST /sony/system HTTP/1.1\r\n' + 'Accept: application/json, text/plain, /\r\n' + 'Content-Type: text/xml; charset=UTF-8\r\n' + 'SOAPACTION: "urn:schemas-sony-com:service:IRCC:1#X_SendIRCC"\r\n' + 'X-Auth-PSK: XXXX\r\n' + 'User-Agent: axios/0.21.0\r\n' + 'Content-Length: 62\r\n' + 'Host: 192.XXX\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: noopPendingOutput], agent: [Agent], socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/sony/system', _ended: false, res: null, aborted: true, timeoutCb: null, upgradeOrConnect: false, parser: [HTTPParser], maxHeadersCount: null, reusedSocket: false, host: '192.XXX', protocol: 'http:', _redirectable: [Circular 1],
[Symbol(kNeedDrain)]: false,
[Symbol(corked)]: 0,
[Symbol(kOutHeaders)]: [Object: null prototype]
},
_currentUrl: 'http://192.XXX:80/sony/system',
_timeout: Timeout {
_idleTimeout: 5000,
_idlePrev: null,
_idleNext: null,
_idleStart: 13845,
_onTimeout: [Function (anonymous)],
_timerArgs: undefined,
_repeat: null,
_destroyed: true,
[Symbol(refed)]: true,
[Symbol(kHasPrimitive)]: false,
[Symbol(asyncId)]: 549,
[Symbol(triggerId)]: 545
},
[Symbol(kCapture)]: false
}, response: undefined, isAxiosError: true, toJSON: [Function: toJSON] } [10/11/2020, 09:45:52] [BraviaTVOS] Living Room Television: Fetching all channels for tv:dvbt [10/11/2020, 09:45:52] [BraviaTVOS] Living Room Television: Fetching 1. list of channels [10/11/2020, 09:45:57] [BraviaTVOS] Living Room Television: An error occured during fetching tv:dvbt, skip.. [10/11/2020, 09:45:57] [BraviaTVOS] Error: timeout of 5000ms exceeded at createError (/usr/local/lib/node_modules/homebridge-bravia-tvos/node_modules/axios/lib/core/createError.js:16:15) at RedirectableRequest.handleRequestTimeout (/usr/local/lib/node_modules/homebridge-bravia-tvos/node_modules/axios/lib/adapters/http.js:264:16) at Object.onceWrapper (events.js:421:28) at RedirectableRequest.emit (events.js:315:20) at Timeout._onTimeout (/usr/local/lib/node_modules/homebridge-bravia-tvos/node_modules/follow-redirects/index.js:166:13) at listOnTimeout (internal/timers.js:554:17) at processTimers (internal/timers.js:497:7) { config: { url: 'http://192.XXX:80/sony/avContent', method: 'post', data: '{"id":3,"method":"getContentList","version":"1.2","params":[{"stIdx":0,"cnt":200,"source":"tv:dvbt"}]}', headers: { Accept: 'application/json, text/plain, /', 'Content-Type': 'text/xml; charset=UTF-8', SOAPACTION: '"urn:schemas-sony-com:service:IRCC:1#X_SendIRCC"', 'X-Auth-PSK': 'XXXX', 'User-Agent': 'axios/0.21.0', 'Content-Length': 102 }, transformRequest: [ [Function: transformRequest] ], transformResponse: [ [Function: transformResponse] ], timeout: 5000, adapter: [Function: httpAdapter], xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, maxBodyLength: -1, validateStatus: [Function: validateStatus] }, code: 'ECONNABORTED', request: <ref 1> Writable { _writableState: WritableState { objectMode: false, highWaterMark: 16384, finalCalled: false, needDrain: false, ending: false, ended: false, finished: false, destroyed: false, decodeStrings: true, defaultEncoding: 'utf8', length: 0, writing: false, corked: 0, sync: true, bufferProcessing: false, onwrite: [Function: bound onwrite], writecb: null, writelen: 0, afterWriteTickInfo: null, buffered: [], bufferedIndex: 0, allBuffers: true, allNoop: true, pendingcb: 0, prefinished: false, errorEmitted: false, emitClose: true, autoDestroy: true, errored: null, closed: false }, _events: [Object: null prototype] { response: [Array], error: [Array] }, _eventsCount: 2, _maxListeners: undefined, _options: { maxRedirects: 21, maxBodyLength: 10485760, protocol: 'http:', path: '/sony/avContent', method: 'POST', headers: [Object], agent: undefined, agents: [Object], auth: undefined, hostname: '192.XXX', port: '80', nativeProtocols: [Object], pathname: '/sony/avContent' }, _ended: false, _ending: true, _redirectCount: 0, _redirects: [], _requestBodyLength: 102, _requestBodyBuffers: [ [Object] ], _onNativeResponse: [Function (anonymous)], _currentRequest: ClientRequest { _events: [Object: null prototype], _eventsCount: 7, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: true, _last: true, chunkedEncoding: false, shouldKeepAlive: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: false, _headerSent: true, socket: [Socket], _header: 'POST /sony/avContent HTTP/1.1\r\n' + 'Accept: application/json, text/plain, /\r\n' + 'Content-Type: text/xml; charset=UTF-8\r\n' + 'SOAPACTION: "urn:schemas-sony-com:service:IRCC:1#X_SendIRCC"\r\n' + 'X-Auth-PSK: XXXX\r\n' + 'User-Agent: axios/0.21.0\r\n' + 'Content-Length: 102\r\n' + 'Host: 192.XXX\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: noopPendingOutput], agent: [Agent], socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/sony/avContent', _ended: false, res: null, aborted: true, timeoutCb: null, upgradeOrConnect: false, parser: [HTTPParser], maxHeadersCount: null, reusedSocket: false, host: '192.XXX', protocol: 'http:', _redirectable: [Circular 1],
[Symbol(kNeedDrain)]: false,
[Symbol(corked)]: 0,
[Symbol(kOutHeaders)]: [Object: null prototype]
},
_currentUrl: 'http://192.XXX:80/sony/avContent',
_timeout: Timeout {
_idleTimeout: 5000,
_idlePrev: null,
_idleNext: null,
_idleStart: 18857,
_onTimeout: [Function (anonymous)],
_timerArgs: undefined,
_repeat: null,
_destroyed: true,
[Symbol(refed)]: true,
[Symbol(kHasPrimitive)]: false,
[Symbol(asyncId)]: 566,
[Symbol(triggerId)]: 562
},
[Symbol(kCapture)]: false
}, response: undefined, isAxiosError: true, toJSON: [Function: toJSON] } [10/11/2020, 09:45:57] [BraviaTVOS] Living Room Television: Fetching all channels for tv:dvbc [10/11/2020, 09:45:57] [BraviaTVOS] Living Room Television: Fetching 1. list of channels [10/11/2020, 09:45:58] [BraviaTVOS] Living Room Television: An error occured during fetching tv:dvbc, skip.. [10/11/2020, 09:45:58] [BraviaTVOS] TypeError: Cannot read property 'index' of undefined at tvAccessory.updateInputs (/usr/local/lib/node_modules/homebridge-bravia-tvos/src/accessories/tv.js:557:42) at tvAccessory.handleInputs (/usr/local/lib/node_modules/homebridge-bravia-tvos/src/accessories/tv.js:440:7) at tvAccessory.getService (/usr/local/lib/node_modules/homebridge-bravia-tvos/src/accessories/tv.js:71:5) [10/11/2020, 09:45:58] [BraviaTVOS] Living Room Television: Fetching all channels for tv:dvbs [10/11/2020, 09:45:58] [BraviaTVOS] Living Room Television: Fetching 1. list of channels [10/11/2020, 09:45:58] [BraviaTVOS] Living Room Television: An error occured during fetching tv:dvbs, skip.. [10/11/2020, 09:45:58] [BraviaTVOS] [3,"source is invalid"] [10/11/2020, 09:45:58] [BraviaTVOS] Living Room Television: Fetching all channels for tv:analog [10/11/2020, 09:45:58] [BraviaTVOS] Living Room Television: Fetching 1. list of channels [10/11/2020, 09:45:58] [BraviaTVOS] Living Room Television: An error occured during fetching tv:analog, skip.. [10/11/2020, 09:45:58] [BraviaTVOS] [3,"source is invalid"] [10/11/2020, 09:45:58] [BraviaTVOS] Living Room Television: Fetching all commands [10/11/2020, 09:45:58] [BraviaTVOS] Living Room Television: All inputs fetched! Stored to /var/lib/homebridge-bravia/bravia/Living_Room_Television-inputs.json [10/11/2020, 09:45:58] [BraviaTVOS] Living Room Television: "refreshInputs" setted to false! [10/11/2020, 09:45:58] [BraviaTVOS] Living Room Television: Polling tv state [10/11/2020, 09:45:58] [BraviaTVOS] Living Room Television: {"source":"extInput:hdmi","title":"HDMI 1/MHL","uri":"extInput:hdmi?port=1"} [10/11/2020, 09:46:08] [BraviaTVOS] Living Room Television: Polling tv state [10/11/2020, 09:46:09] [BraviaTVOS] Living Room Television: {"source":"extInput:hdmi","title":"HDMI 1/MHL","uri":"extInput:hdmi?port=1"} [10/11/2020, 09:46:19] [BraviaTVOS] Living Room Television: Polling tv state [10/11/2020, 09:46:19] [BraviaTVOS] Living Room Television: {"source":"extInput:hdmi","title":"HDMI 1/MHL","uri":"extInput:hdmi?port=1"} [10/11/2020, 09:46:29] [BraviaTVOS] Living Room Television: Polling tv state [10/11/2020, 09:46:29] [BraviaTVOS] Living Room Television: {"source":"extInput:hdmi","title":"HDMI 1/MHL","uri":"extInput:hdmi?port=1"} [10/11/2020, 09:46:39] [BraviaTVOS] Living Room Television: Polling tv state [10/11/2020, 09:46:39] [BraviaTVOS] Living Room Television: {"source":"extInput:hdmi","title":"HDMI 1/MHL","uri":"extInput:hdmi?port=1"} [10/11/2020, 09:46:49] [BraviaTVOS] Living Room Television: Polling tv state [10/11/2020, 09:46:54] [BraviaTVOS] Living Room Television: Timeout of 5ms exceeded! [10/11/2020, 09:47:04] [BraviaTVOS] Living Room Television: Polling tv state [10/11/2020, 09:47:04] [BraviaTVOS] Living Room Television: {"source":"extInput:hdmi","title":"HDMI 1/MHL","uri":"extInput:hdmi?port=1"} [10/11/2020, 09:47:14] [BraviaTVOS] Living Room Television: Polling tv state [10/11/2020, 09:47:19] [BraviaTVOS] Living Room Television: Timeout of 5ms exceeded!`
After that I tried to turn off from HK, the button just activated again, so I pressed again, this is what I got: `[10/11/2020, 09:57:53] [BraviaTVOS] Living Room Television: Polling tv state [10/11/2020, 09:57:58] [BraviaTVOS] Living Room Television: Timeout of 5ms exceeded! [10/11/2020, 09:58:07] [BraviaTVOS] Living Room Television: OFF [10/11/2020, 09:58:08] [BraviaTVOS] Living Room Television: Polling tv state [10/11/2020, 09:58:08] [BraviaTVOS] Living Room Television: {"source":"extInput:hdmi","title":"HDMI 1/MHL","uri":"extInput:hdmi?port=1"} [10/11/2020, 09:58:11] [BraviaTVOS] Living Room Television: OFF [10/11/2020, 09:58:16] [BraviaTVOS] Living Room Television: An error occured during powering off tv! [10/11/2020, 09:58:16] [BraviaTVOS] Error: timeout of 5000ms exceeded at createError (/usr/local/lib/node_modules/homebridge-bravia-tvos/node_modules/axios/lib/core/createError.js:16:15) at RedirectableRequest.handleRequestTimeout (/usr/local/lib/node_modules/homebridge-bravia-tvos/node_modules/axios/lib/adapters/http.js:264:16) at Object.onceWrapper (events.js:421:28) at RedirectableRequest.emit (events.js:315:20) at Timeout._onTimeout (/usr/local/lib/node_modules/homebridge-bravia-tvos/node_modules/follow-redirects/index.js:166:13) at listOnTimeout (internal/timers.js:554:17) at processTimers (internal/timers.js:497:7) { config: { url: 'http://192.XXX:80/sony/system', method: 'post', data: '{"id":3,"method":"setPowerStatus","version":"1.0","params":[{"status":false}]}', headers: { Accept: 'application/json, text/plain, /', 'Content-Type': 'text/xml; charset=UTF-8', SOAPACTION: '"urn:schemas-sony-com:service:IRCC:1#X_SendIRCC"', 'X-Auth-PSK': 'XXXX', 'User-Agent': 'axios/0.21.0', 'Content-Length': 78 }, transformRequest: [ [Function: transformRequest] ], transformResponse: [ [Function: transformResponse] ], timeout: 5000, adapter: [Function: httpAdapter], xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, maxBodyLength: -1, validateStatus: [Function: validateStatus] }, code: 'ECONNABORTED', request: <ref 1> Writable { _writableState: WritableState { objectMode: false, highWaterMark: 16384, finalCalled: false, needDrain: false, ending: false, ended: false, finished: false, destroyed: false, decodeStrings: true, defaultEncoding: 'utf8', length: 0, writing: false, corked: 0, sync: true, bufferProcessing: false, onwrite: [Function: bound onwrite], writecb: null, writelen: 0, afterWriteTickInfo: null, buffered: [], bufferedIndex: 0, allBuffers: true, allNoop: true, pendingcb: 0, prefinished: false, errorEmitted: false, emitClose: true, autoDestroy: true, errored: null, closed: false }, _events: [Object: null prototype] { response: [Array], error: [Array] }, _eventsCount: 2, _maxListeners: undefined, _options: { maxRedirects: 21, maxBodyLength: 10485760, protocol: 'http:', path: '/sony/system', method: 'POST', headers: [Object], agent: undefined, agents: [Object], auth: undefined, hostname: '192.XXX', port: '80', nativeProtocols: [Object], pathname: '/sony/system' }, _ended: false, _ending: true, _redirectCount: 0, _redirects: [], _requestBodyLength: 78, _requestBodyBuffers: [ [Object] ], _onNativeResponse: [Function (anonymous)], _currentRequest: ClientRequest { _events: [Object: null prototype], _eventsCount: 7, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: true, _last: true, chunkedEncoding: false, shouldKeepAlive: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: false, _headerSent: true, socket: [Socket], _header: 'POST /sony/system HTTP/1.1\r\n' + 'Accept: application/json, text/plain, /\r\n' + 'Content-Type: text/xml; charset=UTF-8\r\n' + 'SOAPACTION: "urn:schemas-sony-com:service:IRCC:1#X_SendIRCC"\r\n' + 'X-Auth-PSK: XXXX\r\n' + 'User-Agent: axios/0.21.0\r\n' + 'Content-Length: 78\r\n' + 'Host: 192.XXX\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: noopPendingOutput], agent: [Agent], socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/sony/system', _ended: false, res: null, aborted: true, timeoutCb: null, upgradeOrConnect: false, parser: [HTTPParser], maxHeadersCount: null, reusedSocket: false, host: '192.XXX', protocol: 'http:', _redirectable: [Circular 1],
[Symbol(kNeedDrain)]: false,
[Symbol(corked)]: 0,
[Symbol(kOutHeaders)]: [Object: null prototype]
},
_currentUrl: 'http://192.XXX:80/sony/system',
_timeout: Timeout {
_idleTimeout: 5000,
_idlePrev: null,
_idleNext: null,
_idleStart: 757486,
_onTimeout: [Function (anonymous)],
_timerArgs: undefined,
_repeat: null,
_destroyed: true,
[Symbol(refed)]: true,
[Symbol(kHasPrimitive)]: false,
[Symbol(asyncId)]: 5126,
[Symbol(triggerId)]: 5122
},
[Symbol(kCapture)]: false
}, response: undefined, isAxiosError: true, toJSON: [Function: toJSON] } [10/11/2020, 09:58:18] [BraviaTVOS] Living Room Television: Polling tv state [10/11/2020, 09:58:23] [BraviaTVOS] Living Room Television: Timeout of 5ms exceeded! [10/11/2020, 09:58:33] [BraviaTVOS] Living Room Television: Polling tv state [10/11/2020, 09:58:38] [BraviaTVOS] Living Room Television: Timeout of 5ms exceeded!`
@ursusHU
Increase timeout to 10s in config
Timeout set to 10s, start up:
10/11/2020, 10:09:47] [BraviaTVOS] Living Room Television: Refreshing all inputs.. [10/11/2020, 10:09:47] [BraviaTVOS] Living Room Television: Fetching all applications [10/11/2020, 10:09:48] [BraviaTVOS] Living Room Television: Fetching all tv inputs [10/11/2020, 10:09:48] [BraviaTVOS] Living Room Television: An error occured during fetching tv inputs, skip.. [10/11/2020, 10:09:48] [BraviaTVOS] [14,"1.0."] [10/11/2020, 10:09:48] [BraviaTVOS] Living Room Television: Fetching all channels for tv:dvbt [10/11/2020, 10:09:48] [BraviaTVOS] Living Room Television: Fetching 1. list of channels [10/11/2020, 10:09:49] [BraviaTVOS] Living Room Television: Fetching tv:dvbt done. [10/11/2020, 10:09:49] [BraviaTVOS] Living Room Television: Fetching all channels for tv:dvbc [10/11/2020, 10:09:49] [BraviaTVOS] Living Room Television: Fetching 1. list of channels [10/11/2020, 10:09:50] [BraviaTVOS] Living Room Television: An error occured during fetching tv:dvbc, skip.. [10/11/2020, 10:09:50] [BraviaTVOS] TypeError: Cannot read property 'index' of undefined at tvAccessory.updateInputs (/usr/local/lib/node_modules/homebridge-bravia-tvos/src/accessories/tv.js:557:42) at tvAccessory.handleInputs (/usr/local/lib/node_modules/homebridge-bravia-tvos/src/accessories/tv.js:440:7) at tvAccessory.getService (/usr/local/lib/node_modules/homebridge-bravia-tvos/src/accessories/tv.js:71:5) [10/11/2020, 10:09:50] [BraviaTVOS] Living Room Television: Fetching all channels for tv:dvbs [10/11/2020, 10:09:50] [BraviaTVOS] Living Room Television: Fetching 1. list of channels [10/11/2020, 10:09:50] [BraviaTVOS] Living Room Television: An error occured during fetching tv:dvbs, skip.. [10/11/2020, 10:09:50] [BraviaTVOS] [3,"source is invalid"] [10/11/2020, 10:09:50] [BraviaTVOS] Living Room Television: Fetching all channels for tv:analog [10/11/2020, 10:09:50] [BraviaTVOS] Living Room Television: Fetching 1. list of channels [10/11/2020, 10:09:50] [BraviaTVOS] Living Room Television: An error occured during fetching tv:analog, skip.. [10/11/2020, 10:09:50] [BraviaTVOS] [3,"source is invalid"] [10/11/2020, 10:09:50] [BraviaTVOS] Living Room Television: Fetching all commands [10/11/2020, 10:09:50] [BraviaTVOS] Living Room Television: All inputs fetched! Stored to /var/lib/homebridge-bravia/bravia/Living_Room_Television-inputs.json [10/11/2020, 10:09:50] [BraviaTVOS] Living Room Television: "refreshInputs" setted to false! [10/11/2020, 10:09:50] [BraviaTVOS] Living Room Television: Polling tv state [10/11/2020, 10:09:51] [BraviaTVOS] Living Room Television: {"source":"extInput:hdmi","title":"HDMI 1/MHL","uri":"extInput:hdmi?port=1"} [10/11/2020, 10:10:01] [BraviaTVOS] Living Room Television: Polling tv state [10/11/2020, 10:10:01] [BraviaTVOS] Living Room Television: {"source":"extInput:hdmi","title":"HDMI 1/MHL","uri":"extInput:hdmi?port=1"}
That looks better, just sone minor bugs, how aber homekit?
The 10s really solved the problems now. It is updating the status even with the normal remote. Thank you! I will wait now until the 5 mins passes, then my TV gets to deep sleep.
It is able to get back to live after deep sleep too, with the remote and also with HK:
[10/11/2020, 10:18:05] [BraviaTVOS] Living Room Television: [7,"not power-on"] [10/11/2020, 10:18:15] [BraviaTVOS] Living Room Television: Polling tv state [10/11/2020, 10:18:25] [BraviaTVOS] Living Room Television: Timeout of 10ms exceeded! [10/11/2020, 10:18:35] [BraviaTVOS] Living Room Television: Polling tv state [10/11/2020, 10:18:45] [BraviaTVOS] Living Room Television: Timeout of 10ms exceeded! [10/11/2020, 10:18:55] [BraviaTVOS] Living Room Television: Polling tv state [10/11/2020, 10:18:58] [BraviaTVOS] Living Room Television: Can not reach TV! [10/11/2020, 10:19:08] [BraviaTVOS] Living Room Television: Polling tv state [10/11/2020, 10:19:08] [BraviaTVOS] Living Room Television: Can not reach TV! [10/11/2020, 10:19:18] [BraviaTVOS] Living Room Television: Polling tv state [10/11/2020, 10:19:21] [BraviaTVOS] Living Room Television: {"source":"extInput:hdmi","title":"HDMI 1/MHL","uri":"extInput:hdmi?port=1"} [10/11/2020, 10:19:31] [BraviaTVOS] Living Room Television: Polling tv state [10/11/2020, 10:19:31] [BraviaTVOS] Living Room Television: {"source":"extInput:hdmi","title":"HDMI 1/MHL","uri":"extInput:hdmi?port=1"}
[10/11/2020, 10:31:04] [BraviaTVOS] Living Room Television: Polling tv state [10/11/2020, 10:31:14] [BraviaTVOS] Living Room Television: Timeout of 10ms exceeded! [10/11/2020, 10:31:24] [BraviaTVOS] Living Room Television: Polling tv state [10/11/2020, 10:31:28] [BraviaTVOS] Living Room Television: Can not reach TV! [10/11/2020, 10:31:38] [BraviaTVOS] Living Room Television: Polling tv state [10/11/2020, 10:31:41] [BraviaTVOS] Living Room Television: Can not reach TV! [10/11/2020, 10:31:46] [BraviaTVOS] Living Room Television: ON [10/11/2020, 10:31:51] [BraviaTVOS] Living Room Television: Polling tv state [10/11/2020, 10:31:54] [BraviaTVOS] Living Room Television: Can not reach TV! [10/11/2020, 10:32:04] [BraviaTVOS] Living Room Television: Polling tv state [10/11/2020, 10:32:04] [BraviaTVOS] Living Room Television: Can not reach TV! [10/11/2020, 10:32:14] [BraviaTVOS] Living Room Television: Polling tv state [10/11/2020, 10:32:18] [BraviaTVOS] Living Room Television: {"source":"extInput:hdmi","title":"HDMI 1/MHL","uri":"extInput:hdmi?port=1"} [10/11/2020, 10:32:28] [BraviaTVOS] Living Room Television: Polling tv state [10/11/2020, 10:32:28] [BraviaTVOS] Living Room Television: {"source":"extInput:hdmi","title":"HDMI 1/MHL","uri":"extInput:hdmi?port=1"}
The power issue is solved :) Thank you.
Very nice. Any other issues?
Well the input sources still not appearing,
Ah i see
[BraviaTVOS] Living Room Television: Fetching all tv inputs
[BraviaTVOS] Living Room Television: An error occured during fetching tv inputs, skip..
[BraviaTVOS] [14,"1.0."]
It seems that your tv doesnt support the API call.. hmm i will check this
Just as a hint previously it worked partially. See https://github.com/SeydX/homebridge-bravia-tvos/issues/85
@ursusHU
i pushed a new version of my bravia module. Could you do following pls:
sudo npm i -g @seydx/bravia@latest
sudo npm i -g homebridge-bravia-tvos@latest
then type following in terminal and copy paste the output here pls
bravia methods 192.168.178.127 --psk MYPSKHERE
replace ip with your ip, and MYPSK with your psk
or if you use the token method, do following
bravia methods 192.168.178.127 --token MYTOKEN
If you got a timeout error, you can also pass a timeout variable into the command with eg -t 10
I can't get the whole response :(
], [ "getVersions", [], [ "string" ], "1.0" ], [ "getWebAppStatus", [], [ "{\"active\":\"bool\",\"url\":\"string\"}" ], "1.0" ], [ "setActiveApp", [ "{\"uri\":\"string\",\"data\":\"string\"}" ], [], "1.0" ], [ "setCsxUserAccount", [ "{\"userID\":\"string\",\"accessToken\":\"string\",\"userName\":\"string\",\"encKey\":\"string\"}" ], [], "1.0" ], [ "setTextForm", [ "string" ], [ "int" ], "1.0" ], [ "terminateApps", [], [], "1.0" ] ] }, { "version": "1.1", "methods": [ [ "getMethodTypes", [ "string" ], [ "string", "string", "string", "string" ], "1.1" ], [ "getTextForm", [ "{\"encKey\":\"string\"}" ], [ "string" ], "1.1" ], [ "getVersions", [], [ "string" ], "1.1" ], [ "setTextForm", [ "{\"encKey\":\"string\",\"text\":\"string\"}" ], [], "1.1" ] ] }, { "version": "1.0", "methods": [ [ "getMethodTypes", [ "string" ], [ "string", "string", "string", "string" ], "1.0" ], [ "getVersions", [], [ "string" ], "1.0" ], [ "getVolumeInformation", [], [ "{\"target\":\"string\",\"volume\":\"int\",\"mute\":\"bool\",\"maxVolume\":\"int\",\"minVolume\":\"int\"}" ], "1.0" ], [ "setAudioMute", [ "{\"status\":\"bool\"}" ], [ "int" ], "1.0" ], [ "setAudioVolume", [ "{\"target\":\"string\",\"volume\":\"string\"}" ], [ "int" ], "1.0" ] ] }, { "version": "1.0", "methods": [ [ "deleteContent", [ "{\"uri\":\"string\"}" ], [], "1.0" ], [ "getContentCount", [ "{\"source\":\"string\",\"type\":\"string\"}" ], [ "{\"count\":\"int\"}" ], "1.0" ], [ "getContentList", [ "{\"source\":\"string\",\"stIdx\":\"int\",\"cnt\":\"int\",\"type\":\"string\"}" ], [ "{\"uri\":\"string\",\"title\":\"string\",\"index\":\"int\",\"dispNum\":\"string\",\"originalDispNum\":\"string\",\"tripletStr\":\"string\",\"programNum\":\"int\",\"programMediaType\":\"string\",\"startDateTime\":\"string\",\"durationSec\":\"int\",\"channelName\":\"string\",\"isProtected\":\"bool\",\"directRemoteNum\":\"int\",\"isAlreadyPlayed\":\"bool\"}" ], "1.0" ], [ "getCurrentExternalInputsStatus", [], [ "{\"title\":\"string\",\"uri\":\"string\",\"connection\":\"bool\",\"label\":\"string\",\"icon\":\"string\"}" ], "1.0" ], [ "getMethodTypes", [ "string" ], [ "string", "string", "string", "string" ], "1.0" ], [ "getParentalRatingSettings", [], [ "{\"ratingCountry\":\"string\",\"ratingTypeAge\":\"integer\",\"ratingTypeSony\":\"string\",\"ratingCustomTypeTV\":[\"string\"],\"ratingCustomTypeMpaa\":\"string\",\"ratingCustomTypeCaEnglish\":\"string\",\"ratingCustomTypeCaFrench\":\"string\",\"unratedLock\":\"bool\"}" ], "1.0" ], [ "getPlayingContentInfo", [], [ "{\"uri\":\"string\",\"source\":\"string\",\"title\":\"string\",\"dispNum\":\"string\",\"originalDispNum\":\"string\",\"tripletStr\":\"string\",\"programNum\":\"int\",\"programTitle\":\"string\",\"startDateTime\":\"string\",\"durationSec\":\"int\",\"playSpeed\":\"string\",\"bivl_serviceId\":\"string\",\"bivl_assetId\":\"string\",\"bivl_provider\":\"string\",\"mediaType\":\"string\"}" ], "1.0" ], [ "getPlayingContentInfo2", [], [ "{\"uri\":\"string\",\"source\":\"string\",\"title\":\"string\",\"dispNum\":\"string\",\"originalDispNum\":\"string\",\"tripletStr\":\"string\",\"programNum\":\"int\",\"programTitle\":\"string\",\"startDateTime\":\"string\",\"durationSec\":\"int\",\"playSpeed\":\"string\",\"bivl_serviceId\":\"string\",\"bivl_assetId\":\"string\",\"bivl_provider\":\"string\",\"mediaType\":\"string\"}" ], "1.0" ], [ "getSchemeList", [], [ "{\"scheme\":\"string\"}" ], "1.0" ], [ "getSourceList", [ "{\"scheme\":\"string\"}" ], [ "{\"source\":\"string\"}" ], "1.0" ], [ "getSourceList2", [ "{\"scheme\":\"string\"}" ], [ "{\"source\":\"string\"}" ], "1.0" ], [ "getVersions", [], [ "string" ], "1.0" ], [ "setDeleteProtection", [ "{\"uri\":\"string\",\"isProtected\":\"bool\"}" ], [], "1.0" ], [ "setFavoriteContentList", [ "{\"favSource\":\"string\",\"contents\":\"string-array\"}" ], [], "1.0" ], [ "setPlayContent", [ "{\"uri\":\"string\"}" ], [], "1.0" ], [ "setPlayTvContent", [ "{\"channel\":\"string\"}" ], [], "1.0" ], [ "setTvContentVisibility", [ "{\"uri\":\"string\",\"epgVisibility\":\"string\",\"channelSurfingVisibility\":\"string\",\"visibility\":\"string\"}" ], [], "1.0" ] ] }, { "version": "1.1", "methods": [ [ "getContentCount", [ "{\"source\":\"string\",\"type\":\"string\",\"target\":\"string\"}" ], [ "{\"count\":\"int\"}" ], "1.1" ], [ "getMethodTypes", [ "string" ], [ "string", "string", "string", "string" ], "1.1" ], [ "getVersions", [], [ "string" ], "1.1" ] ] }, { "version": "1.2", "methods": [ [ "getContentList", [ "{\"source\":\"string\",\"stIdx\":\"int\",\"cnt\":\"int\",\"type\":\"string\",\"target\":\"string\"}" ], [ "{\"uri\":\"string\",\"title\":\"string\",\"index\":\"int\",\"dispNum\":\"string\",\"originalDispNum\":\"string\",\"tripletStr\":\"string\",\"programNum\":\"int\",\"programMediaType\":\"string\",\"startDateTime\":\"string\",\"durationSec\":\"int\",\"channelName\":\"string\",\"isProtected\":\"bool\",\"directRemoteNum\":\"int\",\"isAlreadyPlayed\":\"bool\"}" ], "1.2" ], [ "getMethodTypes", [ "string" ], [ "string", "string", "string", "string" ], "1.2" ], [ "getVersions", [], [ "string" ], "1.2" ] ] }, { "version": "1.0", "methods": [ [ "actBrowserControl", [ "{\"control\":\"string\"}" ], [ "int" ], "1.0" ], [ "getBrowserBookmarkList", [], [ "{\"title\":\"string\",\"url\":\"string\"}" ], "1.0" ], [ "getMethodTypes", [ "string" ], [ "string", "string", "string", "string" ], "1.0" ], [ "getTextUrl", [], [ "{\"url\":\"string\",\"title\":\"string\",\"type\":\"string\",\"favicon\":\"string\"}" ], "1.0" ], [ "getVersions", [], [ "string" ], "1.0" ], [ "setTextUrl", [ "{\"url\":\"string\",\"title\":\"string\",\"type\":\"string\",\"favicon\":\"string\"}" ], [ "int" ], "1.0" ] ] }, { "version": "1.0", "methods": [ [ "getMethodTypes", [ "string" ], [ "string", "string", "string", "string" ], "1.0" ], [ "getVersions", [], [ "string" ], "1.0" ], [ "setCecControlMode", [ "{\"enabled\":\"bool\"}" ], [], "1.0" ], [ "setMhlAutoInputChangeMode", [ "{\"enabled\":\"bool\"}" ], [], "1.0" ], [ "setMhlPowerFeedMode", [ "{\"enabled\":\"bool\"}" ], [], "1.0" ], [ "setPowerSyncMode", [ "{\"sinkPowerOffSync\":\"bool\",\"sourcePowerOnSync\":\"bool\"}" ], [], "1.0" ] ] }, { "version": "1.0", "methods": [ [ "getMethodTypes", [ "string" ], [ "string", "string", "string", "string" ], "1.0" ], [ "getPublicKey", [], [ "{\"publicKey\":\"string\"}" ], "1.0" ], [ "getVersions", [], [ "string" ], "1.0" ] ] }, { "version": "1.0", "methods": [ [ "getMethodTypes", [ "string" ], [ "string", "string", "string", "string" ], "1.0" ], [ "getServiceProtocols", [], [ "string", "string" ], "1.0" ], [ "getVersions", [], [ "string" ], "1.0" ] ] }, { "version": "1.0", "methods": [ [ "addSchedule", [ "{\"type\":\"string\",\"uri\":\"string\",\"title\":\"string\",\"startDateTime\":\"string\",\"durationSec\":\"int\",\"repeatType\":\"string\",\"quality\":\"string\"}" ], [ "{\"annotation\":\"int\"}" ], "1.0" ], [ "deleteSchedule", [ "{\"id\":\"string\",\"type\":\"string\",\"uri\":\"string\",\"title\":\"string\",\"startDateTime\":\"string\",\"durationSec\":\"int\"}" ], [], "1.0" ], [ "getConflictScheduleList", [ "{\"uri\":\"string\",\"title\":\"string\",\"startDateTime\":\"string\",\"durationSec\":\"int\",\"repeatType\":\"string\"}" ], [ "{\"id\":\"string\",\"title\":\"string\",\"type\":\"string\",\"uri\":\"string\",\"startDateTime\":\"string\",\"durationSec\":\"int\",\"repeatType\":\"string\"}" ], "1.0" ], [ "getHistoryList", [ "{\"stIdx\":\"int\",\"cnt\":\"int\"}" ], [ "{\"id\":\"string\",\"title\":\"string\",\"channelName\":\"string\",\"startDateTime\":\"string\",\"durationSec\":\"int\",\"reasonId\":\"int\",\"reasonMsg\":\"string\"}" ], "1.0" ], [ "getMethodTypes", [ "string" ], [ "string", "string", "string", "string" ], "1.0" ], [ "getRecordingStatus", [], [ "{\"status\":\"string\"}" ], "1.0" ], [ "getScheduleList", [ "{\"stIdx\":\"int\",\"cnt\":\"int\"}" ], [ "{\"id\":\"string\",\"type\":\"string\",\"uri\":\"string\",\"title\":\"string\",\"channelName\":\"string\",\"startDateTime\":\"string\",\"durationSec\":\"int\",\"repeatType\":\"string\",\"overlapStatus\":\"string\",\"recordingStatus\":\"string\",\"quality\":\"string\"}" ], "1.0" ], [ "getSupportedRepeatType", [], [ "string" ], "1.0" ], [ "getVersions", [], [ "string" ], "1.0" ] ] }, { "version": "1.0", "methods": [ [ "getColorKeysLayout", [], [ "{\"colorKeysLayout\":\"string\"}" ], "1.0" ], [ "getCurrentTime", [], [ "string" ], "1.0" ], [ "getDateTimeFormat", [], [ "{\"dateFormat\":\"string\",\"timeFormat\":\"string\"}" ], "1.0" ], [ "getInterfaceInformation", [], [ "{\"productCategory\":\"string\",\"productName\":\"string\",\"modelName\":\"string\",\"serverName\":\"string\",\"interfaceVersion\":\"string\"}" ], "1.0" ], [ "getMethodTypes", [ "string" ], [ "string", "string", "string", "string" ], "1.0" ], [ "getNetworkSettings", [ "{\"netif\":\"string\"}" ], [ "{\"netif\":\"string\",\"hwAddr\":\"string\",\"ipAddrV4\":\"string\",\"ipAddrV6\":\"string\",\"netmask\":\"string\",\"gateway\":\"string\",\"dns\":[\"string\"]}" ], "1.0" ], [ "getPostalCode", [], [ "{\"postalCode\":\"string\"}" ], "1.0" ], [ "getPowerSavingMode", [], [ "{\"mode\":\"string\"}" ], "1.0" ], [ "getPowerStatus", [], [ "{\"status\":\"string\"}" ], "1.0" ], [ "getRemoteControllerInfo", [], [ "{\"bundled\":\"bool\",\"type\":\"string\"}", "{\"name\":\"string\",\"value\":\"string\"}" ], "1.0" ], [ "getSystemInformation", [], [ "{\"product\":\"string\",\"region\":\"string\",\"language\":\"string\",\"model\":\"string\",\"serial\":\"string\",\"macAddr\":\"string\",\"name\":\"string\",\"generation\":\"string\",\"area\":\"string\",\"cid\":\"string\"}" ], "1.0" ], [ "getSystemSupportedFunction", [], [ "{\"option\":\"string\",\"value\":\"string\"}" ], "1.0" ], [ "getVersions", [], [ "string" ], "1.0" ], [ "getWolMode", [], [ "{\"enabled\":\"bool\"}" ], "1.0" ], [ "requestReboot", [], [], "1.0" ], [ "requestToNotifyDeviceStatus", [ "{\"internetTVLinkage\":{\"playingInternetTV\":\"bool\",\"showingKeyControlableGui\":\"bool\"}}" ], [ "{\"internetTVLinkage\":{\"playingInternetTV\":\"bool\",\"showingKeyControlableGui\":\"bool\"}}" ], "1.0" ], [ "setCurrentTime", [ "{\"dateTime\":\"string\",\"timeZoneOffsetMinute\":\"int\",\"dstOffsetMinute\":\"int\"}" ], [], "1.0" ], [ "setLEDIndicatorStatus", [ "{\"mode\":\"string\",\"status\":\"bool\"}" ], [], "1.0" ], [ "setLanguage", [ "{\"language\":\"string\"}" ], [], "1.0" ], [ "setPostalCode", [ "{\"postalCode\":\"string\"}" ], [], "1.0" ], [ "setPowerSavingMode", [ "{\"mode\":\"string\"}" ], [], "1.0" ], [ "setPowerStatus", [ "{\"status\":\"bool\"}" ], [], "1.0" ], [ "setWolMode", [ "{\"enabled\":\"bool\"}" ], [], "1.0" ] ] }, { "version": "1.1", "methods": [ [ "getCurrentTime", [], [ "{\"dateTime\":\"string\",\"timeZoneOffsetMinute\":\"int\",\"dstOffsetMinute\":\"int\"}" ], "1.1" ], [ "getMethodTypes", [ "string" ], [ "string", "string", "string", "string" ], "1.1" ], [ "getVersions", [], [ "string" ], "1.1" ] ] }, { "version": "1.0", "methods": [ [ "getAudioSourceScreen", [], [ "{\"screen\":\"string\"}" ], "1.0" ], [ "getMethodTypes", [ "string" ], [ "string", "string", "string", "string" ], "1.0" ], [ "getPipSubScreenPosition", [], [ "{\"position\":\"string\"}" ], "1.0" ], [ "getSceneSetting", [], [ "{\"currentValue\":\"string\",\"candidate\":{\"value\":\"string\"}}" ], "1.0" ], [ "getVersions", [], [ "string" ], "1.0" ], [ "setAudioSourceScreen", [ "{\"screen\":\"string\"}" ], [], "1.0" ], [ "setMultiScreenMode", [ "{\"mode\":\"string\",\"option\":{\"internetTVMode\":\"bool\"}}" ], [], "1.0" ], [ "setPapScreenSize", [ "{\"screen\":\"string\",\"size\":\"string\"}" ], [], "1.0" ], [ "setPipSubScreenPosition", [ "{\"position\":\"string\"}" ], [], "1.0" ], [ "setSceneSetting", [ "{\"value\":\"string\"}" ], [], "1.0" ] ] }, { "version": "1.1", "methods": [ [ "getMethodTypes", [ "string" ], [ "string", "string", "string", "string" ], "1.1" ], [ "getMultiScreenMode", [], [ "{\"mode\":\"string\",\"option\":{\"internetTVMode\":\"bool\"}}" ], "1.1" ], [ "getVersions", [], [ "string*" ], "1.1" ], [ "requestToNotifyScreenState", [ "{\"multiScreenMode\":\"string\",\"option\":{\"internetTVMode\":\"bool\"},\"pipSubScreenPosition\":\"string\",\"audioSourceScreen\":\"string\"}" ], [ "{\"multiScreenMode\":\"string\",\"option\":{\"internetTVMode\":\"bool\"},\"pipSubScreenPosition\":\"string\",\"audioSourceScreen\":\"string\"}" ], "1.1" ] ] } ]
@ursusHU
I need also the information on which method u dont get a response. Should be printed in the terminal
@ursusHU
And the output seems to be incomplete. Please copy&pase the whole output
(Look at the start from your copy&pase.. it starts with „ ], “)
@SeydX yes I realized that, but I can't get any further in the terminal window. I can't get the whole response. If you help me out how to get it, I will do it.
Why u cant get the whole response? Above you got the whole response, or what u mean?
I simply can not scroll upwards any further
I'm using config-ui-x
Ahh ok it doesnt matter, the line i was looking for was printed
[
"getCurrentExternalInputsStatus",
[],
[
{
"title": "string",
"uri": "string",
"connection": "bool",
"label": "string",
"icon": "string"
}
],
"1.0"
]
Normally the plugin should work, the plugin calls the right endpoint, also for your tv...
V3 uses also the same endpoint as v4
Hmmm
@ursusHU
i found the issue... it was a wrong dot in the function that your tv couldnt handle -_-
should be fixed now in v4.0.7
@SeydX Thank you very much! Works perfectly!
Hi, it's me again 👍 Now I have reinstalled my whole homebridge, and installed the latest version of the plugin. Same issue occurs, only power button is visible.
[13/12/2020, 00:09:28] [BraviaTVOS] Initializing BraviaOSPlatform platform... [13/12/2020, 00:09:28] [BraviaTVOS] Living Room Television: Configuring accessory... [13/12/2020, 00:09:28] [BraviaTVOS] Living Room Television: Adding tv service [13/12/2020, 00:09:28] [BraviaTVOS] Living Room Television: Adding speaker service [13/12/2020, 00:09:28] [BraviaTVOS] Living Room Television: Polling tv state [13/12/2020, 00:09:28] [BraviaTVOS] Living Room Television: Configured! [13/12/2020, 00:09:28] Living Room Television is running on port 40337. [13/12/2020, 00:09:28] Please add [Living Room Television] manually in Home app. Setup Code: 207-49-191 [13/12/2020, 00:09:33] [BraviaTVOS] Living Room Television: Timeout of 30s exceeded! [13/12/2020, 00:09:43] [BraviaTVOS] Living Room Television: Polling tv state [13/12/2020, 00:09:43] [BraviaTVOS] Living Room Television: {"source":"extInput:hdmi","title":"HDMI 1/MHL","uri":"extInput:hdmi?port=1"} [13/12/2020, 00:09:53] [BraviaTVOS] Living Room Television: Polling tv state [13/12/2020, 00:09:58] [BraviaTVOS] Living Room Television: Timeout of 30s exceeded!
@ursusHU
Tried force closing home app and reopen again?
See here
Yes I tried that, I also tried to reinstall the version which was running smooth 4.0.6 I think, but it didn't work because of the following weird message: The plugin "homebridge-bravia-tvos" requires a Homebridge version of ^1.2.0 which does not satisfy the current Homebridge version of 1.1.6. You may need to update this plugin (or Homebridge) to a newer version. You may face unexpected issues or stability problems running this plugin. But this is something totally different, I tried force closing and it didn't help.
You can ignore the warning. Can u post your config.json please
{ "name": "BraviaTVOS", "debug": true, "tvs": [ { "name": "Living Room Television", "ip": "192.168.68.105", "mac": "FC:F1:52:XXXX", "port": 80, "timeout": 30, "psk": "XXXX", "manufacturer": "Sony", "model": "KDL50W815B", "refreshInputs": false, "wol": true, "inputs": [ "extInput:hdmi" ], "speaker": { "increaseBy": 1, "reduceBy": 1 } } ], "platform": "BraviaOSPlatform" }
Hi,
just figured out what the problem was. Because I was installing the new plugin over the very old one, I didn't realized that the setup needs to be done again. Now I reinstalled the plugin and went through the whole setup process, and it works properly. Thanks again for your work. It's a great plugin.
Hi,
I have the following issues with the new version, I own an older Bravia KDL50W815B. Issues:
Currently only the power button is visible in Homekit there is no possibility to change the input of the TV. At start up I receive some error messages. However in the log (debug mode) I can see the correct input selected.
If I power off the TV via it's own remote control the state in Homekit isn't changing accordingly it remains on. Only an error message is visible in that state.
[11/9/2020, 07:19:10] [BraviaTVOS] Initializing BraviaOSPlatform platform... [11/9/2020, 07:19:10] [BraviaTVOS] Living Room Television: Configuring accessory... [11/9/2020, 07:19:10] [BraviaTVOS] Living Room Television: Adding tv service [11/9/2020, 07:19:10] [BraviaTVOS] Living Room Television: Adding speaker service [11/9/2020, 07:19:10] Living Room Television 0A3D is running on port 43191. [11/9/2020, 07:19:10] Please add [Living Room Television 0A3D] manually in Home app. Setup Code: Setup Payload: Enter this code with your HomeKit app on your iOS device to pair with Homebridge:
[11/9/2020, 07:19:10] Homebridge v1.2.3 is running on port 51041. [11/9/2020, 07:19:10] [BraviaTVOS] Living Room Television: Refreshing all inputs.. [11/9/2020, 07:19:10] [BraviaTVOS] Living Room Television: Fetching all applications [11/9/2020, 07:19:11] [BraviaTVOS] Living Room Television: Fetching all tv inputs [11/9/2020, 07:19:11] [BraviaTVOS] Living Room Television: An error occured during fetching sources, skip.. [11/9/2020, 07:19:11] [BraviaTVOS] [15,"power state is not STANDBY"] [11/9/2020, 07:19:11] [BraviaTVOS] Living Room Television: Fetching all channels for tv:dvbt [11/9/2020, 07:19:11] [BraviaTVOS] Living Room Television: Fetching 1. list of channels [11/9/2020, 07:19:11] [BraviaTVOS] Living Room Television: An error occured during fetching tv:dvbt, skip.. [11/9/2020, 07:19:11] [BraviaTVOS] [14,"1.5"] [11/9/2020, 07:19:11] [BraviaTVOS] Living Room Television: Fetching all channels for tv:dvbc [11/9/2020, 07:19:11] [BraviaTVOS] Living Room Television: Fetching 1. list of channels [11/9/2020, 07:19:11] [BraviaTVOS] Living Room Television: An error occured during fetching tv:dvbc, skip.. [11/9/2020, 07:19:11] [BraviaTVOS] [14,"1.5"] [11/9/2020, 07:19:11] [BraviaTVOS] Living Room Television: Fetching all channels for tv:dvbs [11/9/2020, 07:19:11] [BraviaTVOS] Living Room Television: Fetching 1. list of channels [11/9/2020, 07:19:11] [BraviaTVOS] Living Room Television: An error occured during fetching tv:dvbs, skip.. [11/9/2020, 07:19:11] [BraviaTVOS] [14,"1.5"] [11/9/2020, 07:19:11] [BraviaTVOS] Living Room Television: Fetching all channels for tv:analog [11/9/2020, 07:19:11] [BraviaTVOS] Living Room Television: Fetching 1. list of channels [11/9/2020, 07:19:12] [BraviaTVOS] Living Room Television: An error occured during fetching tv:analog, skip.. [11/9/2020, 07:19:12] [BraviaTVOS] [14,"1.5"] [11/9/2020, 07:19:12] [BraviaTVOS] Living Room Television: Fetching all commands [11/9/2020, 07:19:12] [BraviaTVOS] Living Room Television: All inputs fetched! Stored to /var/lib/homebridge-bravia/bravia/Living_Room_Television-inputs.json [11/9/2020, 07:19:12] [BraviaTVOS] Living Room Television: "refreshInputs" setted to false! [11/9/2020, 07:19:12] [BraviaTVOS] Living Room Television: Polling tv state [11/9/2020, 07:19:12] [BraviaTVOS] Living Room Television: {"source":"extInput:hdmi","title":"HDMI 1/MHL","uri":"extInput:hdmi?port=1"} [11/9/2020, 07:19:22] [BraviaTVOS] Living Room Television: Polling tv state [11/9/2020, 07:19:22] [BraviaTVOS] Living Room Television: {"dispNum":"002","durationSec":1500,"programMediaType":"tv","programTitle":"Állati küldetés","source":"tv:dvbt","startDateTime":"2020-11-09T07:00:00+0100","title":"M2 HD","tripletStr":"8903.2.200","uri":"tv:dvbt?trip=8903.2.200&srvName=M2%20HD"} [11/9/2020, 07:19:32] [BraviaTVOS] Living Room Television: Polling tv state [11/9/2020, 07:19:32] [BraviaTVOS] Living Room Television: {"source":"extInput:hdmi","title":"HDMI 2","uri":"extInput:hdmi?port=2"} [11/9/2020, 07:19:42] [BraviaTVOS] Living Room Television: Polling tv state [11/9/2020, 07:19:42] [BraviaTVOS] Living Room Television: {"source":"extInput:hdmi","title":"HDMI 1/MHL","uri":"extInput:hdmi?port=1"} [11/9/2020, 07:19:52] [BraviaTVOS] Living Room Television: Polling tv state [11/9/2020, 07:19:52] [BraviaTVOS] Living Room Television: An error occured during polling tv [11/9/2020, 07:19:52] [BraviaTVOS] [7,"not power-on"] [11/9/2020, 07:20:02] [BraviaTVOS] Living Room Television: Polling tv state [11/9/2020, 07:20:02] [BraviaTVOS] Living Room Television: {"source":"extInput:hdmi","title":"HDMI 1/MHL","uri":"extInput:hdmi?port=1"}