This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# get latest blink mini thumbnail and save | |
# replace: YOUR_ACCOUNT_ID, YOUR_NETWORK_ID, YOUR_OWL_ID, YOUR_TIER, YOUR_TOKEN | |
# api info by https://github.com/MattTW/BlinkMonitorProtocol | |
# request new thumbnail | |
curl --request POST --url https://rest-YOUR_TIER.immedia-semi.com/api/v1/accounts/YOUR_ACCOUNT_ID/networks/YOUR_NETWORK_ID/owls/YOUR_OWL_ID/thumbnail --header 'token-auth: YOUR_TOKEN' | |
sleep 10 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"retry": 5, | |
"daemon": true, | |
"verbosity": 1, | |
"log": "/var/log/vzlogger.log", | |
"meters": [ | |
{ | |
"enabled": true, | |
"allowskip": true, | |
"protocol": "d0", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
if ($_GET['key'] != 'YOUR_KEY') { | |
exit; | |
} | |
// Sendy | |
$sendyHost = 'localhost'; | |
$sendyUser = ''; | |
$sendyPass = ''; |