shell script to update RFLink
Switch branches/tags
Nothing to show
Clone or download
Pull request Compare This branch is 10 commits ahead, 7 commits behind deennoo:master.
Latest commit b9712b7 Mar 26, 2017
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
README.md Update README.md Mar 25, 2017
settings.ini.tpml Refactoring imports Mar 25, 2017
setup.py add setup file Mar 26, 2017
update_RFLink.py fix: global-name-file-is-not-defined Mar 26, 2017

README.md

RFLink-update

shell script to update RFLink

Installation

You need to have Python 2.7 installed On debian/ubuntu platform:

apt-get install python2.7 avrdude 

On Fedora/Centos platform:

yum install python27  avrdude

On Archlinux platform:

pacman -Sy python2 avrdude

On Windows platform:

Download latest version:

wget https://github.com/roondar/RFLink-update/archive/master.zip
unzip master.zip
RFLink-update-master/
cp settings.ini.tpml settings.ini
chmod 755 update_RFLink.py

Edit settings.ini with your own variables

How to schedule automatic update

We'll use crond for this

 echo "0 12 * * * root /root/RFLink-update-master/update_RFLink.py" >> /etc/crontab

You can use this website to generate a crontab http://crontab-generator.org/

Extra variables

you need to install pip https://pip.pypa.io/en/stable/installing/

  • If you want to have pushbullet notification

you can edit settings.ini and add your pushbullet api key

pip install pushbullet.py
  • If you are note sure about domoticz port

you can edit settings.ini and comment port variable with #

pip install psutil