Last active
August 5, 2019 10:46
-
-
Save Fokko/894c14b46c442131b5de5854ab679a4b to your computer and use it in GitHub Desktop.
This file contains 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
curl -s http://192.168.1.111/a?f=j | \ | |
jq .pwr -r | \ | |
tr ',' '.' | \ | |
xargs printf "watt_current:0|g\\watt_current:%s|g" | \ | |
nc -w 1 -u graphite 8125 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment