diff --git a/Scripting-Language.md b/Scripting-Language.md index a5aeb4d1..6ef0b559 100644 --- a/Scripting-Language.md +++ b/Scripting-Language.md @@ -23,6 +23,7 @@ USE_SCRIPT_JSON_EXPORT | enable `>J` section USE_SCRIPT_WEB_DISPLAY | enable `>W` section USE_SCRIPT_SUB_COMMAND | enables invoking named script subroutines via the Console or MQTT USE_SCRIPT_HUE | enable `>H` section +USE_SCRIPT_STATUS | enable `>U` section SUPPORT_MQTT_EVENT | enables support for subscribe unsubscribe USE_TOUCH_BUTTONS | enable virtual touch button support with touch displays USE_24C256 | enables use of 24C256 I2C EEPROM to expand script buffer (defaults to 4k) @@ -110,6 +111,9 @@ Remark: hue values have a range from 0-65535. Divide by 182 to assign HSBcolors example: lamp1,E,on=pwr1,hue=hue1,sat=sat1,bri=bri1,ct=ct1 +>`>U` +status JSON Messages arrive here + >`>J` The lines in this section are published via MQTT in a JSON payload on [TelePeriod](Commands#teleperiod). Requires compiling with `#define USE_SCRIPT_JSON_EXPORT `. @@ -220,7 +224,8 @@ Remarks: If you define a variable with the same name as a special variable that special variable is discarded **Tasmota commands** -`=> ` Execute \ +`=> ` Execute \ recursion disabled +`+> ` Execute \ recursion enabled `-> ` Execute \ - do not send MQTT or log messages (i.e., silent execute - useful to reduce traffic) **Variable Substitution**