...
Represents a specific control element or sensor in the TapHome system. It must always be part of one parent Module.
Info |
---|
Example: DOPLNIT!!!!!!! |
Supported devices:
Digital output
Analog output
Thermostat
Multi-value switch
Temperature sensor
Variable
Push button
Electric meter
Status contact
[%key_id:12433814%]
[%key_id:3757124%]
Tunable white light
...
Info |
---|
[Click here for more information on the TapHome scripting language](https://taphome.com/support/41123985) |
TapHome defines multiple attributes that can contain script language:
Initialize script: is run when the device starts (e.g. after the control unit is restarted)
Read script: setting values of global variables or reading error states
Read Value script: script for reading a specific value (quantity) from a connected device (e.g. set temperature on the thermostat or measured temperature on the thermostat)
Write Value script: write the value to the connected device
SENDHTTPREQUEST
Sends http request with specified parameters, waits for response and returns response as JSON string with values as Content, Headers, Http result code. Function is supported only in Packet parser scripts with Http protocol.
...