GithubHelp home page GithubHelp logo

jarves020 / iobroker.lifx Goto Github PK

View Code? Open in Web Editor NEW

This project forked from foxthefox/iobroker.lifx

0.0 0.0 0.0 225 KB

Lifx adapter for ioBroker

License: MIT License

HTML 28.96% JavaScript 71.04%

iobroker.lifx's Introduction

Logo

ioBroker.lifx

Number of Installations Number of Installations NPM version Downloads Build Status

NPM

Lifx adapter for ioBroker

Installation:

the official released version

npm install iobroker.lifx

the actual version from github:

npm install https://github.com/foxthefox/ioBroker.lifx/tarball/master --production

Settings/Configuration:

  • no settings or configuration required, adapter automatically detects the lamps

metro widget unreachable status

  • small icon for unreachable status in metro-widget is the first object of notification
  • object_id[0] is the indicator.unreachable
  • instead of presetting "true", "false" shall be written
  • the icon should be wifiColorRed.png
  • horizontal offset of 6 should work fine

Visualization:

  • use lifx widgets

objects

Object Value settable Description
Bulb.state boolean x true/false -> ON/OFF
Bulb.colormode boolean x color, white
Bulb.temp value x color temperature 2500...9000 K
Bulb.hue value x color 0...360
Bulb.sat value x saturation 0...100 %
Bulb.bright value x brightness 0...100 %
Bulb.online boolean - true/false
Bulb.label value - name/label
Bulb.vendor value - vendor info
Bulb.product value - product info
Bulb.colorLamp value - colorLamp info
Bulb.infraredLamp value - infraredLamp info
Bulb.multizoneLamp value - multizoneLamp info
Bulb.Zone.temp value x color temperature 2500...9000 K
Bulb.Zone.hue value x color 0...360
Bulb.Zone.sat value x saturation 0...100 %
Bulb.Zone.bright value x brightness 0...100 %

TODO:

  • getting adjustment of color values with all existing settings (brighness adjust has fixed 80% saturation and keeps the previous hue setting; saturation adjust and hue adjust has fixed 80% brightness)
  • transition times
  • waveforms

known issues

  • values outside of range cause crash of adapter

Changelog:

0.2.0

  • lifx-lan-client library instead node-lifx
  • states for vendor, product, version, product features
  • multizone support
  • cyclic polling

0.1.1

  • logo quadratic

0.1.0

  • compact mode

0.0.5

  • adminv3
  • noConfig -> no admin page anymore

0.0.4

  • jqui widget with interactive colored slider

0.0.3

  • metro widget
  • jqui widget

0.0.2

  • change to node-lifx
  • successful tested with 2 lamps and firmware 2.1

0.0.1

  • initial setup with lifx

License

The MIT License (MIT)

Copyright (c) 2016-2020 foxthefox [email protected]

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.