This is an experimental code which listen to a webhook socket to trigger commands to the Tello drone.
Flow
- Google Assitant trigger an action and send it to IFTTT
- IFTTT listen to the action and forward it to the webhook
- NodeJS sockets listen to the webhook and send the command to the drone
What do I need?
- A Tello drone
- Connection to internet by ethernet
- Wifi adaptor (in case your computer doesn't have one)
- NodeJS 10 or above installed
- Create IFTTT applets (they've not been published yet)
How to run the project?
- Run
npm i
- Connect to the drone's wifi.
- Run
node drone.js
Commands supported Tellos drone manual
IFTTT Applets*
- Fly the drone
- Land the drone
- Flip the drone
- Stream video using the drone
- Stop the streaming
Steaming
Open http://localhost:6767/ after triggering the streaming video
command.
To improve:
- Separation of concerns
- Streaming config
- Update drone firmware to 2.0 and retest code
- Publish IFTTT applets