flutter_hue
3.0.1, released 7 weeks ago by hexcat.dev
Integrate Philips Hue smart devices and bridges into Flutter applications.
What it does
Discovers Philips Hue bridges on the local network, establishes local or remote communication, and controls connected smart devices like lights and entertainment areas. It also provides color conversion helpers and Philips Hue icons.
AI-written summary of version 3.0.1, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need to build a Flutter application that interacts with Philips Hue smart lights.
- You want to stream entertainment colors to Philips Hue entertainment areas.
Skip it when
- Your project does not use Flutter and requires pure Dart (use dart_hue instead).
- You are working with smart home devices from manufacturers other than Philips Hue.
Strengths
- Supports Philips Hue API v2.
- Provides built-in bridge discovery, color converters, and entertainment streaming.
- Supports both local network and remote connections.
Weaknesses
- Tied exclusively to Philips Hue products.
- Entertainment areas must still be created using the official Hue app before controlling them.
Setup
- Kind
- Plugin (native code)
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 7
Add flutter_hue to dependencies and optionally call FlutterHueMaintenanceRepo.maintain at the root of your app for local storage maintenance.
List<DiscoveredBridge> newBridges = await BridgeDiscoveryRepo.discoverBridges();
List<String> ipAddresses = newBridges.map((e) => e.ipAddress).toList();Alternatives
Packages that do the same job and could replace flutter_hue.
- matrix
Matrix (matrix.org) SDK written in Dart.
88Compare - angel3_websocket
WebSockets support and event broadcasting for the Angel3 framework.
77Compare - flutter_storyblok
Integrate Storyblok headless CMS with your Flutter app.
60Compare
Works with
Packages commonly used together with flutter_hue: ones it builds on, ones built on it, and its own family.
- cryptoflutter_hue depends on itProvides SHA, MD5, and HMAC hashing functions for Dart.
- path_providerflutter_hue depends on itProvides Flutter APIs to locate common filesystem directories on Android, iOS, macOS, Linux and Windows.
- url_launcherflutter_hue depends on itFlutter plugin for launching URLs across mobile, desktop, and web platforms.
- multicast_dnsflutter_hue depends on itDart package for performing mDNS queries, Bonjour, and Avahi service discovery.
- dtls2flutter_hue depends on itDTLS library for Dart implemented via FFI bindings to OpenSSL.