Milight, how good is it?
Moderator: leecollings
-
- Posts: 62
- Joined: Tuesday 22 November 2016 21:04
- Target OS: Linux
- Domoticz version: 2020.2
- Location: Gothenburg
- Contact:
Milight, how good is it?
Hiya.
Ive been trying to search on both Google and YouTube on how Milight are working in Domoticz.
But I haven't found anything yet that shows how much Domoticz can make Milight dance.
I have almost half of my home in domoticz atm. But I'am interested in adding little more colors by milight.
Now lamps are going on and off and led stripes are started.
Say I want the led stripe up at the curtains to be blue when it's raining, but if it's not and my ps4 are on i want it on a slow rgb cycle. Else have it at 40% warm white light.
Or when there are motion detected and noone are home turn on all light on flashing red and blue.
Can you set up a few scenarios in milight and have domoticz activate them.
Or does domoticz have to control the light thru milight.
Thanks in advance.
Magnus Svensson.
Ive been trying to search on both Google and YouTube on how Milight are working in Domoticz.
But I haven't found anything yet that shows how much Domoticz can make Milight dance.
I have almost half of my home in domoticz atm. But I'am interested in adding little more colors by milight.
Now lamps are going on and off and led stripes are started.
Say I want the led stripe up at the curtains to be blue when it's raining, but if it's not and my ps4 are on i want it on a slow rgb cycle. Else have it at 40% warm white light.
Or when there are motion detected and noone are home turn on all light on flashing red and blue.
Can you set up a few scenarios in milight and have domoticz activate them.
Or does domoticz have to control the light thru milight.
Thanks in advance.
Magnus Svensson.
-
- Posts: 229
- Joined: Friday 03 April 2015 20:44
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: Germany (near dutch border)
- Contact:
Re: Milight, how good is it?
You can do anything you like with native support for milight... i have all my lights changed to milight bulbs and controls... It just works..
Must admit...it takes a little bit of scripting (lua) in my case to make it work...
Good luck
Must admit...it takes a little bit of scripting (lua) in my case to make it work...
Good luck
-
- Posts: 62
- Joined: Tuesday 22 November 2016 21:04
- Target OS: Linux
- Domoticz version: 2020.2
- Location: Gothenburg
- Contact:
Re: Milight, how good is it?
Wonderful!
Does it work on setting the white light too? Thinking about a few cct bulbs.
Also if I get a rgbww stripe will it work on the rgbw or do I need the rgbww box?
I've not been able to figure it out.
Guess I need to refocus and start learning lua.
Tried a year aggo but didn't have much time them. Guess I need to rethink that. Can't live my whole life in lego blocky LOL
Thanks alot!
Does it work on setting the white light too? Thinking about a few cct bulbs.
Also if I get a rgbww stripe will it work on the rgbw or do I need the rgbww box?
I've not been able to figure it out.
Guess I need to refocus and start learning lua.
Tried a year aggo but didn't have much time them. Guess I need to rethink that. Can't live my whole life in lego blocky LOL
Thanks alot!
-
- Posts: 667
- Joined: Wednesday 08 March 2017 9:42
- Target OS: Linux
- Domoticz version: 3.8993
- Location: Amsterdam
- Contact:
Re: Milight, how good is it?
You can do everything with it. If you using dzVents system then its wonderfull.
Here example of 1 of many scene/scripts i using:
Scene Evening Lua
global_data.lua
Here example of 1 of many scene/scripts i using:
Scene Evening Lua
Code: Select all
local Version = '18.06.16'
local results
return {
active = true,
on = {
timer = {'at nighttime'},
devices = {[iPhonePeter] = { 'at nighttime'},
[iPhoneKay] = { 'at nighttime'},
[LogitechOff] = { 'at nighttime'},
[SceneSexy] = { 'at nighttime'},
},
},
-- logging = {marker = 'EVENING Scene ' ..Version..'..........'},
execute = function(domoticz, device)
if (not domoticz.devices(SceneEvening).active
and domoticz.devices(LogitechOff).active
and not domoticz.devices(SceneSexy).active
and not domoticz.devices(SceneGoodnight).active
and (domoticz.devices(iPhonePeter).active or domoticz.devices(iPhoneKay).active))
then
domoticz.variables(VarGoodNight).set(0)
domoticz.helpers.TurnOnScene(domoticz,SceneEvening)
domoticz.helpers.TurnOffScene(domoticz,SceneDayTime)
domoticz.helpers.TurnOffScene(domoticz,SceneTV)
domoticz.helpers.TurnOffScene(domoticz,SceneMovie)
domoticz.helpers.TurnOffScene(domoticz,SceneAppleTV)
domoticz.helpers.TurnOffScene(domoticz,SceneSexy)
domoticz.helpers.TurnOffScene(domoticz,SceneMorning)
domoticz.helpers.TurnOffScene(domoticz,SceneGoodnight)
domoticz.helpers.RGB(domoticz,BulbWallRight,nil,nil,nil)
domoticz.helpers.RGB(domoticz,BulbWallLeft,nil,nil,nil)
domoticz.helpers.RGB(domoticz,BulbWindowLeft,nil,nil,nil)
domoticz.helpers.RGB(domoticz,BulbWindowRight,nil,nil,nil)
domoticz.helpers.Disco(domoticz,BulbBalcony,nil,nil,nil)
domoticz.helpers.Effect(domoticz,NanoLeaf,40,nil)
if (domoticz.devices(SensorDiningRoomDoor).active) then
domoticz.helpers.Off(domoticz,BulbDressoir,nil,nil,nil)
if (domoticz.devices(SwitchKayLearn).active) then
domoticz.helpers.TurnOn(domoticz,SwitchDiningroom,50,nil)
elseif (not domoticz.devices(SwitchKayLearn).active) then
domoticz.helpers.Off(domoticz,SwitchDiningroom,nil,nil)
end
elseif (not domoticz.devices(SensorDiningRoomDoor).active) then
domoticz.helpers.Kelvin(domoticz,BulbDressoir,nil,nil,nil)
if (domoticz.devices(SwitchKayLearn).active) then
domoticz.helpers.TurnOn(domoticz,SwitchDiningroom,nil,nil)
elseif (not domoticz.devices(SwitchKayLearn).active) then
domoticz.helpers.TurnOn(domoticz,SwitchDiningroom,40,nil)
end
end
os.execute('/home/pi/domoticz/scripts/Peter/speech.sh "The scene evening is activated"&')
-- domoticz.log('------------------------==<[ Scene Evening ]>==-----------------', domoticz.LOG_FORCE)
end
end
}
Code: Select all
-- VERSION 18.06.11
-- RGB (domoticz,idx,dim,color,sec) (domoticz,idx,100,'white',0)
-- Kelvin (domoticz,idx,dim,kelvin,sec) (domoticz,idx,100,5000,0)
-- Disco (domoticz,idx,dim,disco,sec) (domoticz,idx,100,6,0)
-- TurnOn (domoticz,idx,dim,sec) (domoticz,idx,100,0)
-- TurnOff (domoticz,idx,dim,sec) (domoticz,idx,5,1)
-- TurnOnScene (domoticz,idx)
-- TurnOffScene (domoticz,idx)
-- Effect (domoticz,idx,level,sec) (domoticz,idx,30,0)
BulbMasterBedroom = 441
BulbDressoir = 442
BulbBalcony = 443
BulbHall = 444
BulbWallRight = 435
BulbWallLeft = 436
BulbWindowLeft = 437
BulbWindowRight = 438
BulbBathroomSink = 423
BulbShower = 424
BulbKitchen = 425
BulbKitchenSink = 426
BulbSKMiddleLeft = 430
BulbSKmiddleRight = 431
LogitechOff = 26
LogitechAppleTV = 27
LogitechTV = 28
LogitechKodi = 30
iPhonePeter = 414
iPhoneKay = 415
SwitchKayLearn = 35
SceneDayTime = 36
SceneEvening = 37
SceneTV = 38
SceneMovie = 39
SceneAppleTV = 40
SceneSexy = 41
SceneMorning = 42
SceneGoodnight = 43
LuxDiv = 392
OutsideTemp = 394
SwitchBalcony = 59
SwitchDressoir = 60
SwitchWall = 61
SwitchWindows = 62
SwitchHall = 471 --63
SwitchToilet = 64
SwitchKitchen = 65
SwitchKitchenSink = 66
SwitchCooker = 249
SwitchDiningroom = 70
SwitchBedroom = 71
SensorMasterBedroom = 73
SwitchBathroom = 74
SwitchLowLights = 420
SwitchEarlySleep = 421
SensorMasterBedroomDoor = 75
SensorDiningDoor = 76
SensorKitchen = 77
SensorDiningRoomDoor = 76
SensorHall = 469
Nest = 81
-- Nest = 455 Nest OAUTH
KodiStatus = 99
VarLowLux = 3
VarSKdiscoSleep = 4
VarKodiStop = 5
VarKodiPlay = 6
VarGoodNight = 7
TEST = 193
NanoLeaf = 232
DiscoSleep = 245
MeekPresenceHall = 467
local COLORS = {
['White'] = {255, 225, 255},
['Blue'] = {12, 0, 179},
['Green'] = {150,255,142},
['Romantic'] = {128,0,0}
}
return {
helpers = {
RGB = function(domoticz,idx,dim,color,sec)
if (dim == nil) then dim = 100 end
if (color == nil) then rgb = COLORS['White'] else rgb = COLORS[color] end
if (sec == nil) then sec = 0 end
domoticz.devices(idx).setRGB(rgb[1], rgb[2], rgb[3]).afterSec(sec)
domoticz.devices(idx).dimTo(dim).afterSec(sec)
status = 'aangezet'
movement = 'beweging gedecteerd'
end,
Kelvin = function(domoticz,idx,dim,kelvin,sec)
if (dim == nil) then dim = 100 end
if (kelvin == nil) then kelvin = 4000 end
if (sec == nil) then sec = 0 end
domoticz.devices(idx).setKelvin(kelvin).afterSec(sec)
domoticz.devices(idx).dimTo(dim).afterSec(sec)
status = 'aangezet'
movement = 'beweging gedecteerd'
end,
Disco = function(domoticz,idx,dim,disco,sec)
if (dim == nil) then dim = 100 end
if (disco == nil) then disco = 1 end
if (sec == nil) then sec = 0 end
domoticz.devices(idx).setDiscoMode(disco).afterSec(sec)
domoticz.devices(idx).dimTo(dim).afterSec(sec)
status = 'aangezet'
end,
Effect = function(domoticz,idx,level,sec)
if (level == nil) then level = 0 end
if (sec == nil) then sec = 0 end
domoticz.devices(idx).switchSelector(level).afterSec(sec)
end,
TurnOn = function(domoticz,idx,dim,sec)
if (dim == nil) then dim = 99 end
if (sec == nil) then sec = 0 end
domoticz.devices(idx).dimTo(dim).afterSec(sec)
status = 'aangezet'
movement = 'beweging gedecteerd'
end,
TurnOff = function(domoticz,idx,dim,sec)
if (dim == nil) then dim = 5 end
if (sec == nil) then sec = 1 end
domoticz.devices(idx).dimTo(dim)
domoticz.devices(idx).switchOff().afterSec(sec)
status = 'uitgezet'
movement = 'geen beweging gedecteerd'
end,
TurnOnScene = function(domoticz,idx)
domoticz.devices(idx).switchOn().checkFirst()
status = 'aangezet'
end,
TurnOffScene = function(domoticz,idx)
domoticz.devices(idx).switchOff().checkFirst()
status = 'uitgezet'
movement = 'geen beweging gedecteerd'
end,
On = function(domoticz,idx)
domoticz.devices(idx).switchOn().checkFirst()
status = 'aangezet'
end,
Off = function(domoticz,idx)
domoticz.devices(idx).switchOff().checkFirst()
status = 'uitgezet'
end
}
}
RPi3 B+, Debain Stretch, Domoticz, Homebridge, Dashticz, RFLink, Milight, Z-Wave, Fibaro, Nanoleaf, Nest, Harmony Hub, Now try to understand pass2php
-
- Posts: 62
- Joined: Tuesday 22 November 2016 21:04
- Target OS: Linux
- Domoticz version: 2020.2
- Location: Gothenburg
- Contact:
Re: Milight, how good is it?
Thanks!
Now I really need to learn lua LOL
Picked up a rpi3, my old rpi2 feels slow and to control milight it then might need little more power.
Do you know what dimmer I need for rgbww stripe.
Are it a rgbw enough or should I aim for a 5 in 1?
Both rgbw and rgbww are 5 pin so I should be okey with a rgbw.
But you have convinced me that milight are what I need to look at next
Now I really need to learn lua LOL
Picked up a rpi3, my old rpi2 feels slow and to control milight it then might need little more power.
Do you know what dimmer I need for rgbww stripe.
Are it a rgbw enough or should I aim for a 5 in 1?
Both rgbw and rgbww are 5 pin so I should be okey with a rgbw.
But you have convinced me that milight are what I need to look at next
-
- Posts: 667
- Joined: Wednesday 08 March 2017 9:42
- Target OS: Linux
- Domoticz version: 3.8993
- Location: Amsterdam
- Contact:
Re: Milight, how good is it?
I don't have led strips of Milight. It will come. Think when you have a Milight controller for led strips the whole setup procedure will be the same as for the normal controller.
If you not understand the script how it work let me know. I can explain how the pasta of code is connected to each other haha
Verzonden vanaf mijn iPhone met Tapatalk Pro
If you not understand the script how it work let me know. I can explain how the pasta of code is connected to each other haha
Verzonden vanaf mijn iPhone met Tapatalk Pro
RPi3 B+, Debain Stretch, Domoticz, Homebridge, Dashticz, RFLink, Milight, Z-Wave, Fibaro, Nanoleaf, Nest, Harmony Hub, Now try to understand pass2php
-
- Posts: 62
- Joined: Tuesday 22 November 2016 21:04
- Target OS: Linux
- Domoticz version: 2020.2
- Location: Gothenburg
- Contact:
Re: Milight, how good is it?
I'll do that.
Ive ordered a few led controllers and a ibox2 now.
30 days and I'll start setting up the led controllers.
After that I'm going to order a few bulbs
Thanks alot
Ive ordered a few led controllers and a ibox2 now.
30 days and I'll start setting up the led controllers.
After that I'm going to order a few bulbs
Thanks alot
-
- Posts: 30
- Joined: Monday 31 July 2017 15:22
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 3.8153
- Location: Pijnacker
- Contact:
Re: Milight, how good is it?
What type of led controller did you orderd and wich led strips do you have? I'm also thinking about to start with milight. But i don't know good enough wich led strip is compatible with wich type of a led controller.
-
- Posts: 62
- Joined: Tuesday 22 November 2016 21:04
- Target OS: Linux
- Domoticz version: 2020.2
- Location: Gothenburg
- Contact:
Re: Milight, how good is it?
Ive ordered
2x 5 in 1.
2x RGB
2x White
Atm so do I have 4 white and 2 rgb stripes.
Ive ordered 2 rgb cct to use with the 5 in 1 controller.
THink its about 2 weeks left to they will arive.
After a few days playing with it so will i make a post here =)
-
- Posts: 62
- Joined: Tuesday 22 November 2016 21:04
- Target OS: Linux
- Domoticz version: 2020.2
- Location: Gothenburg
- Contact:
Re: Milight, how good is it?
So they all have arived and are getting implemented at home.
I have 2 FUT036 installed and they are working "ok".
I found no real way of getting it in as White, so its runing as RGBWW in Domoticz.
But they as responding really fast and are just as any Nexa unit. The dimmer function are really good and works as any other device.
Next on list are to install a RGB one. That will be little more work I think.
It may be 1 to 2 sec faster on turning on the light then a normal nexa unit after a PIR register me in the hallway.
Main problem that I see on this system are that you need 1 iBox2 for every 4 devices.
It have 4 Zones. That means that either you have 1 item to Zone 1 and control it as 1 unit.
Or you pair 1 to as many you want to Zone 1 and your control it as 1 Unit.
The big problem that I see with this are if you want to get a few White, RGB and RGBWW stripes and a few bulbs on one box could complicate it for you.
!SO! my plan are to have this setup
1 Box White stripe
1 Box RGB Stripe
1 Box Bulb
This isn't as big problem as it sounds as. It simpler then mixing a few on one and few on other and so on.
It will cost little more and you need to add and configure a box after you expand it more and more. I wish someone had pointed this out for me
If you are only going to add 2 or 3 stripes then its ok with 1 box.
But plan on how many you are going to use and order the boxes after this.
FUT036 are for White.
FUT037 are for RGB
LS2 are for all
So atm I have Led stripe in the hallway and kitchen that are white that are controlled by FUT036
To the TV in the living room are one FUT037 with only RGB and I am going to install one in daughters room too on the tv.
Then up at the curtains so are im going to install a RGBWW stripe and on a painting. There will the LS2 go.
If you have any other questions ask me =)
But not about LUA or dzVents. I am trying to learn and make own scripts but failing over and over LOL
-
- Posts: 30
- Joined: Monday 31 July 2017 15:22
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 3.8153
- Location: Pijnacker
- Contact:
Re: Milight, how good is it?
Melotron,
Thank you very much for this. this wil help a lot.
I just ordered the next things:
- 1 Wifi ibox2
- 1 Fut036
- 1 white led strip
- 1 Milight E14 bulb.
With these products i can experiment, and make a choice to by more. I really want a RGBWW strip but with one single led for every color, like this.
Do you know of that type of led strip is compatible with milight?
Thank you very much for this. this wil help a lot.
I just ordered the next things:
- 1 Wifi ibox2
- 1 Fut036
- 1 white led strip
- 1 Milight E14 bulb.
With these products i can experiment, and make a choice to by more. I really want a RGBWW strip but with one single led for every color, like this.
Do you know of that type of led strip is compatible with milight?
-
- Posts: 30
- Joined: Monday 31 July 2017 15:22
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 3.8153
- Location: Pijnacker
- Contact:
Re: Milight, how good is it?
So what you are saying is:So they all have arived and are getting implemented at home.
I have 2 FUT036 installed and they are working "ok".
I found no real way of getting it in as White, so its runing as RGBWW in Domoticz.
To get the FUT036 work fine you have set the mode of the ibox to RGBWW? cause there is no single color mode for the ibox in domoticz.
When you set the mode to "White with adjustable color temperature" it will not work?
Is that correct?
-
- Posts: 667
- Joined: Wednesday 08 March 2017 9:42
- Target OS: Linux
- Domoticz version: 3.8993
- Location: Amsterdam
- Contact:
Re: Milight, how good is it?
Off.topic: there is a Milight gateway emulator. Check github. You can add as many virtual remotes so unlimited groups. I replaced my Milight gateway for this one. Have 7 remotes * 4 groups. 28 bulbs individual controlled.
Verzonden vanaf mijn iPhone met Tapatalk Pro
Verzonden vanaf mijn iPhone met Tapatalk Pro
RPi3 B+, Debain Stretch, Domoticz, Homebridge, Dashticz, RFLink, Milight, Z-Wave, Fibaro, Nanoleaf, Nest, Harmony Hub, Now try to understand pass2php
-
- Posts: 30
- Joined: Monday 31 July 2017 15:22
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 3.8153
- Location: Pijnacker
- Contact:
Re: Milight, how good is it?
Sound great, i will try it this weekendpoudenes wrote:Off.topic: there is a Milight gateway emulator. Check github. You can add as many virtual remotes so unlimited groups. I replaced my Milight gateway for this one. Have 7 remotes * 4 groups. 28 bulbs individual controlled.
Verzonden vanaf mijn iPhone met Tapatalk Pro
-
- Posts: 30
- Joined: Monday 31 July 2017 15:22
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 3.8153
- Location: Pijnacker
- Contact:
Re: Milight, how good is it?
denman091 wrote: ↑Thursday 13 September 2018 10:46Did you mean this one: https://github.com/pfink/rfled-server-pythonpoudenes wrote:Off.topic: there is a Milight gateway emulator. Check github. You can add as many virtual remotes so unlimited groups. I replaced my Milight gateway for this one. Have 7 remotes * 4 groups. 28 bulbs individual controlled.
-
- Posts: 667
- Joined: Wednesday 08 March 2017 9:42
- Target OS: Linux
- Domoticz version: 3.8993
- Location: Amsterdam
- Contact:
Re: Milight, how good is it?
RPi3 B+, Debain Stretch, Domoticz, Homebridge, Dashticz, RFLink, Milight, Z-Wave, Fibaro, Nanoleaf, Nest, Harmony Hub, Now try to understand pass2php
-
- Posts: 30
- Joined: Monday 31 July 2017 15:22
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 3.8153
- Location: Pijnacker
- Contact:
Re: Milight, how good is it?
Which remote you have used to link the fut036 in de milight app?Melotron wrote: So they all have arived and are getting implemented at home.
I have 2 FUT036 installed and they are working "ok".
I found no real way of getting it in as White, so its runing as RGBWW in Domoticz.
-
- Posts: 40
- Joined: Sunday 07 January 2018 15:36
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Milight, how good is it?
Sounds greatpoudenes wrote: ↑Thursday 13 September 2018 0:32 Off.topic: there is a Milight gateway emulator. Check github. You can add as many virtual remotes so unlimited groups. I replaced my Milight gateway for this one. Have 7 remotes * 4 groups. 28 bulbs individual controlled.
Verzonden vanaf mijn iPhone met Tapatalk Pro
Got problems since a week with my bridge... disconnecting and loosing "link". I have to unplug/replug the usb power several times per day....
Version: 2024.1
Build Hash: 5279c8261
Compile Date: 2024-01-01 12:59:22
dzVents Version: 3.1.8
Python Version: 3.9.2
Raspbian Bullseye
Raspberry3B+
RFLINK R48.4
Build Hash: 5279c8261
Compile Date: 2024-01-01 12:59:22
dzVents Version: 3.1.8
Python Version: 3.9.2
Raspbian Bullseye
Raspberry3B+
RFLINK R48.4
-
- Posts: 667
- Joined: Wednesday 08 March 2017 9:42
- Target OS: Linux
- Domoticz version: 3.8993
- Location: Amsterdam
- Contact:
Re: Milight, how good is it?
Ehmmm... Mine is running for weeks now without any problem. Is your power supply 2.5a?redfirebrooks wrote:Sounds greatpoudenes wrote: ↑Thursday 13 September 2018 0:32 Off.topic: there is a Milight gateway emulator. Check github. You can add as many virtual remotes so unlimited groups. I replaced my Milight gateway for this one. Have 7 remotes * 4 groups. 28 bulbs individual controlled.
Verzonden vanaf mijn iPhone met Tapatalk Pro
Got problems since a week with my bridge... disconnecting and loosing "link". I have to unplug/replug the usb power several times per day....
Verzonden vanaf mijn iPhone met Tapatalk Pro
RPi3 B+, Debain Stretch, Domoticz, Homebridge, Dashticz, RFLink, Milight, Z-Wave, Fibaro, Nanoleaf, Nest, Harmony Hub, Now try to understand pass2php
Who is online
Users browsing this forum: No registered users and 1 guest