Page 3 of 7
Re: RFLink - USB Gateway - Introduction
Posted: Thursday 05 November 2015 20:33
by Backbone
Hello Stuntteam,
OK, got the RF-link to work and all button presses from the two remotes are recorded and they are now nicely added in the Devices section.

- K1.JPG (81.12 KiB) Viewed 6924 times
Can I use a custom message to perform an action to switch ON/OFF with the socket?
Which code and where to place?
Am I on the rigth track?

- k2.JPG (116.57 KiB) Viewed 6924 times
If I make a .lua script for the switching which code do I have to use so the RF-link transmits them?
Will the
Code: Select all
-- script to check a temperature and swicth on/off a 433 switch
commandArray = {}
if (devicechanged['CV aanvoer_Temperature']) then
temp = tonumber(devicechanged['CV aanvoer_Temperature'])
if (temp >= 25.0) then
commandArray['000FBE63, 0']='on'
commandArray['CV aan/uit']='on'
print ('vloerpomp aan')
end
if (temp <= 23.0 ) then
commandArray['000FBE63, 0']='off'
commandArray['CV aan/uit']='off'
print ('vloerpomp uit')
end
end
return commandArray
Your guidance would be appriciated as I could not google anywhere the info.
Paco
Re: RFLink - USB Gateway - Introduction
Posted: Friday 06 November 2015 1:18
by Stuntteam
Hm.. isnt that what the event system is used for?
There you can use components / building blocks to create an event (gebeurtenis)
Like for example: if sensor "outside" is above 20 degrees turn switch airco on
Re: RFLink - USB Gateway - Introduction
Posted: Friday 06 November 2015 6:15
by Backbone
Stuntteam,
If you are refering to Blocky inside DMZ this does not work for temps actions.
I already found out that blocky does not support this thermostat compare function todo an action so I have to revert back to scripts which is no problem as long as I know which code to implement and use.
viewtopic.php?f=6&t=4347&start=20
Paco
Re: RFLink - USB Gateway - Introduction
Posted: Friday 06 November 2015 11:26
by Stuntteam
You might want to check:
http://www.domoticz.com/forum/viewtopic.php?f=15&t=7799
It seems it was initially not working in Blocky but that should have been fixed recently.
In Lua, I figure you need to change the "switch" as Domoticz knows it.
So if you have for example a KAKU switch added to Domoticz as "Heater 1".. then you would change the state of "Heater 1".
If you would send a command directly to rflink the state of "Heater 1" would probably not be updated.
To know how commands are send to rflink, simply change the state of one of your switches and check the logfile..
It will show the command that was send.
Re: RFLink - USB Gateway - Introduction
Posted: Saturday 14 November 2015 16:23
by voorstad
Hi. Just received my RFLink and it seems to work with my Raspberry PI and KaKu APA3-1500R wallplugs. Great job.
I have a Friedland Libra+ 868Mhz doorbell (
http://www.friedland.eu/fileadmin/produ ... /d912s.pdf) If that could be added to the RFLink, it would be even better!
Stuntteam / Nodo, thanks for the good work!
Re: RFLink - USB Gateway - Introduction
Posted: Sunday 15 November 2015 16:19
by Ierlandfan
Do I need an extra module (board/transceiver) for 443 AND 868 mhz devices? Or do I need 2 Rflink devices with 2 different transceivers?
Re: RFLink - USB Gateway - Introduction
Posted: Monday 16 November 2015 14:37
by supertrekker
Hi,
Which ports do I use on Mega and ESP8266 to connect them together.
Henk.

Re: RFLink - USB Gateway - Introduction
Posted: Monday 16 November 2015 16:05
by locogek
Supertrekker look at his website that he put on the first post of this forum!
Verstuurd vanaf mijn ONE A2003 met Tapatalk
Re: RFLink - USB Gateway - Introduction
Posted: Tuesday 17 November 2015 15:39
by locogek
Is it so hard to just type in the right thing in google? I found it in less than 20 seconds.
Here you go:
http://www.nemcon.nl/blog2/2015/07/aa
Re: RFLink - USB Gateway - Introduction
Posted: Tuesday 17 November 2015 17:29
by Stuntteam
Controlling RFLink via an ESP8266 is still experimental..
Re: RFLink - USB Gateway - Introduction
Posted: Tuesday 17 November 2015 17:48
by locogek
Oh sorry you want to connect the ESP8266. Stupid read over it. As said that is experimental.
Verstuurd vanaf mijn ONE A2003 met Tapatalk
Re: RFLink - USB Gateway - Introduction
Posted: Tuesday 17 November 2015 20:40
by Raspberry Piet
You might want to read those posts about RFLink/ESP8266 with Ser2Net:
http://www.domoticz.com/forum/viewtopic.php?f=49&t=8797
http://www.esp8266.nu/forum/viewtopic.php?f=6&t=242
Connect your ESP8266 RX/TX to Arduino Mega RX0/TX0 (via level convertor)
Re: RFLink - USB Gateway - Introduction
Posted: Sunday 22 November 2015 18:30
by Toulon7559
@Stuntteam
If both RFXCom and RFLinkGateway would be connected to Domoticz@Raspberry, at which /dev/ttyUSBx must RFLinkGateway then be set (to avoid conflicts)?
Is Domoticz - under Hardware Dashboard- atuomatically offering that setting? Or is 'manual work' required?
Re: RFLink - USB Gateway - Introduction
Posted: Sunday 22 November 2015 20:37
by SweetPants
Toulon7559 wrote:Is Domoticz - under Hardware Dashboard- atuomatically offering that setting? Or is 'manual work' required?
It can work, but you have to make your TTY ports persistent. Google for TTYUSB persistent or
https://www.domoticz.com/wiki/PersistentUSBDevices
Re: RFLink - USB Gateway - Introduction
Posted: Tuesday 24 November 2015 12:56
by alexsh1
Do you plan to support "lightwaveRF" please and when if yes?
I think that the gateway is more designed to support the Dutch products and personally I'll be postponing building it until there is a support for some of my existing devices (like lightwaveRF).
Re: RFLink - USB Gateway - Introduction
Posted: Tuesday 24 November 2015 13:44
by Stuntteam
If all goes well, next release should have support for lightwave rf..
Re: RFLink - USB Gateway - Introduction
Posted: Tuesday 24 November 2015 14:21
by ThinkPad
It is not as easy as you suppose (when is it implemented) i guess....
The developer needs people to test it, and submit him logfiles of new devices.
So if you are really interested, i would say; build one and see if you can provide the author with some logfiles of your devices.
Or send some of your devices to the author so he can implement them and send you the devices back.
Edit: I see you're lucky and support for lightwaveRF is already coming.
Re: RFLink - USB Gateway - Introduction
Posted: Wednesday 25 November 2015 2:14
by alexsh1
Stuntteam wrote:If all goes well, next release should have support for lightwave rf..
Super - thanks
Re: RFLink - USB Gateway - Introduction
Posted: Sunday 10 January 2016 10:57
by IDANIT
Stuntteam wrote:Support for 2.4 GHz is also planned.
Roadmap:
- Add as many 433 Mhz devices as we can find
- Add support for 2.4 GHz communication
- Extend 868 Mhz support
- Get the RFlink Gateway supported by multiple platforms
Stuntteam
any progres with 2.4GHz?
Re: RFLink - USB Gateway - Introduction
Posted: Tuesday 26 January 2016 11:44
by Boots33
That seems to be all ok. mine shows this after i power cycled mine (mine is on synology nas)
2016-01-26 20:32:53.634 Error: Serial Port closed!... Error: End of file
2016-01-26 20:32:53.724 RFLink: serial retrying in 30 seconds...
2016-01-26 20:33:24.272 Error: RFLink: Error opening serial port!
2016-01-26 20:33:24.477 RFLink: serial retrying in 30 seconds...
2016-01-26 20:33:55.009 RFLink: Using serial port: /dev/ttyACM0
If i operate my watts clever remote I can see the green tx light flash on the mega every time i push a button.
It would appear your software side is running but not receiving . Maybe check the receiver section again