Virtual Device for shade

Posted on
Tue Oct 21, 2014 7:35 pm
tornado offline
User avatar
Posts: 104
Joined: Jun 30, 2014

Virtual Device for shade

Hi,

What's the best way to create a virtual device that has a state of open or closed instead of on/off? I would like to make one for my shade unit but right now I'm stuck with this.

Any advice?

Thanks
Attachments
Screen Shot 2014-10-21 at 6.25.53 PM.png
Screen Shot 2014-10-21 at 6.25.53 PM.png (24.87 KiB) Viewed 1378 times

Posted on
Wed Oct 22, 2014 3:27 am
wiery offline
Posts: 288
Joined: Jun 02, 2008
Location: Ireland

Re: Virtual Device for shade

Create a trigger that tracks device state change and updates a variable with open / closed. Then put the variable status in your control page rather than the device state.

Posted on
Wed Oct 22, 2014 10:44 am
tornado offline
User avatar
Posts: 104
Joined: Jun 30, 2014

Re: Virtual Device for shade

Excellent thanks

Page 1 of 1

Who is online

Users browsing this forum: No registered users and 21 guests