wearable_sign_01
の編集
http://www.yama-lab.org/fwb4pi/index.php?wearable_sign_01
[
トップ
] [
編集
|
差分
|
バックアップ
|
添付
|
リロード
] [
新規
|
一覧
|
単語検索
|
最終更新
|
ヘルプ
]
-- 雛形とするページ --
01
20240312-01
Basic-ex1
Basic-ex2
Basic-ex3
BracketName
ForTest1
FormattingRules
FrontPage
GetTweTerminalID
Help
I2C-Lx-Ex1
I2CDetect
I2c-Lx-Ex2
I2c-Srb-Ex1
InterWiki
InterWikiName
InterWikiSandBox
LED_and_Button_ex01
LightSensor1
Menu
MenuBar
NetDraw
PHP
PukiWiki
PukiWiki/1.4
PukiWiki/1.4/Manual
PukiWiki/1.4/Manual/Plugin
PukiWiki/1.4/Manual/Plugin/A-D
PukiWiki/1.4/Manual/Plugin/E-G
PukiWiki/1.4/Manual/Plugin/H-K
PukiWiki/1.4/Manual/Plugin/L-N
PukiWiki/1.4/Manual/Plugin/O-R
PukiWiki/1.4/Manual/Plugin/S-U
PukiWiki/1.4/Manual/Plugin/V-Z
RecentDeleted
SandBox
Sensors2
Sensors3
SerialEx1
SerialEx2
ServerMonitorEx1
Servo1
Servo2
Value_insertion_01_20241007
WikiEngines
WikiName
WikiWikiWeb
YukiWiki
basic
capture_20250101
capture_20250115
capture_20250125
capture_20250202
ex0
ex1
ex2
ex3
ex4
getTweChanged
i2c-ADS1115-ex1
i2c-hdc1080-1
i2c-hdc1080-2
i2c-mpl3115a2-ex1
i2c-opt3001-1
i2c-opt3001-ex1
i2c-sensors-ex2
i2c-sensors-ex3
i2c-sensors-ex3-w1
i2c-sensors-ex4
i2c-sensors-ex5
i2c-veml6075
ladyMadonna
map01
map02
map02_bak2
map_02_bak
music
musicTest
musicTest0
pen
pen-ex1
sensor_01_20241007
sensor_02_20241007
sensor_03_20241031
sensor_03_h00
sensor_03_h01
sensor_03_h02
sensor_03_h03
sensor_03_h04
sensor_03_h05
sensor_03_h06
sensor_03_h07
sensor_03_h08
sensor_03_h09
sensor_03_h10
sensor_03_h11
sensor_03_h12
sensor_03_h13
sensor_03_h14
sensor_03_h15
sensor_03_h16
sensor_03_h17
sensor_03_h18
sensor_03_h19
sensor_03_h20
sensor_03_h21
sensor_03_h22
sensor_03_h23
sensor_03_h_class
sensor_04_20241120
sensor_05_202412130001
sensor_06_20241229
sensors-1-class-2
sensors-1-d-16.html
sensors-1-d-class
sensors-1-h-0
sensors-1-h-1
sensors-1-h-10
sensors-1-h-11
sensors-1-h-12
sensors-1-h-13
sensors-1-h-14
sensors-1-h-15
sensors-1-h-16
sensors-1-h-17
sensors-1-h-18
sensors-1-h-19
sensors-1-h-2
sensors-1-h-20
sensors-1-h-21
sensors-1-h-22
sensors-1-h-23
sensors-1-h-3
sensors-1-h-4
sensors-1-h-5
sensors-1-h-6
sensors-1-h-7
sensors-1-h-8
sensors-1-h-9
sensors-class-1
sensors-h-2
simple example
tDressBot_ex1
tDressBot_ex2
tDressBot_ex3
tDressBot_ex4
test02
value_insertion_02
wearable_sign_01
work202401
work20240131
work20240201-01
work20240326-01
work20240330-01
work20240902-01
work20240930
work20241006
[[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=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
タイムスタンプを変更しない
[[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=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
テキスト整形のルールを表示する