How to update RFLink firmware
Moderators: leecollings, Stuntteam
- Stuntteam
- Posts: 399
- Joined: Wednesday 06 May 2015 16:39
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
How to update RFLink firmware
This topic describes an easy method to update the firmware of the RFLink.
Using the RFLink Loader tool:
- Download the latest firmware package from http://sourceforge.net/projects/rflink/ ... urce=files
- Connect the Arduino Mega to a USB port.
- Unpack the zip file to a directory
- Launch the RFLInkLoader.exe program
- Select the file you want to program (which will be the included "rflink.cpp.hex" file)
- Select the serial (USB) port to which the Arduino is connected.
- Hit the "Program" button and wait for the process to finish.
Thats all..
We will try to add firmware updating functionality to Domoticz..
Using the RFLink Loader tool:
- Download the latest firmware package from http://sourceforge.net/projects/rflink/ ... urce=files
- Connect the Arduino Mega to a USB port.
- Unpack the zip file to a directory
- Launch the RFLInkLoader.exe program
- Select the file you want to program (which will be the included "rflink.cpp.hex" file)
- Select the serial (USB) port to which the Arduino is connected.
- Hit the "Program" button and wait for the process to finish.
Thats all..
We will try to add firmware updating functionality to Domoticz..
-=# RFLink Gateway Development Team #=-
Introduction: http://www.nemcon.nl/blog2/
Generic RFLink Support forum: http://www.esp8266.nu/forum/viewforum.php?f=8
Introduction: http://www.nemcon.nl/blog2/
Generic RFLink Support forum: http://www.esp8266.nu/forum/viewforum.php?f=8
-
- Posts: 40
- Joined: Monday 12 August 2013 11:15
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 3.x
- Location: Finland
- Contact:
Re: How to update RFLink firmware
Remember that you have to install Arduino usb drivers to get Windows to recognize Arduino board and assign COM port. After that you can use the RFLinkLoader. Drivers are part of the Arduino software package https://www.arduino.cc/en/Main/Software.
-
- Posts: 40
- Joined: Monday 12 August 2013 11:15
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 3.x
- Location: Finland
- Contact:
Re: How to update RFLink firmware
And remember to replace /dev/ttyUSB0 with whatever port RFLink is using in your system
- remb0
- Posts: 499
- Joined: Thursday 11 July 2013 22:21
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: The Netherlands
- Contact:
Re: How to update RFLink firmware
so it's possible to make an sh script.
and make script executable
then a virtual switch which fire that script.
nice
and make script executable
then a virtual switch which fire that script.
nice
- Stuntteam
- Posts: 399
- Joined: Wednesday 06 May 2015 16:39
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: How to update RFLink firmware
Yes, my rflink loader tool is also using avrdude..
-=# RFLink Gateway Development Team #=-
Introduction: http://www.nemcon.nl/blog2/
Generic RFLink Support forum: http://www.esp8266.nu/forum/viewforum.php?f=8
Introduction: http://www.nemcon.nl/blog2/
Generic RFLink Support forum: http://www.esp8266.nu/forum/viewforum.php?f=8
-
- Posts: 27
- Joined: Tuesday 28 October 2014 22:26
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: How to update RFLink firmware
can you explane how you do that?
-
- Posts: 67
- Joined: Sunday 22 March 2015 16:18
- Target OS: NAS (Synology & others)
- Domoticz version:
- Contact:
Re: How to update RFLink firmware
It works perfectly. Thanks!Stuntteam wrote:This topic describes an easy method to update the firmware of the RFLink.
Thats all..
Domoticz| Zigbee | SONOFF
-
- Posts: 1601
- Joined: Friday 18 October 2013 23:33
- Target OS: Raspberry Pi / ODroid
- Domoticz version: BETA
- Location: Arnhem/Nijmegen Nederland
- Contact:
Re: How to update RFLink firmware
Great hardware the RFlink
Perhaps a option to upgrade the RFlink like the RFXcom..
Perhaps a option to upgrade the RFlink like the RFXcom..
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
-
- Posts: 19
- Joined: Sunday 29 November 2015 9:45
- Target OS: NAS (Synology & others)
- Domoticz version:
- Contact:
Re: How to update RFLink firmware
On OS X you can do it as follows:
- Download the Arduino App from https://www.arduino.cc and install it.
- Open a terminal session.
- From the directory where the Arduino App is located run the commands below whereby replacing /dev/cu.usbmodem411 and RFLink_v1-2/RFLink.cpp.hex with your own values.
Code: Select all
Arduino.app/Contents/Java/hardware/tools/avr/bin/avrdude -v -p atmega2560 -c stk500 -P /dev/cu.usbmodem411 -b 115200 -D -U flash:w:RFLink_v1-2/RFLink.cpp.hex:i -C Arduino.app/Contents/Java/hardware/tools/avr/etc/avrdude.conf
- remb0
- Posts: 499
- Joined: Thursday 11 July 2013 22:21
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: The Netherlands
- Contact:
Re: How to update RFLink firmware
i got now:
avrdude -v -p atmega2560 -c stk500 -P /dev/ACM0 -b 115200 -D -U flash:w:/home/pi/RFLink.cpp.hex:i
avrdude -v -p atmega2560 -c stk500 -P /dev/ACM0 -b 115200 -D -U flash:w:/home/pi/RFLink.cpp.hex:i
Code: Select all
Programmer Type : STK500V2
Description : Atmel STK500
Programmer Model: Unknown
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_getsync(): timeout communicating with programmer
- Stuntteam
- Posts: 399
- Joined: Wednesday 06 May 2015 16:39
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: How to update RFLink firmware
Why the -D ?
-=# RFLink Gateway Development Team #=-
Introduction: http://www.nemcon.nl/blog2/
Generic RFLink Support forum: http://www.esp8266.nu/forum/viewforum.php?f=8
Introduction: http://www.nemcon.nl/blog2/
Generic RFLink Support forum: http://www.esp8266.nu/forum/viewforum.php?f=8
-
- Posts: 121
- Joined: Sunday 11 October 2015 8:50
- Target OS: Raspberry Pi / ODroid
- Domoticz version: V3.6224
- Location: Holland
- Contact:
Re: How to update RFLink firmware
Do you have to stop Domoticz that is using Rflink?
RPI-2 + SSD / ESPEasy Sensors & Switches / Sonoff / RFLink / Action Switches / TP-Link switch / Node-Red / Reacticz
-
- Posts: 6
- Joined: Wednesday 06 January 2016 11:40
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: How to update RFLink firmware
Hi Guys,
I'm a new Domoticz and RFLink user since a week now....Thanks for all the great work on both the RFLink hardware and Software. So far it's working great, despite the fact that i'm living in a heavily 433MHz crowded location.
Firmware updating is plain simple for everyone that has ever worked with arduino:)
I'm a new Domoticz and RFLink user since a week now....Thanks for all the great work on both the RFLink hardware and Software. So far it's working great, despite the fact that i'm living in a heavily 433MHz crowded location.
Firmware updating is plain simple for everyone that has ever worked with arduino:)
-
- Posts: 70
- Joined: Monday 14 December 2015 22:16
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: Mierlo
- Contact:
Re: How to update RFLink firmware
Hi,
Same message as remb0.
So updated with my windows machine, would be nice indeed to have an working updater for linux/Pi
Same message as remb0.
So updated with my windows machine, would be nice indeed to have an working updater for linux/Pi
-
- Posts: 1
- Joined: Tuesday 16 February 2016 18:09
- Target OS: NAS (Synology & others)
- Domoticz version:
- Contact:
Re: How to update RFLink firmware
hi,
can someone give me the link to latest beta firmware.
can someone give me the link to latest beta firmware.
-
- Posts: 1601
- Joined: Friday 18 October 2013 23:33
- Target OS: Raspberry Pi / ODroid
- Domoticz version: BETA
- Location: Arnhem/Nijmegen Nederland
- Contact:
Re: How to update RFLink firmware
Perhaps...rokib wrote:hi,
can someone give me the link to latest beta firmware.
https://sourceforge.net/projects/rflink ... =directory
Or:
http://www.nemcon.nl/blog2/2015/07/bb
Or:
https://www.google.nl/?gws_rd=ssl
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
- Stuntteam
- Posts: 399
- Joined: Wednesday 06 May 2015 16:39
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: How to update RFLink firmware
He probably means Domoticz beta.. For Pi you can enable the betas under settings.
-=# RFLink Gateway Development Team #=-
Introduction: http://www.nemcon.nl/blog2/
Generic RFLink Support forum: http://www.esp8266.nu/forum/viewforum.php?f=8
Introduction: http://www.nemcon.nl/blog2/
Generic RFLink Support forum: http://www.esp8266.nu/forum/viewforum.php?f=8
- jumbotroll
- Posts: 793
- Joined: Tuesday 13 January 2015 14:36
- Target OS: NAS (Synology & others)
- Domoticz version: Beta
- Location: Oslo,Norway
- Contact:
Re: How to update RFLink firmware
How to update RFLink on Synology NAS:
1. Download and install avrdude.spk for your synology from my server: http://www.jadahl.com/synology/
2. Copy the newest RFLink.cpp.hex file to a folder on your NAS, for example /volume1/web
3. Go to Hardware settings in Domoticz and temporary disable (not delete) RFLink.
4. Telnet or ssh your NAS and type:
avrdude -v -p atmega2560 -c stk500 -P /dev/ttyUSB1 -b 115200 -D -U flash:w:/volume1/web/RFLink.cpp.hex:i
Remember to edit correct directory and USB port you using!
5. Go to Hardware settings in Domoticz and enable RFLink.
The end
1. Download and install avrdude.spk for your synology from my server: http://www.jadahl.com/synology/
2. Copy the newest RFLink.cpp.hex file to a folder on your NAS, for example /volume1/web
3. Go to Hardware settings in Domoticz and temporary disable (not delete) RFLink.
4. Telnet or ssh your NAS and type:
avrdude -v -p atmega2560 -c stk500 -P /dev/ttyUSB1 -b 115200 -D -U flash:w:/volume1/web/RFLink.cpp.hex:i
Remember to edit correct directory and USB port you using!
5. Go to Hardware settings in Domoticz and enable RFLink.
The end
If you like the work I do for synology and domoticz, I appreciate a donation.
https://paypal.me/Jumbotroll
Regards
Jumbotroll
http://www.jadahl.com
https://paypal.me/Jumbotroll
Regards
Jumbotroll
http://www.jadahl.com
-
- Posts: 37
- Joined: Monday 25 January 2016 21:36
- Target OS: Raspberry Pi / ODroid
- Domoticz version: V2.3530
- Location: Bergen, Norway
- Contact:
Re: How to update RFLink firmware
Hi, did you find out about this remb0? Im getting the same problem.remb0 wrote:i got now:
avrdude -v -p atmega2560 -c stk500 -P /dev/ACM0 -b 115200 -D -U flash:w:/home/pi/RFLink.cpp.hex:i
Code: Select all
Programmer Type : STK500V2 Description : Atmel STK500 Programmer Model: Unknown avrdude: stk500v2_ReceiveMessage(): timeout avrdude: stk500v2_ReceiveMessage(): timeout avrdude: stk500v2_ReceiveMessage(): timeout avrdude: stk500v2_ReceiveMessage(): timeout avrdude: stk500v2_ReceiveMessage(): timeout avrdude: stk500v2_ReceiveMessage(): timeout avrdude: stk500v2_ReceiveMessage(): timeout avrdude: stk500v2_getsync(): timeout communicating with programmer
My RFLink is just 2 meters away, but in near future, im gonna put it in a cabinet, and thus it would be sweet to update it via RPi and skip the usb to windows machine
- remb0
- Posts: 499
- Joined: Thursday 11 July 2013 22:21
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: The Netherlands
- Contact:
Re: How to update RFLink firmware
no solution found and tested. I used USB that time. so stil trying (only it's not here but @ my brothers house.
Who is online
Users browsing this forum: No registered users and 1 guest