Embodiments of systems and approaches for managing post-harvest crop quality and pests are described. Such a system may include a plurality of edge devices each comprising sensor components and collectively forming a mesh network, for measuring the local physical environment within stored crops and, for example, transmitting the measurements to a service from within the crop storage area. In certain embodiments, such a system may be used to manage post-harvest crops and storage areas—for example, approaches are described for determining fumigation treatment duration, determining phosphine dosage, determining heat treatment duration, and determining safe storage time for crops.