0.4.0 • Published 2 years ago

iobroker.milight v0.4.0

Weekly downloads
27
License
MIT
Repository
github
Last release
2 years ago

Logo

ioBroker.milight

Number of Installations Number of Installations NPM version Downloads Build Status

NPM

adapter for ioBroker for LED-lamps like milight, easybulb, limitless

Installation:

from npm

npm install iobroker.milight

actual version from github

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

common Settings:

in admin page

  • IP-Adress-> IP of bridge
  • Port -> port of bridge
  • delaybetweenPackages -> ms delay between UDP packages (100ms for v5)
  • repeatPackage -> number of repetitions (1 for v5)
  • version of the milight protocol v5 or v6 -> sets automatically the corresponding port
  • setting full brightness when changed to white mode

type of bulbs in the zones:

in admin page

  • basic = bridge ONLY for zone 1 and v6
  • RGBWW = full color bulb with white LED and color temperature adjustment (increase color temp means cooler coloring), ONLY in v6
  • RGB = pure color bulb without white ONLY for zone 1
  • RGBW = color bulb with white LED
  • White = WW/CW white bulb with color temperature adjustment (increase color temp means cooler coloring)

The Zone0 or ZoneAll can be used to give commands to all 4 zones, the adapter is configured in v6 with base/bridge commands and in v5 with rgbw commands.

States in Version 6

available statebasic/bridgeWhiteRGBRGBWRGBWW
ON/OFF as switchstate(zone1), functionstate(zone), functionstate(zone1), functionstate(zone), functionstate(zone), function
ON as buttonon(zone1), nativeon(zone), nativeon(zone1), nativeon(zone), nativeon(zone), native
OFF as buttonoff(zone1), nativeoff(zone), nativeoff(zone1), nativeoff(zone), nativeoff(zone), native
colorMode as boolean statecolorMode (0=nightMode, 1=whiteMode)colorMode (0=nightMode, 1=whiteMode)
maxWhite as buttonmaxBright(zone), native
whiteMode as buttonwhiteMode(zone1), nativewhiteMode(zone), nativewhiteMode(zone), native
nightMode as buttonnightMode(zone), nativenightMode(zone), nativenightMode(zone), native
brightness as value (0-100%)brightness(zone), nativebrightness(zone), nativebrightness(zone), native
color as 3 hex valuescolor(zone), nativecolor(zone), nativecolor(zone), nativecolor(zone), native
rgb as combined value (#000000 - #FFFFFF)rgb(zone), nativergb(zone), nativergb(zone), nativergb(zone), native
mode as valuemode(zone), nativemode(zone), nativemode(zone), native
modeSpeedUp as buttonmodeSpeedUp(zone), nativemodeSpeedUp (zone), nativemodeSpeedUp (zone), native
modeSpeedDown as buttonmodeSpeedDown (zone), nativemodeSpeedDown(zone), nativemodeSpeedDown(zone), native
link as buttonlink(zone), nativelink(zone), native
unlink as buttonunlink(zone), nativeunlink(zone), native
saturation as value (0-100%)Saturation (zone), native
colorTemp as value (0-100 equals to 2700K to 6500K)colorTemp (zone), native
brightnessUp as buttonbrightnessUp (zone), functionbrightnessUp (zone), nativebrightnessUp (zone), nativebrightnessUp (zone), functionbrightnessUp (zone), function
brightnessDown as buttonbrightnessDown (zone), functionbrightnessDown (zone), nativebrightnessDown (zone), nativebrightnessDown (zone), functionbrightnessDown (zone), function
colorUp as buttoncolorUp(zone), functioncolorUp(zone), functioncolorUp(zone), function
color Down as buttoncolor Down(zone), functioncolor Down(zone), functioncolor Down(zone), function
saturationUp as buttonsaturationUp (zone), function
saturationDown as buttonsaturationDown (zone), function
colorTempUp as buttoncolorTempUp (zone), nativecolorTempUp (zone), function
colorTempDown as buttoncolorTempDown (zone), nativecolorTempDown (zone), function
hue as value (0-360)hue (zone), functionhue (zone), function

States in Version 5/ Version 4

available stateRGBWhiteRGBW
ON/OFF as switchstate(zone), functionstate(zone), functionstate(zone), function
ON as buttonon(zone), nativeon(zone), nativeon(zone), native
OFF as buttonoff(zone), nativeoff(zone), nativeoff(zone), native
colorMode as boolean statecolorMode (0/hs=whiteMode, 1/ct=color(hue=55))
maxWhite as buttonmaxBright(zone), native
whiteMode as buttonwhiteMode(zone), native
nightMode as buttonnightMode(zone), native
color as hue value (0-255)hue, native
rgb as combined value (#000000 - #FFFFFF)rgb, native
colorTempUp as buttonwarmer, native
colorTempDown as buttoncooler, native
brightness as value (0-100%)brightness, native
brightness as value (0-100%), extended range
effectModeNext as buttoneffectModeNext, native
speedUp as buttonspeedUp, nativeeffectSpeedUp, native
speedDown as buttonspeedDown, nativeeffectSpeedDown, native
brightUp as buttonbrightUp, nativebrightUp, native
brightDown as buttonbrightDown, nativebrightDown, native
effectModeNext as buttoneffectSpeedUp, native
effectModePrev as buttoneffectSpeedDown, native

effectSpeedUp/Down has different meaning (for rgb changes the mode, for rgbw it changes the speed)!

Configuration:

in admin page of adapter version 5 also to be used for v4 lamps

TODO:

  • ??

known issues:

  • ??

Changelog:

0.4.0

  • compact mode

0.3.6

  • (foxthefox) node-milight-promise 0.3.1 (former version 0.2.32)

0.3.5

  • (mrinc) fix for the v5 color setting (was always blue)
  • (foxthefox) nightModeSwitch added on white bulbs for command from Alexa

0.3.4

  • (foxthefox) adminv3 added

0.3.3

  • (foxthefox) setting of state after usage of command OFF/ON
  • (foxthefox) v6 widget for RGBW; RGBWW mode switch night/weiß instead weiß/farbe
  • (foxthefox) v6 widget for RGBW, RGBWW speedup/down correction, no hide of color temp vs. color when switching night/weiß
  • (foxthefox) v5 widget for RGBW with color changing to matching the selected color
  • (foxthefox) v6 widget for RGBWW with colortemperature changing to matching the selected colortemperature

0.3.2

  • (foxthefox) V5 uses brightUp/brightDown instead brightnessUp/brightnessDown
  • (foxthefox) corrections in V5 for white Commands (cooler/warmer/maxBright)
  • (foxthefox) new RGBWW V6 widget
  • (foxthefox) update for effects and correctios in RGBW V6 widget
  • (foxthefox) added CW/WW widget V4 and V6
  • (foxthefox) added disco button in RGBW V4

0.3.1

  • (bluefox) added checking of methods before calling them

0.3.0

  • (foxthefox) cleanup of states
  • (foxthefox) added white/rgb lamp
  • (foxthefox) correction of mismatch RGBW/RGBWW in v6
  • (foxthefox) v6 brightness only 0-0x64(100)

0.2.2/0.2.1

  • (foxthefox) debug messages with v5/v6 prefix; v6 colorset->colormode

0.2.0

  • (bluefox) discovery for v6

0.1.1

  • (foxthefox) switch lamp on with full brightness -> checkbox in admin for v5

0.1.0

  • (foxthefox) tested with bridge version 4 and protocol version v5
  • (bluefox)v6 implementation
  • (foxthefox) node-milight-promise 0.0.9
  • (foxthefox) jqui widget RGBW lamp

0.0.1

  • (foxthefox) initial setup

License

The MIT License (MIT)

Copyright (c) 2018 - 2020 foxthefox foxthefox@wysiwis.net

0.4.0

2 years ago

0.3.6

5 years ago

0.3.5

5 years ago

0.3.4

6 years ago

0.3.3

6 years ago

0.3.2

7 years ago

0.3.1

7 years ago

0.3.0

7 years ago

0.2.2

7 years ago

0.2.1

7 years ago

0.2.0

7 years ago

0.1.0

7 years ago