Hi bmx,
sorry für die späte Antwort. Bin gestern leider zu nichts gekommen.
Ich habe deinen Code mal ausprobiert, funktioiniert aber leider nicht. Hier der DEBUG log:
sorry für die späte Antwort. Bin gestern leider zu nichts gekommen.
Ich habe deinen Code mal ausprobiert, funktioiniert aber leider nicht. Hier der DEBUG log:
Code:
2016-10-29 11:51:50 WARNING Main -------------------- Init smarthomeNG 1.2.451 -------------------- 2016-10-29 11:51:50 DEBUG Main Python 3.4.2 2016-10-29 11:51:50 INFO Main Init Scheduler 2016-10-29 11:51:50 DEBUG Scheduler creating 5 workers 2016-10-29 11:51:50 INFO Main Init Plugins 2016-10-29 11:51:50 DEBUG Main Plugin: knx 2016-10-29 11:51:50 DEBUG Main KNX[default] time next time: 2016-10-29 11:52:04+02:00 2016-10-29 11:51:50 DEBUG Main Plugin: websocket 2016-10-29 11:51:50 DEBUG Main Plugin: smartvisu 2016-10-29 11:51:50 DEBUG Main Plugin: cli 2016-10-29 11:51:50 DEBUG Main Plugin: sql 2016-10-29 11:51:50 DEBUG Main SQLite 3.8.7.1 2016-10-29 11:51:50 DEBUG Main SQLite: database integrity ok 2016-10-29 11:51:50 DEBUG Main SQLite Maintain next time: 2016-10-30 03:02:00+01:00 2016-10-29 11:51:50 DEBUG Main Plugin: uzsu 2016-10-29 11:51:50 INFO Main Init UZSU 2016-10-29 11:51:50 INFO Main Init Items 2016-10-29 11:51:50 DEBUG Main Item env.core.memory = 22986752.0 via SQLite None None 2016-10-29 11:51:50 DEBUG Main Item env.core.threads = 7.0 via SQLite None None 2016-10-29 11:51:50 DEBUG Main Item env.core.garbage = 0.0 via SQLite None None 2016-10-29 11:51:50 DEBUG Main Item env.core: no type specified. 2016-10-29 11:51:50 DEBUG Main Item env.location.sunrise.azimut: no type specified. 2016-10-29 11:51:50 DEBUG Main Item env.location.sunrise.elevation: no type specified. 2016-10-29 11:51:50 DEBUG Main Item env.location.sunset.azimut: no type specified. 2016-10-29 11:51:50 DEBUG Main Item env.location.sunset.elevation: no type specified. 2016-10-29 11:51:50 DEBUG Main Item env.location.sun_position.azimut: no type specified. 2016-10-29 11:51:50 DEBUG Main Item env.location.sun_position.elevation: no type specified. 2016-10-29 11:51:50 DEBUG Main Item env.location.sun_position: no type specified. 2016-10-29 11:51:50 DEBUG Main Item env.location: no type specified. 2016-10-29 11:51:50 DEBUG Main Item env.system.load = 0.03 via SQLite None None 2016-10-29 11:51:50 DEBUG Main Item env.system.libs: no type specified. 2016-10-29 11:51:50 DEBUG Main Item env.system: no type specified. 2016-10-29 11:51:50 DEBUG Main Item env: no type specified. 2016-10-29 11:51:50 DEBUG Main KNX[default]: Item Zwangsführung Fussbodenheizung Wohnen - HKL 1 is mapped to KNX Instance default 2016-10-29 11:51:50 DEBUG Main KNX[default]: Zwangsführung Fussbodenheizung Wohnen - HKL 1 listen on 15/1/2 2016-10-29 11:51:50 DEBUG Main KNX[default]: Zwangsführung Fussbodenheizung Wohnen - HKL 1 listen on and init with 15/1/2 2016-10-29 11:51:50 DEBUG Main Item DG.fussbodenheizung.wohnen: no type specified. 2016-10-29 11:51:50 DEBUG Main KNX[default]: Item Zwangsführung Fussbodenheizung Flur - HKL 2 is mapped to KNX Instance default 2016-10-29 11:51:50 DEBUG Main KNX[default]: Zwangsführung Fussbodenheizung Flur - HKL 2 listen on 15/1/42 2016-10-29 11:51:50 DEBUG Main KNX[default]: Zwangsführung Fussbodenheizung Flur - HKL 2 listen on and init with 15/1/42 2016-10-29 11:51:50 DEBUG Main Item DG.fussbodenheizung.flur: no type specified. 2016-10-29 11:51:50 DEBUG Main KNX[default]: Item Zwangsführung Fussbodenheizung Kueche - HKL 3 is mapped to KNX Instance default 2016-10-29 11:51:50 DEBUG Main KNX[default]: Zwangsführung Fussbodenheizung Kueche - HKL 3 listen on 15/1/52 2016-10-29 11:51:50 DEBUG Main KNX[default]: Zwangsführung Fussbodenheizung Kueche - HKL 3 listen on and init with 15/1/52 2016-10-29 11:51:50 DEBUG Main Item DG.fussbodenheizung.kueche: no type specified. 2016-10-29 11:51:50 DEBUG Main KNX[default]: Item Zwangsführung Fussbodenheizung Bad - HKL 4 is mapped to KNX Instance default 2016-10-29 11:51:50 DEBUG Main KNX[default]: Zwangsführung Fussbodenheizung Bad - HKL 4 listen on 15/1/12 2016-10-29 11:51:50 DEBUG Main KNX[default]: Zwangsführung Fussbodenheizung Bad - HKL 4 listen on and init with 15/1/12 2016-10-29 11:51:50 DEBUG Main Item DG.fussbodenheizung.bad: no type specified. 2016-10-29 11:51:50 DEBUG Main KNX[default]: Item Zwangsführung Fussbodenheizung Alle HKL 1, HKL 2, HKL 3, HKL 4 is mapped to KNX Instance default 2016-10-29 11:51:50 DEBUG Main KNX[default]: Zwangsführung Fussbodenheizung Alle HKL 1, HKL 2, HKL 3, HKL 4 listen on 15/1/100 2016-10-29 11:51:50 DEBUG Main KNX[default]: Zwangsführung Fussbodenheizung Alle HKL 1, HKL 2, HKL 3, HKL 4 listen on and init with 15/1/100 2016-10-29 11:51:50 DEBUG Main Item DG.fussbodenheizung.alle: no type specified. 2016-10-29 11:51:50 DEBUG Main Item DG.fussbodenheizung: no type specified. 2016-10-29 11:51:50 DEBUG Main KNX[default]: Item Licht Alle Dachgeschoss is mapped to KNX Instance default 2016-10-29 11:51:50 DEBUG Main KNX[default]: Licht Alle Dachgeschoss listen on 1/1/254 2016-10-29 11:51:50 DEBUG Main KNX[default]: Licht Alle Dachgeschoss listen on and init with 1/1/255 2016-10-29 11:51:50 DEBUG Main KNX[default]: Item Licht Alle Dachgeschoss is mapped to KNX Instance default 2016-10-29 11:51:50 DEBUG Main KNX[default]: Licht Alle Dachgeschoss listen on 1/1/1 2016-10-29 11:51:50 DEBUG Main KNX[default]: Licht Alle Dachgeschoss listen on and init with 1/1/2 2016-10-29 11:51:50 DEBUG Main KNX[default]: Item Licht Kueche Dachgeschoss is mapped to KNX Instance default 2016-10-29 11:51:50 DEBUG Main KNX[default]: Licht Kueche Dachgeschoss listen on 1/1/10 2016-10-29 11:51:50 DEBUG Main KNX[default]: Licht Kueche Dachgeschoss listen on and init with 1/1/11 2016-10-29 11:51:50 DEBUG Main KNX[default]: Item Licht Essen Dachgeschoss is mapped to KNX Instance default 2016-10-29 11:51:50 DEBUG Main KNX[default]: Licht Essen Dachgeschoss listen on 1/1/20 2016-10-29 11:51:50 DEBUG Main KNX[default]: Licht Essen Dachgeschoss listen on and init with 1/1/21 2016-10-29 11:51:50 DEBUG Main KNX[default]: Item Licht Wohnzimmer Dachgeschoss is mapped to KNX Instance default 2016-10-29 11:51:50 DEBUG Main KNX[default]: Licht Wohnzimmer Dachgeschoss listen on 1/1/60 2016-10-29 11:51:50 DEBUG Main KNX[default]: Licht Wohnzimmer Dachgeschoss listen on and init with 1/1/61 2016-10-29 11:51:50 DEBUG Main KNX[default]: Item Licht Hauptgang Dachgeschoss is mapped to KNX Instance default 2016-10-29 11:51:50 DEBUG Main KNX[default]: Licht Hauptgang Dachgeschoss listen on 1/1/70 2016-10-29 11:51:50 DEBUG Main KNX[default]: Licht Hauptgang Dachgeschoss listen on and init with 1/1/71 2016-10-29 11:51:50 DEBUG Main KNX[default]: Item Licht Flur Mitte Dachgeschoss is mapped to KNX Instance default 2016-10-29 11:51:50 DEBUG Main KNX[default]: Licht Flur Mitte Dachgeschoss listen on 1/1/80 2016-10-29 11:51:50 DEBUG Main KNX[default]: Licht Flur Mitte Dachgeschoss listen on and init with 1/1/81 2016-10-29 11:51:50 DEBUG Main KNX[default]: Item Licht Schlafzimmer Dachgeschoss is mapped to KNX Instance default 2016-10-29 11:51:50 DEBUG Main KNX[default]: Licht Schlafzimmer Dachgeschoss listen on 1/1/90 2016-10-29 11:51:50 DEBUG Main KNX[default]: Licht Schlafzimmer Dachgeschoss listen on and init with 1/1/91 2016-10-29 11:51:50 DEBUG Main KNX[default]: Item Licht Kinderzimmer Dachgeschoss is mapped to KNX Instance default 2016-10-29 11:51:50 DEBUG Main KNX[default]: Licht Kinderzimmer Dachgeschoss listen on 1/1/100 2016-10-29 11:51:50 DEBUG Main KNX[default]: Licht Kinderzimmer Dachgeschoss listen on and init with 1/1/101 2016-10-29 11:51:50 DEBUG Main KNX[default]: Item Licht Speiss Dachgeschoss is mapped to KNX Instance default 2016-10-29 11:51:50 DEBUG Main KNX[default]: Licht Speiss Dachgeschoss listen on 1/1/120 2016-10-29 11:51:50 DEBUG Main KNX[default]: Licht Speiss Dachgeschoss listen on and init with 1/1/121 2016-10-29 11:51:50 DEBUG Main Item DG.licht: no type specified. 2016-10-29 11:51:50 DEBUG Main KNX[default]: Item Strom TV Dachgeschoss is mapped to KNX Instance default 2016-10-29 11:51:50 DEBUG Main KNX[default]: Strom TV Dachgeschoss listen on 10/1/10 2016-10-29 11:51:50 DEBUG Main KNX[default]: Strom TV Dachgeschoss listen on and init with 10/1/11 2016-10-29 11:51:50 DEBUG Main KNX[default]: Item Strom Pumpe Fussbodenheizung is mapped to KNX Instance default 2016-10-29 11:51:50 DEBUG Main KNX[default]: Strom Pumpe Fussbodenheizung listen on 15/1/110 2016-10-29 11:51:50 DEBUG Main KNX[default]: Strom Pumpe Fussbodenheizung listen on and init with 15/1/111 2016-10-29 11:51:50 DEBUG Main Item DG.strom.fussbodenheizung: no type specified. 2016-10-29 11:51:50 DEBUG Main Item DG.strom: no type specified. 2016-10-29 11:51:50 DEBUG Main KNX[default]: Item DG.rollo.alle.move is mapped to KNX Instance default 2016-10-29 11:51:50 DEBUG Main KNX[default]: Item DG.rollo.alle.stop is mapped to KNX Instance default 2016-10-29 11:51:50 DEBUG Main KNX[default]: Item DG.rollo.alle.position is mapped to KNX Instance default 2016-10-29 11:51:50 DEBUG Main KNX[default]: DG.rollo.alle.position listen on 5/1/103 2016-10-29 11:51:50 DEBUG Main KNX[default]: DG.rollo.alle.position listen on and init with 5/1/103 2016-10-29 11:51:50 DEBUG Main KNX[default]: DG.rollo.alle.position listen on and init with cache 5/1/103 2016-10-29 11:51:50 DEBUG Main Item DG.rollo.alle: no type specified. 2016-10-29 11:51:50 DEBUG Main KNX[default]: Item DG.rollo.bad.move is mapped to KNX Instance default 2016-10-29 11:51:50 DEBUG Main KNX[default]: Item DG.rollo.bad.stop is mapped to KNX Instance default 2016-10-29 11:51:50 DEBUG Main KNX[default]: Item DG.rollo.bad.position is mapped to KNX Instance default 2016-10-29 11:51:50 DEBUG Main KNX[default]: DG.rollo.bad.position listen on 5/1/3 2016-10-29 11:51:50 DEBUG Main KNX[default]: DG.rollo.bad.position listen on and init with 5/1/3 2016-10-29 11:51:50 DEBUG Main KNX[default]: DG.rollo.bad.position listen on and init with cache 5/1/3 2016-10-29 11:51:50 DEBUG Main Item DG.rollo.bad: no type specified. 2016-10-29 11:51:50 DEBUG Main KNX[default]: Item DG.rollo.kueche.move is mapped to KNX Instance default 2016-10-29 11:51:50 DEBUG Main KNX[default]: Item DG.rollo.kueche.stop is mapped to KNX Instance default 2016-10-29 11:51:50 DEBUG Main KNX[default]: Item DG.rollo.kueche.position is mapped to KNX Instance default 2016-10-29 11:51:50 DEBUG Main KNX[default]: DG.rollo.kueche.position listen on 5/1/13 2016-10-29 11:51:50 DEBUG Main KNX[default]: DG.rollo.kueche.position listen on and init with 5/1/13 2016-10-29 11:51:50 DEBUG Main KNX[default]: DG.rollo.kueche.position listen on and init with cache 5/1/13 2016-10-29 11:51:50 DEBUG Main Item DG.rollo.kueche: no type specified. 2016-10-29 11:51:50 DEBUG Main KNX[default]: Item DG.rollo.wohnen.move is mapped to KNX Instance default 2016-10-29 11:51:50 DEBUG Main KNX[default]: Item DG.rollo.wohnen.stop is mapped to KNX Instance default 2016-10-29 11:51:50 DEBUG Main KNX[default]: Item DG.rollo.wohnen.position is mapped to KNX Instance default 2016-10-29 11:51:50 DEBUG Main KNX[default]: DG.rollo.wohnen.position listen on 5/1/63 2016-10-29 11:51:50 DEBUG Main KNX[default]: DG.rollo.wohnen.position listen on and init with 5/1/63 2016-10-29 11:51:50 DEBUG Main KNX[default]: DG.rollo.wohnen.position listen on and init with cache 5/1/63 2016-10-29 11:51:50 DEBUG Main Item DG.rollo.wohnen: no type specified. 2016-10-29 11:51:50 DEBUG Main Item DG.rollo: no type specified. 2016-10-29 11:51:50 DEBUG Main KNX[default]: Item DG.temperatur.wohnen.ist is mapped to KNX Instance default 2016-10-29 11:51:50 DEBUG Main KNX[default]: DG.temperatur.wohnen.ist listen on and init with 15/1/0 2016-10-29 11:51:50 DEBUG Main KNX[default]: DG.temperatur.wohnen.ist listen on and init with cache 15/1/0 2016-10-29 11:51:50 DEBUG Main Item DG.temperatur.wohnen.ist = 21.84 via SQLite None None 2016-10-29 11:51:50 DEBUG Main Item DG.temperatur.wohnen: no type specified. 2016-10-29 11:51:50 DEBUG Main KNX[default]: Item DG.temperatur.bad.ist is mapped to KNX Instance default 2016-10-29 11:51:50 DEBUG Main KNX[default]: DG.temperatur.bad.ist listen on and init with 15/1/10 2016-10-29 11:51:50 DEBUG Main KNX[default]: DG.temperatur.bad.ist listen on and init with cache 15/1/10 2016-10-29 11:51:50 DEBUG Main Item DG.temperatur.bad.ist = 21.5 via SQLite None None 2016-10-29 11:51:50 DEBUG Main Item DG.temperatur.bad: no type specified. 2016-10-29 11:51:50 DEBUG Main KNX[default]: Item DG.temperatur.schlafen.ist is mapped to KNX Instance default 2016-10-29 11:51:50 DEBUG Main KNX[default]: DG.temperatur.schlafen.ist listen on and init with 15/1/20 2016-10-29 11:51:50 DEBUG Main KNX[default]: DG.temperatur.schlafen.ist listen on and init with cache 15/1/20 2016-10-29 11:51:50 DEBUG Main Item DG.temperatur.schlafen.ist = 23.58 via SQLite None None 2016-10-29 11:51:50 DEBUG Main Item DG.temperatur.schlafen: no type specified. 2016-10-29 11:51:50 DEBUG Main KNX[default]: Item DG.temperatur.kinderzimmer.ist is mapped to KNX Instance default 2016-10-29 11:51:50 DEBUG Main KNX[default]: DG.temperatur.kinderzimmer.ist listen on and init with 15/1/30 2016-10-29 11:51:50 DEBUG Main KNX[default]: DG.temperatur.kinderzimmer.ist listen on and init with cache 15/1/30 2016-10-29 11:51:50 DEBUG Main Item DG.temperatur.kinderzimmer.ist = 23.06 via SQLite None None 2016-10-29 11:51:50 DEBUG Main Item DG.temperatur.kinderzimmer: no type specified. 2016-10-29 11:51:50 DEBUG Main Item DG.temperatur: no type specified. 2016-10-29 11:51:50 DEBUG Main Item DG: no type specified. 2016-10-29 11:51:50 DEBUG Main KNX[default]: Item system.datetime.time is mapped to KNX Instance default 2016-10-29 11:51:50 DEBUG Main KNX[default]: system.datetime.time listen on 10/2/0 2016-10-29 11:51:50 DEBUG Main KNX[default]: system.datetime.time listen on and init with 10/2/0 2016-10-29 11:51:50 DEBUG Main KNX[default]: Item system.datetime.date is mapped to KNX Instance default 2016-10-29 11:51:50 DEBUG Main KNX[default]: system.datetime.date listen on 10/2/1 2016-10-29 11:51:50 DEBUG Main KNX[default]: system.datetime.date listen on and init with 10/2/1 2016-10-29 11:51:50 DEBUG Main Item system.datetime: no type specified. 2016-10-29 11:51:50 DEBUG Main Item system: no type specified. 2016-10-29 11:51:50 INFO Main Items: 105 2016-10-29 11:51:50 INFO Main Start Logics 2016-10-29 11:51:50 DEBUG Main Reading Logics from /usr/local/smarthome/lib/env/logic_conf 2016-10-29 11:51:50 DEBUG Main Reading Logics from /usr/local/smarthome/etc/logic.conf 2016-10-29 11:51:50 DEBUG Main Logic: env_daily 2016-10-29 11:51:50 DEBUG Main env_daily next time: 2016-10-30 06:00:00+01:00 2016-10-29 11:51:50 DEBUG Main Logic: Prio 2016-10-29 11:51:50 DEBUG Main Logic: env_stat 2016-10-29 11:51:50 DEBUG Main env_stat next time: 2016-10-29 11:52:04+02:00 2016-10-29 11:51:50 DEBUG Main Logic: env_init 2016-10-29 11:51:50 DEBUG Main Logic: env_loc 2016-10-29 11:51:50 DEBUG Main Logic: fussbodenheizung 2016-10-29 11:51:50 INFO Main Start Plugins 2016-10-29 11:51:50 DEBUG Main Starting knx Plugin 2016-10-29 11:51:50 DEBUG Main Starting websocket Plugin 2016-10-29 11:51:50 DEBUG Main Starting smartvisu Plugin 2016-10-29 11:51:50 DEBUG Main Starting cli Plugin 2016-10-29 11:51:50 WARNING smartvisu Installing widgets into smartVISU 2016-10-29 11:51:50 INFO smartvisu install_widgets: Installing from '/usr/local/smarthome' to '/var/www/html/smartVISU' 2016-10-29 11:51:50 INFO smartvisu install_widgets: Creating directory for widgets 2016-10-29 11:51:50 INFO smartvisu install_widgets: Removing old dynamic widget files 2016-10-29 11:51:50 DEBUG smartvisu root_contents: ['/**\n', '* -----------------------------------------------------------------------------\n', '* @package smartVISU\n', '* @author Martin Gleiß\n', '* @copyright 2012\n', '* @license GPL [http://www.gnu.de]\n', '* -----------------------------------------------------------------------------\n', '*/\n', '<!DOCTYPE html>\n', '\n', '<html>\n', '<head>\n', '\t<title>{{ config_title }}</title>\n', '\n', '\t<meta charset="utf-8" />\n', '\t<meta name="viewport" content="width=device-width, user-scalable=yes, initial-scale=1, maximum-scale=1.3, minimum-scale=1" />\n', '\t<meta name="apple-mobile-web-app-capable" content="yes" />\n', '\t<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />\n', '\t<meta http-equiv="expires" content="0" />\n', '\n', '\t<link rel="icon" href="favicon.png" />\n', '\t<link rel="icon" href="favicon.ico" type="image/x-icon" />\n', '\t<link rel="apple-touch-icon" href="favicon.png" />\n', '\n', '\t<link rel="stylesheet" href="vendor/jquery.mobile/jquery.mobile.structure-1.3.2.min.css" />\n', '\t<script type="text/javascript" src="vendor/jquery/jquery-2.0.3.min.js"></script>\n', '\n', "\t{% if config_transition != 'fade' %}\n", '\t\t<script type="text/javascript">\n', '\t\t\t$(document).on("mobileinit", function () {\n', "\t\t\t\t$.mobile.defaultPageTransition = '{{ config_transition }}';\n", '\t\t\t});\n', '\t\t</script>\n', '\t{% endif %}\n', '\n', '\t<script type="text/javascript" src="vendor/jquery.mobile/jquery.mobile-1.3.2.min.js"></script>\n', '\t<script type="text/javascript" src="lib/base/jquery.mobile.slider.{{ config_js }}"></script>\n', '\n', '\t<script type="text/javascript" src="vendor/plot.highcharts/highcharts.js"></script>\n', '\t<script type="text/javascript" src="designs/{{ config_design }}.{{ config_js }}"></script>\n', '\t<script type="text/javascript" src="widgets/widget.{{ config_js }}"></script>\n', '\n', '\t{% if config_animation %}\n', '\t\t<script type="text/javascript" src="widgets/animation.{{ config_js }}"></script>{% endif %}\n', '\n', '\t<script type="text/javascript" src="lib/base/base.{{ config_js }}"></script>\n', '\t<script type="text/javascript" src="lib/base/base.php"></script>\n', '\t<script type="text/javascript" src="driver/io_{{ config_driver }}.{{ config_js }}"></script>\n', '\n', '\t<link rel="stylesheet" type="text/css" href="designs/{{ config_design }}.min.css" />\n', '\t<link rel="stylesheet" type="text/css" href="pages/base/base.css" />\n', '\n', "\t{% if isfile('pages/'~config_pages~'/visu.js') %}\n", '\t\t<script type="text/javascript" src="pages/{{ config_pages }}/visu.js"></script>{% endif %}\n', '\n', "\t{% if isfile('pages/'~config_pages~'/visu.css') %}\n", '\t\t<link rel="stylesheet" type="text/css" href="pages/{{ config_pages }}/visu.css" />{% endif %}\n', '\n', '\t{% block head %}{% endblock %}\n', '\n', '\t{% import "lib.html" as lib %}\n', '\t{% import "basic.html" as basic %}\n', '\t{% import "device.html" as device %}\n', '\t{% import "plot.html" as plot %}\n', '</head>\n', '\n', '\n', '<body>\n', '\n', '<script type="text/javascript">\n', "\tio.init('{{ config_driver_address }}', '{{ config_driver_port }}');\n", '\n', '\t// Do some actions before page is shown\n', "\t$(document).on('pagebeforeshow', function () {\n", '\t\tfx.init();\n', '\t\trepeater.init();\n', '\t\twidget.prepare();\n', '\t\t// repeater.list();\n', '\t});\n', '\n', '\t// Run the io and all widgets\n', "\t$(document).on('pageshow', function () {\n", '\t\tio.run({{ config_driver_realtime }});\n', "\t\t// console.log('[io] run'); \t\n", '\t\tnotify.display();\n', '\t\t// widget.list();\n', '\t});\n', '\n', '\n', "\t$.mobile.page.prototype.options.domCache = {{ (config_cache_dom ? 'true' : 'false') }};\n", '</script>\n', '\n', '{% block body %}{% endblock %}\n', '\n', '</body>\n', '</html>\n'] 2016-10-29 11:51:50 DEBUG Main Starting sql Plugin 2016-10-29 11:51:50 DEBUG smartvisu copy_widgets: Could not find source directory sv_widgets in plugins/knx 2016-10-29 11:51:50 DEBUG smartvisu copy_widgets: Could not find source directory sv_widgets in plugins/visu_websocket 2016-10-29 11:51:50 DEBUG smartvisu copy_widgets: Could not find source directory sv_widgets in plugins/visu_smartvisu 2016-10-29 11:51:50 DEBUG smartvisu copy_widgets: Could not find source directory sv_widgets in plugins/cli 2016-10-29 11:51:50 DEBUG Main Starting uzsu Plugin 2016-10-29 11:51:50 DEBUG smartvisu copy_widgets: Could not find source directory sv_widgets in plugins/sqlite_visu2_8 2016-10-29 11:51:50 DEBUG smartvisu copy_widgets: Could not find source directory sv_widgets in plugins/uzsu 2016-10-29 11:51:50 INFO smartvisu Adding import statements to root.html 2016-10-29 11:51:50 WARNING smartvisu Generating pages for smartVISU 2016-10-29 11:51:50 INFO smartvisu copy_templates: Copying template 'heading.html' from plugin to smartVISU 2016-10-29 11:51:50 DEBUG uzsu Tolerated Exception 'unknown string format' while examining '07:00<sunrise+45m<07:10' with function rrulestr() 2016-10-29 11:51:50 DEBUG uzsu Looking for next sun-related time with rulestr() 2016-10-29 11:51:50 DEBUG uzsu Created a new sun object with latitude=49:54:36.0, longitude=10:46:12.0, elevation=251.0 2016-10-29 11:51:50 DEBUG uzsu Examine time string: 07:00<sunrise+45m<07:10 2016-10-29 11:51:50 DEBUG uzsu Sunrise is included and calculated as 2016-10-28 06:44:52.853081+00:00 2016-10-29 11:51:50 DEBUG uzsu Created a new sun object with latitude=49:54:36.0, longitude=10:46:12.0, elevation=251.0 2016-10-29 11:51:50 DEBUG uzsu Examine time string: 07:00<sunrise+45m<07:10 2016-10-29 11:51:50 DEBUG uzsu Sunrise is included and calculated as 2016-10-31 06:49:50.415016+00:00 2016-10-29 11:51:50 DEBUG uzsu Result parsing time (rrule)07:00<sunrise+45m<07:10: 2016-10-31 07:10:00.415016+01:00 2016-10-29 11:51:50 DEBUG uzsu Tolerated Exception 'unknown string format' while examining 'sunrise+45m<09:00' with function rrulestr() 2016-10-29 11:51:50 DEBUG uzsu Looking for next sun-related time with rulestr() 2016-10-29 11:51:50 DEBUG uzsu Created a new sun object with latitude=49:54:36.0, longitude=10:46:12.0, elevation=251.0 2016-10-29 11:51:50 DEBUG uzsu Examine time string: sunrise+45m<09:00 2016-10-29 11:51:50 DEBUG uzsu Sunrise is included and calculated as 2016-10-28 06:44:52.853081+00:00 2016-10-29 11:51:50 DEBUG uzsu Created a new sun object with latitude=49:54:36.0, longitude=10:46:12.0, elevation=251.0 2016-10-29 11:51:50 DEBUG uzsu Examine time string: sunrise+45m<09:00 2016-10-29 11:51:50 DEBUG uzsu Sunrise is included and calculated as 2016-10-30 06:48:11.098466+00:00 2016-10-29 11:51:50 DEBUG uzsu Result parsing time (rrule)sunrise+45m<09:00: 2016-10-30 06:48:11.098466+00:00 2016-10-29 11:51:50 DEBUG uzsu Tolerated Exception 'unknown string format' while examining 'sunset+45m<20:00' with function rrulestr() 2016-10-29 11:51:50 DEBUG uzsu Looking for next sun-related time with rulestr() 2016-10-29 11:51:50 DEBUG uzsu Created a new sun object with latitude=49:54:36.0, longitude=10:46:12.0, elevation=251.0 2016-10-29 11:51:50 DEBUG uzsu Examine time string: sunset+45m<20:00 2016-10-29 11:51:50 DEBUG uzsu Sunset is included and calculated as 2016-10-28 16:45:44.532655+00:00 2016-10-29 11:51:50 DEBUG uzsu Created a new sun object with latitude=49:54:36.0, longitude=10:46:12.0, elevation=251.0 2016-10-29 11:51:50 DEBUG uzsu Examine time string: sunset+45m<20:00 2016-10-29 11:51:50 DEBUG uzsu Sunset is included and calculated as 2016-10-29 16:43:58.328061+00:00 2016-10-29 11:51:50 DEBUG uzsu Result parsing time (rrule)sunset+45m<20:00: 2016-10-29 16:43:58.328061+00:00 2016-10-29 11:51:50 INFO smartvisu copy_templates: Copying template 'category_page.html' from plugin to smartVISU 2016-10-29 11:51:50 INFO smartvisu copy_templates: Copying template 'rooms.html' from plugin to smartVISU 2016-10-29 11:51:50 INFO smartvisu copy_templates: Copying template 'navi_sep.html' from plugin to smartVISU 2016-10-29 11:51:50 INFO smartvisu copy_templates: Copying template 'widgetblock_std_std.html' from plugin to smartVISU 2016-10-29 11:51:50 INFO smartvisu copy_templates: Copying template 'navi.html' from plugin to smartVISU 2016-10-29 11:51:50 INFO smartvisu copy_templates: Copying template 'category.html' from plugin to smartVISU 2016-10-29 11:51:50 INFO smartvisu copy_templates: Copying template 'widgetblock2_std_std.html' from plugin to smartVISU 2016-10-29 11:51:50 INFO smartvisu copy_templates: Copying template 'widgetblock2_blk_std.html' from plugin to smartVISU 2016-10-29 11:51:50 INFO smartvisu copy_templates: Copying template 'index.html' from plugin to smartVISU 2016-10-29 11:51:50 INFO smartvisu copy_templates: Copying template 'navigation.html' from plugin to smartVISU 2016-10-29 11:51:50 INFO smartvisu copy_templates: Copying template 'roomslite.html' from plugin to smartVISU 2016-10-29 11:51:50 INFO smartvisu copy_templates: Copying template 'widgetblock_blk_std.html' from plugin to smartVISU 2016-10-29 11:51:50 INFO smartvisu copy_templates: Copying template 'roomlite.html' from plugin to smartVISU 2016-10-29 11:51:50 INFO smartvisu copy_templates: Copying template 'widgetblock_blk_noh.html' from plugin to smartVISU 2016-10-29 11:51:50 INFO smartvisu copy_templates: Copying template 'room.html' from plugin to smartVISU 2016-10-29 11:51:50 DEBUG Connections KNX: connected to 127.0.0.1:6720 2016-10-29 11:51:50 DEBUG Connections KNX[default]: reading eibd cache 2016-10-29 11:51:50 DEBUG Connections KNX[default]: enable group monitor 2016-10-29 11:51:50 DEBUG Connections KNX[default]: init read 2016-10-29 11:51:50 DEBUG Connections _websocket: binding to 0.0.0.0:2424 (TCP) 2016-10-29 11:51:50 DEBUG Connections CLI: binding to 0.0.0.0:2323 (TCP) 2016-10-29 11:51:51 INFO Main KNX[default]: 1.1.20 set 1/1/21 to False 2016-10-29 11:51:51 INFO Main KNX[default]: 1.1.21 set 1/1/121 to False 2016-10-29 11:51:51 INFO Main KNX[default]: 1.1.21 set 1/1/2 to False 2016-10-29 11:51:51 INFO Main KNX[default]: 1.1.21 set 1/1/2 to False 2016-10-29 11:51:51 INFO Main KNX[default]: 1.1.20 set 1/1/21 to False 2016-10-29 11:51:51 INFO Main KNX[default]: 1.1.21 set 1/1/11 to False 2016-10-29 11:51:51 INFO Main KNX[default]: 1.1.21 set 1/1/61 to False 2016-10-29 11:51:51 INFO Main KNX[default]: 1.1.20 set 1/1/71 to False 2016-10-29 11:51:51 INFO Main KNX[default]: 1.1.20 set 1/1/81 to False 2016-10-29 11:51:51 INFO Main KNX[default]: 1.1.20 set 1/1/91 to False 2016-10-29 11:51:51 INFO Main KNX[default]: 1.1.20 set 1/1/101 to False 2016-10-29 11:51:51 INFO Main KNX[default]: 1.1.21 set 1/1/121 to False 2016-10-29 11:51:51 INFO Main KNX[default]: 1.1.20 set 10/1/11 to False 2016-10-29 11:51:51 INFO Main KNX[default]: 1.1.20 set 15/1/111 to False 2016-10-29 11:51:51 INFO Main KNX[default]: 1.1.21 set 5/1/13 to 0 2016-10-29 11:51:51 INFO Main KNX[default]: 1.1.20 set 15/1/111 to False 2016-10-29 11:51:51 INFO Main KNX[default]: 1.1.21 set 5/1/3 to 0 2016-10-29 11:51:51 INFO Main KNX[default]: 1.1.21 set 5/1/13 to 0 2016-10-29 11:51:51 INFO Main KNX[default]: 1.1.21 set 5/1/63 to 0 2016-10-29 11:51:51 INFO Main KNX[default]: 1.1.21 set 5/1/63 to 0 2016-10-29 11:51:51 INFO Main KNX[default]: 1.1.15 set 15/1/30 to 23.02 2016-10-29 11:51:51 DEBUG Main Item DG.temperatur.kinderzimmer.ist = 23.02 via KNX 1.1.15 15/1/30 2016-10-29 11:51:55 DEBUG env_loc Item env.location.sunrise = 2016-10-30 07:03:11.098466+01:00 via Logic None None 2016-10-29 11:51:55 DEBUG env_loc Item env.location.sunrise.azimut.degrees = 122.59 via Logic None None 2016-10-29 11:51:55 DEBUG env_loc Item env.location.sunrise.elevation.degrees = 7.83 via Logic None None 2016-10-29 11:51:55 DEBUG env_loc Item env.location.sunrise.azimut.radians = 2.14 via Logic None None 2016-10-29 11:51:55 DEBUG env_loc Item env.location.sunrise.elevation.radians = 0.14 via Logic None None 2016-10-29 11:51:55 DEBUG env_loc Item env.location.sunset = 2016-10-29 17:58:58.328061+02:00 via Logic None None 2016-10-29 11:51:55 DEBUG env_init Item env.core.version = 1.2.451 via Logic None None 2016-10-29 11:51:55 DEBUG env_init Item env.core.start = 2016-10-29 11:51:55.675831+02:00 via Logic None None 2016-10-29 11:51:55 DEBUG env_init Item env.system.name = debian-smarthome via Logic None None 2016-10-29 11:51:55 DEBUG env_init Item env.system.start = 2016-10-28 09:19:32.676927+02:00 via Logic None None 2016-10-29 11:51:55 DEBUG sh.gc Garbage collector: collected 0 objects. 2016-10-29 11:51:55 DEBUG env_loc Item env.location.sunset.azimut.degrees = 272.07 via Logic None None 2016-10-29 11:51:55 DEBUG env_loc Item env.location.sunset.elevation.degrees = -19.86 via Logic None None 2016-10-29 11:51:55 DEBUG env_loc Item env.location.sunset.azimut.radians = 4.75 via Logic None None 2016-10-29 11:51:55 DEBUG env_loc Item env.location.sunset.elevation.radians = -0.35 via Logic None None 2016-10-29 11:51:55 DEBUG env_loc Item env.location.sun_position.azimut.degrees = 161.6 via Logic None None 2016-10-29 11:51:55 DEBUG env_loc Item env.location.sun_position.elevation.degrees = 24.7 via Logic None None 2016-10-29 11:51:55 DEBUG env_loc Item env.location.sun_position.azimut.radians = 2.82 via Logic None None 2016-10-29 11:51:55 DEBUG env_loc Item env.location.sun_position.elevation.radians = 0.43 via Logic None None 2016-10-29 11:51:55 DEBUG env_loc Item env.location.moonrise = 2016-10-30 06:25:12.836344+01:00 via Logic None None 2016-10-29 11:51:55 DEBUG sh.gc Object references: 12768 2016-10-29 11:51:55 DEBUG env_loc Item env.location.moonset = 2016-10-29 17:50:06.348846+02:00 via Logic None None 2016-10-29 11:51:55 DEBUG env_loc Item env.location.moonphase = 8 via Logic None None 2016-10-29 11:51:55 DEBUG env_loc Item env.location.day = True via Logic None None 2016-10-29 11:51:56 DEBUG Scheduler sh.gc next time: 2016-10-30 02:04:00+01:00 2016-10-29 11:51:56 DEBUG Scheduler env_loc next time: 2016-10-29 12:21:56+02:00 2016-10-29 11:52:04 DEBUG env_stat Item env.system.libs.ephem_version = 3.7.6.0 via Logic None None 2016-10-29 11:52:04 DEBUG env_stat Item env.core.memory = 25042944 via Logic None None 2016-10-29 11:52:04 DEBUG env_stat Item env.system.load = 0.05 via Logic None None 2016-10-29 11:52:04 DEBUG env_stat Item env.system.diskfree = 36487352320 via Logic None None 2016-10-29 11:52:04 DEBUG env_stat Item env.system.disksize = 40374804480 via Logic None None 2016-10-29 11:52:04 DEBUG env_stat Item env.system.diskusage = 1812897792 via Logic None None 2016-10-29 11:52:04 DEBUG env_stat Item env.system.diskusagepercent = 4.49 via Logic None None 2016-10-29 11:52:04 DEBUG env_stat Item env.location.moonlight = 2 via Logic None None 2016-10-29 11:52:04 DEBUG Scheduler KNX[default] time next time: 2016-10-29 12:02:04+02:00 2016-10-29 11:52:04 DEBUG Scheduler env_stat next time: 2016-10-29 11:57:04+02:00 2016-10-29 11:52:06 INFO Main KNX[default]: 1.1.30 set 15/1/10 to 21.48 2016-10-29 11:52:07 DEBUG Main Item DG.temperatur.bad.ist = 21.48 via KNX 1.1.30 15/1/10 2016-10-29 11:52:07 DEBUG Main _websocket: incoming connection from 192.168.2.104:53703 to 0.0.0.0:2424 2016-10-29 11:52:07 INFO Main VISU: Websocket handler uses protocol version 4 2016-10-29 11:52:07 DEBUG Main rfc6455 Handshake 2016-10-29 11:52:07 DEBUG Main 192.168.2.104:53703 sent '{"cmd":"proto","ver":4}' 2016-10-29 11:52:07 DEBUG Main 192.168.2.104:53703 sent '{"cmd":"identity","sw":"smartVISU","ver":"v2.8","browser":"Firefox","bver":"49"}' 2016-10-29 11:52:07 DEBUG Main 192.168.2.104:53703 sent '{"cmd":"monitor","items":["DG.strom.fussbodenheizung.pumpe","DG.fussbodenheizung.wohnen.zwang","DG.fussbodenheizung.flur.zwang","DG.fussbodenheizung.kueche.zwang","DG.fussbodenheizung.bad.zwang","DG.fussbodenheizung.alle.zwang","DG.temperatur.bad.ist","DG.temperatur.wohnen.ist","DG.temperatur.schlafen.ist","DG.temperatur.kinderzimmer.ist"]}' 2016-10-29 11:52:07 DEBUG Main VISU json_parse: send to 192.168.2.104:53703: {'items': [['DG.strom.fussbodenheizung.pumpe', False], ['DG.fussbodenheizung.wohnen.zwang', []], ['DG.fussbodenheizung.flur.zwang', []], ['DG.fussbodenheizung.kueche.zwang', []], ['DG.fussbodenheizung.bad.zwang', []], ['DG.fussbodenheizung.alle.zwang', []], ['DG.temperatur.bad.ist', 21.48], ['DG.temperatur.wohnen.ist', 21.84], ['DG.temperatur.schlafen.ist', 23.58], ['DG.temperatur.kinderzimmer.ist', 23.02]], 'cmd': 'item'} 2016-10-29 11:52:08 DEBUG Main 192.168.2.104:53703 sent '{"cmd":"item","id":"DG.strom.fussbodenheizung.pumpe","val":"1"}' 2016-10-29 11:52:08 DEBUG Main Item DG.strom.fussbodenheizung.pumpe = True via Visu 192.168.2.104:53703 None 2016-10-29 11:52:08 INFO Main KNX[default]: 1.1.10 set 15/1/20 to 23.58 2016-10-29 11:52:09 DEBUG Main 192.168.2.104:53703 sent '{"cmd":"item","id":"DG.strom.fussbodenheizung.pumpe","val":"0"}' 2016-10-29 11:52:09 DEBUG Main Item DG.strom.fussbodenheizung.pumpe = False via Visu 192.168.2.104:53703 None 2016-10-29 11:52:11 INFO Main KNX[default]: 1.1.60 set 15/1/0 to 21.8 2016-10-29 11:52:11 DEBUG Main Item DG.temperatur.wohnen.ist = 21.8 via KNX 1.1.60 15/1/0 2016-10-29 11:52:11 DEBUG Main 192.168.2.104:53703 sent '{"cmd":"item","id":"DG.strom.fussbodenheizung.pumpe","val":"1"}' 2016-10-29 11:52:11 DEBUG Main Item DG.strom.fussbodenheizung.pumpe = True via Visu 192.168.2.104:53703 None 2016-10-29 11:52:15 DEBUG Main 192.168.2.104:53703 sent '{"cmd":"item","id":"DG.strom.fussbodenheizung.pumpe","val":"0"}' 2016-10-29 11:52:15 DEBUG Main Item DG.strom.fussbodenheizung.pumpe = False via Visu 192.168.2.104:53703 None 2016-10-29 11:52:16 INFO Main KNX[default]: 1.1.15 set 15/1/30 to 23.02 2016-10-29 11:52:23 DEBUG Main 192.168.2.104:53703 sent '{"cmd":"monitor","items":["env.system.name","env.core.version","env.system.load","env.core.threads","env.core.memory","env.system.start","env.core.start","env.location.sunrise","env.location.sunset","env.location.moonrise","env.location.moonset","env.location.moonphase","env.location.moonlight"]}' 2016-10-29 11:52:23 DEBUG Main VISU json_parse: send to 192.168.2.104:53703: {'items': [['env.system.name', 'debian-smarthome'], ['env.core.version', '1.2.451'], ['env.system.load', 0.05], ['env.core.threads', 7.0], ['env.core.memory', 25042944], ['env.system.start', datetime.datetime(2016, 10, 28, 9, 19, 32, 676927, tzinfo=tzfile('/usr/share/zoneinfo/Europe/Berlin'))], ['env.core.start', datetime.datetime(2016, 10, 29, 11, 51, 55, 675831, tzinfo=tzfile('/usr/share/zoneinfo/Europe/Berlin'))], ['env.location.sunrise', datetime.datetime(2016, 10, 30, 7, 3, 11, 98466, tzinfo=tzfile('/usr/share/zoneinfo/Europe/Berlin'))], ['env.location.sunset', datetime.datetime(2016, 10, 29, 17, 58, 58, 328061, tzinfo=tzfile('/usr/share/zoneinfo/Europe/Berlin'))], ['env.location.moonrise', datetime.datetime(2016, 10, 30, 6, 25, 12, 836344, tzinfo=tzfile('/usr/share/zoneinfo/Europe/Berlin'))], ['env.location.moonset', datetime.datetime(2016, 10, 29, 17, 50, 6, 348846, tzinfo=tzfile('/usr/share/zoneinfo/Europe/Berlin'))], ['env.location.moonphase', 8], ['env.location.moonlight', 2]], 'cmd': 'item'} 2016-10-29 11:52:23 DEBUG Main 192.168.2.104:53703 sent '{"cmd":"series","item":"env.system.load","series":"avg","start":"1d","end":"now","count":"100"}' 2016-10-29 11:52:23 DEBUG Main 192.168.2.104:53703 sent '{"cmd":"series","item":"env.core.threads","series":"avg","start":"1d","end":"now","count":"100"}' 2016-10-29 11:52:23 DEBUG Main 192.168.2.104:53703 sent '{"cmd":"series","item":"env.core.memory","series":"avg","start":"1d","end":"now","count":"100"}' 2016-10-29 11:52:23 DEBUG Main 192.168.2.104:53703 sent '{"cmd":"log","name":"env.core.log","max":"10"}' 2016-10-29 11:52:30 INFO Main Number of Threads: 7 2016-10-29 11:52:30 INFO Main Stop Plugins 2016-10-29 11:52:30 DEBUG Main Stopping knx Plugin 2016-10-29 11:52:30 DEBUG Main Stopping websocket Plugin 2016-10-29 11:52:30 DEBUG Main websockethandler: closing socket 192.168.2.104:53703 2016-10-29 11:52:30 DEBUG Main Stopping smartvisu Plugin 2016-10-29 11:52:30 DEBUG Main Stopping cli Plugin 2016-10-29 11:52:30 DEBUG Main Stopping sql Plugin 2016-10-29 11:52:30 DEBUG Main Stopping uzsu Plugin 2016-10-29 11:52:30 DEBUG Main KNX: closing socket 127.0.0.1:6720 2016-10-29 11:52:31 INFO Main SmartHome.py stopped
Kommentar