View
613
Download
1
Category
Preview:
Citation preview
データ取得$ elitech-device.py -c get /dev/tty.SLAB_USBtoUART 1 2015-06-11 23:34:34 26.5 2 2015-06-11 23:35:34 26.7 3 2015-06-11 23:36:34 26.8 4 2015-06-11 23:37:34 26.9 5 2015-06-11 23:38:34 27.0 6 2015-06-11 23:39:34 27.0 7 2015-06-11 23:40:34 27.0 8 2015-06-11 23:41:34 27.1 9 2015-06-11 23:42:34 27.1
設定値取得$ elitech-device.py -c devinfo /dev/tty.SLAB_USBtoUART stop_button=StopButton.ENABLE rec_interval=00:01:00 alarm=AlarmSetting.NONE delay=0.0 tone_set=ToneSet.NONE work_sts=WorkStatus.STOP current=2015-06-12 02:06:24 last_online=2015-06-12 02:06:07 temp_calibration=-1.5 station_no=3 user_info=RC-4 Data Logger upper_limit=60.0
ライブラリとして利用import elitech
# 初期化 device = elitech.Device("/dev/tty.SLAB_USBtoUART") device.init()
# デバイス設定値の取得 devinfo = device.get_devinfo()
ソースコード公開
• Github https://github.com/civic/elitech-datareader
• PyPI登録pip install elitech-datareader
Recommended