Controlling Milight in Lua with rf24L01+ /rflink

Moderator: leecollings

Post Reply
wimL
Posts: 4
Joined: Saturday 08 July 2017 14:43
Target OS: Linux
Domoticz version: Beta
Location: Bruges Belgium
Contact:

Controlling Milight in Lua with rf24L01+ /rflink

Post by wimL »

Been looking for this for quite a while but cannot seem to find it on the forums.
Is there a way to control colors/ dimmer percentage directly from Lua , with nrf24l01/rflink?
Running on Odroid C2
Domoticz Beta - RfLink+nrf24L01 - Aeotec gen5
4x 3 groups Milight e27/gu10 rgbw - 3x cheap 433Mhz outlet - Aeotec Multisensor 6
wimL
Posts: 4
Joined: Saturday 08 July 2017 14:43
Target OS: Linux
Domoticz version: Beta
Location: Bruges Belgium
Contact:

Re: Controlling Milight in Lua with rf24L01+ /rflink

Post by wimL »

So solved part of the puzzle.

Levels can be set with:

commandarray['Light Living']='Set Level 94'


Something peculiar though, Max level is 94 min level is 15, outside that range the light doesnt respond.
Light colors can be set with scenes. Still looking if that can be done directly.
Running on Odroid C2
Domoticz Beta - RfLink+nrf24L01 - Aeotec gen5
4x 3 groups Milight e27/gu10 rgbw - 3x cheap 433Mhz outlet - Aeotec Multisensor 6
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest