rpi_autism

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revisionBoth sides next revision
rpi_autism [2019/07/24 06:02] – [Specification] Júne Parkrpi_autism [2019/11/19 18:12] – [Specification] Júne Park
Line 40: Line 40:
  
 <code ini> <code ini>
-Mounted on             Type  Size  Used Avail Use% +Mounted on             Type  Size  Used /home/meson/repository ext4  459G  278G  158G  64
-/home/meson/repository ext4  459G  153G  283G  36+/home/meson/storage    ext4  459G  309G  127G  71%
-/home/meson/storage    ext4  459G  327G  109G  76%+
 </code> </code>
  
Line 300: Line 299:
 </code>  </code> 
  
-Script for Pushbullet (Option A) +=== Script for Pushbullet (Option A) ===
 <code bash>  <code bash> 
 #!/bin/bash #!/bin/bash
Line 313: Line 312:
 </code> </code>
  
-Script for Telegram (Option B) +=== Script for Telegram (Option B) ===
 <code bash>  <code bash> 
 #!/bin/bash #!/bin/bash
Line 320: Line 319:
          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'' 
  
 ---- ----
  • rpi_autism
  • Last modified: 2023/06/09 09:48
  • by Júne Park