Skip to content
02.12.2026 09:41:39 Energy reports and XML
TR EN
Sign in Try it free

Live

Energy reports and the XML service

Three energy report templates bind themselves to a device or a zone and go out by e-mail as PDF or Excel on a schedule. The XML service lets other software read the energy data with widely used XML requests.

Three energy templates

Energy reports use the performance report engine: they are calculated from the archive and produced as A4 PDF and Excel. The difference is that the slots of an energy template bind themselves to the chosen measurement source; no tags have to be picked. The indicator cards are compared with the previous period.

Template Period Indicator cards Charts and tables
Daily Energy Yesterday Consumption, energy cost, peak power, average power factor Hourly consumption, hourly active power, consumption by tariff period
Weekly Energy Last week Weekly consumption, energy cost, peak demand, CO₂ emissions Daily consumption, hourly active power, consumption by tariff period
Monthly Energy and Bill Last month Total consumption, energy cost, peak demand, CO₂ emissions Daily consumption, consumption by tariff period, bill, cost allocation

E-mail report

The E-mail report… button on the Devices or Zones tab of Energy Management sets up the report and its schedule in one window.

  1. Source and frequency

    Choose a device or a zone. Daily (every day, yesterday’s report), Weekly (every Monday) and Monthly (on the 1st, bill included) can be ticked together.

  2. Time and attachments

    Choose the sending time (07:00 by default), PDF, Excel and whether a report missed while Live was closed is sent at startup.

  3. Recipients

    Pick from notification groups and contacts; someone not on the list is added with a name and e-mail address.

  4. Create

    A missing report is added and a missing schedule is created; if a schedule of that frequency exists, only the new recipients are added. The whole change is a single undo step.

The E-mail Report window: measurement source, daily, weekly and monthly schedules, attachments and recipients.
The E-mail Report window: the Fabrika zone already has a daily schedule; a weekly one will be created.

Live produces and sends the scheduled report; scheduled reports run with the performance report license (FV-PRF). If no e-mail server is defined, the report is still produced and placed in Live’s report archive.

XML service

The XML service opens the energy data on the Live computer to other software. It uses the request format common in energy management and reporting software: paths are under /services/user/ and responses are fixed XML elements. Software that reads this format gets the device list, live values, 15-minute records and energy events without further setup.

  • The service is turned on in Studio on the XML service card under Energy Management › Settings; the default port is 8080.
  • The client connects with a user name and password using HTTP Digest or Basic authentication.
  • With Allow writes from outside on, the client can write only the variables marked as a command or device setting in the template; every write goes into the event log.
  • All times are UTC.
The XML service card in Energy Management settings: port, user, password and sample requests.
The XML service card: service on, port 8090, user and password set; sample requests for the project below.

Requests

 devices.xml // names of active devices and zones   deviceInfo.xml?id=Trafo_Giris // description, model, maker, variables   varInfo.xml?id=Trafo_Giris // a variable’s unit, decimals, archive and write flags   values.xml?var=Trafo_Giris.P_III // live values   records.xml?begin=30112026&end=01122026&var=Trafo_Giris.EA&period=900 // period records   events.xml?begin=30112026&end=01122026 // events: on, off, acknowledged   forceVariables.xml?id=Kompresor_1 // write with PUT or POST  

For a counter, records.xml returns the consumption of each period; counter resets and rollovers are corrected. period is given in seconds or as FILE, AUTO, ALL. The XML service gives only energy devices and zones; to open all tags to other systems, use the OPC UA server.

Operating conditions

  • The service runs in the main Live window on the Live computer; it does not run in browser monitoring, on a TV or on the standby server.
  • The service listens over HTTP. Live does not add a firewall rule for the port; if another computer needs access, an administrator adds the rule.
  • Record and event requests read the archive and the alarm log on the Live computer; history is limited by the archive retention period.

Frequently asked

Is an e-mail server required for scheduled energy reports?

To send them, yes. Without a server the schedule still produces the report and puts it in the report archive in Live; it can be opened there or produced at once with Generate now.

Related pages

Try it free

Download the trial, open the sample project and see this feature on your own screen.

09:41:39 HomeLiveEnergy reports and XML FabyaVision 1.7.0