Comments (19)
Hm can you Post the Output from following Command pls:
curl -s -X POST -d "{"id":3,"method":"getVolumeInformation","version":"1.0","params":["1.0"]}" "http://TVIPHERE/sony/audio" -H "X-Auth-PSK: YOURPSK"
And can you Check if this Command changes the volume, and can you Post the Output from this Command too
curl -s -H "X-Auth-PSK: YOURPSKHERE" -d "{"id":2,"method":"setAudioVolume","version":"1.0","params":
[{"target":"speaker","volume":"2"}]}" "http://TVIPHERE/sony/audio"
from homebridge-sonybravia-platform.
Thanks for your reply.
I was failed to intsall "jq" because the plugin is running on a docker image oznu/docker-homebridge which cannot run the command “sudo apt-get install jq”.
do you know any other way to install that? then I can post what you asked.
Thanks so much
from homebridge-sonybravia-platform.
You dont need jq for the command
from homebridge-sonybravia-platform.
Both command return "curl: not found"
from homebridge-sonybravia-platform.
from homebridge-sonybravia-platform.
I dont use docker, but maybe you can use curl with this?
https://hub.docker.com/r/byrnedo/alpine-curl/
from homebridge-sonybravia-platform.
I have added a curl to my homebridge,
both your command returns
{"error":[5,"Illegal JSON"]}
from homebridge-sonybravia-platform.
hmm... can you upgrade to latest version and post the output here please
from homebridge-sonybravia-platform.
I have just upgraded to version 2.3 and the config is also up to date but the command returns same thing {"error":[5,"Illegal JSON"]}
For your information, I am using a Synology NAS docker to run homebridge with your plugin, and I can get correct list of apps installed on my TV with your home app command
curl -XPOST http://192.168.2.180/sony/appControl -d '{"id":2,"method":"getApplicationList","version":"1.0","params":["1.0"]}' -H 'X-Auth-PSK: 1234' | jq -r '.result[]'
I am thinking if it is a device or platform matter?
from homebridge-sonybravia-platform.
Hmm the command for apps is working but not that for volume? Maybe above is a typo, can you try with this command. Its working with my TV.
(Note: change ip adress and psk with your own data)
curl -XPOST http://192.168.1.2/sony/audio -d '{"id":2,"method":"getVolumeInformation","version":"1.0","params":["1.0"]}' -H 'X-Auth-PSK: abc123'
And here again for set new value for volume:
curl -XPOST http://192.168.1.2/sony/audio -d '{"id":2,"method":"setAudioVolume","version":"1.0","params":[{"target":"speaker","volume":"10"}]}' -H 'X-Auth-PSK: abc123'
from homebridge-sonybravia-platform.
First command returns:
{"result":[[{"target":"speaker","volume":23,"mute":false,"maxVolume":100,"minVolum
e":0},{"target":"headphone","volume":15,"mute":false,"maxVolume":100,"minVolume":0
}]],"id":2}
Second command returns:
{"result":[0],"id":2}
from homebridge-sonybravia-platform.
The Second Command should Change the volume on the TV to 10. Can you Change manually the volume to 20 and Run the Second Command again to See it on the TV if the Command changes it really or Not pls
from homebridge-sonybravia-platform.
It dose not change the volume.
I set manually the volume to 20 and run the first command, the result is not "20" but "23".
The second command makes the volume bar pop-up on TV but not change the volume actually.
from homebridge-sonybravia-platform.
Hmm that makes no Sense, because its asking the TV for the volume state and i dont know why it is saying "23" and not the real value "20"
Which model do you have?
from homebridge-sonybravia-platform.
My TV is a 2015 model KD-65X9000C
from homebridge-sonybravia-platform.
Oh, I realized that I have a Sony HT-ST9 soundbar connected to my TV, when I change the volume of TV the soundbar volume will also be changed automatically, they are linked. For example, the volume of TV is 20 and the volume of soundbar will be 10 (volume of TV=volume of sounbar*2), AND I can change the volume of TV only by step of "2", like 20->22->24... and the soundbar will be 10->11->12... So maybe thats the problem, I will remove the soundbar and try the command later and put the result here. Thank you so much..
from homebridge-sonybravia-platform.
Haha :D yes that would be the problem, i think it will work when you remove it, im waiting for the output, thanks for response
from homebridge-sonybravia-platform.
It works when I remove the soundbar, maybe HDMI ARC cause the problem, it makes linkage between TV and soundbar and I am using soundbar as a common speaker, so your plugin cannot get the correct information of volume. Other features work great for me! Thanks for your great job!
from homebridge-sonybravia-platform.
Ah i understand, yeah the volume bulb can only control directly the tv and Not plugged in external accessory if they are Not listed in the api
Good to hear that everything Else Works fine, im closing the issue then
from homebridge-sonybravia-platform.
Related Issues (20)
- Can turning off an input/CEC turn off the TV? HOT 43
- illegal Argument by channel HOT 1
- hide port HDMI HOT 1
- Plug-in not working: Port issue? HOT 6
- Siri understands power commands only a couple of times after restarting homebridge
- HDMI arc
- Controlling volume with soundbar HOT 1
- Getting error to use different version of node (not current) HOT 1
- HomeKit support HOT 2
- Missing left and right button controls in Remote Control
- Switching to TV HOT 8
- Remote says "this accessory is not currently supported by the home app"
- With the television completely turned off, Homebridge does not work well
- Cannot control volume HOT 3
- ATV has port, but no logical address, doesn't work with current implementation HOT 17
- Enhancement: Allow setting of Home App with Apps service HOT 2
- Plugin doesn't allow homebridge to launch while TV is off HOT 14
- v2.3 can get stuck on launch HOT 4
- Volume slider should show proper % when maxVolume is set HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from homebridge-sonybravia-platform.