Comments (4)
Hi,
easiest way is to go to the av receivers web interface (the receivers ip address) use the browser dev tools.
If there is a scene information displayed somewhere, you should be able to see the request in the requests tab.
from yamaha-nodejs.
Thanks for the advice.
I've checked everything and found XML "PUT" request. It puts the receiver into a scene number we specify.
But in "GET" request after "PUT" there is no info about scene. Looks like receiver doesn't return any info about scene.
Should I assume it's not possible then?
EDIT: I think it's possible but either not for all receivers or I have to find out how to use GET command: @MAIN:SCENENAME=?
Here is from YNCA documentation:
SCENENAME [GET Command]
@MAIN:SCENENAME=?
Retrieving renamed info of all SCENE presets for Main Zone
from yamaha-nodejs.
If the scene info is shown somewhere in the ui, there is usually a request done before to get the info.
I don't know if the different yamaha apis are completely mapped to each other, it could be that this info doesn't exist in the xml api.
from yamaha-nodejs.
In the web interface, there are 4 scene buttons. When I press any of them, it sends PUT request and selected scene turns on. But in web interface happens nothing. And GET response doesn't consist any info about the scene.
I think it doesn't exist in XML.
After checking YNCA documentation, I have found command that should get scene info.
But it works through TCP connection.
Also, I've seen python scripts here on github which probably can do that. But I'm not familiar with both python and TCP.
I'm just trying to find out am I missing something or just overthinking it. Or it's not possible to do.
from yamaha-nodejs.
Related Issues (16)
- Integration with homebridge HOT 2
- Can't import the module HOT 2
- How to figure out the RC-Codes? HOT 7
- Offical API found HOT 3
- Handle request timeout error HOT 5
- Issue with OpenSSL between yams and alexandra install HOT 2
- Zone B Control HOT 1
- delay is inserted regardless of PUT or GET HOT 2
- Extracting the ID or ULR of an Album_Art HOT 5
- NPM version doesn't match GitHub HOT 4
- Tailor to multiple zones HOT 7
- Can we make PRs that use http requests? HOT 2
- What does that mean? HOT 2
- Error: socket hang up HOT 1
- Yamaha AVR Discovery HOT 6
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 yamaha-nodejs.