We generally don't directly address statements like this, but in this situation it's probably justified. So, just to clarify, that is not exactly what we told daystar123. His email asked us about this scenario and offered to pay us to implement it for him. We described the solution in general terms and pointed him to the documentation and to the forums as good sources of information and help. We then let him know (as all of you know) that we sell/support the software but can't perform installations, even for money, because we are a small 2 person company and have to stay focused on the software. Another email identified his age and asked again for us to do it for money.
So,
at no point did we refuse to help. We did decline to do the implementation for him. Pointing him to the forums allows not only him to get the answer, but becomes a public record of the question and responses so all customers can benefit.
Back to the question at hand. Dave's solution is close, but doesn't get the brightness to 20%. That complicates is somewhat, but it's still pretty straight-forward. Also, there were a few more details in the email: he only wants it to happen after 7:30pm and he's using an I/O Linc with a magnetic switch (I'm assuming it's a sensor on the door to indicate open/closed status).
So, based on Dave's post, let's modify the trigger. Since it's an I/O Linc, you'll want to select your I/O Linc from the
Device popup (leave the
Type set to
Device State Changed). Select
Binary Input 1 from the popup below the device and
Becomes Open from the one below that:
- ss70.png (58.27 KiB) Viewed 2403 times
That says the trigger will fire when the input opens - assuming it's a sensor on the door, then this trigger will fire when the door opens.
Next, we need to satisfy the 7:30pm condition, so we add a condition:
- ss76.png (69.71 KiB) Viewed 2403 times
If you only added greater than 7:30pm, then the trigger would only fire between 7:30pm and midnight. I'm guessing that you want it to come on at 2am (for example). So we make the condition that the time is between 7:30pm and 8am (I picked that arbitrarily).
Finally, for each light you want to come on, you'll need two actions - one to set the brightness to 20% and another one to turn the light off (after a delay of 2.5 minutes). The first action:
- ss74.png (68.22 KiB) Viewed 2403 times
Select the appropriate device in the
Device popup. This turns the light on to 20%. Then click the
Add New button and create the second action:
- ss75.png (71.14 KiB) Viewed 2403 times
This says to turn off the light after delaying 2:30 - see the
Delay by checkbox towards the bottom of the screen. This action will wait for that delay amount before executing.
I believe that's pretty close to what you're wanting to do.
We have a
wiki page that has links to some common scenarios that many people want to do - we highly recommend walking through those how-tos. This is a great way to get familiar with Indigo.