Thermostat Simulator - unsupported attributes


(Kevin Tierney) #1

I spent an hour racking my brain trying to figure out why my code wasn’t working before I decided to try my actual thermostat. I am using the standard z-wave thermostat. As soon as I switched over to my acutal thermostat, I received values

These returned nulls
thermostat.currentValue(“thermostatOperatingState”)
thermostat.currentValue(“thermostatSetpoint”)

thermostat.currentValue(“temperature”) however did work

Not sure if it’s a bug or just a limitation of the simulator, but I thought I would at least pass it along


(Patrick Stuart [@pstuart]) #2

Depends on device type code. Simulator uses old code to simulate device types. However real devices use installed device types that can do or not so basically anything.

I find it almost critical to test using real devices or at least fake devices that respond with real values.


(Kevin Tierney) #3

it would be nice if it at least supported the standard attributes. I hadn’t thought about installing a dummy thermostat using the current code. Next time I’ll do that from the beginning