Hallo zusammen,
ich bin neu hier und noch ganz am Anfang mit meinen Versuchen.
Bisher habe ich den Raspi Model B mit einem ROT aufgebaut und mittels der Images smartVisu und smartHome.py aufgesetzt.
Die Visu habe ich auch bereits soweit gebracht, dass ich das folgende kleine Beispiel mit einem Spot Schalter zur Ansicht gebracht habe.
Nun zum Problem:
Über Putty kann ich über den Befehl "groupswrite ip:localhost 1/1/12 1 und 0" das Licht schalten. Nach dem Starten der smartvisu kann ich aber nicht über das Icon das Licht schalten. Es wäre super, wenn sich einer mal meine Daten anschauen könnte und mir einen "heißen" Tipp gibt, woran es noch liegen könnte.
Anderen Internet Browser ( Chrome, Mozilla ) habe ich auch schon ohne Erfolg versucht.
Hab auch hier bereits die "Suche" bemüht aber bisher alles ohne Erfolg.
Hier hoffentlich alle wichtigen Dateiauschnitte zur Behebung des Problems:
smarthome.py -d:
/usr/smarthome//items/smartvisu.conf :
/var/www/smartvisu/pages/KNXTEST/rooms_menu.html :
/var/www/smartvisu/pages/KNXTEST/Arbeitszimmer.html :
/usr/smarthome/etc/plugin.conf:
Ach ja noch meine Rechnerkonfiguration:
Windows 7 Professional SP 1 64bit
IE 11
ich bin neu hier und noch ganz am Anfang mit meinen Versuchen.
Bisher habe ich den Raspi Model B mit einem ROT aufgebaut und mittels der Images smartVisu und smartHome.py aufgesetzt.
Die Visu habe ich auch bereits soweit gebracht, dass ich das folgende kleine Beispiel mit einem Spot Schalter zur Ansicht gebracht habe.
Nun zum Problem:
Über Putty kann ich über den Befehl "groupswrite ip:localhost 1/1/12 1 und 0" das Licht schalten. Nach dem Starten der smartvisu kann ich aber nicht über das Icon das Licht schalten. Es wäre super, wenn sich einer mal meine Daten anschauen könnte und mir einen "heißen" Tipp gibt, woran es noch liegen könnte.
Anderen Internet Browser ( Chrome, Mozilla ) habe ich auch schon ohne Erfolg versucht.
Hab auch hier bereits die "Suche" bemüht aber bisher alles ohne Erfolg.
Hier hoffentlich alle wichtigen Dateiauschnitte zur Behebung des Problems:
smarthome.py -d:
HTML-Code:
2014-12-16 14:54:39,973 INFO Main Start SmartHome.py 1.0-35-gf62db45-- smarthome.py:__init__:231
2014-12-16 14:54:39,979 DEBUG Main Python 3.2.3 -- smarthome.py:__init__:232
2014-12-16 14:54:39,985 INFO Main Init Scheduler -- scheduler.py:__init__:86
2014-12-16 14:54:39,992 INFO Main Init Plugins -- smarthome.py:start:274
2014-12-16 14:54:40,004 DEBUG Scheduler creating 5 workers -- scheduler.py:run:93
2014-12-16 14:54:40,015 DEBUG Main Plugin: knx -- plugin.py:__init__: 43
2014-12-16 14:54:40,046 DEBUG Main Plugin: visu -- plugin.py:__init__:43
2014-12-16 14:54:40,135 DEBUG Main Plugin: cli -- plugin.py:__init__:43
2014-12-16 14:54:40,147 DEBUG Main Plugin: sql -- plugin.py:__init__:43
2014-12-16 14:54:40,180 DEBUG Main SQLite 3.7.13 -- __init__.py:__init__:62
2014-12-16 14:54:40,254 DEBUG Main SQLite: database integrity ok -- __init__.py:__init__:78
2014-12-16 14:54:40,281 DEBUG Main SQLite pack next time: 2014-12-17 03:02:00+01:00 -- scheduler.py:_next_time:289
2014-12-16 14:54:40,287 INFO Main Init Items -- smarthome.py:start:280
2014-12-16 14:54:40,440 DEBUG Main Item env.core.memory = 12574720.0 via SQLite None None -- item.py:set:457
2014-12-16 14:54:40,464 DEBUG Main Item env.core.threads = 7.0 via SQLite None None -- item.py:set:457
2014-12-16 14:54:40,488 DEBUG Main Item env.core.garbage = 0.0 via SQLite None None -- item.py:set:457
2014-12-16 14:54:40,495 DEBUG Main Item env.core: no type specified. -- item.py:__init__:242
2014-12-16 14:54:40,541 DEBUG Main Item env.location: no type specified. -- item.py:__init__:242
2014-12-16 14:54:40,573 DEBUG Main Item env.system.load = 0.01 via SQLite None None -- item.py:set:457
2014-12-16 14:54:40,584 DEBUG Main Item env.system: no type specified. -- item.py:__init__:242
2014-12-16 14:54:40,589 DEBUG Main Item env: no type specified. -- item.py:__init__:242
2014-12-16 14:54:40,610 DEBUG Main KNX: Erdgeschoss.Arbeitszimmer.Spot.OnOff listen on 1/1/12 -- __init__.py:parse_item:235
2014-12-16 14:54:40,615 DEBUG Main KNX: Erdgeschoss.Arbeitszimmer.Spot.OnOff listen on and init with 1/1/12 -- __init__.py:parse_item:244
2014-12-16 14:54:40,620 DEBUG Main Item Erdgeschoss.Arbeitszimmer.Spot: no type specified. -- item.py:__init__:242
2014-12-16 14:54:40,624 DEBUG Main Item Erdgeschoss.Arbeitszimmer: no type specified. -- item.py:__init__:242
2014-12-16 14:54:40,629 DEBUG Main Item Erdgeschoss: no type specified. -- item.py:__init__:242
2014-12-16 14:54:40,651 DEBUG Main Item first.hallway: no type specified. -- item.py:__init__:242
2014-12-16 14:54:40,664 DEBUG Main Item first.living.light: no type specified. -- item.py:__init__:242
2014-12-16 14:54:40,749 DEBUG Main Item first.living.blind: no type specified. -- item.py:__init__:242
2014-12-16 14:54:40,765 DEBUG Main Item first.living: no type specified. -- item.py:__init__:242
2014-12-16 14:54:40,770 DEBUG Main Item first: no type specified. -- item.py:__init__:242
2014-12-16 14:54:40,791 DEBUG Main KNX: second.sleeping.light.level listen on 3/2/14 -- __init__.py:parse_item:235
2014-12-16 14:54:40,796 DEBUG Main KNX: Light listen on 3/2/12 -- __init__.py:parse_item:235
2014-12-16 14:54:40,854 DEBUG Main Item second.sleeping.blind: no type specified. -- item.py:__init__:242
2014-12-16 14:54:40,863 DEBUG Main Item second.sleeping: no type specified. -- item.py:__init__:242
2014-12-16 14:54:40,933 DEBUG Main Item second.bath.blind: no type specified. -- item.py:__init__:242
2014-12-16 14:54:40,938 DEBUG Main Item second.bath: no type specified. -- item.py:__init__:242
2014-12-16 14:54:40,942 DEBUG Main Item second: no type specified. -- item.py:__init__:242
2014-12-16 14:54:40,952 INFO Main Start Plugins -- plugin.py:start:65
2014-12-16 14:54:41,006 INFO Main Start Logics -- logic.py:__init__:33
2014-12-16 14:54:41,010 DEBUG Main Reading Logics from /usr/smarthome/lib/env/logic_conf -- logic.py:_read_logics:64
2014-12-16 14:54:41,044 DEBUG Main Reading Logics from /usr/smarthome/etc/logic.conf -- logic.py:_read_logics:64
2014-12-16 14:54:41,080 DEBUG Main Logic: dummy -- logic.py:__init__:44
2014-12-16 14:54:41,136 DEBUG Main dummy next time: 2014-12-16 14:54:54+01:00 -- scheduler.py:_next_time:289
2014-12-16 14:54:41,170 DEBUG Main Logic: hello -- logic.py:__init__:44
2014-12-16 14:54:41,194 DEBUG Main Logic: env_init -- logic.py:__init__:44
2014-12-16 14:54:41,228 DEBUG Main Logic: env_stat -- logic.py:__init__:44
2014-12-16 14:54:41,271 DEBUG Main env_stat next time: 2014-12-16 14:54:51+01:00 -- scheduler.py:_next_time:289
2014-12-16 14:54:41,290 DEBUG Main Logic: env_loc -- logic.py:__init__:44
2014-12-16 14:54:41,340 DEBUG Connections KNX: connected to 192.168.178.31:6720 -- connection.py:connect:386
2014-12-16 14:54:41,346 DEBUG Connections KNX: enable group monitor -- __init__.py:handle_connect:117
2014-12-16 14:54:41,351 DEBUG Connections KNX: init read -- __init__.py:handle_connect:123
2014-12-16 14:54:41,358 DEBUG Connections WebSocket: binding to 192.168.178.31:2424 (TCP) -- connection.py:connect:161
2014-12-16 14:54:41,365 DEBUG Connections CLI: binding to 0.0.0.0:2323 (TCP) -- connection.py:connect:161
2014-12-16 14:54:42,363 DEBUG Main KNX: 0.0.1 read 1/1/12 -- __init__.py:parse_telegram:203
2014-12-16 14:54:45,998 DEBUG Main knx: 1.1.230 set 0/2/12 to 00 -- __init__.py:parse_telegram:181
2014-12-16 14:54:46,668 DEBUG env_loc Item env.location.sunrise = 2014-12-17 08:16:36.993908+01:00 via Logic None None -- item.py:__update:363
2014-12-16 14:54:46,670 INFO hello Hello World! -- hello.py:<module>:3
2014-12-16 14:54:46,675 DEBUG sh.gc Garbage collector: collected 0 objects. -- smarthome.py:_garbage_collection:498
2014-12-16 14:54:46,673 DEBUG env_init Item env.core.version = 1.0-35-gf62db45 via Logic None None -- item.py:__update:363
2014-12-16 14:54:46,716 DEBUG env_init Item env.core.start = 2014-12-16 14:54:46.713022+01:00 via Logic None None -- item.py:__update:363
2014-12-16 14:54:46,738 DEBUG env_loc Item env.location.sunset = 2014-12-16 16:11:33.578782+01:00 via Logic None None -- item.py:__update:363
2014-12-16 14:54:46,745 DEBUG env_init Item env.system.name = smarthome.local via Logic None None -- item.py:__update:363
2014-12-16 14:54:46,809 DEBUG env_init Item env.system.start = 2014-12-16 14:31:36.806098+01:00 via Logic None None -- item.py:__update:363
2014-12-16 14:54:46,854 DEBUG env_loc Item env.location.moonrise = 2014-12-17 02:45:20.597606+01:00 via Logic None None -- item.py:__update:363
2014-12-16 14:54:46,913 DEBUG env_loc Item env.location.moonset = 2014-12-17 13:31:10.367185+01:00 via Logic None None -- item.py:__update:363
2014-12-16 14:54:46,942 DEBUG env_loc Item env.location.moonphase = 7 via Logic None None -- item.py:__update:363
2014-12-16 14:54:47,018 DEBUG env_loc Item env.location.day = True via Logic None None -- item.py:__update:363
2014-12-16 14:54:47,026 DEBUG sh.gc Object references: 9176 -- smarthome.py:_maintenance:490
2014-12-16 14:54:47,227 DEBUG Scheduler env_loc next time: 2014-12-16 15:24:47+01:00 -- scheduler.py:_next_time:289
2014-12-16 14:54:47,249 DEBUG Scheduler sh.gc next time: 2014-12-17 02:04:00+01:00 -- scheduler.py:_next_time:289
2014-12-16 14:54:51,338 DEBUG env_stat Item env.core.memory = 13500416 via Logic None None -- item.py:__update:363
2014-12-16 14:54:51,348 DEBUG env_stat Item env.system.load = 0.12 via Logic None None -- item.py:__update:363
2014-12-16 14:54:51,357 DEBUG env_stat Item env.location.moonlight = 31 via Logic None None -- item.py:__update:363
2014-12-16 14:54:51,837 DEBUG Scheduler env_stat next time: 2014-12-16 14:59:51+01:00 -- scheduler.py:_next_time:289
2014-12-16 14:54:54,355 DEBUG dummy Item first.living.temperature = 22 via Logic None None -- item.py:__update:363
2014-12-16 14:54:54,364 DEBUG dummy Item first.living.humidity = 47 via Logic None None -- item.py:__update:363
2014-12-16 14:54:54,373 DEBUG dummy Item second.sleeping.temperature = 18 via Logic None None -- item.py:__update:363
2014-12-16 14:54:54,382 DEBUG dummy Item second.bath.temperature = 22 via Logic None None -- item.py:__update:363
2014-12-16 14:54:54,861 DEBUG Scheduler dummy next time: 2014-12-16 14:59:54+01:00 -- scheduler.py:_next_time:289
2014-12-16 14:55:09,847 DEBUG Main knx: 1.1.251 set 6/0/0 to 008c -- __init__.py:parse_telegram:181
2014-12-16 14:55:09,871 DEBUG Main knx: 1.1.251 set 3/0/3 to 0000 -- __init__.py:parse_telegram:181
2014-12-16 14:55:09,953 DEBUG Main knx: 1.1.251 set 3/0/1 to 00 -- __init__.py:parse_telegram:181
2014-12-16 14:55:10,058 DEBUG Main knx: 1.1.251 set 3/0/2 to 361a -- __init__.py:parse_telegram:181
HTML-Code:
[Erdgeschoss] [[Arbeitszimmer]] [[[Spot]]] [[[[OnOff]]]] type = bool visu_acl = rw knx_dpt = 1 knx_listen = 1/1/12 knx_send = 1/1/12 knx_init = 1/1/12
HTML-Code:
<ul data-role="listview" data-dividertheme="c"> <li data-role="list-divider">Erdgeschoss</li> <li data-icon="false"> <a href="index.php?page=Arbeitszimmer"> <img class="icon"' src='{{ icon0 }}scene_livingroom.png'/><h3>Arbeitszimmer</h3> <div class="ui-li-aside"></div> </a> </li> </ul>
HTML-Code:
{% extends "base.html" %} {% block sidebar %} {% include 'rooms_menu.html' %} {% endblock %} {% block content %} <div class="block"> <div class="set-2" data-role="collapsible-set" data-theme="c" data-content-theme="a" data-mini="true"> <div data-role="collapsible" data-collapsed="false"> <h3>Main Lights</h3> <table width=100%> <td align=left> {{ basic.switch('S1', 'Erdgeschoss.Arbeitszimmer.Spot.OnOff', icon1~'light_floor_lamp.png', icon0~'light_floor_lamp.png') }} Deckenleuchte </td> </table> </div> </div> </div> {% endblock %}
HTML-Code:
[knx] class_name = KNX class_path = plugins.knx host = 192.168.178.31 port = 6720 # send_time = 600 # update date/time every 600 seconds, default none # time_ga = 1/1/1 # default none # date_ga = 1/1/2 # default none [visu] class_name = WebSocket class_path = plugins.visu ip='192.168.178.31' port=2424 acl = rw smartvisu_dir = /var/www/smartvisu [cli] class_name = CLI class_path = plugins.cli ip = 0.0.0.0 update = True [sql] class_name = SQL class_path = plugins.sqlite #[ow] # class_name = OneWire # class_path = plugins.onewire # host = 127.0.0.1 # port = 4304
Windows 7 Professional SP 1 64bit
IE 11
Kommentar