forty2 / bravia2mqtt Goto Github PK
View Code? Open in Web Editor NEWControl your Sony Bravia TV with MQTT.
License: MIT License
Control your Sony Bravia TV with MQTT.
License: MIT License
Hi!
I am trying this module with a Sony KDL-75W855C.
Is there anything special I have to setup on the TV itself?
Something like "enable remote control via IP"?
I get the following error:
root@rpi-smarthome:~#` bravia2mqtt
BraviaTv {
domain: null,
_events:
{ 'power-changed': [Function],
'volume-changed': [Function],
'mute-changed': [Function],
'channel-changed': [Function],
'input-changed': [Function],
'piture-mute-changed': [Function],
'pip-changed': [Function] },
_eventsCount: 7,
_maxListeners: undefined,
sendIrCode: [Function],
isOn: { get: [Function], set: [Function], toggle: [Function] },
volume: { get: [Function], set: [Function] },
isMuted: { get: [Function], set: [Function] },
channel: { get: [Function], set: [Function] },
tripletChannel: { get: [Function], set: [Function] },
inputSource: { get: [Function], set: [Function] },
input: { get: [Function], set: [Function] },
isPictureMuted: { get: [Function], set: [Function], toggle: [Function] },
isPipEnabled: { get: [Function], set: [Function], toggle: [Function] },
pipPosition: { toggle: [Function] },
broadcastAddress: { get: [Function] },
macAddress: { get: [Function] },
sceneSetting: { get: [Function], set: [Function] } }
events.js:160
throw er; // Unhandled 'error' event
^
Error: connect ECONNREFUSED 192.168.10.199:20060
at Object.exports._errnoException (util.js:1018:11)
at exports._exceptionWithHostPort (util.js:1041:20)
at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1086:14)
root@rpi-smarthome:~#
Whilst control of the TV works without problem, and status updates work as the state of the TV changes, requesting current state using the get command doesn't return any value or response.
Using Live TV when I look at the channel all I see the below. How can I get it to show the correct information
[object Object]
qos : 0, retain : true, cmd : publish, dup : false,
topic : bravia:xxx/status/channel, messageId : , length : 61
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.