Scene with input selection

Moderator: leecollings

Post Reply
extremeaudio
Posts: 47
Joined: Tuesday 24 November 2020 17:57
Target OS: Linux
Domoticz version:
Contact:

Scene with input selection

Post by extremeaudio »

I have added a denon receiver as a hardware using the IP control plugin. It creates switches that say Power , and then another switch that has a drop down to select the Input , viz. BluRay, DVD etc.

Now I want to create a scene which turns on the power of the receiver and selects a certain input let’s say DVD and maybe even set a certain volume level or press play. But in the scene menu I get no option to select the input or any of the other things. How does one achieve this ?
User avatar
madpatrick
Posts: 667
Joined: Monday 26 December 2016 12:17
Target OS: Linux
Domoticz version: 2025.1
Location: Netherlands
Contact:

Re: Scene with input selection

Post by madpatrick »

I think the best way is a dummy swich and a script.
If you are not familiar with programming, a blocky script is pretty simply
-= HP server GEN11 =- OZW -=- Toon2 (rooted) -=- Domoticz v2025.1 -=- Dashticz v3.14b on Tab8" =-
extremeaudio
Posts: 47
Joined: Tuesday 24 November 2020 17:57
Target OS: Linux
Domoticz version:
Contact:

Re: Scene with input selection

Post by extremeaudio »

I am not able to find the option to select any parameter like volume level (for an amplifier) or source input (for a tv) even in Blockly. The options are mostly similar to those in Scenes.
User avatar
waltervl
Posts: 5888
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2024.7
Location: NL
Contact:

Re: Scene with input selection

Post by waltervl »

When I select a selector switch I can set a level % (0, 10%, 20%, etc)
That level percentage is the same as the level that is shown if you click on edit of that selector switch. Eg

0 off
10 TV
20 AUX
30 Bluetooth
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
extremeaudio
Posts: 47
Joined: Tuesday 24 November 2020 17:57
Target OS: Linux
Domoticz version:
Contact:

Re: Scene with input selection

Post by extremeaudio »

But when I select denon receiver plugin I can’t select inputs.
extremeaudio
Posts: 47
Joined: Tuesday 24 November 2020 17:57
Target OS: Linux
Domoticz version:
Contact:

Re: Scene with input selection

Post by extremeaudio »

Never mind. Event for inputs one has to select the percentage. A bit unusual but it works
User avatar
waltervl
Posts: 5888
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2024.7
Location: NL
Contact:

Re: Scene with input selection

Post by waltervl »

Good you found it. But indeed a little strange and not very intuitive.
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest