The Lua script used to calculate energy cost. This script can be
modified only if server-storage variable
global/billing/tariff_uri
is empty or unset.
If loading this script takes longer than 15 seconds or evaluating the register formulas takes longer than half the update-interval, an alert is raised.
{- "result": "print(\"this is the tariff script\");",
- "error": "Error message (present if an error occurred)."
}
The Lua script used to calculate energy cost. This script can be
modified only if server-storage variable
global/billing/tariff_uri
is empty or unset.
If loading this script takes longer than 15 seconds or evaluating the register formulas takes longer than half the update-interval, an alert is raised.
Normal response.
Unauthorized response.
"print(\"this is the tariff script\");"
{- "status": "OK",
- "error": "Error message (present if an error occurred)."
}
The Lua script used to calculate energy cost. This script can be
modified only if server-storage variable
global/billing/tariff_uri
is empty or unset.
If loading this script takes longer than 15 seconds or evaluating the register formulas takes longer than half the update-interval, an alert is raised.
Normal response.
Unauthorized response.
"print(\"this is the tariff script\");"
{- "status": "OK",
- "error": "Error message (present if an error occurred)."
}
Reset to empty string.
Normal response.
Unauthorized response.
{- "status": "OK",
- "error": "Error message (present if an error occurred)."
}