[[FrontPage]] objectPage http://www.yama-lab.org/fwb4pi/index.php?tDressBot_ex4 or http://www.yama-lab.org/fwb4pi/index.php?tDressBot_ex4 device yamaRasPiDp9_1 or yamaRasPiDp9_2 start after no write for 10 min. command: set read_interval=60000 command: set exec_iInterval=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=4 py: self.write_line('cmd='+str(cmd)) py: if cmd==1 : py: print('clear') py: v1=self.external('clear') py: print('text') py: v2=self.external('text') py: print('sleep(5)') py: time.sleep(5) py: #print('ls') py: #v1=self.external("ls") py: #print('sleep(5)') py: #time.sleep(5) py: # py: print('show face_shape-ex1.jpg') py: v2=self.external( "show face_shape-ex1.jpg") py: #v2=ex("pycon", "show ando-02.jpg") py: time.sleep(20) py: v2=self.external("clear") py: time.sleep(5) py: # py: v2=self.external( "show fukurin-anime-ex04.gif") py: time.sleep(10) py: # py: #v2=self.external( "show fukuyama-u-logo-03.png") py: #time.sleep(15) py: # py: #v2=ex("pycon", "show face_shape-ex3.jpg") py: #v2=ex("pycon", "show flower.jpg") py: #delay(10000) py: v2=self.external( "show giphy-art-ex13.gif") py: time.sleep(10) py: #v2=ex("pycon", "show giphy-art-ex01.gif") py: #delay(10000) py: #v2=ex("pycon", "show giphy-art-ex23.gif") py: #delay(10000) py: #v2=ex("pycon", "show giphy-art-ex09.gif") py: #delay(20000) py: #v2=ex("pycon", "show giphy-art-ex07.gif") py: #delay(10000) py: #v2=ex("pycon", "show giphy-art-ex17.gif") py: #delay(10000) py: #v2=ex("pycon", "show giphy-art-ex19.gif") py: #delay(10000) py: #v2=ex("pycon", "show giphy-art-ex20.gif") py: #delay(10000) py: v2=self.external( "show giphy-art-ex11.gif") py: time.sleep(10) py: # py: #v2=ex("pycon", "show ommf-logo.png") py: #delay(10000) py: #v2=ex("pycon", "show Purple_dress.gif") py: v2=self.external( "show fukurin-eng-anime-ex01.gif") py: time.sleep(12) py: # py: v2=self.external("show IoTLT-H-Logo-Anime-1.gif") py: #v2=self.external( "show kui-hadaka-05.png") py: #v2=ex("pycon", "show line-dc-hackathon-2023-02.png") py: #v2=self.external( "show ipsj-logo-small-2.png") py: #v2=self.external("show acm_siguccs.png") py: #v2=ex("pycon","show M5Stack-logo-02.png") py: v2=self.external("show flower.jpg") py: #v2=self.external("show iciet2025.png") py: #v2=self.external("show theworldrosemeeting2025_logo_02.png") py: #v2=self.external("show IoT_Logo_01.png") py: time.sleep(20) py: # py: #v2=ex("pycon", "show sanzosai-2nen-01-20231023-01.png") py: #delay(20000) py: #v2=ex("pycon", "show sanzosai-2nen-02-20231023-01.png") py: #delay(20000) py: v2=self.external( "show Tokyo-MF_logo_outlined_CMed.jpg") py: #v2=self.external("show theworldrosemeeting2025_logo_02.png") py: #v2=self.external("show otocafe-luck-logo.png") py: time.sleep(20) py: v2=self.external("show otocafe-luck-pic-01.png") py: time.sleep(20) py: # py: #v2=self.external( "show MFT2023round.jpg") py: #v2=ex("pycon", "show bingo-kodomo-01-s.png") py: #v2=ex("pycon", "show bingo-kodomo-02-s.png") py: #v2=ex("pycon", "show bingo-kodomo-03-s.png") py: #v2=ex("pycon", "show araki-family-illumination-2023-01.jpg") py: #time.sleep(20) py: # py: v2=self.external( "show fukurin-3.png") py: #v2=self.external( "show kobayashi-01.jpg") py: #v2=self.external( "show isohata-01.jpg") py: #v2=self.external( "show asano-01.jpg") py: time.sleep(20) py: #v2=ex("pycon", "text 情報工学科へ") py: v2=self.external( "txtColor red") py: #v2=ex("pycon", "text 祝!") py: #delay(7000) py: # py: #v2=ex("pycon", "txtColor green") py: #v2=ex("pycon", "txtColor red") py: #v2=ex("pycon", "text 福山大学") py: #v2=self.external( "text 情報処理") py: #v2=ex("pycon", "text ヒーローズ") py: #time.sleep(19) py: # py: #v2=ex("pycon", "text 処理") py: #delay(4000) py: #v2=self.external( "text 学会") py: #v2=ex("pycon", "text リーグ2024!") py: #time.sleep(15) py: # py: #v2=ex("pycon", "txtColor magenta") py: #v2=ex("pycon", "text 工学部!") py: #v2=ex("pycon", "text MFT2024開催!") py: #v2=ex("pycon", "text 三蔵祭開催!") py: #v2=self.external( "text I O T 研究会!") py: #time.sleep(12) py: #v2=ex("pycon", "text 総会") py: #delay(8000) py: #v2=ex("pycon", "text 工学部へ") py: #v2=ex("pycon","text 大崎海星高校の皆様") py: #delay(12000) py: #v2=ex("pycon", "txtColor magenta") py: #v2=ex("pycon", "text Hiroshima!") py: #delay(15000) py: #v2=ex("pycon", "txtColor blue") py: #v2=ex("pycon", "text 情報工学科へようこそ!") py: #delay(12000) py: v2=self.external( "text ") py: #delay(10000) 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: #v2=self.external("show http://www.yama-lab.org/WearableDigitalSignage-IoT/otocafe-luck-logo.png") py: v2=self.external("show http://www.yama-lab.org/WearableDigitalSignage-IoT/otocafe-luck-pic-01.png") py: v2=self.external("show http://www.yama-lab.org/WearableDigitalSignage-IoT/kobayashi-01.jpg") py: v2=self.external("show http://www.yama-lab.org/WearableDigitalSignage-IoT/isohata-01.jpg") py: v2=self.external("show http://www.yama-lab.org/WearableDigitalSignage-IoT/asano-01.jpg") py: time.sleep(10) py: print('send_result()') py: self.send_result() py: print('python end') command: end ex1 command: run ex1 result: cmd=4 >clear >address 192.168.1.42/24 current_device="yama_bot_0000_0000_0000_0001". Date=2025-07-03 09:10:23.734933 current_device="yama_bot_0000_0000_0000_0001". Date=2025-07-03 09:11:23.974406