In our school there is a compressor and nobody knows when it turns on. Consequently anyone knows if there are losses on the air circuit and so anyone knows how many energy and money are wasted.
We've built this system in order to have data that we can study and demonstrate that the school spends lots of money without a reason.
The brain of the system is a WeMos D1 Mini connected to the WiFi network and consequently with Blynk and Google Sheets.
On Blynk it's possible to see when the compressor in turned on in real time. In fact, when the accelerometer catch a vibration, it means that the compressor in on and so WeMos send a signal to turn on the led on Blynk. It's also possible to see in real time the pressure in the tank and the temperature in the room.
On Google Sheets it's easier to make data analysis and so WeMos send data also on Sheets. To set the sheet we've used two different guides:
Linked here the Sheet
When the button is pushed, the led on WeMos is turned on. This mean that, with the same code, the compressor can be turned on remotely installing a relay instead of the led.