simply said i'm trying to control my windows shade with 1 virtual button...
I have 4 shades to control and i wanna get it set up that if you (on dashboard) press button for shader 1 only shader 1 goes open/close...
I have (with help of Smartlife integration etc) my 4 shades (wifi) added in the device tab and can control 'open', 'close' or 'stop'
(for some reason there is no tile able to control those shades, only on the device page itself).
I have a virtual switch with 4 buttons created... I will call them 1.1; 1.2; 1.3; 1.4
I have 4 button tiles on my dashboard... to press the 1.1; 1.2; 1.3; 1.4
I wanted to use Rule Machine so When button 1.1 is pressed it controls just 1 shade...
I can't seem to find out how to set it up... where do i find the condition 'IF button 1.# is pressed'...
I kinda know how the setup could look like...
If (virtual)button 1.1 is pressed then
.....if shade 1 is open then close shade 1.....
..........delayed 1min: stop shade 1
.....if shade 1 is closed then open shade 1
..........delayed 1min: stop shade 1
If (virtual)button 1.2 is pressed then
.....if shade 2 is open then close shade 2
..........delayed 1min: stop shade 2
.....if shade 2 is closed then open shade 2
..........delayed 1min: stop shade 2
...
think you got it by now but like i said... where can i find the 'if button 1.# is pressed'?
I could work around and make every shader it's own virtual button but then i would end up with so much virtual buttons and i wanted to slim it down...
You have to go into your specific dashboard you created yourhubip>>apps>>hubitatdashboard>>whaever dashboard and then expose those devices to the dashboard. Note: Do not expose all devices. Only ones you want on that dashboard otherwise the rendering slows down..
I have my dashboard ready, I did add them like in your picture.
The wifi shaders are not standard able to be controlled, I even tried selecting 'atributes' in dashboard.
The question is rather how can you use a virtual switch specific button to be used in Rule Machine.
Button controller.
...It seems like in button controller there is a aspect of RM. Just what i needed... a RM for every single sub-button for my virtual button.
All apps are an aspect of RM in general but button controller makes things easier. Create your button controller then use RM for your rule using button controller as the trigger
To bad RM doesn't support the different sub-buttons as a condition...
Again... THX a lot...
After 5years i was able to connect those god... euh... blessed tuya/smartlife controllers to hubitat and i was missing this last step... And you found it for me...
I'm done now.
push button 1 = open or close 'shade1', depending on the state it is (no need to close a closed one )
push button 2 = open or close 'shade1', depending on the state it is (no need to close a closed one )
same for the rest.
In dashboard i can select the button number to be pushed...
Works perfect, I'm allowed back to the garage to sleep... my good fiance