Virtual tag functions
Functions available in a virtual tag read or write script, grouped by category.
These functions are available in virtual tag scripts, which run server-side (on the Edge) to compute a tag’s value. Read and write scripts don’t expose the same set — each function’s page says where it can be used. Tags and alarms are always addressed by their path string.
Categories
- Tags — read and write other tags and their history.
- Alarms — read alarm state.
- Time — work with timestamps.
- Conversions — pack and unpack register values.
External data (read scripts only, each needs its source available):
- SMHI — weather data.
- ClimaCheck — refrigeration analysis.
- Weatherstack — current weather.
- Heat pump — heat-pump verification.
From integrations (each works only once its integration is installed):
- Nord Pool — electricity prices.
- E.ON — metering measurements.
- Metry — meter readings.
- Myrspoven — building-control writes.
- Energy Machines (EMV) — heat-pump indicators.
Write scripts:
- Input — the value being written to the tag.