# Flying a Tello Drone via Node-Red Dashboard and PYTHON

**URL:** <https://discourse.nodered.org/t/flying-a-tello-drone-via-node-red-dashboard-and-python/41231>\
**Category:** General\
**Created:** [18 February 2021 11:13 UTC](https://discourse.nodered.org/t/flying-a-tello-drone-via-node-red-dashboard-and-python/41231 "2021-02-18T11:13:31Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![G-Rizzle](https://avatars.discourse-cdn.com/v4/letter/g/7c8e57/32.png) [@G-Rizzle](https://discourse.nodered.org/u/G-Rizzle)\
**Post date:** [18 February 2021 11:13 UTC](https://discourse.nodered.org/t/flying-a-tello-drone-via-node-red-dashboard-and-python/41231/1 "2021-02-18T11:13:31Z")

</div>

hello,

as a university project I am thinking about buying a Tello Drone and flying it via a Node-Red Dashboard. I have already found a module in the node-red palette [GitHub - johnwalicki/Node-RED-Tello-Control: Node-RED flows to control the Ryze Tello Drone](https://github.com/johnwalicki/Node-RED-Tello-Control)

A Basic Dashboard idea i added as a picture here.

Thing is, I would rather controll the drone with self-written Python code. There is a tello module in python which you can download. Also I want to have specific Buttons in the Dashboard, like "land". There I want to implement an AI, which searches for the landingplace (a big "H" on the ground). I have seen a lot of people on youtube flying the drone via python. but nobody with python, combined with node-red

Im an absolute newbie in Node-Red. So my question: Is it possible to use a node-red dashboard and Link python code behind the buttons? So if i click an "up" button, the drone executes python code and goes up?

Thanks in advance!!!!

[interface|381x500](https://discourse.nodered.org/uploads/short-url/bduIQBQ6qgP5QFZAjpU2oYcnE2w.png)

---

<div class="post-metadata">

**Author:** ![janvda](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/janvda/32/234_2.png) [@janvda](https://discourse.nodered.org/u/janvda)\
**Post date:** [18 February 2021 12:34 UTC](https://discourse.nodered.org/t/flying-a-tello-drone-via-node-red-dashboard-and-python/41231/2 "2021-02-18T12:34:26Z")

</div>

The guys from the github project are excellent experts. Why not using their work instead of redoing it in python ? Can’t you do the stuff you want to do not in node-red using the github project ?

---

<div class="post-metadata">

**Author:** ![G-Rizzle](https://avatars.discourse-cdn.com/v4/letter/g/7c8e57/32.png) [@G-Rizzle](https://discourse.nodered.org/u/G-Rizzle)\
**Post date:** [18 February 2021 13:09 UTC](https://discourse.nodered.org/t/flying-a-tello-drone-via-node-red-dashboard-and-python/41231/3 "2021-02-18T13:09:17Z")

</div>

hey (🙂  
as i said i wanted to add features, like a AI-based landing. These aren implementable with the given Nodes

---

<div class="post-metadata">

**Author:** ![janvda](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/janvda/32/234_2.png) [@janvda](https://discourse.nodered.org/u/janvda)\
**Post date:** [19 February 2021 09:55 UTC](https://discourse.nodered.org/t/flying-a-tello-drone-via-node-red-dashboard-and-python/41231/4 "2021-02-19T09:55:34Z")

</div>

It is not exactly clear what the python part will do but

- in node-red you can use an exec node to launch the python program.
- You can also write a python program that listens to an MQTT topic and send the control commands in node-red to this MQTT topic. Instead of MQTT you can use other ways of communication (TCP sockets,....).
- also look in the node-red flows library for search string “python”. Maybe there are good nodes for easy integration with python.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [20 April 2021 09:56 UTC](https://discourse.nodered.org/t/flying-a-tello-drone-via-node-red-dashboard-and-python/41231/5 "2021-04-20T09:56:15Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
