Skip to content

Instantly share code, notes, and snippets.

@chrowe
Created May 1, 2015 05:00
Show Gist options
  • Save chrowe/ef1fae1786c937c36b86 to your computer and use it in GitHub Desktop.
Save chrowe/ef1fae1786c937c36b86 to your computer and use it in GitHub Desktop.
mkdir drivers
git clone https://github.com/openpipekit/opk-temper1-cli.git
git clone https://github.com/openpipekit/opk-phant-cli.git
./drivers/opk-temper1-cli/install
sudo ./drivers/opk-temper1-cli/detect
sudo ./drivers/opk-temper1-cli/pull --path 0001:0005:01 --scale farenheit
sudo ./drivers/opk-temper1-cli/pull --path 0001:0005:01 --scale farenheit | ./drivers/opk-phant-cli/push --url data.sparkfun.com --public_key NJymJmGb9otlJgXpJRVz --private_key 5dyndn9mb1tE26ev2WAn --field_name temp
watch -n60 "sudo ./drivers/opk-temper1-cli/pull --path 0001:0005:01 --scale farenheit | ./drivers/opk-phant-cli/push --url data.sparkfun.com --public_key NJymJmGb9otlJgXpJRVz --private_key 5dyndn9mb1tE26ev2WAn --field_name temp"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment