A problem that I want to solve by creating this project is that the building maintenance system at my workplace still needs to be checked manually and we have more than 30 rooms that need to be checked twice a day by one or two cleaning employees. That could be tedious for the cleaning employees that do the room checking.
There are 3 parameters need to be checked:
- Is the air conditioner turned on or off?
- Is the light turned on or off?
- Is the room temperature and humidity fit enough for people to get comfortable?
The building has 24/7 WiFi that has the same SSID and is connected to internet, which got me thinking of making a device to make the cleaning employee's job lighter, so they can monitor every room anytime with any device and they only come to the room to turn on/off the AC and light.
The building already has its own cable system with 4 available wall plugs and to make a new device embedded on the wall could cost much more money, so the approach for making this device is that this device needs to be portable and could be plugged directly to a wall socket or can run on its own power for a long period of time.The Hardware Build
To build this device I choose to use a Wemos D1 mini as the brain because of its small form factor. For reading the temperature and humidity I chose DHT22 because it is more reliable than the DHT11 sensor. And to read the room's light I use a basic LDR sensor because I just need to know if the light is turned on or off.
You can check the Fritzing schematic down below and make it as small and compact as possible. This is the prototype that I made so far:
For this device I use Mydevice Cayenne for the dashboard for all the device planted in the rooms because its simplicity and accessible in almost all device.
Before you upload the code make sure you follow the guide that I've been made here to make your life easier. If you already follow the guide then you can upload the code below and get your dashboard like this:
This device seems simple and the data parameter also seems not much but this could save a lot of time and effort needed by the building maintenance officer/employee doing his/her job. Because of that the employee could do another job sooner than they used to be.
Again, this device is simple and need some improvement such as sound sensor to check is there any person in the room by checking the sound of footsteps or people talking and also you could add any parameter depends on your need.