Last active
March 12, 2017 18:33
-
-
Save koma5/5d5a06ecdcca86cf7bd41f275f2f921e to your computer and use it in GitHub Desktop.
Revisions
-
koma5 revised this gist
Mar 12, 2017 . No changes.There are no files selected for viewing
-
koma5 created this gist
Mar 12, 2017 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,3 @@ mosquitto_sub -h mqtt -t 'vw/dehum/state' | grep --line-buffered "tank full" | xargs -d '\n' -n1 -I % curl -X POST --data 'apikey=<apikey>&event=%&application=vw/dehum' https://api.prowlapp.com/publicapi/add