Just wanted to post an update to document what Tom and I found was going wrong with his setup. The plug-in was not able to properly parse the thermostat responses due to the fact that the thermostats had been "named". Tom had previous used Premise SYS software and it seems that software uses the SNx NAME= command to name each of the thermostats.
An example of a response was "SN1UPSTAIRS T=70F" when it should have been "SN1 T=70F". The plug-in was parsing the address as "1UPSTAIRS" instead of "1" therefore it assumed it was from an unconfigured thermostat so it just threw away the data and never updated the device associated with thermostat "1". I've added an IsNumeric check in the parsing code to verify the parsed address is numeric otherwise the plug-in will log a parsing error along with the data it was trying to parse. This should make it easier in the future to figure out what's happening.
Ken
An example of a response was "SN1UPSTAIRS T=70F" when it should have been "SN1 T=70F". The plug-in was parsing the address as "1UPSTAIRS" instead of "1" therefore it assumed it was from an unconfigured thermostat so it just threw away the data and never updated the device associated with thermostat "1". I've added an IsNumeric check in the parsing code to verify the parsed address is numeric otherwise the plug-in will log a parsing error along with the data it was trying to parse. This should make it easier in the future to figure out what's happening.
Ken
Comment