Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Data conversion options in drivers #14

Open
chrowe opened this issue Mar 12, 2015 · 2 comments
Open

Data conversion options in drivers #14

chrowe opened this issue Mar 12, 2015 · 2 comments

Comments

@chrowe
Copy link

chrowe commented Mar 12, 2015

For example, I would like to store temperature in deg F instead of C. Maybe setting standard vs. metric config option per pipe or per sensor?

@rjsteinert As a shortcut could you tell me where in https://github.com/open-eio/opk-temper1-cli I can change this?

@chrowe
Copy link
Author

chrowe commented Mar 12, 2015

As a temporary workaround I have added the conversion logic on the display side. e.g. https://gist.github.com/chrowe/b5277b238eb629faed11#file-pipe1-html-L31

@rjcorwin
Copy link
Contributor

The pull command for opk-temper1-cli now takes a --scale option.
For example, I could...

./pull --path USB_0c45_7401_14200000 --scale farenheit

To add this to your pipe, cd opk-temper1-cli; git pull; cd ..; pipe config opk-temper1-cli.path.

On Thu, Mar 12, 2015 at 7:27 PM, Chris Rowe notifications@github.com wrote:

As a temporary workaround I have added the conversion logic on the display
side. e.g.
https://gist.github.com/chrowe/b5277b238eb629faed11#file-pipe1-html-L31


Reply to this email directly or view it on GitHub.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants