Suppose we want to store our medicines in the refrigerator at a optimum temperature.But it might be the case that different medicine require different temperature.A normal user cannot change the code to adjust the optimum temperature.Here we use Z score analysis which detects anomaly i.e. user just has to adjust the temperature according to the need and rest will taken care off.
step 1: We need to register in twilio app(third party sms sending app) and boltiot cloud server have necessary credentials as mentioned in the ATTACHMENTS section.
step 2:We need make a VPS (virtual private server): I have used VMware app
step 3: Now we have to code the program which is explained in the comments of the code
Here is the demo of the application part in you tube
NOTE: one may have to open the fridge door for a minute for the anomaly o be detected
let the input value from the sensor to stabilize as Z score analysis works on variance formula which is minimum when the values are close to each other to detect anomaly presizely.