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

Thermostat issue with settings whole points #165

Closed
galadril opened this issue Dec 31, 2015 · 0 comments
Closed

Thermostat issue with settings whole points #165

galadril opened this issue Dec 31, 2015 · 0 comments
Labels

Comments

@galadril
Copy link
Owner

by bryan241:

It took me a while to find the problem for the thermostat...

You should change the following lines in DevicesInfo.java.

if (row.has("SetPoint")){
setPoint = row.getLong("SetPoint");
}

should be changed to :

if (row.has("SetPoint")){
setPoint = Double.parseDouble(row.getString("SetPoint"));
}

Because row.getLong("SetPoint") is parsed to integer.

http://www.domoticz.com/forum/viewtopic.php?f=37&t=8884&start=340#p67426

@galadril galadril added the bug label Dec 31, 2015
galadril added a commit that referenced this issue Dec 31, 2015
#165  Thermostat issue with settings whole points
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

1 participant