Herobox/gm10-upload
提供: fukudat.net
ナビゲーションに移動検索に移動
Install
Gm-10 参照。
/etc/udev/rules.d/80-ttyUSB.rules
SUBSYSTEM=="tty",DRIVERS=="ftdi_sio",SUBSYSTEMS=="usb",SYMLINK+="gm10-1",OWNER="gm10",MODE="0660"
git repository を clone
cd ~/git git clone ssh://fukudat.net/var/git/sensors
python library を install
cd ~/git/sensors pip install -r requirements.txt
perl library を install
sudo cpan LWP LWP::protocol::https DBI DBD::mysql
Configure
crontab に以下を設定
4-59/5 * * * * /home/fukudat/git/sensors/bin/upload-radiation