zhanfeng Posted September 23, 2017 Share Posted September 23, 2017 I am currently develop a thermostat driver use DriverEditor. Does anyone know how to change the main UI color based on the HVAC mode? For example, if current mode is heat, UI button should be orange; if current mode is cool, it should be blue. As showed in the Attachment Link to comment Share on other sites More sharing options...
msgreenf Posted September 23, 2017 Share Posted September 23, 2017 Doesn't that happen automatically if you are using the correct proxy? Sent from my Pixel XL using Tapatalk Link to comment Share on other sites More sharing options...
zhanfeng Posted September 27, 2017 Author Share Posted September 27, 2017 I Found the solution: it's the HVAC_STATE_CHANGED Notify for Thermostat proxy. C4:SendToProxy(idBinding, "HVAC_STATE_CHANGED", {STATE = "off"}) -- STATE can be 'off', 'heat', or 'cool'. Link to comment Share on other sites More sharing options...
RyanE Posted September 28, 2017 Share Posted September 28, 2017 "found"... RyanE Link to comment Share on other sites More sharing options...
zhanfeng Posted September 28, 2017 Author Share Posted September 28, 2017 By "found" I mean I post another Thread on forums.control4.com and got helped by a good man Thank you again. RyanE Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.