After a few false starts thought I had cracked this but alas not.
All added to Home app sand showing as a switch, it shows the TV status (on or off) but when I try and change from the app nothing happens.
I thought it was working error free but now I have noticed a 403 error; which probably explains the reason its not fully working but despite trying many things I cannot clear it. I bet it will be very simple but what am I missing...
ERROR CODE
[2019-1-26 14:29:08] [TV] Publishing new accessory: TV Power
[2019-1-26 14:29:08] [TV] Current TV configuration:
[2019-1-26 14:29:08] [TV] Last volume: 35
[2019-1-26 14:29:08] [TV] Max configurable volume: 35
[2019-1-26 14:29:08] [TV] Polling interval: 10 seconds
[2019-1-26 14:29:08] [TV] Off State: HOME
[2019-1-26 14:29:08] [TV] Channel source: undefined
[2019-1-26 14:29:08] [TV] Max configurable apps: undefined
[2019-1-26 14:29:08] [TV] Favourite app: undefined
[2019-1-26 14:29:08] [TV] Max configurable channels: undefined
[2019-1-26 14:29:08] [TV] Favourite channel: undefined
[2019-1-26 14:29:08] [TV] Max configurable inputs: undefined
[2019-1-26 14:29:08] [TV] Favourite input: undefined
[2019-1-26 14:29:08] Homebridge is running on port 51826.
[2019-1-26 14:30:00] [TV] TV Power: Identify!!!
[2019-1-26 14:33:18] [TV] An error occured by setting tv state!
[2019-1-26 14:33:18] [TV] Error: Failed to load data, status code: 403
at ClientRequest. (/usr/lib/node_modules/homebridge-bravia-tv/src /accessory.js:66:20)
at Object.onceWrapper (events.js:315:30)
at emitOne (events.js:116:13)
at ClientRequest.emit (events.js:211:7)
at HTTPParser.parserOnIncomingClient (_http_client.js:558:21)
at HTTPParser.parserOnHeadersComplete (_http_common.js:119:17)
at Socket.socketOnData (_http_client.js:454:20)
at emitOne (events.js:116:13)
at Socket.emit (events.js:211:7)
at addChunk (_stream_readable.js:263:12)
After a few false starts thought I had cracked this but alas not.
All added to Home app sand showing as a switch, it shows the TV status (on or off) but when I try and change from the app nothing happens.
I thought it was working error free but now I have noticed a 403 error; which probably explains the reason its not fully working but despite trying many things I cannot clear it. I bet it will be very simple but what am I missing...
ERROR CODE
[2019-1-26 14:29:08] [TV] Publishing new accessory: TV Power [2019-1-26 14:29:08] [TV] Current TV configuration: [2019-1-26 14:29:08] [TV] Last volume: 35 [2019-1-26 14:29:08] [TV] Max configurable volume: 35 [2019-1-26 14:29:08] [TV] Polling interval: 10 seconds [2019-1-26 14:29:08] [TV] Off State: HOME [2019-1-26 14:29:08] [TV] Channel source: undefined [2019-1-26 14:29:08] [TV] Max configurable apps: undefined [2019-1-26 14:29:08] [TV] Favourite app: undefined [2019-1-26 14:29:08] [TV] Max configurable channels: undefined [2019-1-26 14:29:08] [TV] Favourite channel: undefined [2019-1-26 14:29:08] [TV] Max configurable inputs: undefined [2019-1-26 14:29:08] [TV] Favourite input: undefined [2019-1-26 14:29:08] Homebridge is running on port 51826. [2019-1-26 14:30:00] [TV] TV Power: Identify!!! [2019-1-26 14:33:18] [TV] An error occured by setting tv state! [2019-1-26 14:33:18] [TV] Error: Failed to load data, status code: 403 at ClientRequest. (/usr/lib/node_modules/homebridge-bravia-tv/src /accessory.js:66:20)
at Object.onceWrapper (events.js:315:30)
at emitOne (events.js:116:13)
at ClientRequest.emit (events.js:211:7)
at HTTPParser.parserOnIncomingClient (_http_client.js:558:21)
at HTTPParser.parserOnHeadersComplete (_http_common.js:119:17)
at Socket.socketOnData (_http_client.js:454:20)
at emitOne (events.js:116:13)
at Socket.emit (events.js:211:7)
at addChunk (_stream_readable.js:263:12)
CONFIG FILE: <>
{ "bridge": { "name": "Homebridge", "username": "<>",
"port": <>,
"pin": "<>"
},
}