more G-Labs products

Author Topic: How to save Generic Thermostat settings  (Read 1063 times)

May 26, 2015, 03:54:46 AM
Read 1063 times

BruceS

  • *
  • Information
  • Newbie
  • Posts: 13
After I restart HomeGenie my setpoint and mode settings are gone for the Generic Thermostat and I have to reset them.  Looking for coding assistance on how to save the generic thermostat properties or query the thermostat settings upon startup?  I have a Honeywell Z-Wave thermostat TH8320ZW1000.  http://www.pepper1.net/zwavedb/device/209.  I've tried the generic thermostat on HG version r484 and r488.

May 30, 2015, 11:01:18 PM
Reply #1

BruceS

  • *
  • Information
  • Newbie
  • Posts: 13
Looking for someone with experience in getting the generic thermostat to work correctly.  Let me re-state what I am experiencing.

I have the displayUnit variable set to Fahrenheit.

The app displays the thermostat's current temperature ok.

Initially the setpoints are hidden until I set them with the popup.

I had to comment out the enable/disable Cool Set Point feature code because the Cool button was grayed out.  Now it works.

If someone changes the setpoint at the thermostat then the app will now display the setpoint to Celcius.

The fanState appears to be null and ends up hidden.  I don't understand why it's not getting read.

If I reboot my server my app setpoints are gone.  So it seems like the app isn't reading my thermostat correctly.

Any assistance would be appreciated.

June 21, 2015, 12:27:54 AM
Reply #2

amji71

  • *
  • Information
  • Newbie
  • Posts: 10
var setPoint = Modules.InDomain("HomeAutomation.ZWave").WithAddress("X").Command("Thermostat.SetPointSet");

var mode = Modules.InDomain("HomeAutomation.ZWave").WithAddress("X").Command("Thermostat.ModeSet");

var fan = Modules.InDomain("HomeAutomation.ZWave").WithAddress("X").Command("Thermostat.FanModeSet");

setPoint.Set("Heating/57");
setPoint.Set("Cooling/78");
mode.Set("Auto");
fan.Set("AutoLow");

This is if you work with C#.  Works nicely.