Closed galadril closed 8 years ago
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
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