MajorDoMo
-
State
(custom)
<img src="/img/icons/status/lock_32_%Security.stateColor%.png" align="absmiddle" title="%Security.stateDetails%" onclick="alert('%Security.stateDetails%');">
<img src="/img/icons/status/network_32_%Communication.stateColor%.png" align="absmiddle" title="%Communication.stateDetails%" onclick="alert('%Communication.stateDetails%');">
<img src="/img/icons/status/system_32_%System.stateColor%.png" align="absmiddle" title="%System.stateDetails%" onclick="alert('%System.stateDetails%');">
<img src="/img/icons/status/battery_32_%Battery.stateColor%.png" align="absmiddle" title="%Battery.stateDetails%" onclick="alert('%Battery.stateDetails%');">
<img src="/img/icons/status/code_32_%Code.stateColor%.png" align="absmiddle" title="%Code.stateDetails%" onclick="alert('%Code.stateDetails%');"> %ThisComputer.GarageDoorColor% - Доступ 5
- Освещение 3
- Вентиляция 11
- Отопление 5
- Водоснабжение 4
- Энергоснабжение (%ThisComputer.electricityMeter%кВт) 3
- Будильник 3
- Камера Терминал 7
- Камеры 2
- Погода (%weather_now.temperature%°C) 1
- Алгоритмы 3
- Настройки 8
- <#LANG_GENERAL_SERVICE#> 1
-
Events_log
(custom)
[#module name="shoutbox" limit="10" reverse="1" mobile="1"#]
-
Alerts_message
(custom)
<script type="text/javascript"> $(document).ready(function() { function alertsMessageTextUpdate() { $.getJSON('/objects/?script=alerts_msg_json', function(data) { var s = ''; var j = 0; for(var i = 0; i < data.data.length; i++){ if (i < data.data.length - 1) j = i + 1; else j = i; var date1 = new Date(data.data[i].max_added.substr(0, 10)); var date2 = new Date(data.data[j].max_added.substr(0, 10)); var timeDiff = date1.getTime() - date2.getTime(); s = s + data.data[i].max_added.substr(11, 5) + " <b>" + data.data[i].count_value + "</b> " + data.data[i].VALUE + "<br>
"; if (timeDiff > 0) s = s + "<hr>"; } $('.alertsMessageText').html(s); }); } alertsMessageTextUpdate(); setInterval(alertsMessageTextUpdate, 60000); }); </script> <div class="alertsMessageText"></div>