Update with Raspberry PI. (linux)

433Mhz opensource Receiver & Transmitter.

Moderators: leecollings, Stuntteam

Post Reply
jossie67
Posts: 39
Joined: Wednesday 31 December 2014 12:47
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Update with Raspberry PI. (linux)

Post by jossie67 »

Update with Raspberry PI.

Is it posssible to update RFlink with Raspberry PI?
Now I have to disconnect the RFlink, connect it to a windows PC and update.
It would be much easy when I can just update the RFlink in Linux
Raspberry Pi (3x)
Master Domoticz installed on a Synology
RFXCOM RFXtrx433E USB
RFLink
USB Z-Wave Mini Adapter
Mi-light
QuinLED
Landis+Gyr ZME120ACd
Kamstrup_M401
USB-IR-Schreib-Lesekopf Alecto WS1700
Watermeter with TCRT5000
Kodi
DS18B20
MarcE85
Posts: 3
Joined: Monday 04 April 2016 12:51
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Update with Raspberry PI. (linux)

Post by MarcE85 »

Hey,

it is possible with Linux.


Commands:
  • sudo service domoticz stop
  • sudo apt-get install avrdude
  • avrdude -v -p atmega2560 -c stk500 -P /dev/ttyUSB0 -b 115200 -D -U flash:w:/home/pi/RFLink.cpp.hex:i
  • sudo service domoticz start
Just replace the ttyUSB0 with your connection and home/pi/RFLink.cpp.hex with your path to the file.

Regards Marc
jossie67
Posts: 39
Joined: Wednesday 31 December 2014 12:47
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Update with Raspberry PI. (linux)

Post by jossie67 »

Thanks!
Raspberry Pi (3x)
Master Domoticz installed on a Synology
RFXCOM RFXtrx433E USB
RFLink
USB Z-Wave Mini Adapter
Mi-light
QuinLED
Landis+Gyr ZME120ACd
Kamstrup_M401
USB-IR-Schreib-Lesekopf Alecto WS1700
Watermeter with TCRT5000
Kodi
DS18B20
htca
Posts: 21
Joined: Thursday 28 January 2016 10:32
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Update with Raspberry PI. (linux)

Post by htca »

I get this error:

Code: Select all

avrdude: stk500v2_ReceiveMessage(): timeout
tried different things, but it did not help (I managed to use this method on earlier versions btw)

This is the command I give:

Code: Select all

avrdude -v -p atmega2560 -c stk500 -P /dev/ttyUSB0 -b 115200 -D -U flash:w:/home/pi/rflink46/RFLink.ino.hex:i
I tried different tty's (ACM0) as well.

any clue?
devros
Posts: 183
Joined: Saturday 29 October 2016 20:55
Target OS: -
Domoticz version:
Contact:

Re: Update with Raspberry PI. (linux)

Post by devros »

on my Orangi pi adress is /dev/ttyACM0
sometimes its not working on first try, check if domoticz is stoped
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests