foxriver76 / ioBroker.denon

Denon AVR adapter for ioBroker
MIT License
19 stars 9 forks source link

New datapoint for audio/video information #268

Open blackeagle998 opened 2 years ago

blackeagle998 commented 2 years ago

Hi,

in "settings/general/information" you can find audio/video details as shown in the following screenshot: image

Is it possible to get this information as a json structure in one new datapoint or all the fields in many new datapoints? It would be great to get a short answer for that.

Thank you in advance!

denzel1994 commented 1 year ago

I would also love to have this.

foxriver76 commented 1 year ago

If you find the correct commands in telnet we can add it, the adapter is not supposed to perform http requests.

E.g. the resolution could be some of these Bildschirmfoto 2022-10-23 um 14 32 34

mllrmnn commented 1 year ago

If you find the correct commands in telnet we can add it, the adapter is not supposed to perform http requests.

E.g. the resolution could be some of these Bildschirmfoto 2022-10-23 um 14 32 34

as far as I could find out, these informations are only available over http-request and not over the telnet API, sadly... you should be able to obtain these informations in xml format with this url:

i have this url in the iobroker parser adapter to get these infos. If you want to obtains some more infos about the audio channels( input & output) use ad http-requests in javascript:

with method POST this url: http://:8080/goform/AppCommand.xml and the following body body='<?xml version="1.0" encoding="utf-8"?> <tx> <cmd id="3"> <name>GetInputSignal</name> <list> <param name="inputsigall"></param> </list> </cmd> <cmd id="3"> <name>GetActiveSpeaker</name> <list> <param name="activespall"></param> </list> </cmd> <cmd id="3"> <name>GetVideoInfo</name> <list> <param name="videooutput"></param> <param name="hdmisigin"></param> <param name="hdmisigout"></param> </list> </cmd> <cmd id="3"> <name>GetAudioInfo</name> <list> <param name="inputmode"></param> <param name="output"></param> <param name="signal"></param> <param name="sound"></param> <param name="fs"></param> </list> </cmd> <cmd id="3"> <name>GetAudyssyInfo</name> <list> <param name="eqname"></param> <param name="eqvalue"></param> <param name="dynamiceq"></param> <param name="dynamicvol"></param> </list> </cmd> </tx> <tx> <cmd id="3"> <name>GetSoundMode</name> <list> <param name="movie"></param> <param name="music"></param> <param name="game"></param> <param name="pure"></param> <param name="auro3d"></param> </list> </cmd> </tx>'