Retrieve data from sensors on Arduino board and use the data with Jarvis assistant (JSON protocol is used between the Arduino board and Jarvis assistant)
You: Quel est la température dans le salon ?
Jarvis: La température est de 25.37 degrés
You: Quel est la luminosité dans le salon ?
Jarvis: La luminosité est de 20.24 lux
You: Quel est l'humidité de la plante ?
Jarvis: L'humidité de la plante est de 72 pourcent
You: Est-ce que la plante va bien ?
Jarvis: La plante va bien.
Jarvis [asynchrone]: Je te vois !
-
Install the program and sensors in the Arduino board (check this page to better understand this part)
-
Add dependency plugin Jarvis-API to your Jarvis assistant (more info here):
./jarvis.sh -p https://github.com/alexylem/jarvis-api
-
Add this plugin to your Jarvis assistant (more info here):
./jarvis.sh -p https://github.com/QuentinCG/jarvis-arduino-json
-
Configure the configuration file to match your requirements.
-
Enjoy
This project is under MIT license. This means you can use it as you want (just don't delete the plugin header).
If you want to add more examples or improve the plugin, just create a pull request with proper commit message and right wrapping.