Re: RFlink firmware R43 is available now!
Posted: Monday 26 September 2016 18:56
you buy rflink with NRF24L01 or you install own module ?
Open source Home Automation System
https://forum.domoticz.com/
mm how can i learn a milight only on the rflink and not on the milight bridge?farhanito wrote:My Milights work fine with R43, both RGBW and Dual white.
Code: Select all
osmc@osmc:~$ cat < /dev/ttyUSB0 20;8C;PONG; 20;8D;PONG; 20;8E;VER=1.1;REV=43;BUILD=0a; 20;8F;PONG; 20;00;Nodo RadioFrequencyLink - RFLink Gateway V1.1 - R43; 20;01;MiLight=ON; 20;02;PONG;
Derik wrote:mm how can i learn a milight only on the rflink and not on the milight bridge?farhanito wrote:My Milights work fine with R43, both RGBW and Dual white.
Code: Select all
osmc@osmc:~$ cat < /dev/ttyUSB0 20;8C;PONG; 20;8D;PONG; 20;8E;VER=1.1;REV=43;BUILD=0a; 20;8F;PONG; 20;00;Nodo RadioFrequencyLink - RFLink Gateway V1.1 - R43; 20;01;MiLight=ON; 20;02;PONG;
Code: Select all
Q: how to pair Milight bulbs without the original Milight remote control in Domoticz?
A: First check what Milight bulbs you have.
1. Dual white (warm white/cold white) or RGB
2. RGBW
3. RGBWW
Each of the above 3 types has its own protocol.
In case of 1: follow the procedure below at A In case of 2: follow the procedure below at B In case of 3: The RGBWW protocol is not fully implemented yet! We are working on it and hope to have some good news soon.
A) Here is the full procedure to pair a Milight bulb without a remote and use it in Domoticz:
- Go to settings/hardware
- Select "Create RFLink Devices" (if you do not have this option then update to a more recent [beta] version)
- Enter: 10;MiLightv1;5A8294;01;0000;PAIR;
- Power on the Miligh bulb and within 3 seconds press OK to send the entered command
- Bulb will flash 3 times to indicate it is paired
- Again select "Create RFLink Devices"
- Enter: 20;17;MiLightv1;ID=5A8294;SWITCH=01;RGB=8690;CMD=ON;
- Press OK
- Go to settings/devices and press the green arrow to get the bulb under the switches tab
- Go to the switches tab, select the new device and choose "modify"
- Modify the switch type to "Dimmer"
Now you have full control over the bulb.
In the above explanation you can change the ID from 5A8294 to any value you like as long as it starts with 5A!!
B) Here is the full procedure to pair a Milight bulb without a remote and use it in Domoticz:
- Go to settings/hardware
- Select "Create RFLink Devices" (if you do not have this option then update to a more recent [beta] version)
- Enter: 10;MiLightv1;F746;01;34BC;PAIR;
- Power on the Miligh bulb and within 3 seconds press OK to send the entered command
- Bulb will flash 3 times to indicate it is paired
- Again select "Create RFLink Devices"
- Enter: 20;17;MiLightv1;ID=F746;SWITCH=01;RGBW=8690;CMD=ON;
- Press OK
- Go to settings/devices and press the green arrow to get the bulb under the switches tab
- Go to the switches tab, select the new device and choose "modify"
- Modify the switch type to "Dimmer"
Now you have full control over the bulb.
In the above explanation you can change the ID from F746 to any value you like.
You can also change the zone number from 01 to 01/02/03/04 to have the device matching one of the 4 buttons on a remote control.
You can also change the zone from 01 to 00 to only have the bulb active under the zone address.
When you make changes, you need to change them on both commands.
For example:
10;MiLightv1;F746;01;34BC;PAIR; => 10;MiLightv1;0634;03;34BC;PAIR;
20;17;MiLightv1;ID=F746;SWITCH=01;RGBW=8690;CMD=ON; => 20;17;MiLightv1;ID=0634;SWITCH=03;RGBW=8690;CMD=ON;
You can also use RFLink Loader or any terminal program to issue manual commands.
If you get the readings from the pulse counter, I think RFLink does it's job. Now you have to use a script to convert the reading to kWh and update virtual device in Domoticz. Newer versions of Foogadget's pulse counter emulates RFXMeter so you get kWh reading directly if you use RFXCom receiver. RFLink does not support RFXMeter protocol, I think. Surely you'll get the script sample if you contact Foogadget.lassiko wrote:I have an existing 433mhz wireless pulse counter from a foogadgets which i used with my old home automation system. I was able to use it to measure electric consumptios from a blinking led. It uses fineoffset2 protocol to send the data. Is it possible to get this to work with Rflink + domoticz? This is how it shows in a device list: "RFLink 0444 0 FineOffset2 Temp + Humidity WTGR800 0.0 C, 17 %"
Thank you!