Code Monkey home page Code Monkey logo

Comments (4)

PSeitz avatar PSeitz commented on May 23, 2024

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.

TommyCardello avatar TommyCardello commented on May 23, 2024

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.

PSeitz avatar PSeitz commented on May 23, 2024

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.

TommyCardello avatar TommyCardello commented on May 23, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.