Make a facility check for each day that completes most items automatically
This paper shows you how to make a facility check for each day in which sensors automatically complete all items that they can measure. The walk-around by a person stays short. At the end of this paper, you will have a Home Assistant structure that operates correctly. You will also have a set of five checklists, one for each pause point. The system makes an accurate audit trail without more input from a person.
Purpose and scope
Each facility has a checklist for each day. Approximately half of the records on most checklists are not correct. The cause is not that the personnel do not want a correct checklist. The checklist is slow, the checklist has no owner, and no person sees a result from it. An instruction to the personnel to be more careful does not correct this. The correction is a better system: make the check fast, make most of it automatic, and make the task for a person very easy.
An investigation of checklists in surgery found records that showed 100% checklist compliance. In the same investigation, persons who examined the work saw that the personnel did only 4 of the 13 items[4]. A mark on the checklist does not show that a person did the check. In this paper, you make a check in which each mark is correct. Your sensors make sure that the items they can measure are correct. Personnel have no cause to record an item that they did not do, because the items for a person are very fast to do.
Home Assistant completes each item that it can measure (the climate, the lights, the irrigation, the doors and the power). A person does only the walk-around. To record each other item, the person touches the screen one time or taps an NFC tag. If a person does not do an item, or a reading is out of range, the system sends an alert to the next person automatically. The checklist becomes a short list of the items that only a person can do, on a dashboard that stays green.
This paper is for each cultivation facility that has sensors and an irrigation controller. The facility can be in a building or can be a controlled-environment facility. The size can be from a tent to a medical facility that has a license. The information about behavior and checklists is also correct if you have no automation. The Home Assistant section shows you how to remove the manual tasks that are not necessary.
Definitions
Evidence and limitations
We want each paper to be correct. Thus we examine each paper for information that is not solid. This information comes from the view of one grower, from a small number of sources, or from grower methods that have no controlled test. We identify this information, and we do not show it as solid.
Frequently there is no paper for the decision that you must make. Then we use the reports of other growers and the methods that work in the rooms that we know. This information can help you, but it is not the result of a laboratory test. Use the methods that work for your plants, for your room and for your meters. If a table does not agree with your crop, use the data from your crop and record the difference.
- Checklists increase the reliability of a procedure in work with a high risk.
- A hybrid method for cultivation facilities: HA auto-tick and a walk-around.
- A smaller number of deaths in surgery as data that the yield of cannabis increases.
- Home Assistant logs as audit systems for GxP and GACP with no validation of the system.
- Effect sizes of 2 to 3 times for implementation intentions, with no base rates.
If you find an error, make a report. We will correct it. Make the report on GitHub, with the name of the paper and the information that is incorrect. If you have a source, include it: Make a report of an accuracy problem. The regulations, labels and licenses of your area always override each procedure in these papers. The label weak in a paper shows the points where the risk of an error is highest.
How to make sure that personnel complete the checks
Personnel complete a check regularly when the check has a good structure. Investigations of checklists and of behavior for many years show the same small number of methods.
The methods, with the largest effect first
- Decrease the work for each check. Make each check shorter than approximately 30 seconds. The person does the check on a mobile device and taps the screen one time. Each input that you remove increases the number of checks that personnel complete. The system causes the largest effect when it records automatically the data that it has[13].
- Use short checklists at pause points. Put five to nine killer items in each checklist. Keep each checklist on one screen. Do each checklist at its pause point, not as one very long checklist[1].
- Give each check an owner and a specified time. Make an implementation intention for each check, for example 'At lights-on, the AM operator does X'. An implementation intention increases goal attainment by a medium effect (d≈0.65 in a meta-analysis)[3]. Give the name of a second person for the time when the owner is not at work.
- Use the data and show the result. Show each person that you used the data from the person, and that you did a task because of it. The primary cause of pencil-whipping is that personnel send data and no result follows.
- Show who completed the checks. A display shows which persons did a check and which persons did not do a check. This display increases the number of completed checks by a large quantity. The display has this effect only if the personnel think that it is information for all persons, and not a method to monitor them.
When personnel did the checks correctly, the WHO Surgical Safety Checklist decreased the death rate from 3.7% to 1.4%. It also increased the percentage of important steps that personnel did, from 18.6% to 50.7%[5]. The check that personnel do causes the result. An instruction to do the check, or a high number of marks, does not cause the result without the check.
Times and contents of the checks for each day
Divide the day into a small number of short checklists, one for each pause point. For each item, set the limits for the colors green, amber and red before the check. Thus the person does not make a decision during the check.
| Pause point | Type | Killer items |
|---|---|---|
| Lights-on / opening | Do-Confirm | climate in range, photoperiod correct, no light leaks in the flower room, all equipment connected |
| At first irrigation | Read-Do | root-zone VWC, EC and pH, dryback in the night, runoff EC and pH, feed compared with the recipe[8] |
| Mid-day | Do-Confirm | crop walk-around, IPM inspection (the type, the location, the severity and a photo), each unusual condition |
| Pre-dark / end of the day | Do-Confirm | dehumidification increased, night airflow on, doors locked, vault locked, waste recorded |
| On alarm | Read-Do | the steps for that alarm |
Make sure that dehumidification increases in the first minutes after lights-off. Make sure that the air continues to move all night. A malfunction without an alarm can change a clean room in the last flowering stage into a room with bud rot in one night.
Home Assistant check automation
Most of the items in the check for each day are data that sensors in the building measure. Let Home Assistant make sure that these items are correct. Thus a person does not write again the data that a sensor can show.
binary_sensor. This sensor is on when the readings are in range. An automation uses todo.update_item to complete the item when that sensor stays on for all of the check period[6][7].The components
- The to-do list: a
local_todoto-do list is the checklist for each day. An automation completes the items withtodo.update_item[6]. - The 'OK' test: a template
binary_sensorfor each item. It is on only when all readings are in range (the climate, the photoperiod, closed doors, the tank, the runoff and connected equipment). - Totals for the record: use a Riemann integration sensor and a
utility_meterfor each day to get the DLI and the runoff volume. Usehistory_statsto get the operation time of the lights and the pumps. - The alert: the
alertintegration sends the alert again and again until a person stops it. Use it for 'refrigerator out of range' or 'not all checks done by 09:00'[7]. - A record that the person was at the location. An NFC
tagat each location completes the walk-around item for that location when a person touches it with a mobile device. Thus the system records where the person was. The person does not only tell you this fact. - The audit trail without more work: long-term statistics keep each reading. Thus the record of the environment and of the irrigation for each day is available without more input from the person[7].
Make binary_sensor.environment_ok. It is on when all of these values are in the ranges for the growth stage. The values are the temperature, the relative humidity (RH), the vapor pressure deficit (VPD) and the CO2. An automation monitors this sensor. When the sensor stays on for all of the lights-on period, the automation uses todo.update_item to complete 'Environment in range' on the checklist. The person opens the checklist for this day, and this item is green, with the numbers in the history as a record.
Make a check interface for fast input
For the items that a person must do, make the input from the person as small as possible. When all items are OK, the person does only a very small number of steps. The person does more steps only where there is a problem.
- Set items to OK at the start. The person touches an item only to show that the item is not OK. A day on which all items are OK has only a small number of taps from the start to the end.
- A photo and a note only for items that are not OK. For an item that is not OK, the person must add a photo and a short note. OK items have no photo and no note. The audit trail has the most information where there is a problem.
- Use NFC as the primary method and QR as the second method. An NFC tap automatically records the location, the time and the name of the person. A person cannot easily use it to record a location where the person was not. Put a QR code on the same label for mobile devices that do not have NFC.
- Show one location at a time. Put the locations of the walk-around in a sequence. When the person is at the next location, the screen shows the checks for that location. The person does not read a long list.
- Voice for the note. A person can speak the note for an item that is not OK. This method is the fastest when the person has gloves on or touches the plant. Measurements show that voice notes increase the number of notes that personnel record.
Checks that are not done, pencil-whipping and escalation
Two problems continue to occur although the checklist is good. In the first problem, personnel do not do the check. The second problem is pencil-whipping. Prevent the two problems directly.
How to prevent pencil-whipping
- Record who, where and when automatically. Let the system record the time, the name of the person and the location. Let it also record the sensor reading, if there is one. Thus the person does not write these data. The person cannot tell you that the person was at a location, or give a value, if the data of the system are different.
- Do not give a bad result to personnel for a low number of marks. If an audit examines only the number of marks, and a low number causes a bad result, you cause pencil-whipping. In the investigation, 100% of the records had a mark, and the personnel did only 4 of 13 items[4]. Do an audit of a sample of the checks. Examine the work that personnel did.
- Put the check in the usual work. Do not set a check at a time when personnel have much other work. Make the check a usual step of the work, not a task that stops the work.
- Remove the causes of incorrect behavior. Do not set a target for the number of checks, because a target makes personnel do the checks too fast. Make sure that it is safe for a person to tell you about a problem. Then the person tells you about the problem and does not tell you that it is small or that there is no problem.
The most frequent problem of an escalation is that it stops when the owner is not at work. Give the name of a second person for each owner. Send the alert automatically to the second person. If you do not do this, the escalation does not operate on the days when it is necessary.
Audit trail and steps to make the system
The input from a person is almost zero. The system records, for each task, the name of the person, the location and the time. Thus the same system gives you a check that is very easy to do and a record that you can show in an audit.
- The record is automatic. Long-term statistics keep each reading of the environment, the lights and the irrigation as the log for each day[7]. Each item that a person does has the time, the name of the person and, if the item is not OK, a photo.
- Collect the data for compliance. Put the data of each day in the records for each lot (inputs, conditions, deviations and corrective actions). Thus you get records for the operation from seed to harvest. If you must obey GACP or GMP regulations, the systems must also have validation[10][9].
- Examine the trend. Do not only keep the records. Set the alert limits and the action limits from the history of your facility. Examine them each week. Thus you find drift before it becomes a deviation[9]. The logs for sanitation, hygiene and pests use the same record method[12][11].
- 1Make the listOne local_todo list is the checklist for the day. At the start of each day, put the items for that day in the list.
- 2Set the condition for 'OK' in the systemMake one template binary_sensor for each item that a sensor can measure. The system uses it to know when the item is in range.
- 3Auto-tickMake one automation for each item. When the binary_sensor of the item stays on for all of the check period, the automation completes the to-do item.
- 4Add the items for a personFor the walk-around, use input_boolean toggles or NFC tags. Make the interface set each item to OK at the start.
- 5Escalate and recordSend an alert when an item is red or is not done by the specified time. Use the long-term statistics for the audit trail. Examine the trends each week.
Do a test of the check for approximately two weeks. Monitor where personnel do not do the check or where the system has a malfunction. Remove the items that are not killer items, and change the check to use the terms of the growers. Then give the new check to the personnel. After a change to the facility or the automation, do the test again. The check is a product that you keep correct, not a laminated sheet.
References
- Gawande A (2009). The Checklist Manifesto: How to Get Things Right. Metropolitan Books. (read-do vs do-confirm, pause points, 5-9 killer items.) (source not from a journal, for example from a manufacturer) https://atulgawande.com/book/the-checklist-manifesto/
- Fogg BJ. The Fogg Behavior Model: B = MAP (behaviour occurs when Motivation, Ability and a Prompt converge). Stanford Behavior Design Lab. (source not from a journal, for example from a manufacturer) https://behaviormodel.org/
- Gollwitzer PM, Sheeran P (2006). Implementation intentions and goal achievement: a meta-analysis of effects and processes. Advances in Experimental Social Psychology 38:69-119 (medium-to-large effect, d=0.65). https://doi.org/10.1016/S0065-2601(06)38002-1
- Observational study of surgical-checklist use: high recorded compliance did not guarantee the items were actually performed (records showed 100% adherence; observers found 4 of 13 items done). PMC4484042. https://pmc.ncbi.nlm.nih.gov/articles/PMC4484042/
- Haynes AB, Weiser TG, Berry WR, et al. (2009). A surgical safety checklist to reduce morbidity and mortality in a global population. New England Journal of Medicine 360(5):491-499. https://www.nejm.org/doi/full/10.1056/NEJMsa0810119
- Home Assistant: To-do list (todo) and Local to-do (local_todo) integrations, todo entity and todo.update_item action used to auto-complete checklist items. (source not from a journal, for example from a manufacturer) https://www.home-assistant.io/integrations/todo/
- Home Assistant: Template (binary_sensor), Alert, Statistics/Recorder, Tag (NFC) and Schedule integrations used to define 'in range', escalate, log the audit trail and prove presence. (source not from a journal, for example from a manufacturer) https://www.home-assistant.io/integrations/template/
- AROYA. Crop-steering and drip-and-drain root-zone monitoring (substrate VWC, EC, pH, dryback, runoff) as the daily root-zone measurement. (source not from a journal, for example from a manufacturer) https://aroya.io/
- EU GMP Annex 1 / EMA environmental-monitoring guidance: define alert and action limits, trend routine monitoring data, require corrective action on excursions. (source not from a journal, for example from a manufacturer) https://health.ec.europa.eu/medicinal-products/eudralex/eudralex-volume-4_en
- World Health Organization (2003). WHO guidelines on good agricultural and collection practices (GACP) for medicinal plants. (source not from a journal, for example from a manufacturer) https://www.who.int/publications/i/item/9241546271
- GLOBALG.A.P. Integrated Farm Assurance, Crops / Fruit & Vegetables control points and compliance criteria (hygiene competence, maintained irrigation equipment, record retention). (source not from a journal, for example from a manufacturer) https://www.globalgap.org/
- HACCP prerequisite programmes / Sanitation Standard Operating Procedures: daily sanitation checklists, hygiene checks and pest-control logs (what, how, how-often, who-verifies). (source not from a journal, for example from a manufacturer) https://www.fda.gov/food/hazard-analysis-critical-control-point-haccp/haccp-principles-application-guidelines
- Industry analyses of digital vs paper inspection checklists: higher completion rates, faster rounds and fewer documentation errors, driven by lower friction and enforced completeness. (source not from a journal, for example from a manufacturer) https://www.fiixsoftware.com/cmms/mobile-cmms/
Each citation in the paper, for example [1], refers to an item in this list. Each item is a primary source or an instruction from an authority, unless the item shows a different type. The results of cannabis tissue culture change much with the genotype. Before you use the dilutions, hormone doses and local regulations, make sure that they agree with the primary sources.