I have Denon AVR-X2700 and I’m trying to switch to the last internet radio station with a javascript rule.
The avr turns on and the input source says “IRP” for Internet Recent Play but the playback is not starting. What can I do?
if(items.DenonMarantzAVR_Betrieb.state == "OFF")
{
items.DenonMarantz_AVR_MainZone_Power.sendCommand("ON");
java.lang.Thread.sleep(5000);
items.DenonMarantzAVR_MainZone_Input.sendCommand("IRP"); // Internet Radio Recent Play
}
else
{
items.DenonMarantzAVR_Betrieb.sendCommand("OFF");
}