We love to hack cool projects from different fields. This week, we hosted Will Archer Arentz, from Rakuten Institute of Technology, who recently created his own smart home using Viber.
In this post, we’ll showcase a high-level plan for how you can build a motion tracker and have alerts sent to you through Viber’s chatbot platform.
We will use simple/low power microcontroller to communicate Viber’s chatbot platform every time the motion sensor (PIR) detects a movement.
We will connect the microcontroller and the motion sensor by 3 wires:
NodeMCU PIN 2.
See the microcontroller code below:
Finally, we should have our motion detector up and working. It will look something like this:
We might consider utilizing the sun as a power source for a more sustainable energy source. We are also aware of the potential to enhance this bot’s capabilities, as it has the ability to manage individual rooms, in addition to the entire home. The bot can also monitor the environment that it supervises - providing data about outside temperature, light and power.
If you have an interesting project you’d like to share with the Viber developer community, please fill out this form.
Need help or found a bug? Contact us.