Milight - RFlink

433Mhz opensource Receiver & Transmitter.

Moderator: Stuntteam

Post Reply
poudenes
Posts: 546
Joined: Wednesday 08 March 2017 10:42
Target OS: Linux
Domoticz version: 3.8993
Location: Amsterdam
Contact:

Milight - RFlink

Post by poudenes » Saturday 27 January 2018 19:04

Hi All,

Using Milights with the Milight box. Now have the module to control them using RFLink.
Everything is working but i see some difference between de options:

1) Using Milight Box the lamps also have Kelvin options.

2) Using Milight and RFlink the Kelvin option is gone.

3) Sending command to the lamp to dim them in dzVents it won't work (Maybe because of the missing Kelvin)

4) The lamps are all in Switch Type Dimmer. You can change brightness in device thats working but not in dzVents

Have someone same issues?
RPi3 with OSMC - RPi3 with Domoticz - Dashticz - MiLight - Nanolead Aurora - KaKu - Logitech Hamony - Nest - RFLink

domoticzag
Posts: 24
Joined: Tuesday 13 September 2016 19:39
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: Milight - RFlink

Post by domoticzag » Thursday 01 February 2018 20:44

poudenes wrote:
Saturday 27 January 2018 19:04
Hi All,

Using Milights with the Milight box. Now have the module to control them using RFLink.
Everything is working but i see some difference between de options:

1) Using Milight Box the lamps also have Kelvin options.

2) Using Milight and RFlink the Kelvin option is gone.

3) Sending command to the lamp to dim them in dzVents it won't work (Maybe because of the missing Kelvin)

4) The lamps are all in Switch Type Dimmer. You can change brightness in device thats working but not in dzVents

Have someone same issues?
I have the exact same isseus, this way, rflink is not workable for RGB+CCT for me. Is there a solution to this?

I bought the NFR module to replace the Milight Ibox v3
Last edited by domoticzag on Thursday 01 February 2018 20:51, edited 1 time in total.
RPi 3
Domoticz Béta
RFLink Gateway dipool antenna
Many kaku devices
P1 smart meter
Custom made ESP8266 devices
Hue lights / Milight ligts and strips

User avatar
Stuntteam
Posts: 436
Joined: Wednesday 06 May 2015 16:39
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: Milight - RFlink

Post by Stuntteam » Thursday 01 February 2018 20:48

Whats dzVents or what can I do to get an idea of how Kelvin is used?
-=# RFLink Gateway Development Team #=-
Introduction: http://www.nemcon.nl/blog2/
Generic RFLink Support forum: http://www.esp8266.nu/forum/viewforum.php?f=8

poudenes
Posts: 546
Joined: Wednesday 08 March 2017 10:42
Target OS: Linux
Domoticz version: 3.8993
Location: Amsterdam
Contact:

Re: Milight - RFlink

Post by poudenes » Thursday 01 February 2018 21:31

Stuntteam wrote:
Thursday 01 February 2018 20:48
Whats dzVents or what can I do to get an idea of how Kelvin is used?
dzVents is easy scripting same as LUA. See Wiki: http://www.domoticz.com/wiki/DzVents:_n ... _scripting

Here a example of my dzVents script:

behind the scenes the dzVents system have many action to activate the action within Domoticz and its devices.
(Danny correct me if i'm wrong)

Code: Select all

local Version               = '18.01.24'
local MasterBedroomSwitch	= 90
local MasterBedroom		    = 7

return {
    active = true,
    on = {
        devices = {MasterBedroomSwitch},
    },
    logging = {marker = 'SLAAPKAMER Switch ' ..Version..'......'},
    execute = function(domoticz, device)

    if
    domoticz.devices(MasterBedroomSwitch).state == 'On'
    then
        domoticz.devices(MasterBedroom).dimTo(100)
        domoticz.devices(MasterBedroom).setKelvin(5000)
        domoticz.log('--------------------------------------------------------------', domoticz.LOG_FORCE)
        domoticz.log('-------------------==<[ SLAAPKAMER AAN ]>==-------------------', domoticz.LOG_FORCE)
        domoticz.log('--------------------------------------------------------------', domoticz.LOG_FORCE)

    elseif
    domoticz.devices(MasterBedroomSwitch).state == 'Off'
    then
        domoticz.devices(MasterBedroom).dimTo(5)
        domoticz.devices(MasterBedroom).switchOff().afterSec(1)
        domoticz.log('--------------------------------------------------------------', domoticz.LOG_FORCE)
        domoticz.log('-------------------==<[ SLAAPKAMER UIT ]>==-------------------', domoticz.LOG_FORCE)
        domoticz.log('--------------------------------------------------------------', domoticz.LOG_FORCE)
        end
    end
}
RPi3 with OSMC - RPi3 with Domoticz - Dashticz - MiLight - Nanolead Aurora - KaKu - Logitech Hamony - Nest - RFLink

domoticzag
Posts: 24
Joined: Tuesday 13 September 2016 19:39
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: Milight - RFlink

Post by domoticzag » Friday 02 February 2018 19:05

poudenes wrote:
Thursday 01 February 2018 21:31
Stuntteam wrote:
Thursday 01 February 2018 20:48
Whats dzVents or what can I do to get an idea of how Kelvin is used?
dzVents is easy scripting same as LUA. See Wiki: http://www.domoticz.com/wiki/DzVents:_n ... _scripting

Here a example of my dzVents script:

behind the scenes the dzVents system have many action to activate the action within Domoticz and its devices.
(Danny correct me if i'm wrong)

Code: Select all

local Version               = '18.01.24'
local MasterBedroomSwitch	= 90
local MasterBedroom		    = 7

return {
    active = true,
    on = {
        devices = {MasterBedroomSwitch},
    },
    logging = {marker = 'SLAAPKAMER Switch ' ..Version..'......'},
    execute = function(domoticz, device)

    if
    domoticz.devices(MasterBedroomSwitch).state == 'On'
    then
        domoticz.devices(MasterBedroom).dimTo(100)
        domoticz.devices(MasterBedroom).setKelvin(5000)
        domoticz.log('--------------------------------------------------------------', domoticz.LOG_FORCE)
        domoticz.log('-------------------==<[ SLAAPKAMER AAN ]>==-------------------', domoticz.LOG_FORCE)
        domoticz.log('--------------------------------------------------------------', domoticz.LOG_FORCE)

    elseif
    domoticz.devices(MasterBedroomSwitch).state == 'Off'
    then
        domoticz.devices(MasterBedroom).dimTo(5)
        domoticz.devices(MasterBedroom).switchOff().afterSec(1)
        domoticz.log('--------------------------------------------------------------', domoticz.LOG_FORCE)
        domoticz.log('-------------------==<[ SLAAPKAMER UIT ]>==-------------------', domoticz.LOG_FORCE)
        domoticz.log('--------------------------------------------------------------', domoticz.LOG_FORCE)
        end
    end
}
Your understanding us wrong i think.
I mean with original Milight Bridge I get this for RGB CCT lamps:
keukenspots.PNG
keukenspots.PNG (120.88 KiB) Viewed 1156 times
With the RFLINK I only get these options:
nachtkastje.PNG
nachtkastje.PNG (111.05 KiB) Viewed 1156 times
RPi 3
Domoticz Béta
RFLink Gateway dipool antenna
Many kaku devices
P1 smart meter
Custom made ESP8266 devices
Hue lights / Milight ligts and strips

domoticzag
Posts: 24
Joined: Tuesday 13 September 2016 19:39
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: Milight - RFlink

Post by domoticzag » Friday 02 February 2018 19:15

poudenes wrote:
Thursday 01 February 2018 21:31
Stuntteam wrote:
Thursday 01 February 2018 20:48
Whats dzVents or what can I do to get an idea of how Kelvin is used?
dzVents is easy scripting same as LUA. See Wiki: http://www.domoticz.com/wiki/DzVents:_n ... _scripting

Here a example of my dzVents script:

behind the scenes the dzVents system have many action to activate the action within Domoticz and its devices.
(Danny correct me if i'm wrong)

Code: Select all

local Version               = '18.01.24'
local MasterBedroomSwitch	= 90
local MasterBedroom		    = 7

return {
    active = true,
    on = {
        devices = {MasterBedroomSwitch},
    },
    logging = {marker = 'SLAAPKAMER Switch ' ..Version..'......'},
    execute = function(domoticz, device)

    if
    domoticz.devices(MasterBedroomSwitch).state == 'On'
    then
        domoticz.devices(MasterBedroom).dimTo(100)
        domoticz.devices(MasterBedroom).setKelvin(5000)
        domoticz.log('--------------------------------------------------------------', domoticz.LOG_FORCE)
        domoticz.log('-------------------==<[ SLAAPKAMER AAN ]>==-------------------', domoticz.LOG_FORCE)
        domoticz.log('--------------------------------------------------------------', domoticz.LOG_FORCE)

    elseif
    domoticz.devices(MasterBedroomSwitch).state == 'Off'
    then
        domoticz.devices(MasterBedroom).dimTo(5)
        domoticz.devices(MasterBedroom).switchOff().afterSec(1)
        domoticz.log('--------------------------------------------------------------', domoticz.LOG_FORCE)
        domoticz.log('-------------------==<[ SLAAPKAMER UIT ]>==-------------------', domoticz.LOG_FORCE)
        domoticz.log('--------------------------------------------------------------', domoticz.LOG_FORCE)
        end
    end
}
This is the result of the following script, any idea why kelvin isnt working?
23.PNG
23.PNG (12.91 KiB) Viewed 1154 times
15.PNG
15.PNG (33.9 KiB) Viewed 1154 times
RPi 3
Domoticz Béta
RFLink Gateway dipool antenna
Many kaku devices
P1 smart meter
Custom made ESP8266 devices
Hue lights / Milight ligts and strips

poudenes
Posts: 546
Joined: Wednesday 08 March 2017 10:42
Target OS: Linux
Domoticz version: 3.8993
Location: Amsterdam
Contact:

Re: Milight - RFlink

Post by poudenes » Friday 02 February 2018 20:42

Because i run latest beta with dzVents 2.4.0 version
domoticzag wrote:
Friday 02 February 2018 19:15
poudenes wrote:
Thursday 01 February 2018 21:31
Stuntteam wrote:
Thursday 01 February 2018 20:48
Whats dzVents or what can I do to get an idea of how Kelvin is used?
dzVents is easy scripting same as LUA. See Wiki: http://www.domoticz.com/wiki/DzVents:_n ... _scripting

Here a example of my dzVents script:

behind the scenes the dzVents system have many action to activate the action within Domoticz and its devices.
(Danny correct me if i'm wrong)

Code: Select all

local Version               = '18.01.24'
local MasterBedroomSwitch	= 90
local MasterBedroom		    = 7

return {
    active = true,
    on = {
        devices = {MasterBedroomSwitch},
    },
    logging = {marker = 'SLAAPKAMER Switch ' ..Version..'......'},
    execute = function(domoticz, device)

    if
    domoticz.devices(MasterBedroomSwitch).state == 'On'
    then
        domoticz.devices(MasterBedroom).dimTo(100)
        domoticz.devices(MasterBedroom).setKelvin(5000)
        domoticz.log('--------------------------------------------------------------', domoticz.LOG_FORCE)
        domoticz.log('-------------------==<[ SLAAPKAMER AAN ]>==-------------------', domoticz.LOG_FORCE)
        domoticz.log('--------------------------------------------------------------', domoticz.LOG_FORCE)

    elseif
    domoticz.devices(MasterBedroomSwitch).state == 'Off'
    then
        domoticz.devices(MasterBedroom).dimTo(5)
        domoticz.devices(MasterBedroom).switchOff().afterSec(1)
        domoticz.log('--------------------------------------------------------------', domoticz.LOG_FORCE)
        domoticz.log('-------------------==<[ SLAAPKAMER UIT ]>==-------------------', domoticz.LOG_FORCE)
        domoticz.log('--------------------------------------------------------------', domoticz.LOG_FORCE)
        end
    end
}
This is the result of the following script, any idea why kelvin isnt working?
23.PNG

15.PNG
RPi3 with OSMC - RPi3 with Domoticz - Dashticz - MiLight - Nanolead Aurora - KaKu - Logitech Hamony - Nest - RFLink

poudenes
Posts: 546
Joined: Wednesday 08 March 2017 10:42
Target OS: Linux
Domoticz version: 3.8993
Location: Amsterdam
Contact:

Re: Milight - RFlink

Post by poudenes » Friday 02 February 2018 20:43

Correct. I have same difference with the devices. The Kelvin is missing.
domoticzag wrote:
Friday 02 February 2018 19:05
poudenes wrote:
Thursday 01 February 2018 21:31
Stuntteam wrote:
Thursday 01 February 2018 20:48
Whats dzVents or what can I do to get an idea of how Kelvin is used?
dzVents is easy scripting same as LUA. See Wiki: http://www.domoticz.com/wiki/DzVents:_n ... _scripting

Here a example of my dzVents script:

behind the scenes the dzVents system have many action to activate the action within Domoticz and its devices.
(Danny correct me if i'm wrong)

Code: Select all

local Version               = '18.01.24'
local MasterBedroomSwitch	= 90
local MasterBedroom		    = 7

return {
    active = true,
    on = {
        devices = {MasterBedroomSwitch},
    },
    logging = {marker = 'SLAAPKAMER Switch ' ..Version..'......'},
    execute = function(domoticz, device)

    if
    domoticz.devices(MasterBedroomSwitch).state == 'On'
    then
        domoticz.devices(MasterBedroom).dimTo(100)
        domoticz.devices(MasterBedroom).setKelvin(5000)
        domoticz.log('--------------------------------------------------------------', domoticz.LOG_FORCE)
        domoticz.log('-------------------==<[ SLAAPKAMER AAN ]>==-------------------', domoticz.LOG_FORCE)
        domoticz.log('--------------------------------------------------------------', domoticz.LOG_FORCE)

    elseif
    domoticz.devices(MasterBedroomSwitch).state == 'Off'
    then
        domoticz.devices(MasterBedroom).dimTo(5)
        domoticz.devices(MasterBedroom).switchOff().afterSec(1)
        domoticz.log('--------------------------------------------------------------', domoticz.LOG_FORCE)
        domoticz.log('-------------------==<[ SLAAPKAMER UIT ]>==-------------------', domoticz.LOG_FORCE)
        domoticz.log('--------------------------------------------------------------', domoticz.LOG_FORCE)
        end
    end
}
Your understanding us wrong i think.
I mean with original Milight Bridge I get this for RGB CCT lamps:
keukenspots.PNG
With the RFLINK I only get these options:
nachtkastje.PNG
RPi3 with OSMC - RPi3 with Domoticz - Dashticz - MiLight - Nanolead Aurora - KaKu - Logitech Hamony - Nest - RFLink

poudenes
Posts: 546
Joined: Wednesday 08 March 2017 10:42
Target OS: Linux
Domoticz version: 3.8993
Location: Amsterdam
Contact:

Re: Milight - RFlink

Post by poudenes » Monday 05 February 2018 18:12

But can we look to this and do some tests? And see if we can solve this?
RPi3 with OSMC - RPi3 with Domoticz - Dashticz - MiLight - Nanolead Aurora - KaKu - Logitech Hamony - Nest - RFLink

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest