Hallo,
Leider bekomme ich auch nicht das Licht eingeschaltet.
Browser: Firefox
WINSCP
Meine item sieht wie folgt aus.
Meine Page sieht wie folgt aus
Mein Debug sieht wie folgt aus
Der Test mit sh.EG.Wohnzimmer.Decke(1) schlägt fehl.
WINSCP setzt folgende Fehlermeldung "Der Server sendete den Befehlsbeendigungsstatus 2"
Starte ich smarthome.py -d kann ich nichts mehr machen, bis die Applikation auf einen Timeout läuft ? Das Debug habe ich nachträglich aus dem Log Ordner kopiert, nachdem ich mich neu verbinden musste.
Danke für die Unterstützung
Gruß,
Hans M.
Leider bekomme ich auch nicht das Licht eingeschaltet.
Browser: Firefox
WINSCP
Meine item sieht wie folgt aus.
[EG]
[[Wohnzimmer]]
[[[Decke]]]
type = bool
visu_acl = rw
knx_dpt = 1
knx_listen = 1/1/37
knx_send = 1/1/36
knx_init = 1/1/36
[[Wohnzimmer]]
[[[Decke]]]
type = bool
visu_acl = rw
knx_dpt = 1
knx_listen = 1/1/37
knx_send = 1/1/36
knx_init = 1/1/36
Code:
/** * ----------------------------------------------------------------------------- * @package smartVISU * @author Martin Gleiß * @copyright 2012 * @license GPL [http://www.gnu.de] * ----------------------------------------------------------------------------- */ {% extends "rooms.html" %} {% 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>Wohnzimmer</h3> <table width=100%> <tr> <td align=left> {{ basic.switch('S1', 'EG.Wohnzimmer.Decke', icon1~'light_light.png', icon0~'light_light.png') }} Deckenlicht </td> </tr> </table> </div> </div> </div> {% endblock %}
Code:
2014-04-28 19:51:46,097 INFO Main Start SmartHome.py 1.0-32-gfd0043e -- smarthome.py:__init__:231 2014-04-28 19:51:46,101 DEBUG Main Python 3.2.3 -- smarthome.py:__init__:232 2014-04-28 19:51:46,107 INFO Main Init Scheduler -- scheduler.py:__init__:86 2014-04-28 19:51:46,113 INFO Main Init Plugins -- smarthome.py:start:274 2014-04-28 19:51:46,125 DEBUG Scheduler creating 5 workers -- scheduler.py:run:93 2014-04-28 19:51:46,135 DEBUG Main Plugin: knx -- plugin.py:__init__:43 2014-04-28 19:51:46,164 DEBUG Main Plugin: visu -- plugin.py:__init__:43 2014-04-28 19:51:46,257 DEBUG Main Plugin: cli -- plugin.py:__init__:43 2014-04-28 19:51:46,269 DEBUG Main Plugin: sql -- plugin.py:__init__:43 2014-04-28 19:51:46,302 DEBUG Main SQLite 3.7.13 -- __init__.py:__init__:62 2014-04-28 19:51:46,538 DEBUG Main SQLite: database integrity ok -- __inits__.py:__init__:78 2014-04-28 19:51:46,579 DEBUG Main SQLite pack next time: 2014-04-29 03:02:00+02:00 -- scheduler.py:_next_time:289 2014-04-28 19:51:46,585 INFO Main Init Items -- smarthome.py:start:280 2014-04-28 19:51:46,708 DEBUG Main Item env.core.memory = 13402112.0 via SQLite None None -- item.py:set:457 2014-04-28 19:51:46,778 DEBUG Main Item env.core.threads = 7.0 via SQLite None None -- item.py:set:457 2014-04-28 19:51:46,844 DEBUG Main Item env.core.garbage = 0.0 via SQLite None None -- item.py:set:457 2014-04-28 19:51:46,851 DEBUG Main Item env.core: no type specified. -- item.py:__init__:242 2014-04-28 19:51:46,907 DEBUG Main Item env.location: no type specified. -- item.py:__init__:242 2014-04-28 19:51:46,979 DEBUG Main Item env.system.load = 0.27 via SQLite None None -- item.py:set:457 2014-04-28 19:51:46,991 DEBUG Main Item env.system: no type specified. -- item.py:__init__:242 2014-04-28 19:51:46,995 DEBUG Main Item env: no type specified. -- item.py:__init__:242 2014-04-28 19:51:47,015 DEBUG Main KNX: EG.Wohnzimmer.Decke listen on 1/1/37 -- __init__.py:parse_item:235 2014-04-28 19:51:47,019 DEBUG Main KNX: EG.Wohnzimmer.Decke listen on and init with 1/1/36 -- __init__.py:parse_item:244 2014-04-28 19:51:47,023 DEBUG Main Item EG.Wohnzimmer: no type specified. -- item.py:__init__:242 2014-04-28 19:51:47,027 DEBUG Main Item EG: no type specified. -- item.py:__init__:242 2014-04-28 19:51:47,034 INFO Main Start Plugins -- plugin.py:start:65 2014-04-28 19:51:47,081 INFO Main Start Logics -- logic.py:__init__:33 2014-04-28 19:51:47,085 DEBUG Main Reading Logics from /usr/smarthome/lib/env/logic_conf -- logic.py:_read_logics:64 2014-04-28 19:51:47,118 DEBUG Main Reading Logics from /usr/smarthome/etc/logic.conf -- logic.py:_read_logics:64 2014-04-28 19:51:47,136 DEBUG Main Logic: hello -- logic.py:__init__:44 2014-04-28 19:51:47,195 DEBUG Main Logic: env_init -- logic.py:__init__:44 2014-04-28 19:51:47,207 DEBUG Main Logic: env_stat -- logic.py:__init__:44 2014-04-28 19:51:47,247 DEBUG Main env_stat next time: 2014-04-28 19:52:00+02:00 -- scheduler.py:_next_time:289 2014-04-28 19:51:47,266 DEBUG Main Logic: env_loc -- logic.py:__init__:44 2014-04-28 19:51:47,346 DEBUG Connections KNX: connected to 127.0.0.1:6720 -- connection.py:connect:386 2014-04-28 19:51:47,351 DEBUG Connections KNX: enable group monitor -- __init__.py:handle_connect:117 2014-04-28 19:51:47,354 DEBUG Connections KNX: init read -- __init__.py:handle_connect:123 2014-04-28 19:51:47,361 DEBUG Connections WebSocket: binding to 0.0.0.0:2424 (TCP) -- connection.py:connect:161 2014-04-28 19:51:47,367 DEBUG Connections CLI: binding to 0.0.0.0:2323 (TCP) -- connection.py:connect:161 2014-04-28 19:51:48,333 DEBUG Main KNX: 0.0.0 read 1/1/36 -- __init__.py:parse_telegram:203 2014-04-28 19:51:51,271 DEBUG Main knx: 1.1.15 set 3/1/4 to 076c -- __init__.py:parse_telegram:181 2014-04-28 19:51:52,248 INFO hello Hello World! -- hello.py:<module>:3 2014-04-28 19:51:52,253 DEBUG env_init Item env.core.version = 1.0-32-gfd0043e via Logic None None -- item.py:__update:363 2014-04-28 19:51:52,265 DEBUG env_init Item env.core.start = 2014-04-28 19:51:52.260940+02:00 via Logic None None -- item.py:__update:363 2014-04-28 19:51:52,274 DEBUG env_init Item env.system.name = smarthome.local via Logic None None -- item.py:__update:363 2014-04-28 19:51:52,286 DEBUG env_init Item env.system.start = 2014-04-28 19:50:53.281922+02:00 via Logic None None -- item.py:__update:363 2014-04-28 19:51:52,834 DEBUG env_loc Item env.location.sunrise = 2014-04-29 05:54:56.120459+02:00 via Logic None None -- item.py:__update:363 2014-04-28 19:51:52,836 DEBUG sh.gc Garbage collector: collected 0 objects. -- smarthome.py:_garbage_collection:498 2014-04-28 19:51:52,879 DEBUG env_loc Item env.location.sunset = 2014-04-28 20:35:38.225778+02:00 via Logic None None -- item.py:__update:363 2014-04-28 19:51:52,963 DEBUG env_loc Item env.location.moonrise = 2014-04-29 06:04:49.214095+02:00 via Logic None None -- item.py:__update:363 2014-04-28 19:51:53,043 DEBUG env_loc Item env.location.moonset = 2014-04-29 21:01:01.387769+02:00 via Logic None None -- item.py:__update:363 2014-04-28 19:51:53,081 DEBUG env_loc Item env.location.moonphase = 8 via Logic None None -- item.py:__update:363 2014-04-28 19:51:53,151 DEBUG sh.gc Object references: 8957 -- smarthome.py:_maintenance:490 2014-04-28 19:51:53,160 DEBUG env_loc Item env.location.day = True via Logic None None -- item.py:__update:363 2014-04-28 19:51:53,337 DEBUG Scheduler env_loc next time: 2014-04-28 20:21:53+02:00 -- scheduler.py:_next_time:289 2014-04-28 19:51:53,359 DEBUG Scheduler sh.gc next time: 2014-04-29 02:04:00+02:00 -- scheduler.py:_next_time:289 2014-04-28 19:52:00,461 DEBUG env_stat Item env.core.memory = 13406208 via Logic None None -- item.py:__update:363 2014-04-28 19:52:00,471 DEBUG env_stat Item env.system.load = 0.31 via Logic None None -- item.py:__update:363 2014-04-28 19:52:00,916 DEBUG Scheduler env_stat next time: 2014-04-28 19:57:00+02:00 -- scheduler.py:_next_time:289 2014-04-28 19:52:09,675 DEBUG Main knx: 1.1.14 set 3/1/2 to 00 -- __init__.py:parse_telegram:181 2014-04-28 19:52:11,388 DEBUG Main knx: 1.1.50 set 3/2/1 to 00 -- __init__.py:parse_telegram:181 2014-04-28 19:52:51,266 DEBUG Main knx: 1.1.15 set 3/1/4 to 076c -- __init__.py:parse_telegram:181
WINSCP setzt folgende Fehlermeldung "Der Server sendete den Befehlsbeendigungsstatus 2"
Starte ich smarthome.py -d kann ich nichts mehr machen, bis die Applikation auf einen Timeout läuft ? Das Debug habe ich nachträglich aus dem Log Ordner kopiert, nachdem ich mich neu verbinden musste.
Danke für die Unterstützung
Gruß,
Hans M.