gregtee wrote:I've made a virtual device. The problem is that it doesn't seem to do anything. I'd like to use it a State Device, such as "I'm Home", where I can toggle it On or Off which other events will check first and make decisions based on its on or off state.
When I try to manually turn on this device, nothing happens. The little button next to the device is just always grayed out. Am I missing something? I used virtual devices a lot in Homeseer before I migrated over to Indigo and I'd like to use them here as well but I can't seem to figure out how do anything but create them initially.
You're almost there. What you need is two action groups: one that will turn the device's state to on and another that will turn the devices state to off. Create the on group:
- Create a new action group - call it "Turn On Virtual Device" or something
- In the Type popup, select Device Actions->Virtual Device Controls->Set Virtual On/Off Device State
- In the Device popup, select your virtual device
- Open the settings and type in "on" (without the quotes)
Repeat these steps for an off group (with the appropriate changes of course). Then, edit your virtual device and select these groups as your on and off group. You now have a device that can be turned on/off using the built-in on/off ui controls and actions.
We may add (in some future release) the ability to bypass the creation of the action groups to simplify things - we just originally designed this device to be more fully featured than just a simple on/off device.