Skip to content
pubscout

flutter_hue

3.0.1, released 7 weeks ago by hexcat.dev

Integrate Philips Hue smart devices and bridges into Flutter applications.

$ flutter pub add flutter_hue
Source repository

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.

Works with

Packages commonly used together with flutter_hue: ones it builds on, ones built on it, and its own family.