Skip to content

Algorithm

Igor edited this page Sep 10, 2017 · 4 revisions

User representation

User-observed states All possible situations are presented to used in a table above. OrchidCare diagnoses the state periodically and marks detected state with tick. Screenshot

Main logic

User represented table is transposed vertically for comfort of review.

Measure Actions
Temp, *C rH% Light Wind, m/s Transition after… watering @ morning hours only mist/fog ventilation heating cooling
0-6 no matter no matter no matter Immediately no no no yes no
6-17 0-40 Averaging of 1 day no After a week of status run mist for 1 hour no no no
6-17 40-80 Averaging of 1 day after 2 weeks of status run water for 5 minutes no no no no
6-17 80-100 Averaging of 1 day after 2 weeks of status run water for 5 minutes no no no no
17-25 0-40 Averaging of 12 hours After a week of status run water for 5 minutes After 2 days of status run mist for 1 hour no no no
17-25 40-100 Averaging of 12 hours After a week of status run water for 5 minutes no no no no
25-28 0-60 matters <1 Averaging of 2 hours After a week of status run water for 5 minutes In day time (light > 40000 lux) run mist for 10 minutes in 24 hours yes in day time (light > 40000 lux) when mist is off for 0.5 hours once a day no no
25-28 0-60 matters >1 Averaging of 2 hours After a week of status run water for 5 minutes In day time (light > 40000 lux) run mist for 10 minutes in 24 hours no no no
25-28 60-90 matters <1 Averaging of 2 hours After a week of status run water for 5 minutes In day time (light > 40000 lux) run mist for 5 minutes in 24 hours yes in day time (light > 40000 lux) when mist is off for 0.5 hour every 4 hours no no
25-28 60-90 matters >1 Averaging of 2 hours After a week of status run water for 5 minutes In day time (light > 40000 lux) run mist for 5 minutes in 24 hours no no no
25-28 90-100 matters <1 Averaging of 2 hours After a week of status run water for 5 minutes no yes in day time (light > 40000 lux) when mist is off for 0.5 hours every 2 hours
25-28 90-100 matters >1 Averaging of 2 hours After a week of status run water for 5 minutes no no
28-36 0-80 matters <1 Averaging of 1 hour 3 minutes every 4 days In day time (light > 40000 lux) run mist for 30 minutes every 2 hours yes in day time (light > 40000 lux) when mist is off for 10 minutes every 75 minutes no yes
28-36 0-80 matters >1 Averaging of 1 hour 3 minutes every 4 days In day time (light > 40000 lux) run mist for 30 minutes every 2 hours no no yes
28-36 80-100 matters <1 Averaging of 1 hour 3 minutes every 4 days no In day time (light > 40000 lux) run for 30 minutes every 2 hours no yes
28-36 80-100 matters >1 Averaging of 1 hour 3 minutes every 4 days no no no yes
>36 no matter no matter Temperature on leaves no yes for 30 minutes run for 30 minutes when mist is off no yes

Special behavior

TBD

Clone this wiki locally