Neues Modul 71_PHILIPS_AUDIO.pm für MCi, Streamium und Fidelio Geräte

Begonnen von ra666ack, 21 Februar 2015, 19:58:04

Vorheriges Thema - Nächstes Thema

ra666ack

Hi Paul,

please check if the inputs work correctly and get the right input reading.
The UI changed a bit. Different inputs. More convenient.

Please also report things you notice working with your hardware.

Thanks.

Ciao

Radek

Paul Guijt

#76
Hi Radek,

When I select set inetRadioPreset or inetRadioFavorite, I can't select the number of the intended preset or favorite. All values of set input seem to work, at least aux and optical, and it's nice to be able to add input to webCmd. Of course I had to change the associated notifies etc. where e.g. mute is used. I like the mute on/off more than the mute/unmute. But I can't find the standby function.

Vriendelijke groet,
Paul
RasPi 2B, CUL 433, Jens' FW, Berker, HomeMatic, KlikaanKlikuit, RFXtrx443, Squeezebox, Z-Wave, TradFri in die Niederlände

Paul Guijt

#77
I just linked the powerswitch for my record player to my PHILIPS_AUDIO module.

My record player is connected to my Philips audio device ( a Fidelio AW9000 ) through a pre-amplifier and the aux port. The power cords of my record player and its pre-amplifier are both plugged in to a switch, controlled by FHEM.

This is how I did it:
attr Fidelio userReadings Phono {  if ( ReadingsVal ("Fidelio","input","") eq "Aux-in (analog)" )  { "on" } else { "off" } }
attr Fidelio event-on-change-reading input,Phono,mute
defmod LuidsprekerAUX notify Fidelio:Phono:.* set PlatenspelerVoeding $EVTPART1


I needed the first rule because aux and in are not allowed while "strict subs" is in use in the Perl code. And it allows use of the handy $EVTPART1.
RasPi 2B, CUL 433, Jens' FW, Berker, HomeMatic, KlikaanKlikuit, RFXtrx443, Squeezebox, Z-Wave, TradFri in die Niederlände

ra666ack

Hi Paul

The standbyButton is on-off now.
For the Favorites and preset you could Try to refresh them with a corresponding command.
The only appear if an preset was found...

Radek

Paul Guijt

Hello Radek,

Yep, I've found the standbyButton. But when the Fidelio is off, why can't a set input anything turn it on?

And I did a refresh again (set Fidelio getInetRadio*), but the problem stays. As do the Favorite and Presets.

Groet,
Paul
RasPi 2B, CUL 433, Jens' FW, Berker, HomeMatic, KlikaanKlikuit, RFXtrx443, Squeezebox, Z-Wave, TradFri in die Niederlände

ra666ack

Hi Paul

Im on biz trip till Wed.
Could you test and collect you findings. I'll Try to finden a solution for them.

Obviously the Favorites and Preset work differently. Could you go to the Favorites and preset Page and send the source.

Thank

R.

Paul Guijt

Hi Radek,

Sorry, Favorites and Presets were my fault. They are working correctly now.

The question stays: when the Fidelio is off, why can't a set input anything turn it on?

Met vriendelijke groet,
Paul
RasPi 2B, CUL 433, Jens' FW, Berker, HomeMatic, KlikaanKlikuit, RFXtrx443, Squeezebox, Z-Wave, TradFri in die Niederlände

ra666ack

Hi Paul,

all right, good to know. You have to be patient with the Streamium hardware... Mine is reeeeeeaaaaaaaaaally slow.

The idea was to have context-sensitive menue. No inputs available when not powered.
Am I right, the AW9000 switches on from stand-by, in case any of the AUX inputs were selected in the browser? e.g. http://[ip-number]:8889/aux
Not the app. The app might do something in addition.

(I'm not sure it works propoerly with my hardware.)

In any case, my plan is to improve the on/off state recognition. Need to dig deeper in the html.

Might take some time. Quite busy...

Ciao

Radek


Paul Guijt

Hi Radek,

As a matter of fact, I have an issue with the standby-button. See http://www.supportforum.philips.com/en/search.php?searchid=4477609.

My AW9000 is currently connected through WiFi. I am trying to arrange an Ethernet connection and will do a factory reset after that. Then, I hope, I can use the standby-button as intended by the factory. And answer your question.

Might take some time too ;-)

Regards,
Paul
RasPi 2B, CUL 433, Jens' FW, Berker, HomeMatic, KlikaanKlikuit, RFXtrx443, Squeezebox, Z-Wave, TradFri in die Niederlände

ra666ack

I hope it's not my module that destroyed your Hardware...  ;)

You might consider the Yamaha CDR-560D Network Player and the YAMAHA_NP Module :)

Good luck.

Radek

ra666ack

Hi Paul,

could you test the attached module.
Especially the new command selectStream.
The module has been heavily rewritten.

Thank you.

Radek

Paul Guijt

RasPi 2B, CUL 433, Jens' FW, Berker, HomeMatic, KlikaanKlikuit, RFXtrx443, Squeezebox, Z-Wave, TradFri in die Niederlände

ra666ack

No Problem.

Could you also help me with the following?
Please start the BubbleUPnP client (free app on Android, you can remove it afterwards), go to "Renderer", choose the AW9000.
On the right side there's three dots, click on 'info' and get the "Desc. XML URL", which is device specific.
Please post it here.

Thanks

Ciao

Paul Guijt

Hi Radek,

The Desc. XML URL is http://192.168.178.29:49153/nmrDescription.xml.

That page's contents:

<root>
<specVersion><major>1</major><minor>0</minor></specVersion><device><dlna:X_DLNADOC>DMR-1.50</dlna:X_DLNADOC><deviceType>urn:schemas-upnp-org:device:MediaRenderer:1</deviceType><friendlyName>Woonkamer</friendlyName><manufacturer>Royal Philips Electronics</manufacturer><manufacturerURL>http://www.philips.com</manufacturerURL><modelDescription>Philips Wireless HiFi Speaker</modelDescription><modelName>A</modelName><modelNumber>9</modelNumber><modelURL>http://www.philips.com/</modelURL><serialNumber>188ED5741042</serialNumber><UDN>uuid:F00DBABE-AA5E-BABA-DADA-188ED5741042</UDN><UPC>AW9000/12</UPC><iconList><icon><mimetype>image/png</mimetype><height>48</height><width>48</width><depth>24</depth><url>A48.png</url></icon><icon><mimetype>image/png</mimetype><height>120</height><width>120</width><depth>24</depth><url>A120.png</url></icon><icon><mimetype>image/jpeg</mimetype><height>48</height><width>48</width><depth>24</depth><url>A48.jpg</url></icon><icon><mimetype>image/jpeg</mimetype><height>120</height><width>120</width><depth>24</depth><url>A120.jpg</url></icon></iconList><serviceList><service><serviceType>urn:schemas-upnp-org:service:RenderingControl:1</serviceType><serviceId>urn:upnp-org:serviceId:RenderingControl</serviceId><controlURL>upnp/control/RenderingControl1</controlURL><eventSubURL>upnp/event/RenderingControl1</eventSubURL><SCPDURL>nmrRenderingControl.xml</SCPDURL></service><service><serviceType>urn:schemas-upnp-org:service:ConnectionManager:1</serviceType><serviceId>urn:upnp-org:serviceId:ConnectionManager</serviceId><controlURL>upnp/control/ConnectionManager1</controlURL><eventSubURL>upnp/event/ConnectionManager1</eventSubURL><SCPDURL>nmrConnectionManager.xml</SCPDURL></service><service><serviceType>urn:schemas-upnp-org:service:AVTransport:1</serviceType><serviceId>urn:upnp-org:serviceId:AVTransport</serviceId><controlURL>upnp/control/AVTransport1</controlURL><eventSubURL>upnp/event/AVTransport1</eventSubURL><SCPDURL>nmrAVTransport.xml</SCPDURL></service></serviceList><presentationURL>http://192.168.178.29:8889/index.htm</presentationURL><pns:X_presentationProperties><pns:X_screen type="Small">#Mobile</pns:X_screen><pns:X_screen type="Medium">#PhotoFrame</pns:X_screen><pns:X_screen type="Large">#TV</pns:X_screen></pns:X_presentationProperties><pns:X_installID>306</pns:X_installID><pns:X_capabilitiesFileURL>http://192.168.178.29:8889/DeviceCapabilities.json</pns:X_capabilitiesFileURL><pns:X_firmwareString>VH5.80S</pns:X_firmwareString><pns:X_firmwareInteger>580</pns:X_firmwareInteger><pns:X_deviceStatusURL>http://192.168.178.29:8889/DeviceStatus.json</pns:X_deviceStatusURL></device></root>


Freundliche Grüße,
Paul
RasPi 2B, CUL 433, Jens' FW, Berker, HomeMatic, KlikaanKlikuit, RFXtrx443, Squeezebox, Z-Wave, TradFri in die Niederlände

ra666ack