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/25 17:41] – [Specification] Júne Parkrpi_autism [2019/08/05 15:51] – [Notify completion of downloading] Júne Park
Line 300: Line 300:
 </code>  </code> 
  
-Script for Pushbullet (Option A) +=== Script for Pushbullet (Option A) ===
 <code bash>  <code bash> 
 #!/bin/bash #!/bin/bash
Line 313: Line 313:
 </code> </code>
  
-Script for Telegram (Option B) +=== Script for Telegram (Option B) ===
 <code bash>  <code bash> 
 #!/bin/bash #!/bin/bash
Line 320: Line 320:
          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