functions_to_manage_energy_resources_consumption
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
functions_to_manage_energy_resources_consumption [2019/01/10 10:41] – [GetTodayDayType()] akuzmuk | functions_to_manage_energy_resources_consumption [2019/01/10 10:44] – [GetTomorrowDayType()] akuzmuk | ||
---|---|---|---|
Line 26: | Line 26: | ||
The GetTodayDayType function returns the type of the current day: work, weekend, holiday. The types of days are set in the Level2 system. | The GetTodayDayType function returns the type of the current day: work, weekend, holiday. The types of days are set in the Level2 system. | ||
+ | |||
+ | This type is useful to control your HVAC equipment to optimize resources consumption. | ||
There are three valid types: " | There are three valid types: " | ||
Line 31: | Line 33: | ||
Data is taken from Level2. Data on WebHMI is usually updated no later than 1 hour after they are updated in Level2. If there is no connection, the system will return the limits from the cache. The cache stores the limits for the current and the next two months. | Data is taken from Level2. Data on WebHMI is usually updated no later than 1 hour after they are updated in Level2. If there is no connection, the system will return the limits from the cache. The cache stores the limits for the current and the next two months. | ||
- | The service requires an Internet connection, an account in Level2. The function is available since version 2.9. | + | The service requires an Internet connection |
If for some reason the data has not been received, the value nil will be returned. | If for some reason the data has not been received, the value nil will be returned. | ||
Line 37: | Line 39: | ||
==== GetTomorrowDayType() ==== | ==== GetTomorrowDayType() ==== | ||
- | The GetTomorrowDayType function is completely analogous to GetTodayDayType with the only difference that it returns data about the future. | + | The GetTomorrowDayType function is completely analogous to GetTodayDayType with the only difference that it returns data about the next day. |
+ | |||
+ | It is useful to know next day's type to optimize energy consumption. | ||
==== GetHolidaysStats() ==== | ==== GetHolidaysStats() ==== |
functions_to_manage_energy_resources_consumption.txt · Last modified: 2019/01/10 10:44 by akuzmuk