@DaTTcz about 14 hours ago
After some time I test again...
Battery level script - Your manual works. Using the timer, choose a time when the script started and it works. Can I transfer variables from script to email? Script gives me this result:
{
"myImports": {},
"mcResult": true,
"batteryLevel": "94"
}
Where is a list of variables that can be used in e-mail? I only know this, from mc-default-rule-email-template. is there more?
${notification.ruleCondition}
${notification.actualValue}
${notification.triggeredAt}
${notification.ruleName}
3.Email does not support coding, for example, instead of Czech characters "ř" I must use the entity "&rcaron" ...etc
Source: http://forum.mycontroller.org/topic/101/battery-level-script-and-next-testing
@DaTTcz about 14 hours ago After some time I test again...
Battery level script - Your manual works. Using the timer, choose a time when the script started and it works. Can I transfer variables from script to email? Script gives me this result: { "myImports": {}, "mcResult": true, "batteryLevel": "94" }
Where is a list of variables that can be used in e-mail? I only know this, from mc-default-rule-email-template. is there more? ${notification.ruleCondition} ${notification.actualValue} ${notification.triggeredAt} ${notification.ruleName}
3.Email does not support coding, for example, instead of Czech characters "ř" I must use the entity "&rcaron" ...etc