Have you ever thought to control your devices by sending messages through Facebook Messenger?
Using the Taurus platform you can send commands to update data from connected sensors and change the states of actuators. You can turn off or turn on a lamp in your home remotely, for example.
You only need to have Facebook and TaurusSystem accounts to start!
In this example, we will control an LED built in NodeMCU board via Facebook Messenger. The code is available in the attachments. First, go to Alfatech page and start a dialogue. Follow these steps to control the LED:
conf serial" to save your Taurus serial into the bot.
conf digital actuator" to send your actuator ID and the value you want to send.
update digital" to send the value to digital actuator registered in the platform.
You can also send data to sensors or control analog actuators using this API, type "
help" in the conversation and do what you want!
You are now able to control everything you want using messenger API.
Hope you enjoy!