LinuxMCE Forums

General => Users => Topic started by: davegravy on November 06, 2014, 10:03:40 pm

Title: [SOLVED] CT100 ZWave Thermostat Fahrenheit vs Celcius
Post by: davegravy on November 06, 2014, 10:03:40 pm
Recently I bought a CT100 thermostat and it have it configured and responding via ZWave

The device is detected as a "Standard Thermostat" device template.

When I try to set heating/cooling setpoint temp it seems to interpret values as Fahrenheit even though in webadmin it says setpoint values are Celcius. How can I modify the behavior to allow Celcius values to be sent?
Title: Re: CT100 ZWave Thermostat Fahrenheit vs Celcius
Post by: davegravy on November 16, 2014, 01:22:10 pm
Anyone?  Is this a case of needing to make a non - generic template specifically for this thermostat?
Title: Re: CT100 ZWave Thermostat Fahrenheit vs Celcius
Post by: sambuca on November 17, 2014, 08:50:35 am
There is nothing in the template that decides what unit the temperature is interpreted as. All my devices works as expected (I also use Celsius) and I don't recall having to do anything special.  But I do think some devices has a configuration setting to toggle the unit it interprets values as - you should read the manual for your device.

br,
sambuca
Title: Re: CT100 ZWave Thermostat Fahrenheit vs Celcius
Post by: Marie.O on November 17, 2014, 10:15:33 am
I checked the install manual for the device, and it only talks about Fahrenheit. You might want to check with the manufacturer if and how to change between Fahrenheit and Celsius.
Title: Re: CT100 ZWave Thermostat Fahrenheit vs Celcius
Post by: acald on November 17, 2014, 01:11:30 pm
http://www.connectctc.com/CTC_Support/documents/smart-home/Smart-Thermostat-User-Guide.pdf (http://www.connectctc.com/CTC_Support/documents/smart-home/Smart-Thermostat-User-Guide.pdf)

See page 5
Title: Re: CT100 ZWave Thermostat Fahrenheit vs Celcius
Post by: davegravy on November 18, 2014, 12:12:16 am
There is nothing in the template that decides what unit the temperature is interpreted as. All my devices works as expected (I also use Celsius) and I don't recall having to do anything special.  But I do think some devices has a configuration setting to toggle the unit it interprets values as - you should read the manual for your device.

br,
sambuca
http://www.connectctc.com/CTC_Support/documents/smart-home/Smart-Thermostat-User-Guide.pdf (http://www.connectctc.com/CTC_Support/documents/smart-home/Smart-Thermostat-User-Guide.pdf)

See page 5

As far as I can tell from the documentation, the device allows you to switch display units but not the units it expects as input via ZWave.

Given this, I assume I'm out of luck until/unless some conversion code gets implemented somewhere in LMCE.
Title: Re: CT100 ZWave Thermostat Fahrenheit vs Celcius
Post by: Marie.O on November 18, 2014, 12:19:48 am
Did you check with the manufacturer?
Title: Re: CT100 ZWave Thermostat Fahrenheit vs Celcius
Post by: davegravy on November 18, 2014, 03:13:28 am
Did you check with the manufacturer?

Emailed a while ago, waiting to hear back.
Title: Re: CT100 ZWave Thermostat Fahrenheit vs Celcius
Post by: davegravy on November 24, 2014, 06:45:22 pm
Manufacturer responded by referring me to support for my Zwave controller.

I responded:

Quote
Perhaps my question wasn't very clear.

Your thermostat interprets commands sent over Zwave and modifies its settings (example heating termperature setpoint) accordingly. The means by which it interprets those zwave commands is what I am questioning, and is irrespective of the Zwave controller.

The zwave controller manufacturer will not be able to help me with this and will refer me back to you.

Please tell me if there is a way to change the behaviour of the CT100 so that it interprets temperature setpoint changes received via Zwave as degrees Celsius as opposed to degrees Fahrenheit (note that I'm not referring to the display units which is a different matter).

I'm not very knowledgeable about how these devices talk at a low level, but I'm assuming there is no unit (Celsius/Fahrenheit) supplied with setpoint commands by the controller, just a value, and that it's up to the thermostat to interpret it as Celsius or Fahrenheit (obvious design would be to decide this based on the unit that the user has chosen to have displayed on the LCD of the screen).
Title: Re: CT100 ZWave Thermostat Fahrenheit vs Celcius
Post by: davegravy on November 25, 2014, 03:06:36 pm
Response from manufacturer:

Quote
Hi, sorry, but no there is no way to adjust how the thermostat communicates through zwave. If you have any additional questions please don't hesitate to contact us.

So... About translating set point values into Fahrenheit on the LMCE side... :)
Title: Re: CT100 ZWave Thermostat Fahrenheit vs Celcius
Post by: Marie.O on November 25, 2014, 07:15:16 pm
Sounds like a feature request.
Title: Re: CT100 ZWave Thermostat Fahrenheit vs Celcius
Post by: davegravy on November 25, 2014, 08:40:47 pm
Sounds like a feature request.

Created.

http://svn.linuxmce.org/trac/ticket/2264#ticket
Title: Re: CT100 ZWave Thermostat Fahrenheit vs Celcius
Post by: davegravy on November 26, 2014, 05:38:11 am
Note that in the send command window (webadmin) for the thermostat temperature is this text

Quote
Can be absolute, like 20, 18, etc., or relative, like +2, -2, etc. The temperature is always in degrees celsius, and the application is expected to convert to Fahrenheit if necesssary.

Not sure what "the application" is referring to exactly in this context... if it's LMCE or the thermostat device.
Title: Re: CT100 ZWave Thermostat Fahrenheit vs Celcius
Post by: davegravy on November 27, 2014, 01:36:53 am
Thanks to Sambuca for the surprisingly quick feature request fulfilment!
Title: Re: CT100 ZWave Thermostat Fahrenheit vs Celcius
Post by: Marie.O on November 27, 2014, 06:12:38 am
Update is in the repository
Title: Re: CT100 ZWave Thermostat Fahrenheit vs Celcius
Post by: davegravy on November 28, 2014, 07:38:49 am
Quote
<davegravy> hey sambuca, i changed the thermostat units to "F" in device data, reloaded router, and tested
<davegravy> unfortunately, no change. I still have to send the number 75 if I want it to set the temperature to 24Celsius

Let me know how I can help diagnose.
Title: Re: CT100 ZWave Thermostat Fahrenheit vs Celcius
Post by: Marie.O on November 28, 2014, 12:49:44 pm
Please show the output of dpkg -l lmce-zwave-\*
Title: Re: CT100 ZWave Thermostat Fahrenheit vs Celcius
Post by: davegravy on November 28, 2014, 09:39:53 pm
Please show the output of dpkg -l lmce-zwave-\*

Code: [Select]
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                  Version               Description
+++-=====================-=====================-==========================================================
ii  lmce-zwave-ozw        2.0.0.46.14112629733  <insert up to 60 chars description>
Title: Re: CT100 ZWave Thermostat Fahrenheit vs Celcius
Post by: Marie.O on November 28, 2014, 09:42:04 pm
Please provide the Zwave logfile for sambuca.
Title: Re: CT100 ZWave Thermostat Fahrenheit vs Celcius
Post by: davegravy on November 29, 2014, 01:44:54 am
Please provide the Zwave logfile for sambuca.

http://paste.ubuntu.com/9290673/

Device 135 (node 29) is thermostat.
Title: Re: CT100 ZWave Thermostat Fahrenheit vs Celcius
Post by: sambuca on November 29, 2014, 04:18:46 pm
Hi.

You might need to reboot or do "sudo killall ZWave", due to the way the driver works. It's one of those things I've been trying to find a good solution for...

Br,
Sambuca
Title: Re: CT100 ZWave Thermostat Fahrenheit vs Celcius
Post by: phenigma on November 30, 2014, 10:51:19 pm
I think we need to extend launch manager so it reloads core devices when the dcerouter reloads.  Only children of the onscreen orbiters get reloaded right now. iirc.

J.
Title: Re: CT100 ZWave Thermostat Fahrenheit vs Celcius
Post by: davegravy on December 03, 2014, 08:56:33 pm
Hi.

You might need to reboot or do "sudo killall ZWave", due to the way the driver works. It's one of those things I've been trying to find a good solution for...

Br,
Sambuca

Still no luck after rebooting
Title: Re: CT100 ZWave Thermostat Fahrenheit vs Celcius
Post by: davegravy on December 07, 2014, 06:59:51 pm
Latest update fixed this. Thanks guys!