Hello Tello Pilot!
Join our DJI Tello community & remove this banner.
Sign up

Node-RED Tello Example flows

Dazwell

Member
Joined
Dec 29, 2018
Messages
14
Reaction score
6
Location
Brighton, Unted Kingdom
Website
www.dazwell.com
I've just followed your GitHub item, and love it. Thanks for taking time to do this.

I'm new to Node-Red, but I found it fairly straight forward to follow. There was one point I got stuck on in Part 7, as I didn't have the base64 node installed, but worked out what to do, and bingo! It works a treat.

Now I just need to work out how to use Node-Red a bit more to do my own stuff :)
 

JohnWalicki

Member
Joined
Aug 21, 2018
Messages
7
Reaction score
7
@Dazwell - Good suggestion. I will add node-red-node-base64 to the list of additional Node-RED nodes that need to be installed. Thanks!
-- John
 
  • Like
Reactions: Dazwell

garfienel1

New member
Joined
Jul 3, 2018
Messages
2
Reaction score
0
Hello @JohnWalicki, i checked your GitHub, and it was amazing!
Thanks for sharing node-red flows for tello.

Can i add video stream on node-red dashboard? Did you try something like this, or do you know anything like that?
 

JohnWalicki

Member
Joined
Aug 21, 2018
Messages
7
Reaction score
7
@garfienel1 - Glad that you like my GitHub repo of Tello Node-RED flows. I have a flow that listens to the video stream data on UDP port 11111. It receives all the data but I haven't figured out how to decode it yet. I didn't post it because its not really interesting yet.
node-red-tellovideo.png

-- John
 
  • Like
Reactions: jjs357

jjs357

Active member
Joined
Apr 28, 2018
Messages
30
Reaction score
7
@garfienel1 - Glad that you like my GitHub repo of Tello Node-RED flows. I have a flow that listens to the video stream data on UDP port 11111. It receives all the data but I haven't figured out how to decode it yet. I didn't post it because its not really interesting yet.
View attachment 2478

-- John
You can decode it with ffplay or ffmpeg if these are installed. You would need to send the streamon command to the tello so the stream is enabled and then if you run something like:
Bash:
ffplay -probesize 32 -i udp://@:11111 -framerate 30
In a terminal the video stream is visible.
Would be nice to have the node-red dashboard encapsulate the stream window though.
 

jjs357

Active member
Joined
Apr 28, 2018
Messages
30
Reaction score
7
I've assembled some Node-RED flows that allow you to send commands to the Tello Drone, execute pre-programmed flight plans and display a dashboard. If you've experimented with Node-RED and node, you might want to check these flows out:

johnwalicki/Node-RED-Tello-Control
Looks like the github README's have spots where videos might be inserted. Are there plans to actually have videos there?
 

DroneNewbie

New member
Joined
May 9, 2019
Messages
1
Reaction score
0
I've assembled some Node-RED flows that allow you to send commands to the Tello Drone, execute pre-programmed flight plans and display a dashboard. If you've experimented with Node-RED and node, you might want to check these flows out:

johnwalicki/Node-RED-Tello-Control
Hi @JohnWalicki and fellow drone enthusiasts!

First of all, I am a beginner in using Node-Red, and am trying to follow your tutorial to take photos with my Tello drone - johnwalicki/Node-RED-Tello-Control

This is what I have done thus far:

1. Imported part4_solution.json to control my Tello drone.
2. Imported part7_solution.json to take picture.

After I launch Node-red, I can control my drone using Tello control dashboard. My problem comes when I i navigate to Tello Camera tab. As you can see in the 2nd image, I am unable to see the camera view from my drone (I initially thought that it might be the drone's camera issue but when I used Tello's phone app, it is working fine).

Appreciate if have any solutions to work around this.

Thanks!

3939

3938


Regards,
D.
 

Magdig

New member
Joined
Jul 1, 2019
Messages
4
Reaction score
0
I've assembled some Node-RED flows that allow you to send commands to the Tello Drone, execute pre-programmed flight plans and display a dashboard. If you've experimented with Node-RED and node, you might want to check these flows out:

johnwalicki/Node-RED-Tello-Control
Hi John, I am also new to Node-Red. Your tutorial is very straight forward and easy to follow. I have completed all parts and every thing is working perfectly in the Tello dashboard except taking photos? The panel is blank! Any suggestions please? Regards
 

JohnWalicki

Member
Joined
Aug 21, 2018
Messages
7
Reaction score
7
Hi Magdig - The picture data is transferred over a different UDP port. You need to open that port in your firewall. Depending on your laptop operating system, there are different techniques to open a port. Are you getting telemetry data? I document how here: johnwalicki/Node-RED-Tello-Control

Another possible issue is that you need to power on the Tello, connect to its WiFi and then press the TELLO_LOW_LEVEL_CONNECT to initialize the video stream.
 

Opeiz

New member
Joined
Jul 23, 2019
Messages
1
Reaction score
0
Hi Forum, i open every port in the firewall, i press the TELLO_LOW_LEVEL_CONNECT and nothing hapenned if someone can please help I will me so happy. I have been 2 weeks trying to fix and take pictures with Tello but no. Please help
 

theman

New member
Joined
Oct 28, 2019
Messages
1
Reaction score
0
You can decode it with ffplay or ffmpeg if these are installed. You would need to send the streamon command to the tello so the stream is enabled and then if you run something like:
Bash:
ffplay -probesize 32 -i udp://@:11111 -framerate 30
In a terminal the video stream is visible.
Would be nice to have the node-red dashboard encapsulate the stream window though.
hi forum,i would like to try video stream but i don't get the steps,sorry i am quite new to node red
 

johna69

New member
Joined
Oct 30, 2019
Messages
3
Reaction score
0
This is really good, thank you! I put Node-Red on a Pi. I have the wifi on the Pi dedicated to the drone and access the public network via ethernet.

I have Node-RED running in 5 docker containers on the Pi, so students can share one drone. The caveat is receiving data as only one container can bind to the incoming port, but having the ability for all students to code once, only one at a time can test anyway.
 

frequency

Well-known member
Joined
Apr 18, 2019
Messages
49
Reaction score
14
Dear All,

First of all, I am a beginner in using Node-Red.
It already took me a little bit of time to understand how to install Node Red installation in Ubuntu OS.

The Node Red seem straight forward......... but I don't think so!!! You need think like a programmer.

If you intent to use the solution by importing them into Node Red then your job will be quite easy.

But if anyone is a beginner!!. You need to know every single box is a string, integer, float, msg or should I use IPV4 or 6 for upd.....................etc. Or how will one beginner know which one need to select a set, a change or a move on payload.tellocmd.

Computer is computer wrong mode selection it give you different output.

I would said is not as straight forward as it seem.

Correct me if I am wrong

Thanks

Best regards,
freq
 

Lukz

New member
Joined
Feb 2, 2020
Messages
1
Reaction score
0
Hi @JohnWalicki

I also have been trying to take photos using the tello and node-red. drone controls all work. I have been able to stream video using your script. So I have a few questions. I have tried this on a few different computers. 1 on a thinkpad running Buster, 1 on a pi zero running Buster. both have nodjs 10.x I did see where someone mentioned using 8. as far as you getting this working. Are you using nodejs 8.x? I noticed the "take picture command and I did not see this in the SDK". Is this in the updated software. It seams strange that a lot of people are unable to take photos. Seams like we are missing something. No firewall is installed on the machines. Which version of the firmware are you using? I have reviewed the responses on git as well. I have also tried the photo fix, also still is not doing anything. Has this been resolved?
 

New Threads

Members online

Forum statistics

Threads
4,183
Messages
31,763
Members
10,713
Latest member
carlotipo