Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

tello-custom-ip

jensroth-git23MIT0.1.1TypeScript support: included

Tello drone client with custom IP address support, forked from @0x77/tellots

tello, dji, drone, iot, typescript, custom-ip

readme

Tello Custom IP

A TypeScript-based client for controlling DJI Tello drones with support for custom IP addresses.

This is a fork of @0x77/tellots with added functionality to specify a custom IP address for the drone.

Installation

npm install tello-custom-ip

Usage

import sdk from 'tello-custom-ip';

// Set a custom IP address (optional)
sdk.setIP('192.168.1.10');

// Then use the SDK as usual
async function main() {
  await sdk.control.connect();

  // Get battery level
  const battery = await sdk.read.battery();
  console.log(`Battery level: ${battery}%`);

  // Take off
  await sdk.control.takeOff();

  // Land
  await sdk.control.land();
}

main().catch(console.error);

License

MIT