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