Arduino Home AssistantIntroduction
The Arduino Home Assistant is a device to control several devices like table lights, laptop fan, big fan, humidifier and a stepper motor to control curtain. Using several sensors like MLX90614, LDRs, IR sensors, rain sensor, ultrasonic sensor and so on, the home assistant is able to monitor the condition of the room and carry out different tasks. A simple example is that when the laptop temperature goes high, the laptop fan will turn on. Same applies to other devices which the condition may involve more than one sensor. The mode of the switches can be adjusted to manual or auto mode.
Sensors and modules connected to Arduino Mega
Next, there are 8 different function available which are led light show, room condition, Arduino condition, laptop condition, weather, timer/alarm, games, WIFI mode and personal spaces to record your own private information. There is also a page to monitor the devices' status. The main control is using potentiometer and two buttons.
The home assistant also integrated with the esp-01 module which all the control and monitoring work can be carried out wirelessly via laptop or mobile phone. Using Blynk as the platform and google assistant as the support, all the tasks can be carried out whenever and wherever you are. When the home assistant sensed an absent of people in the room via ultrasonic sensor and ldr, it will automatically switch to WIFI mode.
That's it, so now I can call the home assistant to close my curtain by saying "Ok Google, activate close curtain" when I am not at home.