[[LightSensor1]]

 objectPage http://www.yama-lab.org/fwb4pi/index.php?ServerMonitorEx1 or http://www.yama-lab.org/fwb4pi/index.php?ServerMonitorEx1
 device yamaRasPiDp9_1 or yamaRasPiDp9_2 start after no write for 10 min.
 command: set readInterval=3600000
 #command: set readInterval=120000
 command: set execInterval=0
 command: program ex1
 program:   url="http://163.145.128.75/"
 program:   page=ex("connector", "getRawPage "+url)
 program:     if page="ERROR" then 'move ch0 to center 
 program:     {
 program:          ex("twitter", "tweet \"rinri down <hour>:<min>\" ")
 program:     }
 program:     else
 program:     {
 program:          ex("twitter", "tweet \"rinri up <hour>:<min>\" ")
 program:     }
 program:     delay(10000)
 program: ex("service","sendResults."); 
 command: end ex1
 command: run ex1
 result:
 currentDevice="yamaRasPiDp1_1",Date=2021/10/26/ 15:18:59

 currentDevice="yamaRasPiDp1_1",Date=2021/10/26/ 15:35:52


トップ   編集 差分 バックアップ 添付 複製 名前変更 リロード   新規 一覧 単語検索 最終更新   ヘルプ   最終更新のRSS