Closed holli73 closed 8 years ago
The "getRendererState" only returns the informations for the "virtual Renderers" (Zone renderers) Raumfeld only uses the virtual renderers for playing a stream and does not set the uri's directly to the renderers.
So in your case for the "Wohnzimmer" renderer there is no virtual renderer (so there is no zone defined for the Wohnzimmer). If you take your Controller and choose the "Wohnzimmer" then RF will create a virtual Renderer for it and it will appear in the list ´ STATE Information of non virtual renderers is in fact useless for Controlling RF (only the virtual renderers can be controlled)
You can get the "unasigned" renderers with another json request "getroomlist" or "getzonelist" But the state of these unasigned renderers, which are not linked to a virtual renderer, is not available
Why do you need the state for the unassigned renderers? If there is a good reason i may add it to the new Version (but in fact the state of unasigned renderes will always be "Stopped" with no URI and no URI METADATA except the renderer is controlled by another System than RF
hello,
thanks for the information - the main usage of my rf devices is done through my own app and not through the rf-app - why - if have many different devices/systems (digitalstrom/1-wire/ip-relays/i2c/zigbee/rf/...) and i need to connect all of them somehow together - i use an enterprise scheduler (automic) for my complete home automation and with this system - i query all different systems and collect information in a mysql db - with a sails (node.js) app i control all this through the DB and the scheduler is executing the needed actions - so for my collector it would be good to have one request to get all - but - i can code arround - if the room is not within this list i can set them to stopped as well - this is just a nice to have and keep my code simple.
thanks holli
If i find a nice approach i will consider it in the new kernel
The new version will return non assigned rooms win the request if the request is called with the 'listAll' option. eg.:
http://10.0.0.1:8080/raumserver/data/getRendererState?listAll=1
hello,
i need to get the states of all rooms and i found that the (webfrontend) is using 'getrendererstate'
so i make follwoing request
this returns only:
but the R in the raumserver return's all rooms - so how do i get all rooms and states?
thanks holli