Skip to content

Strontvlieg/miLight-V6-iBox2-Domoticz

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

53 Commits
 
 
 
 
 
 
 
 

Repository files navigation

miLight iBox2 control for Domoticz

Controls your miLights bulbs and iBox2 with Domoticz and retry commands when sending fails.
Tested with 8 watt bulbs RGBW/WW/CW

How to install

Copy milight.py to /home/pi/domoticz/scripts/python and set chmod to 777 on the file
Change the follow setting to your own settings with Notepad++

  • IBOX_IP = "192.168.1.18"
  • IBOX_MODEL = "80 00 00 00 11"
  • UDP_PORT_SEND = 5987
  • UDP_PORT_RECEIVE = 55054
  • UDP_MAX_TRY = 5
  • UDP_TIMEOUT = 5
  • DOMOTICZ_IP = "192.168.1.17"
  • DOMOTICZ_PORT = 8080
  • DOMOTICZ_LOG = 0

How to use

/home/pi/domoticz/scripts/python/milight.py CMD1 CMD2

CMD1 = Bulb zone

00 01 02 03 04

CMD2 = Bulb command

ON OFF NIGHTON WHITEON WW00 WW25 WW50 WW75 WW100 DIM00 DIM25 DIM50 DIM75 DIM100 SATUR00 SATUR25 SATUR50 SATUR75 SATUR100 MODE01 MODE02 MODE03 MODE04 MODE05 MODE06 MODE07 MODE08 MODE09 SPEEDUP SPEEDDOWN

Domoticz example ON/OFF switch

  1. Add a virtual/dummy switch in Domoticz (see https://www.domoticz.com/wiki/Wemo#Creating_Dummy_Switches)
  2. ON action dummy switch: script:///home/pi/domoticz/scripts/python/milight.py 00 ON
  3. OFF action dummy switch: script:///home/pi/domoticz/scripts/python/milight.py 00 OFF

Command line options

Bulb zone 00 01 02 03 04
Bulb on/off ON OFF NIGHTON WHITEON
Kelvin warmwhite WW00 WW25 WW50 WW75 WW100
Brightness DIM00 DIM25 DIM50 DIM75 DIM100
Saturation SATUR00 SATUR25 SATUR50 SATUR75 SATUR100
Mode (discomode) MODE01 MODE02 MODE03 MODE04 MODE05 MODE06 MODE07 MODE08 MODE09
Mode Speed up/down SPEEDUP SPEEDDOWN

About

Control your miLights iBox2 V6 with Domoticz

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages