Mervis system can get spot prices of electrical energy. This functionalty is available only for Patron and Gate units.
Warning:
Currently, getting prices is available only for Czech region. See czech translation of this page for up to date infromation.
Attetion:
Due to format changes in messages from API. It is no longer possible to read currecnt prices in IDE 2.6.5.
Communication using WattPrice protocol is available from version Mervis IDE 2.7.6 and after updating the .NET server. This IDE version is distributed directly by Mervis developers on their site.
Tutorial on how to update the .NET driver can be found at .Net Server pro Mervis RT.
To get the driver up and running, you have to enable the .NET server in PLC configuration, in the Common Properties section, enable the Enable .NET drivers items. Configuration shall be uploaded to the PLC now.
Right-click on the PLC and select Add channel:
We click on newly created channel and in its properties we set Protocol to Watt Price (.NET):
We right-click on the channel and select Add Library Device:
Select the device:
Properties of the device has to remain original, only following may be changed:
The driver provides following information for the Czech region: