Scene push on devices + on/off device

Moderator: leecollings

Post Reply
User avatar
fabry91
Posts: 67
Joined: Sunday 09 December 2018 16:52
Target OS: NAS (Synology & others)
Domoticz version: 2022.2
Location: Italy
Contact:

Scene push on devices + on/off device

Post by fabry91 »

Hello,

I have a scene named "Garage+drive gate" that turn on 2 relays, one if for the garage door and the second if for the garage drive gate (the switch type for this 2 relays is set to "push on button" with off delay 1s).

What I want to reach is to turn on another relay for the garage light (the switch type for this relay is set to "on/off"), when the scene "Garage+drive gate" is triggered to on, and then turn off the garage light when the scene is triggered again to on.

Also, it is possibile to "force" to stay off during day light even if we switch on the scene when there still have light?

It is possibile to do this action without using dzevents?

Thank you in advanced.

Bye bye
User avatar
fabry91
Posts: 67
Joined: Sunday 09 December 2018 16:52
Target OS: NAS (Synology & others)
Domoticz version: 2022.2
Location: Italy
Contact:

Re: Scene push on devices + on/off device

Post by fabry91 »

Hello,

for everyone that need to do that with a shelly 1 or 2.5 relay with Tasmota firmware on board, I created a virtual switch, setup to "push on" with a on command: "http://ip/cm?cmnd=Power%202%20TOGGLE" and off delay 1s.

So now when I switch the scene the garage light turn on with the toggle command of the virtual switch, and turn of when I switch on again the scene.

We can close the post, thank you
User avatar
fabry91
Posts: 67
Joined: Sunday 09 December 2018 16:52
Target OS: NAS (Synology & others)
Domoticz version: 2022.2
Location: Italy
Contact:

Re: Scene push on devices + on/off device

Post by fabry91 »

Hello everyone, back with this unsolved problem.

There is a way to sent the ON/OFF mode of Domoticz to a "Toggle" action?

I have a scene that open 2 drive gates with an ON command (that turns off immidiatly after 1s), what I want is that when turning on the scene that opens the drive gates it turns on also a light, and when I re-turn on the scene it turns off the light.

With the toggle command sometimes it turns on the light and sometimes it turn on off fast without staying on.

Someone have any ideas?
User avatar
waltervl
Posts: 5904
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2024.7
Location: NL
Contact:

Re: Scene push on devices + on/off device

Post by waltervl »

If there is no toggle command in the scene configuration for your light device then it is not possible.
I only can think of using the eventsystem to script the same behavior of a scene with a Blockly or dzVents script.
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
User avatar
fabry91
Posts: 67
Joined: Sunday 09 December 2018 16:52
Target OS: NAS (Synology & others)
Domoticz version: 2022.2
Location: Italy
Contact:

Re: Scene push on devices + on/off device

Post by fabry91 »

waltervl wrote: Thursday 11 August 2022 13:59 If there is no toggle command in the scene configuration for your light device then it is not possible.
I only can think of using the eventsystem to script the same behavior of a scene with a Blockly or dzVents script.
Thank you for your answer, finally I created a new switch device, set to Push On Button and set a on action with the Tasmota toggle script.

Next I inserted the device to the scene list devices and when triggered it turns on and off :)
Attachments
Untitled.jpg
Untitled.jpg (151.43 KiB) Viewed 1116 times
Untitled.jpg
Untitled.jpg (75.65 KiB) Viewed 1116 times
User avatar
waltervl
Posts: 5904
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2024.7
Location: NL
Contact:

Re: Scene push on devices + on/off device

Post by waltervl »

Yes, that is also a possibility to use the toggle function of Tasmota ;-)
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