Jump to content

Chris Jahn

Administrators
  • Posts

    1745
  • Joined

Everything posted by Chris Jahn

  1. I am hesitant to remove these because, for example, I could see a case where someone would want to prevent their regulary scheduled sprinkler program from running. The problem is that memory in the ISY is at a premium, so we only load the first 20 bytes of each program name. I'll take another look at it and see if this can be increased.
  2. Hi ResIspa, With a problem like this, first see if the True/False state of the folder changes when you expect it to. To do this, just go to the Program Summary page. When the Folder is True then Programs within it can run, otherwise they are prevented from running. In this case, the folder conditions you are using aren't quite right. Control is normally used to do something special based on whether an On was pressed vs Fast On etc.. A simpler solution for an Away button, is to use Status instead, as follows: Folder Conditions for '-A Copy' Add conditions to limit when programs in this folder are allowed to run. If Status '08.5F.4A.1' is Off Then Allow the programs in this folder to run. For more info, I did a write up making an Away button Click Here
  3. Description Version 2.6.6 References to devices, scenes and programs can be found or replaced using Find/Replace. Find/Replace is available in both the Program Summary and Program Details. Version 2.6.7 References to X10 and IR can also be found or replaced, and a raw text search with expressions is also available. Advantages Without search/replace capability it can be time consuming and error prone finding all occurances of something that needs to be replaced. How to use it From the Program Details page: 1. Right-click on the program tree, and select Find/Replace from the popup menu. 2. A dialog box will appear, choose the type of search you would like. Perform a search: 1. Select the item to search for from the drop down box, or in the case of raw text search, type in the search text. 2. Press the Find button, if it finds it in a program then the program is highlighted. 3. Press the Find button again to find the next occurance Perform a replace: 1. Select the item to search for from the drop down box 2. Select the item to replace it within in the 'Replace with' drop down box 3. Press one of the Replace buttons to do the replace - Replace in Selected replaces all occurances in the current (selected) program - Replace in All Programs replaces all occurances in all programs - Replace in All in Folder This button will appear if a folder is currently selected. It replaces all occurances in all programs within the folder or its subfolders. From the Program Summary page: 1. Right-click on the table, and select Find/Replace from the popup menu. 2. A dialog box will appear, choose the type of search you would like. Perform a search: 1. Select the item to search for from the drop down box, or in the case of raw text search, type in the search text. 2. Press the Find button, all programs containing the occurance are selected. Perform a replace: 1. Select the item to search for from the drop down box 2. Select the item to replace it within in the 'Replace with' drop down box 3. Press one of the Replace buttons to do the replace - Replace in Selected replaces all occurances in all the programs selected in the table - Replace in All Programs replaces all occurances in all programs Note: You must press 'Save Changes' on the main Program Details to save your changes to the ISY. If you accidentally make the wrong change using replace, you can use the 'Undo Changes' on the main Program Details page to undo all changes you have made since your last 'Save Changes'. Example: If Folder 'AWAY' is True Then Repeat Every 1 hour Wait 15 minutes (Random) Set 'Bathroom Light' On Wait 10 minutes Wait 2 minutes (Random) Set 'Bathroom Light' Off Else - No Actions - (To add one, press 'Action') 1. From the program details screen, select the above program. 2. Open the Find/Replace dialog box 3. Select 'Insteon' 4. Select 'Bathroom Light' 5. Select 'Kitchen Light' in the 'Replace With' drop down box 6. Press the 'Replace in Selected Button' The program will now look like: If Folder 'AWAY' is True Then Repeat Every 1 hour Wait 15 minutes (Random) Set 'Kitchen Light' On Wait 10 minutes Wait 2 minutes (Random) Set 'Kitchen Light' Off Else - No Actions - (To add one, press 'Action') 6. Press the 'Save Changes' on the main Program Details page to save the change to the ISY.
  4. Description Version 2.6.7 The on level/ramp rates of devices within scenes may be adjusted using programs. This is useful in cases where you want a light to be at 100% when switched on during the day and evening, but at late night you would want it to come on at 25%. Advantages Unlike using a program to test for a button press and then turn the light on to a certain level, the actual link within the device is updated. The main advantage to this approach is that the ISY is not in the loop when you turn the scene on or off, and therefore there is no delay. How to use it 1. Select Adjust Scene in the dropdown for an Action. 2. Select either the Master Scene, or a controller within that scene. 3. Select the responder in the scene 4. Select the new on level or ramp rate (you can find ramp rates at the end of the drop down list). Example: Isy Scene: . Bathroom (Master Scene) . - Bathroom Switch (SwitchLinc Controller) . - Bathroom Light (LampLinc Responder) This changes the on level of 'Bathroom Light' to 25% at late night, and 100% at all other times when switched on using 'Bathroom Switch'. It also adjusts the ramp rate. If From 11:30:00PM To Sunrise - 2 hours (next day) Then In Scene 'Bathroom switch' Set 'Bathroom Light' 25% (On Level) In Scene 'Bathroom switch' Set 'Bathroom Light' 4.5 Sec (Ramp Rate) Else In Scene 'Bathroom switch' Set 'Bathroom Light' 100% (On Level) In Scene 'Bathroom switch' Set 'Bathroom Light' 0.3 Sec (Ramp Rate)
  5. Description Version 2.6.6 - Relevant Wiki Link: Precedence and Execution Order The True/False status of a Folder may be tested using a program. Advantages By testing the status of a Folder, it is easier to choose which programs within the Folder run when it becomes True. How to use it 1. Select Program in the dropdown for an Action 2. Select a Folder (the selection list contains all Programs followed by all Folders) Example: Folder AWAY Folder Conditions for 'AWAY' Add conditions to limit when programs in this folder are allowed to run. If Status 'Away Button' is On Then Allow the programs in this folder to run. Program inside Folder AWAY. - This turns the bathroom light on randomly. You could add more of these programs in the folder for Kitchen, Bedrooms, etc. If Folder 'AWAY' is True Then Repeat Every 1 hour Wait 15 minutes (Random) Set 'Bathroom Light' On Wait 10 minutes Wait 2 minutes (Random) Set 'Bathroom Light' Off Else - No Actions - (To add one, press 'Action') Program inside Folder AWAY. - This sends an e-mail notification if the Bathroom switch is pressed on while you are away. You could add more switches to this program e.g. Kitchen, Living Room etc. If Control 'Bathroom Switch' is switched On Or Control 'Bathroom Switch' is switched Fast On Or Control 'Bathroom Switch' is switched Fade Up Or Control 'Bathroom Switch' is switched Bright Then Send Notification to All Else - No Actions - (To add one, press 'Action') Program not inside Folder AWAY. - This is used to ensure all the lights randomly turned on will be turned off when the AWAY Folder becomes False, and all programs in it are stopped. If Folder 'AWAY' is False Then Set 'Bathroom Light' Off Else - No Actions - (To add one, press 'Action')
  6. Some detailed How-To's v2.6.7 - Using a Program to adjust On level/Ramp Rates for a Scene for different times of day v2.6.7 - User Defined SMTP Settings - v2.6.6 - Find/Replace in programs v2.6.6 - Using Folder status in programs (e.g. for Away programs)
  7. Chris Jahn

    Folders

    Hi Alf, You need something to trigger this program to run. As of v2.6.6, this is very easy to do with Folders. If you want the program in the Folder to run when the Folder Conditions become True then just put that in the conditions of the program. Folder Conditions for 'AWAY' Add conditions to limit when programs in this folder are allowed to run. If ( Status 'GAR KPL H' is Off Or Status 'MBR KPL H' is Off Or Status 'Occupied On/OFF APL' is Off ) Then Allow the programs in this folder to run. If Folder 'AWAY' is True Then Repeat Every 15 minutes Set Scene 'All OFF' Off Else - No Actions - (To add one, press 'Action')
  8. The program would restart itself (and the 5 minute wait) because the Temperature status of 'Thermostat' would have changed. If you don't want it to stop, then you could do the following: If Status 'Thermostat' > 78° (Temperature) And Program 'Change Setpoint' is False Then Run Program 'Change Setpoint' (Then Path) Else - No Actions - (To add one, press 'Action') 'Change Setpoint' If - No Conditions - (To add one, press 'Schedule' or 'Condition') Then Wait 5 minutes Set 'Thermostat' 75° (Cool Setpoint) Run Program 'Change Setpoint' (Else path) Else - No Actions - (To add one, press 'Action')
  9. No problem ... it was a cosmetic issue.
  10. Thanks Mike, No, it was not intended. Its fixed in the next drop.
  11. Hi Clarence, The good news is Java 6 is available on Mac, but the bad news is Safari (and I think FireFox as well) does not support it, and thus will only use Java 5.0 when running applets. Sorry for the runaround ... I'll let you know if I find a way to launch the applet using Java 6 on the Mac.
  12. Hi Mike, Your original program was fine but you certainly can change it to use From/To as you have done. When using From/To (or in fact any condition that can make your program 'become false') you must take one more thing into consideration. I'll explain it as an example: 1) The program is currently running the Then, and is in the 'Wait 10 minutes (Random)' action 2) 10:00:00PM Rolls around, causing the schedule to become false 3) The Then is stopped, and the Else is run. In this case, the 'Bathroom' light will remain 'On' because the Then was stopped before it could be turned off. To prevent this situation, the Else path must do the cleanup: VACATION BATHROOM If From Sunset + 20 minutes To 10:00:00PM (same day) Then Repeat Every 1 hour Wait 45 minutes (Random) Set 'Bathroom' On Wait 10 minutes (Random) Set 'Bathroom' Off Else Set 'Bathroom' Off You must consider this type of situation in general. For example, if you decided to use an 'Away button' instead of a Schedule, you would have to do the same thing: AWAY BUTTON BATHROOM If Status 'Away Button' is On Then Repeat Every 1 hour Wait 45 minutes (Random) Set 'Bathroom' On Wait 10 minutes (Random) Set 'Bathroom' Off Else Set 'Bathroom' Off
  13. I'm upgrading to Leopard 10.5.4 now, and when I'm done I should be able to debug this problem a little better. In the meantime ... In the Java Preferences window you have moved Java 6.0 to the top of the Java Application Runtime Settings list. Above that on that on the screen is a radio button selection of which Java version to use. Make sure you have selected Java 6. After making these changes, you must reboot the Mac to start using them.
  14. Hi Mike, These programs look good, but I'd also like to point out how the From/To can be used for this because I think it may not be well understood for most people. By the way, this is just an alternative; having seperate programs is fine. To clarify - When the From time arrives, the schedule entry 'Becomes True', When the To time arrives the schedule entry 'Becomes False' - Then should be thought of as 'Becomes True', and Else should be thought of 'Becomes False'. Therefore the Then runs when the schedule becomes true (the only If condition for this program), and the Else runs when the schedule becomes false. VACATION KITCHEN ON/OFF If From Sunset + 20 minutes To 10:00:00PM (same day) Then Wait 20 minutes (Random) Set Scene 'Kitchen' On Else Wait 20 minutes (Random) Set Scene 'Kitchen' Off You could expand this to shut off the lights at 11:30pm + 0-20 minutes on Fri/Sat, and 10:00PM + 0-20 minutes on the other days ... VACATION KITCHEN ON/OFF with weekends If On Sun, Mon, Tue, Wed, Thu From Sunset + 20 minutes To 10:00:00PM (same day) Or On Sat, Fri From Sunset + 20 minutes To 11:30:00PM (same day) Then Wait 20 minutes (Random) Set Scene 'Kitchen' On Else Wait 20 minutes (Random) Set Scene 'Kitchen' Off
  15. Hi Clarence, It appears as though you are using Java 5: java.version = 1.5.0_13 I don't have access to a Mac with Java 6 at the moment, but I believe the following to be the solution: I assume you have installed Java 6, but it may still be using Java 5 for the Java Applet Runtime Settings: 1) Close the ISY Admin console 2) Using Finder->Applications->Utilities->Java->J2SE 6.0? ... Open the Java Preferences window and go to the General tab 3) Ensure that Java 6 is selected in the Java Version section of the Java Applet Runtime Settings 4) Hit the 'Save' button 5) Restart the Mac Start the ISY Admin Console again and see if the sorting in the Program Summary works.
  16. For some reason it does not recognize you as using Java 6. Can you do the following on your Mac: 1) Open the Java console 2) In the Java console type 's' (You will see a bunch of values written e.g "java.version = 1.5.0_13") 3) Copy all the entries beginning with java. and paste them in a response here.
  17. Hi Clarence, Do you see the text "Click Column Heading to Sort" beside the Edit | Refresh buttons on the program summary screen? If you don't see it then it doesn't think Java 6 is being used. If you do then there is some other problem.
  18. Hi Mike, Excellent write up! I noticed in one program you did the following ... If ( Status 'GarageInput1' is On And Status 'GarageInput1' is not Off ) Or ( Status 'GarageInput2' is On And Status 'GarageInput2' is not Off ) When using the Status, the program is run (either Then or Else) whenever that status changes. This is unlike Control where the program will only run if the action (On,Off,Fast On,etc.) matches as well. Therefore, because you are using Status, you can simplify the If condition as follows: If Status 'GarageInput1' is On Or Status 'GarageInput2' is On When either status changes the program will run ... the Then path will run if either of them is On otherwise the Else path will run.
  19. Yes. Just to clarify ... it already works that way. The only problem that 2.6.5 fixes is when the schedule actually kicks in. Prior to the fix in 2.6.5, if you saved the program at say 1:00AM Monday, the schedule wouldn't kick-in until sunset on Monday, but after that the schedule worked properly (across midnight or more days etc).
  20. This has been fixed in 2.6.5, such that the first execution is no longer delayed. For example, if you have program X with a schedule going from Sunset to Sunrise, and you save program X at 3:00AM, the schedule is true immediately. In other words, you no longer have to wait until sunset later that day for the schedule to kick in.
  21. Yes, this would run the 'Else' path.
  22. You are correct, prior to 2.6.4, using 'Run' from the program summary runs the Then path for a program (although this has been changed in 2.6.4 to Run based on the If conditions). It doesn't matter if the target program is enabled or not, but it does matter if the Folder Conditions are met or not. If the Folder Conditions are not met then the programs within it (or in subfolders) are will not run, even if run explicitly from the Program Summary page.
  23. az1324, Although not yet customizable, we have implemented a stopgap solution for notifications in the next drop. All notifications will include the Program Name, some additional information based on the event that occurred and improved formatting.
  24. Yes, I think we are in agreement that the content in notifications needs to be more customizable. Its on the requirements list.
  25. Actually this is not a bug, but does suggest the need for an enhancement for notifications. The reason the programs ran was because the schedule was met (although indirectly through 'Run If' for the second program). To make notifications more powerful, what we really need is the ability to specify what data is to be sent in a notification, and how it should be formatted. eg. Send 'Double Garage' Status to Family Using 'Device Status Template' This would send an e-mail containing the 'Double Garage' Status to all recipients in the Family list using a customized template called 'Device Status Template' to format the message. Send Current Event to All Same as current 'Send Notification to All', but would use a default (customizable) template based on the type of event that occurred. This is on the requirements list, but not sure when it will be implemented.
×
×
  • Create New...