Abstract:As the number of facilities adopting a Building Management System under the Industry 4.0 paradigm increases, it is critical to ensure the good health of their operations. Business continuity and uninterrupted operations are key requirements for any building, for which Power Quality and Supply Reliability sophisticated monitoring can play an extremely important role. Submetering, as opposed to bulk-metering, implies measuring power consumption for individual units or appliances in a building complex. An Internet of Things mesh network, which brings ubiquitous power quality submetering inside the entire facility, would be extremely beneficial for the management of the building thus ensuring seamless business operations. This work describes a novel low-cost Internet of Things sensor for measuring and analyzing power quality at the input of any individual Alternating Current (AC) appliance, providing an early detection and analysis system which controls those critical variables inside the facility and leads to anticipate faults with early-stage alerts based on on-time data streams treatment. Moreover, the recorded power quality parameters that are processed in the Cloud system can help to reduce energy consumption, as power quality disturbances can be automatically analyzed and even compared to standard values. The proposed Internet of Things sensor will help users to detect most power quality steady-state and events disturbances, while monitoring the energy consumption. This Internet of Things Power Quality sensor is built around a flexible microcontroller, which manages an energy metering Integrated Circuit (IC) through Serial Peripheral Interface (SPI), increasing its original capabilities by including new sophisticated software functionality. Additionally, it wirelessly communicates with a cloud-based Internet of Things Platform to allow the storage and supervision of the different power quality events for the entire facility. An example of the access to the data is also included.