This article presents a novel approach to the acquisition, processing, and analytics of industrial food production by employing state-of-the-art artificial intelligence (AI) at the edge. Intelligent Industrial Internet of Things (IIoT) devices are used to gather relevant production parameters of industrial equipment and motors, such as vibration, temperature and current using built-in and external sensors. Machine learning (ML) is applied to measurements of the key parameters of motors and equipment. It runs on edge devices that aggregate sensor data using Bluetooth, LoRaWAN, and Wi-Fi communication protocols. ML is embedded across the edge continuum, powering IIoT devices with anomaly detectors, classifiers, predictors, and neural networks. The ML workflows are automated, allowing them to be easily integrated with more complex production flows for predictive maintenance (PdM). The approach proposes a decentralized ML solution for industrial applications, reducing bandwidth consumption and latency while increasing privacy and data security. The system allows for the continuous monitoring of parameters and is designed to identify potential breakdown situations and alert users to prevent damage, reduce maintenance costs and increase productivity.