Fixes #40, #41, and #42. It also fixes the following:
When the mode changes from Boost, set the RemBoostTime to 0 which will cancel the countdown timer and return the LCD back to "normal" mode.
When changing the Temp Unit, use sendCommand instead of postUpdate for the TempSetpoint to ensure that the new value gets published to MQTT and the LCD is updated.
Change the visibility check for boost mode to be based on the XMode state instead of the XRemBoostTime value which is more reliable and will not break the sitemap if XRemBoostTime is NULL or UNDEF.
The fix to #40 is to set a Timer for one second before synchronizing the state of one of the proxies with the others in the "Synchornize Temp Proxies" Rule.
The fix to #41 is to define the label in the sitemap with an empty [] which suppresses the Item's state on the sitemap.
The fix to #42 is to use the "Outgoing Value Format" field on the Current Temperature Channel which follows the same syntax as formatting labels in the sitemap.
Thankfully it looks like it did not reorder the Rules so the actual changes are highlighted. Unfortunately it did appear to reorder the Things. The only "real" change there is the one on line 5001. I know dealing with the JSONDB configs is a pain but I hope the benefits make it worth while.
Next step is to address those three enhancement issues!
Fixes #40, #41, and #42. It also fixes the following:
When the mode changes from Boost, set the RemBoostTime to 0 which will cancel the countdown timer and return the LCD back to "normal" mode.
When changing the Temp Unit, use sendCommand instead of postUpdate for the TempSetpoint to ensure that the new value gets published to MQTT and the LCD is updated.
Change the visibility check for boost mode to be based on the XMode state instead of the XRemBoostTime value which is more reliable and will not break the sitemap if XRemBoostTime is NULL or UNDEF.
The fix to #40 is to set a Timer for one second before synchronizing the state of one of the proxies with the others in the "Synchornize Temp Proxies" Rule.
The fix to #41 is to define the label in the sitemap with an empty
[]
which suppresses the Item's state on the sitemap.The fix to #42 is to use the "Outgoing Value Format" field on the Current Temperature Channel which follows the same syntax as formatting labels in the sitemap.
Thankfully it looks like it did not reorder the Rules so the actual changes are highlighted. Unfortunately it did appear to reorder the Things. The only "real" change there is the one on line 5001. I know dealing with the JSONDB configs is a pain but I hope the benefits make it worth while.
Next step is to address those three enhancement issues!
Signed-off-by: Richard Koshak rlkoshak@gmail.com