Skip to content
This repository was archived by the owner on Aug 3, 2026. It is now read-only.
This repository was archived by the owner on Aug 3, 2026. It is now read-only.

[PLUGIN REQUEST] LIFX #42

Description

@Pierre-Gilles

Device/Service Name

LIFX (ampoules et bandeaux LED Wi-Fi)

Existing Integrations & Documentation

npm (Node.js)

Autres références

Device Capabilities

  • On/Off : allumer / éteindre
  • Brightness : luminosité 0–65535 ou 0–100 %
  • RGB color : couleur HSBK ou RGB
  • Color temperature : Kelvin (2500–9000K selon modèle)
  • Infrared (modèles Nightvision) : on/off
  • Multizone (LIFX Z, Beam) : zones indépendantes
  • Effects : effets intégrés (optionnel)

Additional Context

Protocole LAN UDP (pas de cloud, pas de hub)

  • Port UDP : 56700
  • Découverte : broadcast UDP + mDNS _lifx._tcp
  • Pas d'authentification
  • Messages binaires (struct packet format)

Exemple avec lifx-lan-client (TypeScript)

import { Client } from 'lifx-lan-client';
const client = new Client();
client.on('light-new', (light) => {
  light.on(0.5);           // brightness 50%
  light.color(0, 65535, 0, 3500, 0); // green, 3500K
});
client.init();

Packet types clés

Type Usage
GetService Discovery
GetPower État on/off
SetPower On/off
GetColor Lire couleur
SetColor Définir HSBK
GetLabel Nom device

Mapping Matter

LIFX Matter
on/off + brightness Dimmable Light
RGB/HSBK Extended Color Light
Color temp Color Temperature Light
Multizone Multiple Matter lights (1 par zone)

Priorité MVP

  1. Discovery UDP
  2. On/off + brightness
  3. Color temperature
  4. RGB

Notes

  • API LAN excellente — pas de OAuth
  • Candidat factory IA : protocole binaire documenté + lib npm existante
  • Multizone = complexité v2

Confirmations

  • I have provided links to existing integrations in other projects
  • I have verified the API documentation is accessible
  • I understand this is an automated AI process and results may vary
  • I am willing to test the generated plugin and provide feedback

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions