Jump to content

poetaaron

Members
  • Posts

    10
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

poetaaron's Achievements

Newbie

Newbie (1/6)

3

Reputation

  1. Yes... <= 90 not >=90. Damn... I'm sorry... I'll be re-reading everything sent to me now. I've already found at least one other omission in the timer program: I forgot to add the "WAIT one minute" statement... I'm sure there are more. I won't post again until I'm confident that my programs are correct and written exactly as you've explained to me. Take care!
  2. Good morning, larryllix... Ok... so here's what I have. --------------------------------------------------------------- $L1.ADD30 "This is the program that runs when button KPL1.A is pressed. Then $L2.ADD30, $L3.ADD30, etc?" If 'LANE1-30' is switched On "LANE1-30 is KPL1.A" And $sS.L1.TIMER >= 90 Then $sS.L1.TIMER += 30 Else $sS.L1.TIMER = 0 _____________________________________________ $L1.TIMER "The timer program as you gave it to me... untouched... pristine even." If $sS.L1.TIMER > 0 Then $sS.L1.TIMER -= 1 Else Set '1A.SCENE' Off ____________________________________________ $sSL1.TIMER.000 "The first of the four programs for each lane" If $sS.L1.TIMER >= 0 Then Set '1A.SCENE' On Else - No Actions - (To add one, press 'Action') _____________________________________________ $sSL1.TIMER.030 "There will need to be a total of 56 programs like this, all the way to 'SL14.TIMER.090'". If $sS.L1.TIMER >= 30 Then Set '1C.SCENE' On Else - No Actions - (To add one, press 'Action') ___________________________________________ Two quickie questions: When I click "Run (IF)" on a program, is that the same as physically pressing the button on the switch? Is there any way to edit these programs in a text file? Hope you have a great day!
  3. Will do. Going to go verbatim and will send the text when I'm done. 1A.SCENE is the name of the scene that contains KPL1 Button A. So 1A.SCENE thru 1G.SCENE for the 8 buttons on the KPL1 Let me rewrite this and I'll post the results. Working on it most of the night... I'll get this.
  4. I do NOW!! Thank you!! Oh yeah... just cruised through and I cannot wait to start building things with it. I've installed Insteon components in a dozed theater environments, but have not taken full advantage of the power and versatility when coupled to an ISY. This is a good opportunity for me. The cookbook is just what I needed! Thanks Brian!
  5. While working on this solution, are there any good sources you can recommend for a more in-depth study of the ISY programming language?
  6. Good morning! Thanks for the copy to clipboard tip! $L1.TIMER - [ID 000B][Parent 0001] If $sS.L1.TIMER < 0 Then Wait 1 minute $sS.L1.TIMER -= 1 Else Set '1A.SCENE' Off _________________________________ $sSL1.TIMER.030 - [ID 0006][Parent 0001] If $sS.L1.TIMER >= 30 Then Set '1A.SCENE' On Else - No Actions - (To add one, press 'Action') ______________________________________________ $L1.ADD30 - [ID 0003][Parent 0001] "I was looking at this as the trigger program that sets the rest in motion when KPL1.A is pressed, although It's possible that I'm missing something (everything)". If 'LANE1-30' is switched On And $sS.L1.TIMER <= 90 Then $sS.L1.TIMER += 30 Wait 2 seconds Run Program '$sSL1.TIMER.030' (If) Else - No Actions - (To add one, press 'Action') ___________________________________________ I wrote that last one mostly so I can see if I'm understanding the logic and the flow. Do the programs run automatically or only when triggered by an event? Thank you! If it would help seeing it live, I could probably use a shared-screen somehow. I would not normally think of using someone else's time to solve my problems, but being able to get help on this is likely going to save my neck. Not only that though... I'm liking the feel of programming again, and now I'm encouraged to learn programming on the ISY so I can more easily bring the "out of the box" ideas that I seem to have an endless supply of to life. To me, this language uses all the principals of a relational database structure, where the devices are just data fields that can either be constants, variables, triggers, calculations, etc. I started DB design & programming back in mid-eighties with Dbase, HyperCard / HyperPad, Skipper, FoxPro, DataEase, and Access. But being able to apply those techniques to real-world scenarios will make it easier to learn this new skill. ?
  7. Hey guys... so, I've been just using one of the 7 KPLswitches to prototype, so controlling lanes 1 and 2 leds/timers. I've created a scene for each of the buttons on KPL1 1A.SCENE, 1B.SCENE, etc I've created these programs: $sSL1.TIMER.30 (the program) IF $sS.L1.TIMER >= 30 THEN SET '1A.SCENE' ON ELSE SET '1A.SCENE' OFF The rest are done the same $sSL1.TIMER.60, $sSL1.TIMER.90, $sSL1.TIMER.120 $sSL2.TIMER.30, $sSL2.TIMER.60, $sSL2.TIMER.90, $sSL2.TIMER.120 And created these state variables: sS.L1.TIMER init 0 value 0 sS.L2.TIMER init 0 value 0 If this looks like I'm on the right track, please let me know, and if I'm way off, please steer me back on course. I've been trying to figure out the Timer program referenced by Larryllix (larry?) : "Set up a program to decrement the timer state variable $sLED1.timer by 1 minute each repeat as in other variable based timer programs. Turn off the LED bulb when 0 is reached." I've searched timer, countdown, decrement. I've googled and Wiki'd, and even broke down and asked Alexa, who thinks I'm an idiot anyway. Can you help me with that that vital piece of code? And please don't hesitate to laugh at my attempts or even publicly demean me, as long as you can help through this pain. Thank you!
  8. You both are so awesome to put so much into your replies to my dilemma... I am just now sitting down at the computer at the site to try to implement some of the ideas you;ve presented. I'm a little overwhelmed for sure, but I'm going to give it my all.
  9. Hi! Thank you for offering up some of your experience and knowledge to us newbies. I haven't used an isy994i in a long time, and the last time it was using Indigo on a macbook about 6 years ago. I have very little experience writing programs but am very familiar with Insteon devices. Today, no Macbook, no Indigo. I have a specific problem I'm trying to solve. If you can help me with this I would be so grateful. Devices: Controller: 8-button KeypadLinc (7) Responder: SwitchLinc Dimmer Switch (14) I want to use each column of buttons on the keypads as a timer control for a single LED light, controlled by a SwitchLinc Dimmer. I set the toggle on the KeypadLincs to ON only so that each press should start a timer that turns on a light as follows: (there's even more excitement at the end...) Left side of KeypadLinc 1 controls LED 1 A= 30 mins C= 60 mins E= 90 mins G= 120 mins Right side of KeypadLinc 1 controls LED 2 B= 30 mins D= 60 mins F= 90 mins H= 120 mins etc... and now for the highlight: I would also like the light to flash on and off 8-10 times, 5 minutes before it turns off. Any suggestions? Thanks in advance!
  10. Hi! Thank you (BitSmith and Larryllix) for offering up some of your experience an knowledge to us newbies. I haven't used an isy994i in a long time, and the last time it was using Indigo on a macbook about 6 years ago. I have very little experience writing programs but am very familiar with Insteon devices. I have a specific problem I'm trying to solve. If you can help me with this I would be so grateful. Controller: 8-button KeypadLinc (7) Responder: SwitchLinc Dimmer Switch (14) I want to use each column of buttons on the keypads as a timer control for a single LED light, controlled by a SwitchLinc Dimmer. I set the toggle on the KeypadLincs to ON only so that each press should start a timer, as follows: Left side of KeypadLinc 1 controls LED 1 A= 30 mins C= 60 mins E= 90 mins G= 120 mins Right side of KeypadLinc 1 controls LED 2 B= 30 mins D= 60 mins F= 90 mins H= 120 mins etc... Any suggestions? Thanks in advance!
×
×
  • Create New...