more G-Labs products

Author Topic: Z-Wave Thermostat Troubleshooting  (Read 5399 times)

June 29, 2015, 06:34:24 PM
Reply #15

bradvoy

  • ***
  • Information
  • Full Member
  • Posts: 50
My thermostats use Fahrenheit on their front panels.  But I don't know if they are expecting Celsius or Fahrenheit in ZWave commands.

I found the following entry in the HomeGenie log:

Code: [Select]
"2015-06-28T21:13:05.3783250-06:00 HomeAutomation.ZWave 10 ZWave Node Sensor.Temperature 25.0"
I believe that indicates that the thermostat reports the current temperature in Celsius.  So maybe it's expecting to receive setpoints in Celsius also.

The log also contains many instances of the following errors.  I don't know if these are related to this problem or something different:

Code: [Select]
"2015-06-28T20:46:56.0302830-06:00 HomeAutomation.HomeGenie.Automation 92 Automation Program Program.Notification {""Title"":""Z-Wave Thermostat Poll"""
"2015-06-28T20:46:56.0392470-06:00 HomeGenie.System Console StdOut/StdErr redirect Console.Output ZWave Interface Exception: Object reference not set to an instance of an object"
  at ZWaveLib.CommandClasses.SensorMultilevel.Get (ZWaveLib.ZWaveNode node) [0x00000] in <filename unknown>:0
  at MIG.Interfaces.HomeAutomation.ZWave.InterfaceControl (MIG.MIGInterfaceCommand request) [0x00000] in <filename unknown>:0

And I also see the following error in the log from the times when I attempted to change the setpoint via the HomeGenie interface:

Code: [Select]
"2015-06-28T20:47:52.3859400-06:00 MIG.Gateways.WebServiceGateway 192.168.1.127 api/HomeAutomation.ZWave/10/Thermostat.SetPointSet/Cooling/79/1435546075629 HTTP GET"
"2015-06-28T20:47:52.3876650-06:00 HomeGenie.System Console StdOut/StdErr redirect Console.Output SPO < 01 0C 00 13 0A 05 43 01 02 01 4F 05 06 E2"
"2015-06-28T20:47:53.5920800-06:00 HomeGenie.System Console StdOut/StdErr redirect Console.Output SPI > 01 05 00 13 06 00 EF"
"2015-06-28T20:47:53.5922440-06:00 HomeGenie.System Console StdOut/StdErr redirect Console.Output SPO < 06"

Hopefully some of that information is helpful.  Thanks again for the time you've spent on this.

June 29, 2015, 09:27:46 PM
Reply #16

bradvoy

  • ***
  • Information
  • Full Member
  • Posts: 50
Here is one more bit of information.  I see entries like this in the HomeGenie Event Monitor:

Code: [Select]
1:18:56.845 PM     Sensor.Temperature     78.008     11     HomeAutomation.ZWave

So this is showing Fahrenheit temperatures.  I don't know how to reconcile that with the HomeGenie log entries that show Celsius values for these Sensor.Temperature readings.

June 29, 2015, 10:02:41 PM
Reply #17

dani

  • *****
  • Information
  • Global Moderator
  • Posts: 535
1 - I saw that the SetPoint is sent to ZWave Node 11.
2 - And the Sensor.Temperature is received from Node 10.

Is it normal way ? That is the same equipment ? Normally Theremostat Node make the 2 functions.
And yes I don't undertand the ZWave Polling thermostat Node. If you invalidate that function do you continue to receive the temperature ?

June 30, 2015, 05:17:41 AM
Reply #18

bradvoy

  • ***
  • Information
  • Full Member
  • Posts: 50
I have 2 thermostats, one upstairs and one on the main floor.  One is ZWave node 11 and the other is ZWave node 10.  In the examples I posted earlier I happened to mix messages from both.  I actually see similar messages from both of them, and they both have the problem where they don't respond to setpoint changes.

I'll disable the ZWave polling program and see if HomeGenie continues to get the temperature from the thermostats.

July 01, 2015, 02:37:43 PM
Reply #19

bradvoy

  • ***
  • Information
  • Full Member
  • Posts: 50
I confirmed that if I disable the ZWave polling program then my thermostats no longer display the current temperature.

July 07, 2015, 05:39:20 AM
Reply #20

bradvoy

  • ***
  • Information
  • Full Member
  • Posts: 50
Dani, did the information in my previous 2 posts answer your questions?  Is there any other information I can gather to help troubleshoot this problem?

Thanks,
Brad

July 07, 2015, 12:35:39 PM
Reply #21

dani

  • *****
  • Information
  • Global Moderator
  • Posts: 535
The error StdErr you get is when the port (USB ZWave key) is not connect.
If you get many time that error, that means that USB is disconnected, or perhaps if you use Raspberry, the main supply is not strong enough. If it's 1 Amp it is not suffisant prbably. Try a main supply of 1.2 ou 2 Amps will be a good test.
Sure if ZWave controller is deisconnected many time, you get an erratic result. You must never get that error of StdErr on ZWave controller.

July 08, 2015, 05:40:21 AM
Reply #22

bradvoy

  • ***
  • Information
  • Full Member
  • Posts: 50
I'm pretty sure there is no problem with my USB ZWave key.  It's working very reliably with my ZWave lights.  And it works fine with my thermostats when I want to change modes and when it's reading the current temperature.  It's only when I try to change the thermostat setpoints that I have trouble.  I'm not running it on a Raspberry Pi; it's on a desktop computer running Ubuntu.

I'm no longer seeing the first error that was in my earlier post (ZWave Interface Exception: Object reference not set to an instance of an object).  That was apparently a one-time problem.

The log still shows many instances of this sequence of error messages:
Code: [Select]
2015-07-07T15:15:30.2768520-06:00 HomeGenie.System Console StdOut/StdErr redirect Console.Output SPO < 01 09 00 13 07 02 20 02 05 59 9E
2015-07-07T15:15:30.2912630-06:00 HomeGenie.System Console StdOut/StdErr redirect Console.Output SPI > 06
2015-07-07T15:15:30.2914010-06:00 HomeGenie.System Console StdOut/StdErr redirect Console.Output SPO < 06
2015-07-07T15:15:30.4916400-06:00 HomeGenie.System Console StdOut/StdErr redirect Console.Output SPI > 01 04 01 13 01 E8
2015-07-07T15:15:30.5418130-06:00 HomeGenie.System Console StdOut/StdErr redirect Console.Output SPI > 01 05 00 13 59 00 B0
2015-07-07T15:15:30.5419200-06:00 HomeGenie.System Console StdOut/StdErr redirect Console.Output SPO < 06
2015-07-07T15:15:30.5919820-06:00 HomeGenie.System Console StdOut/StdErr redirect Console.Output SPI > 01 09 00 04 00 07 03 20 03 00 D5
2015-07-07T15:15:30.5921070-06:00 HomeGenie.System Console StdOut/StdErr redirect Console.Output SPO < 06

Before I thought these were associated with the ZWave setpoint commands.  But I see now that they're not.  I don't know what's causing them or what they mean, but they happen repeatedly even when I'm not doing anything with the thermostat.