Zachary Kotlarek
|
ff73b380dc
Consolidate tests
|
12 anni fa |
Zachary Kotlarek
|
576dd900b3
Simplify, now that $now exists
|
12 anni fa |
Zachary Kotlarek
|
a7f09a50ce
Be sure to overwrite the VALUE and STATUS to 0
|
12 anni fa |
Zachary Kotlarek
|
b5875ee749
Revert to avoid starting in MOTION when we cancel
|
12 anni fa |
Zachary Kotlarek
|
ee72b16153
Avoid repeated calls to time()
|
12 anni fa |
Zachary Kotlarek
|
fe2b0c3fd7
Prefer LINE of VALUE even if the file is only expected to contain a single line -- no reason to pick up data we do not need.
|
12 anni fa |
Zachary Kotlarek
|
57267ce1eb
Provide values for mtime files (which in turn forces updates). Call time() less.
|
12 anni fa |
Zachary Kotlarek
|
e194005b1a
Improve change tracking to reduce useless updates
|
12 anni fa |
Zachary Kotlarek
|
b4a9acd94b
Pause before playing. Avoid gratituous updates to the feedback file.
|
12 anni fa |
Zachary Kotlarek
|
31c6af07b1
Tidy
|
12 anni fa |
Zachary Kotlarek
|
3f249827aa
Tidy
|
12 anni fa |
Zachary Kotlarek
|
0e20b408ab
Deal with disc-named files
|
12 anni fa |
Zachary Kotlarek
|
3c9b6c8a92
Correct path construction
|
12 anni fa |
Zachary Kotlarek
|
f645b5ef60
Default to ON to avoid cycling when we reset (mostly for testing -- OFF is still the steady-state default
|
12 anni fa |
Zachary Kotlarek
|
b64c145a7a
Reduce the message size
|
12 anni fa |
Zachary Kotlarek
|
086d741994
For some reason send() fails when the message is more than 2048 bytes. Limit ourselves until that is worked out.
|
12 anni fa |
Zachary Kotlarek
|
53e37aee38
Consume more feedback data
|
12 anni fa |
Zachary Kotlarek
|
ca655c24d5
Strong match
|
12 anni fa |
Zachary Kotlarek
|
ee98745b1b
Consolidate PLAY and PREMOTION states
|
12 anni fa |
Zachary Kotlarek
|
209ebbddf8
Better integration for preheat and related modes
|
12 anni fa |
Zachary Kotlarek
|
bd91dc45e1
Dial in the preheat mode
|
12 anni fa |
Zachary Kotlarek
|
3d24f42599
Add a PREMOTION state to get us started when the STAIRS are lit
|
12 anni fa |
Zachary Kotlarek
|
b73c18f8d1
Monitor the STAIRS file for feedback use in other programs
|
12 anni fa |
Zachary Kotlarek
|
408ffe50b8
Kill the new stairs program on reset
|
12 anni fa |
Zachary Kotlarek
|
39226c1884
Longer timeout for stairs
|
12 anni fa |
Zachary Kotlarek
|
b059719811
Ignore near-start change times -- this helps us start in the OFF state, which is generally desirable
|
12 anni fa |
Zachary Kotlarek
|
b84f7b8f93
Simplify
|
12 anni fa |
Zachary Kotlarek
|
d0b9d4243e
Do not consider minor changes to the projector or amplifier when determining the update time
|
12 anni fa |
Zachary Kotlarek
|
6a0fe9f838
Do not drive the master update state from the stair motion sensor
|
12 anni fa |
Zachary Kotlarek
|
8b775e858e
Tidy
|
12 anni fa |