[[FrontPage]]

 objectPage http://www.yama-lab.org/fwb4pi/index.php?wearable_sign_01 or http://www.yama-lab.org/fwb4pi/index.php?wearable_sign_01
 device yamaRasPiDp9_1 or yamaRasPiDp9_2 start after no write for 10 min.
 command: set read_interval=120000
 command: set exec_interval=0
 command: py ex1
 py: self.clear_report()
 py: # cmd=1 ... program
 py: # cmd=2 ... clear
 py: # cmd=3 ... shutdown
 py: # cmd=4 ... ip_address ... self.external("address eth0"), self.external("address wlan0"), self.external("address") ==self.external("address wlan0")
 py: # cmd=5 ... ls  (list pictures, gif, ...)
 py: # cmd=18 . do nothing
 py: cmd=3
 py: cmd=1
 py: self.write_line('cmd='+str(cmd))
 py: if cmd==1 :
 py:   v2=self.external('show \"(red)着る(yellow)電光(green)掲示板(cyan)テスト中(white)! \"')
 py:   time.sleep(60)
 py:   v2=self.external('show \"(green)松永(white)-(red)東尾道 (blue)走行実験(white)!\"')
 py:   time.sleep(60)
 py:   print('cmd==1 end')
 py: if cmd==2 :
 py:   print('clear')
 py:   v1=self.external('clear')
 py: if cmd== 3 :
 py:   v2=self.external('clear')
 py:   time.sleep(1)
 py:   self.write_line("shutdown.")
 py:   self.send_result()
 py:   time.sleep(10)
 py:   v2=self.external("shutdown")
 py:   time.sleep(1)
 py: if cmd== 4 :
 py:   v1=self.external('clear')
 py:   time.sleep(1)
 py:   v2=self.external('address')
 py:   time.sleep(1)
 py: if cmd== 5:
 py:   print('ls')
 py:   v1=self.external("ls")
 py:   print('sleep(5)')
 py:   time.sleep(5)
 py: if cmd == 7:
 py:    #v2=self.external("text ")
 py:    #time.sleep(10)
 py:    #v2=self.external("show https://image.shutterstock.com/z/stock-vector-portrait-of-a-beautiful-girl-in-half-turn-young-blond-woman-avatar-for-social-networks-fashion-1643295139.jpg")
 py:    #v2=self.external("show http://www.yama-lab.org/WearableDigitalSignage-IoT/hei-chan-02.gif")
 py:    #v2=self.external("show http://www.yama-lab.org/fwb4pi/iciet2025.png")
 py:    #v2=self.external("show http://www.yama-lab.org/fwb4pi/IoT_Logo_01.png")
 py:    v2=self.external("show http://www.yama-lab.org/fwb4pi/theworldrosemeeting2025_logo_02.png")
 py:    time.sleep(10)
 py: print('send_result()')
 py: self.send_result()
 py: print('python end')
 command: end ex1
 command: run ex1
 result:
 cmd=3
 >clear
 shutdown.
 >shutdown
 current_device="yama_bot_0000_0000_0000_0001". Date=2025-06-03 08:56:52.568192

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