Page 2 of 3

Re: RFlink firmware R43 is available now!

Posted: Monday 26 September 2016 18:56
by piokuc
you buy rflink with NRF24L01 or you install own module ?

Re: RFlink firmware R43 is available now!

Posted: Monday 26 September 2016 19:34
by farhanito
Built my own using arduino mega and modules

Re: RFlink firmware R43 is available now!

Posted: Monday 26 September 2016 19:35
by piokuc
and module you connect to board arduino mega or connect to rflink board ?

Re: RFlink firmware R43 is available now!

Posted: Monday 26 September 2016 19:58
by farhanito
I'm not using rflink board. Modules directly connected to mega.

======
The only problem with milight WW/CW is how to set color temperature.. Domoticz treat it as RGB bulb and showing color palette instead of 2 slider (brightness and color temp)

Re: RFlink firmware R43 is available now!

Posted: Monday 26 September 2016 20:18
by piokuc
OK fine !!! :)
Connected to my Arduino Mega second module NRF24L01+ and Milight works now :) Thanks for Help :)

But i have a question. I have Milight led dual white. And when i add controlling to Domoticz as is describe on http://www.nemcon.nl/blog2/faq
Now i have a buuton in Domoticz with setting colors. But how change to only switch on/off with dimmer ? Because for white led i can not set color.

Second question
How i can add remote to also control this leds and i can see in domoticz change status... Example.
When i turn on led by remote i want see change status in Domoticz....

Re: RFlink firmware R43 is available now!

Posted: Monday 26 September 2016 22:21
by Derik
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;
mm how can i learn a milight only on the rflink and not on the milight bridge?

Re: RFlink firmware R43 is available now!

Posted: Tuesday 27 September 2016 7:47
by piokuc
Derik wrote:
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;
mm how can i learn a milight only on the rflink and not on the milight bridge?

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.

I found bug that MiLight White is use in Domoticz from RFLink as subtype: RGB. Should be use as WHITE. This subtype is use for Milight WIFI controller. Becuase now for button from leds white user can setup colors. It is wrong. Look on my screen:
ledy.jpg
ledy.jpg (218.24 KiB) Viewed 3609 times

Re: RFlink firmware R43 is available now!

Posted: Tuesday 27 September 2016 7:57
by Derik
How do i include a milight

Re: RFlink firmware R43 is available now!

Posted: Tuesday 27 September 2016 7:58
by piokuc
look previus post


Stuntteam please add to translation string: Create RFLink Devices because it is not translated true in polish lang.

Re: RFlink firmware R43 is available now!

Posted: Thursday 29 September 2016 20:57
by lipon67
Hello,
it's written BALDR B0317 as supported device but my wireless sensor gives only data in debug mode. Debug in attachment.
Thanks for your help.
Philippe

Re: RFlink firmware R43 is available now!

Posted: Wednesday 05 October 2016 20:56
by ericorso
Hello,
Same problem as with Baldur lipon67 bo 317.
Thank you

Channel 1 28,3c 38%RH
20;61;DEBUG;Pulses=196;Pulses(uSec)=180,150,390,120,390,150,150,390,150,390,390,150,390,150,150,870,630,630,630,630,630,630,660,630,390,150,150,390,390,150,390,150,150,390,150,390,390,150,390,150,150,390,390,150,150,390,390,120,150,390,390,150,390,150,150,390,390,150,390,150,150,390,150,390,150,390,150,390,150,390,390,150,150,390,150,390,390,150,150,390,390,150,150,390,150,390,390,150,390,150,390,150,390,150,390,150,150,390,150,390,390,150,390,150,150,870,630,630,630,630,630,630,630,630,390,150,150,390,390,150,390,150,150,390,150,390,390,120,390,150,150,390,390,150,150,390,390,150,150,390,390,150,390,150,150,390,390,150,390,120,150,390,150,390,150,390,150,390,150,390,390,150,150,390,150,390,390,150,150,390,390,150,150,390,150,390,390,150,390,150,390,150,390,150,390,150,150,390,150,390,390,150,390,150,150,6990;

Re: RFlink firmware R43 is available now!

Posted: Monday 10 October 2016 23:31
by lassiko
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!

Re: RFlink firmware R43 is available now!

Posted: Tuesday 11 October 2016 0:09
by Stuntteam
@lipon67 & ericorso: baldr is being worked on.
@lassiko: make a debug log and mail it to [email protected]

Re: RFlink firmware R43 is available now!

Posted: Tuesday 11 October 2016 0:56
by lassiko
@stuntteam: Not quite sure how to make a debug log? I added this to a domoticz.sh: DAEMON_ARGS="-daemon -www 8080 -log /home/pi/log/domoticz.log -loglevel 0"

Will this log provide enough information?

EDIT: Ok it seems i need to connect RFlink to my PC and use RFlinkloader app to get Debug info for you. I will do this later.

Thanks.

Re: RFlink firmware R43 is available now!

Posted: Tuesday 11 October 2016 7:02
by piokuc
But is any chance to change in Domiticz for MiLight to only can on/off and dimmer without window tonsetup color ? Because for white led Milight setup color is no need.


I see that in FW44 will be add controlling Philips... but when we connect module CC2500. Tell me... if i have connected NRF24L01 for Milight i can connect also CC2500 ? Because all module use the same pins on Arduino Mega ?


And is any chance to add all command to pair and etc for somfy and milight to user can choose it from domoticz ? To no need type command by user... ?

Re: RFlink firmware R43 is available now!

Posted: Tuesday 11 October 2016 23:28
by deennoo
Can answer about milight : there is 2 way.

1st use group/scene and put your milight on this with your value (mark white & 90%).

2nd just change your device type to classic on/off switch

Re: RFlink firmware R43 is available now!

Posted: Tuesday 11 October 2016 23:32
by piokuc
Classic switch ok but i need dimmer function...

Re: RFlink firmware R43 is available now!

Posted: Tuesday 11 October 2016 23:47
by deennoo
Scene with various value.

Got a milight group with 4 scene for 4 dimme value (15% -> movie scene, 25% 50% 90%) and to switch off just a scene with off value)

90% scene is pairing to a chacon switch

Other one are activated by a IR remote + irexec script on a kodi rpi.

Re: RFlink firmware R43 is available now!

Posted: Wednesday 12 October 2016 9:24
by piokuc
But i want add original Remote to set as sub device to example fo my led strip.
I learn remote by button LEARN on tab switches but it is problem. Because after learn in devices remote still have status OFF. Never change to ON if i turn ON led strip by remote.
Add remote as sub device will be good becuase i still see status led in Domoticz. If i turn on LED by remote i see it in Domoticz. Wjen off also see in Domoticz.

Re: RFlink firmware R43 is available now!

Posted: Wednesday 12 October 2016 10:39
by oopee
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!
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.