Both sides previous revision Previous revision Next revision | Previous revision Next revisionBoth sides next revision |
rpi_autism [2019/03/29 12:53] – Júne Park | rpi_autism [2020/01/27 09:10] – [Specification] Júne Park |
---|
{{:rpi_autism.jpg?nolink&250|}} | {{:rpi_autism.jpg?nolink&250|}} |
| |
* Name: {{material>assignment_turned_in}} AUTiSM Rainbow (official) | {{material>create}} 라몽 (korean) | Name: {{material>assignment_turned_in}} AUTiSM Rainbow (official) | {{material>create}} ''라몽'' (korean) |
| |
---- | ---- |
==== Specification ==== | ==== Specification ==== |
| |
* Model: [[https://www.raspberrypi.org/products/raspberry-pi-2-model-b//|Raspberry Pi 2 Model B+]] | [[wp>Raspberry_Pi#Model_B|Raspbierry Pi Model B]] | {{material>developer_board?32&color=#9E0031}} Model: [[https://www.raspberrypi.org/products/raspberry-pi-2-model-b//|Raspberry Pi 2 Model B+]] | [[wp>Raspberry_Pi#Model_B|Raspbierry Pi Model B]] |
* {{fa>database?color=#9E0031}}: 500G on ''~/storage'' & 500G on ''~/repository'' --- {{fa>plug}} [[SECURED:JUNE_HARDWARE#data_storage|Storage in details]] {{fa>lock}} | |
* {{fa>wifi?color=#8E0045}}: Wired (''eth0''), Wireless {{fa>usb?color=#000000}} (''wlan0'') & Wired {{fa>usb?color=#000000}} (''eth1'') --- {{fa>wifi}} [[SECURED:HOME_NETWORK#dhcp_assigned_ip|Júne's home network]] {{fa>lock}} | {{material>sd_storage?32&color=#9E0031}} {{fa>database}} 500G on ''~/storage'' | {{fa>database}} 500G on ''~/repository'' --- {{fa>plug}} [[SECURED:JUNE_HARDWARE#data_storage|Storage in details]] {{fa>lock}} |
* {{fa>video-camera?color=#770058}} Video streaming and archives | |
| === Live status of storages === |
| |
| <code ini> |
| Mounted on Type Size Used Avail Use% |
| ~/repository ext4 459G 241G 195G 56% |
| ~/storage ext4 459G 305G 131G 70% |
| </code> |
| |
| {{material>network_wifi?32&color=#8E0045}} ① Wired (''eth0'') | ② Wireless {{fa>usb?color=#000000}} (''wlan0'') | ③ Wired {{fa>usb?color=#000000}} (''eth1'') --- {{fa>wifi}} [[SECURED:HOME_NETWORK#dhcp_assigned_ip|Júne's home network]] {{fa>lock}} |
| |
| {{material>ondemand_video?32&color=#770058}} Video streaming and archives |
| |
---- | ---- |
==== +Work logs ==== | ==== +Work logs ==== |
| |
* ''replace'' HDD enclosure for ''~/repository'' & ''~/storage'' --- <sub>Updated on</sub> //2018/09/04 20:33// | * physically exchange hard disk enclosures <sub> --- Updated on //2019/06/23 22:57// </sub> |
* ''fresh installation'' of Raspbian OS --- <sub>Updated on</sub> //2018/09/01 17:32// | * ''replace'' HDD enclosure for ''~/repository'' & ''~/storage'' <sub> --- Updated on //2018/09/04 20:33//</sub> |
* change ''microSD memory'' for Raspbian OS --- <sub>Updated on</sub> //2018/05/09 12:59// | * ''fresh installation'' of Raspbian OS <sub> --- Updated on //2018/09/01 17:32//</sub> |
* ''static IP'' using ''dhcpcd.conf'' with fallback option --- <sub>Updated on</sub> //2018/02/25 09:28// | * change ''microSD memory'' for Raspbian OS <sub> --- Updated on //2018/05/09 12:59//</sub> |
| * ''static IP'' using ''dhcpcd.conf'' with fallback option <sub> --- Updated on //2018/02/25 09:28//</sub> |
| |
=== +Que to do === | === +Que to do === |
Append two lines before ''}'' | Append two lines before ''}'' |
| |
<code ini> | <code yaml> |
"watch-dir": "/home/userid/BitTorrent/WillDownload", | "watch-dir": "/home/userid/BitTorrent/WillDownload", |
"watch-dir-enabled": true | "watch-dir-enabled": true |
* API key is like ''o.8jh96v9p49vW73X3U4HByxo87MLVw4kM'' | * API key is like ''o.8jh96v9p49vW73X3U4HByxo87MLVw4kM'' |
| |
Option B. via ''**Telegram**'' | {{fa>telegram?color=#0088cc}} Option B. via ''**Telegram**'' |
| |
''get'' API key & chat_id --- [[https://telegram.me/botfather|Create your own Bot]] with ''/newbot'' command. | ''get'' API key & chat_id --- [[https://telegram.me/botfather|Create your own Bot]] with ''/newbot'' command. |
</code> | </code> |
| |
Script for Pushbullet (Option A) | === Script for Pushbullet (Option A) === |
<code bash> | <code bash> |
#!/bin/bash | #!/bin/bash |
</code> | </code> |
| |
Script for Telegram (Option B) | === Script for Telegram (Option B) === |
<code bash> | <code bash> |
#!/bin/bash | #!/bin/bash |
https://api.telegram.org/bot977114901:279gLSo-d7XZokF4QqM69ZfF3xBKtnYQqMk/sendMessage | https://api.telegram.org/bot977114901:279gLSo-d7XZokF4QqM69ZfF3xBKtnYQqMk/sendMessage |
</code> | </code> |
| |
| === Script for Slack using WebHooks (Option C) === |
| <code bash> |
| #!/bin/bash |
| curl -X POST --data-urlencode "payload={\"channel\": \"#helpdesk\", \"username\": \"Sender Name\", \"text\": \"The File(s) in <http://bit.torrent/|Transmission Web> is(are) finished.\", \"icon_emoji\": \":ghost:\"}" https://hooks.slack.com/services/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 |
| </code> |
| |
| WebHook address and setup instruction is guided by Slack (tm). |
| |
| |
Restart daemon ''sudo systemctl start transmission-daemon.service'' | Restart daemon ''sudo systemctl start transmission-daemon.service'' |
| |
---- | ---- |