aboutsummaryrefslogtreecommitdiffstats
path: root/two_hosts_auto_powerswitch/readme_flowchart.txt
diff options
context:
space:
mode:
Diffstat (limited to 'two_hosts_auto_powerswitch/readme_flowchart.txt')
-rw-r--r--two_hosts_auto_powerswitch/readme_flowchart.txt33
1 files changed, 33 insertions, 0 deletions
diff --git a/two_hosts_auto_powerswitch/readme_flowchart.txt b/two_hosts_auto_powerswitch/readme_flowchart.txt
new file mode 100644
index 0000000..6a7ef42
--- /dev/null
+++ b/two_hosts_auto_powerswitch/readme_flowchart.txt
@@ -0,0 +1,33 @@
+.------------------. .-----------------------.
+| Host state | | Serial | .---.
+| change detection | | computer state toggle | | A |
+'------------------' .---------------. '-----------------------' '---'
+ | | Computer | |
+ | | Button toggle |-----------------|
+ | '---------------' | ^
+ v v ----'
+ .------------. .----------------------.
+ | Lookup | | Update |
+ | skip table |-------------------------------->| computer state table |
+ '------------' '----------------------'
+ .-------------. .------------. |
+ | Serial | | Update | |
+ | skip update |---->| skip table |<----------|-----'
+ '-------------' '------------' | .---------------.
+ | | Outlet |
+ | | Button toggle |
+ v '---------------'
+ .---------------. .--------------. |
+ | Serial | | Update | |
+ | outlet toggle |---->| Outlet table |<-'
+ '---------------' '--------------'
+ |
+ v
+ .---------------------.
+ | Start on/off timers |
+ '---------------------'
+ |
+ v
+ .--------------.
+ | Switch relay |
+ '--------------'