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

Detect dummy temperature sensor values #151

Open
lincomatic opened this issue Feb 9, 2018 · 2 comments
Open

Detect dummy temperature sensor values #151

lincomatic opened this issue Feb 9, 2018 · 2 comments
Labels

Comments

@lincomatic
Copy link
Member

One of my EVSEs only has a MCP9808. As such, the only valid temperature is TEMP2. Therefore, my displayed temperature is garbage:

image

Would it be possible to test the temperatures for negative values in sequence, and use the first positive value encountered?

@glynhudson
Copy link
Contributor

The issue with looking for the first non negative value is it's possible for the temperature inside the openevse to be negative in very cold environments.

Is the value -256 a preset 'dummy' value for when no sensor is connected? Could we look for this instead?

@glynhudson glynhudson added the bug label Feb 12, 2018
@lincomatic
Copy link
Member Author

lincomatic commented Feb 13, 2018 via email

@glynhudson glynhudson changed the title negative temperature Detect dummy temperature sensor values Jul 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants