Created
March 25, 2018 09:53
-
-
Save SpComb/e79124993125a01355d9f86f27d64960 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
pi@raspberrypi:~ $ sudo curl --unix-socket /run/sensors/onewire.sock -s http://x/api/ | json_pp | |
{ | |
"Sensors" : [ | |
{ | |
"ID" : "28-0315a4b86dff", | |
"Status" : { | |
"Temperature" : 23.3125, | |
"At" : "2018-03-25T09:51:38.276321169Z" | |
}, | |
"Config" : { | |
"Bus" : "onewire", | |
"Type" : "ds18b20", | |
"Serial" : "28-0315a4b86dff" | |
} | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment