At first i was getting errors that loops for ever, can stop the that loop, it goes on for ever.
- Code: Select all
2016-10-31 20:57:52.960 DSC Alarm Debug RX: 50009634
2016-10-31 20:57:52.961 DSC Alarm Debug ACK for cmd 096.
2016-10-31 20:57:52.967 DSC Alarm Debug RX: 50202932
2016-10-31 20:57:52.968 DSC Alarm Error IT-100/Envisalink Error (029): Unknown
2016-10-31 20:57:52.968 DSC Alarm Error Received system error after sending command, aborting.
2016-10-31 20:57:52.969 DSC Alarm Error Error changing thermostat setpoints, aborting adjustment.
2016-10-31 20:57:52.970 DSC Alarm Debug SensorNum = 1
2016-10-31 20:57:52.970 DSC Alarm Debug TX: 0951CF
Was able to pin down what was creating the error, but can't get the loop to stop even I fix the little bug in the code....
The error (029) is the in the Actions.xml file
<Action id="actionAdjustThermostat" deviceFilter="self.alarmTemp">
<Name>Adjust Thermostat</Name>
<CallbackMethod>methodAdjustThermostat</CallbackMethod>
<ConfigUI>
<Field type="menu" id="thermoAdjustWhich" defaultValue="h">
<Label></Label>
<List>
<Option value="H">Heat Setpoint</Option>
<Option value="C">Cool Setpoint</Option>
</List>
</Field>
<Field type="menu" id="thermoAdjustmentType" defaultValue="+">
<Label></Label>
<List>
<Option value="+">Increment by 1</Option>
<Option value="-">Decrement by 1</Option>
<Option value="=">Set to ...</Option>
</List>
</Field>
<Field type="textfield" id="thermoSetPoint" visibleBindingId="thermoAdjustmentType" visibleBindingValue="=">
<Label>Temperature:</Label>
</Field>
</ConfigUI>
</Action>
vs
<Action id="actionAdjustThermostat" deviceFilter="self.alarmTemp">
<Name>Adjust Thermostat</Name>
<CallbackMethod>methodAdjustThermostat</CallbackMethod>
<ConfigUI>
<Field type="menu" id="thermoAdjustWhich" defaultValue="h">
<Label></Label>
<List>
<Option value="h">Heat Setpoint</Option>
<Option value="C">Cool Setpoint</Option>
</List>
</Field>
<Field type="menu" id="thermoAdjustmentType" defaultValue="+">
<Label></Label>
<List>
<Option value="+">Increment by 1</Option>
<Option value="-">Decrement by 1</Option>
<Option value="=">Set to ...</Option>
</List>
</Field>
<Field type="textfield" id="thermoSetPoint" visibleBindingId="thermoAdjustmentType" visibleBindingValue="=">
<Label>Temperature:</Label>
</Field>
</ConfigUI>
<Option value="h">Heat Setpoint</Option> changes to a uppercase H and was able to set temp but the loops remained.
And it's get even worse if you use increments because it continuously increases the temp... lol
Help would be appreciated.