Using neural networks and collecting data over time allows the devices to learn and make predictive decisions. Having rules set at the edge and then moving the data to the cloud for analysis, greatly improve the functionality of the IoT device. Over time the sensor will allow for instinctive application.