IoT - Modular - SugarBush.ini

From The TinkerNet Wiki
Revision as of 15:32, 30 April 2021 by Tinker (talk | contribs) (Created page with "<syntaxhighlight lang="ini" line="1"> [env:SugarBush_Alert] ; Little noisy blinkenbox ; 4 Neopixels hung off GPIO 12 ; Speaker hung off GPIO 14...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
  1 [env:SugarBush_Alert]
  2         ; Little noisy blinkenbox
  3         ;     4 Neopixels hung off GPIO 12
  4         ;     Speaker hung off GPIO 14
  5         ;       Pixel 1 GRN = 25%
  6         ;       Pixel 2 GRN = 50%
  7         ;       Pixel 3 GRN = 75%
  8         ;       All 4 RED = Tank Full!
  9         ;       Pixel 4 slowly blinking:
 10         ;         GRN = OK
 11         ;         ORA = No MQTT
 12         ;         RED = No WiFi
 13 src_filter =
 14         ${common.src_filter}
 15         +<Alerts/>
 16 
 17 lib_deps =
 18         ${common.lib_deps}
 19         jfturcot/SimpleTimer
 20         Adafruit NeoPixel
 21 
 22 build_flags =
 23         ${common.build_flags}
 24         -D SS_Alert
 25         -D d_Pixels
 26         -D d_Audio
 27 
 28 [env:SugarBush_PH_Dumper]
 29         ; Monitor the dumper cycles
 30         ;       Switch on GPIO 4 (Maybe Hall-Effect...  Maybe Reed Switch...)
 31 src_filter =
 32         ${common.src_filter}
 33         +<Sensing/Triggers/>
 34         
 35 lib_deps =
 36         ${common.lib_deps}
 37         jfturcot/SimpleTimer
 38 
 39 build_flags =
 40         ${common.build_flags}
 41         -D SS_Dumper
 42 
 43 [env:SugarBush_PH_Tank]
 44         ; Monitor depth probes in the PumpHouse Tank
 45         ;       ~25% Level: GPIO 4
 46         ;       ~50% Level: GPIO 5
 47         ;       ~75% Level: GPIO 12
 48         ;       100% Level: GPIO 13
 49         ; MIGHT need to do some sort of output for the relays on the lightbar
 50 src_filter =
 51         ${common.src_filter}
 52         +<Sensing/Probes/>
 53 
 54 lib_deps =
 55         ${common.lib_deps}
 56         jfturcot/SimpleTimer
 57 
 58 build_flags =
 59         ${common.build_flags}
 60         -D SS_PHTank
 61         -D s_Depth
 62 
 63 [env:SugarBush_PH_LightBar]
 64         ; Control the lightbar in the PupHouse camera view
 65 src_filter =
 66         ${common.src_filter}
 67         
 68 lib_deps =
 69         ${common.lib_deps}
 70 
 71 build_flags =
 72         ${common.build_flags}
 73         -D SS_PHLightBar
 74 
 75 [env:SugarBush_SS_RO]
 76         ; Monitor the R/O system
 77 src_filter =
 78         ${common.src_filter}
 79         
 80 lib_deps =
 81         ${common.lib_deps}
 82         
 83 build_flags =
 84         ${common.build_flags}
 85         -D SS_RO
 86 
 87 [env:SugarBush_SS_Evaporator]
 88         ; Monitor the levels in the Evaporator
 89         ;       At least 2 depth probes
 90         ;       Some NeoPixels
 91         ;       And a speaker or maybe a screamer
 92 src_filter =
 93         ${common.src_filter}
 94         
 95 lib_deps =
 96         ${common.lib_deps}
 97 
 98 build_flags =
 99         ${common.build_flags}
100         -D SS_Evaporator
101 
102 [env:SugarBush_SS_BottlingTank]
103         ; Monitor temperature in Bottling Tank
104         ;       Maybe depth too...
105 src_filter =
106         ${common.src_filter}
107         
108 lib_deps =
109         ${common.lib_deps}
110 
111 build_flags =
112         ${common.build_flags}
113         -D SS_BottlingTank
114 
115 
116 [env:SugarBush_SS_Climate]
117         ; Monitor temperature & barometric pressure in the SugarShack
118 src_filter =
119         ${common.src_filter}
120         ${display.src_filter}
121         +<Sensing/BME280/>
122         +<Sensing/BMP180/>
123         ; +<Display/>
124 
125 lib_deps =
126         ${common.lib_deps}
127         ${display.lib_deps}
128         Adafruit Unified Sensor ; For BMP180
129         Adafruit BMP085 Library ; For BMP180
130         Adafruit BME280 Library ; For BME280
131 
132 build_flags =
133         ${common.build_flags}
134         ${display.build_flags}
135         -D SS_Climate
136         -D s_CLIMATE
137 
138 [env:SugarBush_HoldingTank]
139         ; Monitor depth probes in the Outside Holding Tanks
140 src_filter =
141         ${common.src_filter}
142         +<Sensing/Probes/>
143 
144 lib_deps =
145         ${common.lib_deps}
146         jfturcot/SimpleTimer
147 
148 build_flags =
149         ${common.build_flags}
150         -D SS_HoldingTanks
151         -D TankNumber=1         ; Which tank is it?
152         -D s_Depth
153 
154 [env:SugarBush_FeedTank]
155         ; Monitor depth probes in the Feed Tank for the Evaporator
156         ;       (This unit will likely have more than 4 probes)
157 src_filter =
158         ${common.src_filter}
159         +<Sensing/Probes/>
160 
161 lib_deps =
162         ${common.lib_deps}
163         jfturcot/SimpleTimer
164 
165 build_flags =
166         ${common.build_flags}
167         -D SS_FeedTank
168         -D TankNumber=10         ; Which tank is it?
169         -D s_Depth