Good evening!\n\nFaced with the problem in the next programming of the controller:\n\nI need logic to handle the thermostat setting. Those. thermostat does not control what or groups, and is used only as an input device. Correspondingly, I have set up the ability to custom mode switching (heating / cooling / ventilation). Each of the modes provided a 3-speed fan control feature.\n\nWhen I test the code on a computer with a connection to the bus, everything works fine, but it is necessary to record a program to the controller stops working to obtain fan speed (I tested it by passing the obtained values of virtual teams).\n\nThere have any ideas?