# SCRIPTS

<table><thead><tr><th width="128">Plugin</th><th width="148">Name</th><th>Description</th></tr></thead><tbody><tr><td><img src="https://2866306475-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsOJKIPVBwStiyHDRNL5F%2Fuploads%2FDqiGukwNrRsY6glvKjxt%2FCounter%20JS.png?alt=media&#x26;token=bc364cb7-c194-4b75-a155-7df31762759b" alt="" data-size="original"></td><td><strong>Counter JS</strong></td><td><strong>The</strong> <strong>Counter JS</strong> increments the count and writes the updated value to the output each time it receives a signal from the <strong>Increase</strong> input. Conversely, it decrements the count when it receives a signal from the <strong>Decrease</strong> input. The count is reset to its initial value when a signal is received from the <strong>Reset</strong> input.</td></tr><tr><td><img src="https://2866306475-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsOJKIPVBwStiyHDRNL5F%2Fuploads%2FlEXSXPplp1spzKbXvfp8%2FThermostat%20Lock.png?alt=media&#x26;token=9c484e61-d798-4434-9e31-0d0cb30fc7d8" alt="" data-size="original"></td><td><strong>Thermostat Lock</strong></td><td><p><strong>The</strong> <strong>Thermostat Lock</strong> is used to lock specific functions during VRF control. It can lock the On/Off, Mode, Set Temperature, Fan Speed, and Swing positions defined within the object for a specified time interval or continuously (similar to a scenario). The lock can be activated or deactivated as needed.</p><p>Additionally, if you want to change the values for Set Temperature, Mode, On/Off, Fan Speed, and Swing, the <strong>Lock</strong> inputs (such as <strong>Lock Set</strong> and <strong>Lock Mode</strong>) can be utilized. These inputs allow for adjustments to these controls without needing to enter the object and manually change the settings each time.</p></td></tr><tr><td><img src="https://2866306475-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsOJKIPVBwStiyHDRNL5F%2Fuploads%2Fme0yopYES2JlqEocEBeO%2FJS%20Plugin.png?alt=media&#x26;token=8cc22260-9c5f-4705-be04-9d77f0d40b99" alt="" data-size="original"></td><td><strong>JS Plugin</strong></td><td><strong>The</strong> <strong>JS Plugin</strong> is a block that allows you to create and execute JavaScript code within the project. This is particularly useful when the existing objects in the project do not meet specific requirements, as it enables you to create custom objects or functionalities tailored to your needs using JavaScript.</td></tr><tr><td><img src="https://2866306475-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsOJKIPVBwStiyHDRNL5F%2Fuploads%2FJteQQz7MbJsRu1qy7UNs%2FT-Off.png?alt=media&#x26;token=57d5bf06-95b7-4b8f-b4b9-4eef1a467975" alt="" data-size="original"></td><td><strong>T-Off</strong></td><td><strong>The T-Off</strong> outputs the data after a specified time "t," it inverts the input data by 1 bit. 1 turns to 0 after "t" time, and 0 turns to 1 after "t" time.</td></tr></tbody></table>
