/**
* -----------------------------------------------------------------------------
* @package smartVISU
* @author Martin Gleiß
* @copyright 2012 - 2015
* @license GPL [http://www.gnu.de]
* -----------------------------------------------------------------------------
*/
{% extends "base.html" %}
{% block sidebar %}
{{ lib.updatecheck() }}
{{ clock.digiclock('clock') }}
{{ clock.miniclock('', 'l, ' ~ lang('format','date') ) }}
{{ weather.current('weather') }}
{{ weather.forecastweek('weather_forecast') }}
{% if config_calendar_service != "service_disabled" %}
{{ calendar.list('calendarlist', lang('calendar','calendarlist'), 5) }}
{% endif %}
{% if config_phone_service != "service_disabled" %}
{{ phone.list('phonelist', lang('phone','phonelist'), 5) }}
{% endif %}
{% endblock %}
{% block content %}
{% if config_lang != 'de' %}
Welcome to smartVISU !
You are just a few steps away from setting up your own visualization.
The folder you have just configured is for pages auto-generated by smarthoneNG or other backend systems. By now, it is still empty.
Do the following if you want to proceed with pages generated automatically by e.g. smarthomeNG:
- complete the item setup within smarthomeNG by integrating the visu instructions
- restart smarthomeNG which will then write the visu files to the ./pages/smarthome folder
- relaunch smartVISU or just reload this page in order to start your new visualization.
- E N J O Y ! !
If you like to create the pages yourself, just create a new folder within the ./pages folder. Copy all files from
./pages/_template folder to your new folder and start editing your pages. The examples and the inline docu
will help you along. You find access to them in the sytem menu (click the gear icon in the header menu).
Don't forget to select your newly created pages in the "user interface" pull-down menu on the configuration page.
Finally you should de-activate the "generate_pages" option for the smartvisu plugin in smarthomeNG plugin.yaml.
A combination of auto-generated and custom-designed pages is feasible, as well. Just move files you'd like to freeze to your own
folder in ./pages and set configuration to this folder. smartVISU will load the pages from there first and look for missing pages
in the ./pages/smarthome folder. ONLY in this case, duplicate filenames are allowed !
{% else %}
Willkommen bei smartVISU !
Du bist nur wenige Schritte von Deiner eigenen Visualisierung entfernt.
Der Ordner, den Du gerade konfiguriert hast, ist für die Seiten, die von smarthoneNG oder anderen Hausautomatisierungssystemen automatisch erstellt werden. Im Moment ist er noch leer.
Wenn zum Beispiel smarthomeNG Deine Seiten automatisch erstellen soll, gehe wie folgt vor:
- vervollständige die item-Konfiguration in smarthomeNG und integriere die Anweisungen für die Visu
- starte smarthomeNG neu, so dass die Visu-Dateien in den Ordner ./pages/smarthome geschrieben werden
- öffne smartVISU erneut oder lade diese Seite neu, um Deine neue Visualisierung zu starten.
- V I E L S P A S S ! !
Wenn Du Deine Seiten selbst erstellen möchtest, lege einen neuen Unterordner in ./pages an, kopiere die Dateien aus dem Ordner ./pages/_template
in Deinen neuen Ordner und beginne mit der Erstellung Deiner eigenen Seiten. Die Beispielseiten und die integrierte Dokumentation helfen Dir dabei.
Du findest sie über das Systemmenü (klicke auf das Zahnrad-Icon in der Kopfzeile).
Vergiss nicht, Deine neu generierten Seiten im Auswahlmenü des Abschnitts "Benutzeroberfläche" auf der Konfigurationsseite einzustellen.
Schließlich solltest Du in smarthomeNG die Option "generate_pages" für das smartvisu plugin in der plugin.yaml deaktivieren.
Man kann selbsterstellte Seiten auch mit automatisch erstellten Seiten kombinieren. Dazu müssen die Seiten, die unverändert bleiben sollen, einfach
in den Ordner mit den eigenen Seiten verschoben und dieser als "Benutzeroberfläche" konfiguriert werden. smartVISU lädt dann die Seiten zuerst von dort
und sucht nur die fehlenden Seiten im Ordner ./pages/smarthome. AUSSCHLIESSLICH in diesem Fall sind doppelte Dateinamen erlaubt !
{% endif %}
{% endblock %}