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

Resolution = Precision ? #74

Closed
dusscloud opened this issue Mar 31, 2020 · 1 comment
Closed

Resolution = Precision ? #74

dusscloud opened this issue Mar 31, 2020 · 1 comment

Comments

@dusscloud
Copy link

In order to change sensor resolution, the documentation refers to
sensor.set_resolution() (Python case)
w1thermsensor --resolution (CLI case)

But it does not work : the rights syntax seems to be
sensor.set_precision() (Python case)
w1thermsensor --precision (CLI case)

Side note : root is required for such resolution change, I think this may be written in the doc also.

@timofurrer
Copy link
Owner

But it does not work : the rights syntax seems to be

Depending on the version of w1thermsensor that's true.

The precision phrasing was changed to resolution in: 3e91314.
Because resolution is actually the correct term here.

You can use 1.3.0 from PyPI to have to change. (might be the case that an older version is deployed in rasbian apt sources)

Side note : root is required for such resolution change, I think this may be written in the doc also.

Yes, good catch! I've added this in: 519010e

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