Elk M1 Programming Help

klangst

New Member
I have been unsuccessful in what I am trying to do, so I am turning here hoping to figure out why I can't do what I am trying to do.
 
Here is what I am trying to do:
I have 3 temperature sensors in 3 different rooms and 2 keypads.  The keypads currently switch back and forth between showing the area name and the date/time.  What I want to do is have the keypads also show the temperatures in each room, so it would show area name, date/time, temp 1, temp 2, temp 3, and then repeat.  I have tried using counters to show each temp on the keypad, but something is not going right as it is resetting the Elk every 15 to 20 seconds.
 
How would I go about making this work?
 
First you need to setup the text string to display the text, which I'm assuming you've done?
 
Second you need to set up the rule to display the text. You may need to play with timing and the like or drive via counters.....it's all in how complex you really want to dive into it.
 
You'll need to determine if the resets are based off the system, programming or a hardware issue.
 
I have set up the text and I can get each one to show by themselves.  What I did was create 4 counter, 1 for each temp and 1 for reset.  I set all 4 counters to count up each second.  When TempCounter1 reaches 10 seconds, show Temp1 for 5 seconds.  When TempCounter2 reaches 15 seconds, show Temp2 for 5 seconds.  When TempCounter3 reaches 20 seconds, show Temp3 for 5 seconds.  When ResetCounter reaches 25 seconds, reset all counters to 0 to start over.  For some reason, this method is resetting the Elk.
 
You typically start a flag at a value then decrement or increment based on that.
 
It might be easier to just send the text to the keypad in increments of 5 seconds and forgo the flags.
 
If the rules are disabled, does the M1 behave?
 
Yes, the M1 functions normally with the rules disabled.  I am having trouble understanding how I can send the 3 different temps to the display in 5 second increments.  Do you have a suggestion?
 
Whenever any X seconds, send text to KP, display message for X seconds.
 
Using that method say you have multiples of 5 for the increment and then display for 4 seconds....
 
5, 10, 15 ; viewable at 9,14,19 seconds
 
You would need to verify timing to get around possible text crashing, but I think that's probably easier than incrementing/decrementing a flag. It's similar in it's result, but it's going to act differently on the system.


If you're setting flags, remember 0 is "off".
 
Back
Top