more G-Labs products

Author Topic: Troubleshooting Z-Wave thermostat  (Read 5508 times)

October 20, 2015, 05:11:22 AM
Reply #15

bradvoy

  • ***
  • Information
  • Full Member
  • Posts: 50

The formula to convert C to F is ( t * 1.8 ) + 32.  If you have the time when you see the incorrect setpoint again, try taking the bad reading through this formula ( t - 32 ) / 1.8 and let me know if the result is what the setpoint should be.

I haven't seen the problem for the last few days.  Lately my setpoints seem to be displaying correctly.  But back when I was seeing the problem, putting the bad temperature through this formula did yield the correct value.

October 20, 2015, 11:06:16 PM
Reply #16

Gene

  • *****
  • Information
  • Administrator
  • Posts: 1472
  • Tangible is the future!
    • Yet Another Programmer
Please can you try the latest version from source code? I've made some fixes to ZWave.

g.

October 22, 2015, 02:34:15 AM
Reply #17

michmill

  • *
  • Information
  • Newbie
  • Posts: 20
Gene, I'm running r497 and I'm still seeing the issue.  My updated scripts, thought, are working well with r497.  Is there a newer version than r497 I can try?

Cheers,
Mike

October 22, 2015, 10:43:23 AM
Reply #18

Gene

  • *****
  • Information
  • Administrator
  • Posts: 1472
  • Tangible is the future!
    • Yet Another Programmer
Yes r498 is available from source code:

https://github.com/genielabs/HomeGenie

it will be released in a couple of days.

November 09, 2015, 05:18:33 PM
Reply #19

Maximo

  • ***
  • Information
  • Full Member
  • Posts: 84
I'm just looking at some of the old logs, here's the section for my Thermostat (Secure SRT321). Polling works fine for me but changing the SetPoints does nothing, however looking at the log below Polling doesn't always work either.

I'm running standard code on R500.

Thanks,

Garry

2015-11-09 16:01:26.1848 Info HomeAutomation.HomeGenie.Automation   92   Automation Program   Program.Notification   {"Title":"Z-Wave Thermostat Poll","Message":"Polling thermostat 11<br>Living Room Thermostat"}
2015-11-09 16:01:26.3421 Trace [[[ BEGIN REQUEST ]]]
2015-11-09 16:01:26.3421 Trace WaitAck
2015-11-09 16:01:26.3421 Trace Sending Message (Node=11, CallbackId=87, Function=SendData, CommandClass=SensorMultilevel)
2015-11-09 16:01:26.3421 Debug 01-09-00-13-0B-02-31-04-05-87-5B
2015-11-09 16:01:26.3724 Debug 06-01-04-01-13-01-E8
2015-11-09 16:01:26.3724 Debug 06
2015-11-09 16:01:26.3724 Trace SendDataReady
2015-11-09 16:01:26.4821 Debug 01-05-00-13-87-01-6F
2015-11-09 16:01:26.4821 Debug 06
2015-11-09 16:01:26.4821 Trace Error
2015-11-09 16:01:26.4821 Trace [[[ END REQUEST ]]] took 148 ms
2015-11-09 16:01:26.4821 Warn Could not deliver message to Node 11 (CallbackId=87, Retry=1)
2015-11-09 16:01:26.4821 Trace [[[ BEGIN REQUEST ]]]
2015-11-09 16:01:26.4821 Trace WaitAck
2015-11-09 16:01:26.4821 Trace Sending Message (Node=11, CallbackId=87, Function=SendData, CommandClass=SensorMultilevel)
2015-11-09 16:01:26.4821 Debug 01-09-00-13-0B-02-31-04-05-87-5B
2015-11-09 16:01:26.6071 Debug 06-01-04-01-13-01-E8
2015-11-09 16:01:26.6071 Debug 06
2015-11-09 16:01:26.6071 Trace SendDataReady
2015-11-09 16:01:26.7177 Debug 01-05-00-13-87-01-6F
2015-11-09 16:01:26.7177 Debug 06
2015-11-09 16:01:26.7177 Trace Error
2015-11-09 16:01:26.7177 Trace [[[ END REQUEST ]]] took 228 ms
2015-11-09 16:01:26.7177 Warn Could not deliver message to Node 11 (CallbackId=87, Retry=2)
2015-11-09 16:01:26.7177 Trace [[[ BEGIN REQUEST ]]]
2015-11-09 16:01:26.7177 Trace WaitAck
2015-11-09 16:01:26.7177 Trace Sending Message (Node=11, CallbackId=87, Function=SendData, CommandClass=SensorMultilevel)
2015-11-09 16:01:26.7177 Debug 01-09-00-13-0B-02-31-04-05-87-5B
2015-11-09 16:01:26.8278 Debug 06-01-04-01-13-01-E8
2015-11-09 16:01:26.8278 Debug 06
2015-11-09 16:01:26.8278 Trace SendDataReady
2015-11-09 16:01:26.9549 Debug 01-05-00-13-87-01-6F
2015-11-09 16:01:26.9549 Debug 06
2015-11-09 16:01:26.9549 Trace Error
2015-11-09 16:01:26.9549 Trace [[[ END REQUEST ]]] took 239 ms
2015-11-09 16:01:26.9549 Warn Delivery of message to Node 11 failed (CallbackId=87).
2015-11-09 16:01:26.9549 Debug 11 Error
2015-11-09 16:01:26.9549 Info HomeAutomation.ZWave   11   Z-Wave Node   Status.Error   Response timeout!

November 09, 2015, 05:35:35 PM
Reply #20

Gene

  • *****
  • Information
  • Administrator
  • Posts: 1472
  • Tangible is the future!
    • Yet Another Programmer
Hi Maximo,

try waking up your device and the opening manually these urls:

Code: [Select]
http://HG_ADDRESS/api/HomeAutomation.ZWave/THERMOSTAT_NODE_NUMBER/Thermostat.SetPointGet/Heating

setting as celsius

Code: [Select]
http://HG_ADDRESS/api/HomeAutomation.ZWave/THERMOSTAT_NODE_NUMBER/Thermostat.SetPointSet/Heating/20

setting as fahrenheit

Code: [Select]
http://HG_ADDRESS/api/HomeAutomation.ZWave/THERMOSTAT_NODE_NUMBER/Thermostat.SetPointSet/Heating/68

and again

Code: [Select]
http://HG_ADDRESS/api/HomeAutomation.ZWave/THERMOSTAT_NODE_NUMBER/Thermostat.SetPointGet/Heating

then look at the log (if you are looking at the file, wait five minutes to let the log be flushed).
Post the output here.
I don't have a z-wave thermostat so this is the only way I can help.

g.

November 10, 2015, 12:24:11 PM
Reply #21

Maximo

  • ***
  • Information
  • Full Member
  • Posts: 84
Hi Gene,

I've given that ago and didn't get any results from any of the URL's. I did expect the get setpoint to work, but even that didn't return any results. i will have another look tonight and post my logs.

What i did notice though was that if I open the new andriod app and change the setpoint on the thermostat it's near instantly reported in the app. But even adjusting the setpoint in the app straight away makes no difference.

So one way communication from the thermostat to Hg is working fine it seems.

Thanks for your help.

Garry

November 10, 2015, 09:12:59 PM
Reply #22

Maximo

  • ***
  • Information
  • Full Member
  • Posts: 84
Have done a little more testing tonight. So when the thermostat is awake I can adjust the SetPoint. So it seems that HG tries to send the new SetPoint straight away, rather than waiting for a Wakeup Query. I'll upload the log entries shortly.

November 10, 2015, 10:37:51 PM
Reply #23

Maximo

  • ***
  • Information
  • Full Member
  • Posts: 84
Here's a few more log entries.

2015-11-10 20:04:27.0446 Info WebServiceGateway   192.168.100.208   HTTP   GET   200 /api/HomeAutomation.ZWave/11/Thermostat.SetPointSet/Heating/21.5/ [OPEN]
2015-11-10 20:04:27.0446 Info HomeAutomation.ZWave   11   ZWave Node   Thermostat.SetPoint.Heating   21.5
2015-11-10 20:04:27.0446 Info WebServiceGateway   192.168.100.208   HTTP   GET   200 /api/HomeAutomation.ZWave/11/Thermostat.SetPointSet/Heating/21.5/ [CLOSED AFTER 0.002 seconds]
2015-11-10 20:04:27.9196 Trace Error
2015-11-10 20:04:27.9196 Warn Message timeout (Node=11, CallbackId=11, Function=15, CommandClass=GetRoutingInfo)
2015-11-10 20:04:27.9196 Debug 11 Timeout
2015-11-10 20:04:27.9196 Trace [[[ END REQUEST ]]] took 10012 ms
2015-11-10 20:04:27.9196 Warn Delivery of message to Node 11 failed (CallbackId=15).
2015-11-10 20:04:27.9196 Info HomeAutomation.ZWave   1   Z-Wave Controller   Controller.Status   Node 11 response timeout!
2015-11-10 20:04:27.9196 Debug 11 Error
2015-11-10 20:04:27.9196 Info HomeAutomation.ZWave   11   Z-Wave Node   Status.Error   Response timeout!
2015-11-10 20:04:27.9196 Warn Node is flagged as sleeping, message will be re-sent on Wake Up (Node=11, CallbackId=11, Function=15, CommandClass=GetRoutingInfo)
2015-11-10 20:04:27.9196 Trace Adding message 01-07-00-80-0B-00-00-15-66
2015-11-10 20:04:27.9196 Debug 11 WakeUpSleepingStatus 1
2015-11-10 20:04:27.9196 Info HomeAutomation.ZWave   11   ZWave Node   ZWaveNode.WakeUpSleepingStatus   1
2015-11-10 20:04:28.0446 Trace [[[ BEGIN REQUEST ]]]
2015-11-10 20:04:28.0446 Trace WaitAck
2015-11-10 20:04:28.0446 Trace Sending Message (Node=11, CallbackId=16, Function=GetRoutingInfo, CommandClass=NotSet)
2015-11-10 20:04:28.0446 Debug 01-07-00-80-0B-00-00-16-65
2015-11-10 20:04:28.1540 Debug 06-01-20-01-80-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-5E
2015-11-10 20:04:28.1540 Debug 06
2015-11-10 20:04:28.1540 Warn No routing nodes reported.
2015-11-10 20:04:28.1540 Trace SendDataReady