RFlink firmware R43 is available now!

433Mhz opensource Receiver & Transmitter.

Moderators: leecollings, Stuntteam

piokuc

Re: RFlink firmware R43 is available now!

Post by piokuc »

you buy rflink with NRF24L01 or you install own module ?
farhanito
Posts: 34
Joined: Friday 19 August 2016 5:39
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: RFlink firmware R43 is available now!

Post by farhanito »

Built my own using arduino mega and modules
piokuc

Re: RFlink firmware R43 is available now!

Post by piokuc »

and module you connect to board arduino mega or connect to rflink board ?
farhanito
Posts: 34
Joined: Friday 19 August 2016 5:39
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: RFlink firmware R43 is available now!

Post 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)
piokuc

Re: RFlink firmware R43 is available now!

Post 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....
Derik
Posts: 1602
Joined: Friday 18 October 2013 23:33
Target OS: Raspberry Pi / ODroid
Domoticz version: BETA
Location: Arnhem/Nijmegen Nederland
Contact:

Re: RFlink firmware R43 is available now!

Post 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?
Xu4: Beta Extreme antenna RFXcomE,WU Fi Ping ip P1 Gen5 PVOutput Harmony HUE SolarmanPv OTG Winddelen Alive ESP Buienradar MySensors WOL Winddelen counting RPi: Beta SMAspot RFlinkTest Domoticz ...Different backups
piokuc

Re: RFlink firmware R43 is available now!

Post 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 3605 times
Derik
Posts: 1602
Joined: Friday 18 October 2013 23:33
Target OS: Raspberry Pi / ODroid
Domoticz version: BETA
Location: Arnhem/Nijmegen Nederland
Contact:

Re: RFlink firmware R43 is available now!

Post by Derik »

How do i include a milight
Xu4: Beta Extreme antenna RFXcomE,WU Fi Ping ip P1 Gen5 PVOutput Harmony HUE SolarmanPv OTG Winddelen Alive ESP Buienradar MySensors WOL Winddelen counting RPi: Beta SMAspot RFlinkTest Domoticz ...Different backups
piokuc

Re: RFlink firmware R43 is available now!

Post by piokuc »

look previus post


Stuntteam please add to translation string: Create RFLink Devices because it is not translated true in polish lang.
lipon67
Posts: 3
Joined: Thursday 29 September 2016 20:54
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: RFlink firmware R43 is available now!

Post 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
Attachments
RFLink1.1R43-BALDR-B0317-Debug.txt
(9.44 KiB) Downloaded 92 times
ericorso
Posts: 3
Joined: Monday 14 March 2016 16:35
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: RFlink firmware R43 is available now!

Post 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;
lassiko
Posts: 15
Joined: Tuesday 04 October 2016 22:46
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: RFlink firmware R43 is available now!

Post 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!
User avatar
Stuntteam
Posts: 399
Joined: Wednesday 06 May 2015 16:39
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: RFlink firmware R43 is available now!

Post by Stuntteam »

@lipon67 & ericorso: baldr is being worked on.
@lassiko: make a debug log and mail it to [email protected]
-=# RFLink Gateway Development Team #=-
Introduction: http://www.nemcon.nl/blog2/
Generic RFLink Support forum: http://www.esp8266.nu/forum/viewforum.php?f=8
lassiko
Posts: 15
Joined: Tuesday 04 October 2016 22:46
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: RFlink firmware R43 is available now!

Post 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.
Last edited by lassiko on Tuesday 11 October 2016 13:20, edited 1 time in total.
piokuc

Re: RFlink firmware R43 is available now!

Post 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... ?
deennoo
Posts: 784
Joined: Wednesday 10 December 2014 13:06
Target OS: Linux
Domoticz version: beta
Location: Bordeaux France
Contact:

Re: RFlink firmware R43 is available now!

Post 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
Domoticz stable 3.5877 for real & Domoticz beta for test
Rfxtrxe / RFLink / Milight / Yeelight / Tasmota / MQTT / BLE / Zigate
http://domo-attitude.fr
piokuc

Re: RFlink firmware R43 is available now!

Post by piokuc »

Classic switch ok but i need dimmer function...
deennoo
Posts: 784
Joined: Wednesday 10 December 2014 13:06
Target OS: Linux
Domoticz version: beta
Location: Bordeaux France
Contact:

Re: RFlink firmware R43 is available now!

Post 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.
Domoticz stable 3.5877 for real & Domoticz beta for test
Rfxtrxe / RFLink / Milight / Yeelight / Tasmota / MQTT / BLE / Zigate
http://domo-attitude.fr
piokuc

Re: RFlink firmware R43 is available now!

Post 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.
oopee
Posts: 40
Joined: Monday 12 August 2013 11:15
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.x
Location: Finland
Contact:

Re: RFlink firmware R43 is available now!

Post 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.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest