sensor_03_h_class
をテンプレートにして作成
[
トップ
] [
新規
|
一覧
|
単語検索
|
最終更新
|
ヘルプ
]
開始行:
http://www.yama-lab.org/fwb4pi/sensors-graph-02.html
command: set read_interval=60000
command: set exec_interval=0
command: set report_length=400
command: py test
py: import time
py: v=self.ex_pico("ex self.sensing.get_motion()")
py: line="device=motion, Date="+self.Pico_Time.get_now()+", v="+str(v)
py: self.write_line(line)
py: v=self.ex_pico("ex self.sensing.get_co2()")
py: line="device=co2, Date="+self.Pico_Time.get_now()+", v="+str(v)
py: self.write_line(line)
py: v=self.ex_pico("ex self.sensing.get_lx()")
py: line="device=lx, Date="+self.Pico_Time.get_now()+", v="+str(v)
py: self.write_line(line)
py: v=self.ex_pico("ex self.sensing.get_smell()")
py: line="device=smell, Date="+self.Pico_Time.get_now()+", v="+str(v)
py: self.write_line(line)
py: v=self.ex_pico("ex self.sensing.get_pressure()")
py: line="device=pressure, Date="+self.Pico_Time.get_now()+", v="+str(v)
py: self.write_line(line)
py: v=self.ex_pico("ex self.sensing.get_humidity()")
py: line="device=humidity, Date="+self.Pico_Time.get_now()+", v="+str(v)
py: self.write_line(line)
py: v=self.ex_pico("ex self.sensing.get_temperature()")
py: line="device=temp, Date="+self.Pico_Time.get_now()+", v="+str(v)
py: self.write_line(line)
py: self.send_result()
command: end test
command: run test
command: set pageName="sensor_03_h<hour>"
終了行:
http://www.yama-lab.org/fwb4pi/sensors-graph-02.html
command: set read_interval=60000
command: set exec_interval=0
command: set report_length=400
command: py test
py: import time
py: v=self.ex_pico("ex self.sensing.get_motion()")
py: line="device=motion, Date="+self.Pico_Time.get_now()+", v="+str(v)
py: self.write_line(line)
py: v=self.ex_pico("ex self.sensing.get_co2()")
py: line="device=co2, Date="+self.Pico_Time.get_now()+", v="+str(v)
py: self.write_line(line)
py: v=self.ex_pico("ex self.sensing.get_lx()")
py: line="device=lx, Date="+self.Pico_Time.get_now()+", v="+str(v)
py: self.write_line(line)
py: v=self.ex_pico("ex self.sensing.get_smell()")
py: line="device=smell, Date="+self.Pico_Time.get_now()+", v="+str(v)
py: self.write_line(line)
py: v=self.ex_pico("ex self.sensing.get_pressure()")
py: line="device=pressure, Date="+self.Pico_Time.get_now()+", v="+str(v)
py: self.write_line(line)
py: v=self.ex_pico("ex self.sensing.get_humidity()")
py: line="device=humidity, Date="+self.Pico_Time.get_now()+", v="+str(v)
py: self.write_line(line)
py: v=self.ex_pico("ex self.sensing.get_temperature()")
py: line="device=temp, Date="+self.Pico_Time.get_now()+", v="+str(v)
py: self.write_line(line)
py: self.send_result()
command: end test
command: run test
command: set pageName="sensor_03_h<hour>"
ページ名: