/** * ----------------------------------------------------------------------------- * @package smartVISU * @author Martin Gleiß * @copyright 2012 * @license GPL [http://www.gnu.de] * ----------------------------------------------------------------------------- */ {% extends "system.html" %} {% block content %} {% import "plot.html" as plot %} {% import "status.html" as status %}

SmartHome.py Monitor

Name: {{ basic.value('name', 'env.system.name') }}, Version: {{ basic.value('version', 'env.core.version') }}


sytem load ({{ basic.value('loadnow', 'env.system.load') }})

{{ plot.period('load', 'env.system.load', 'avg', '1d', '', '', '', '', 'system load') }}

threads ({{ basic.value('threadsnow', 'env.core.threads') }})

{{ plot.period('threads', 'env.core.threads', 'avg', '1d', '', '', '', '', 'threads') }}

memory ({{ basic.formula('memorynow', 'env.core.memory', 'kB', 'VAR / 1024') }})

{{ plot.period('memory', 'env.core.memory', 'avg', '1d', '', '', '', '', 'memory') }}
system start: {{ basic.formula('systemstart', 'env.system.start', 'short') }}, SmartHome.py start: {{ basic.formula('corestart', 'env.core.start', 'short') }}

Location

{{ basic.formula('sunrise', 'env.location.sunrise', 'time') }} {{ basic.formula('sunset', 'env.location.sunset', 'time') }} {{ basic.formula('moonrise', 'env.location.moonrise', 'time') }} {{ basic.formula('moonset', 'env.location.moonset', 'time') }}, moonphase: {{ basic.value('moonphase', 'env.location.moonphase') }}, moonlight: {{ basic.value('moonlight', 'env.location.moonlight', '%') }}

Log

{{ status.log('log1', 'env.core.log', 10) }} {% endblock %} /** env.core.version = 0.9-341-gc9ff622 env.core.start = 2013-10-15 05:41:25.208615+00:00 env.core.memory = 13508608 env.core.threads = 8 env.core.garbage = 0 env.core env.location.day = False env.location.sunrise = 2013-10-15 05:41:25.208615+00:00 env.location.sunset = 2013-10-15 16:25:38.796390+00:00 env.location.moonrise = 2013-10-15 14:39:46.741376+00:00 env.location.moonset = 2013-10-15 01:23:01.553577+00:00 env.location.moonphase = 3 env.location.moonlight = 80 env.location env.system.start = 2013-10-15 05:41:25.208615+00:00 env.system.load = 0.06 env.system.name = smarthome.local env.system env */