hallo,
ich probiere mich gerade daran smartvisu mit smarthome.py (v. 0.8) zu verbinden und scheitere leider schon am ersten schalter :-(
der schalter ist in smartvisu (version 2.3) mit folgendem definiert
/usr/local/smarthome/items/item.conf
debug log output:
er behauptet, dass vorraum.licht ein invalid item sei. das kann aber meiner meinung nach nicht sein, da es von der CLI aus problemlos geht
/usr/local/smarthome/etc/plugin.conf
hat jemand eine idee, wo das problem liegen könnte?
danke
werner
ich probiere mich gerade daran smartvisu mit smarthome.py (v. 0.8) zu verbinden und scheitere leider schon am ersten schalter :-(
der schalter ist in smartvisu (version 2.3) mit folgendem definiert
Code:
{{ basic.switch('vorraum', 'vorraum.licht', icon1~'light_light.png', icon0~'light_light.png') }}
Code:
[vorraum]
[[licht]]
type = bool
knx_dpt = 1
knx_send = 2/1/9
knx_listen = 2/1/9
knx_init = 2/1/9
Code:
root@host:/usr/local/smarthome/bin# ./smarthome.py -n
2013-04-13 19:39:18,444 SmartHome.py INFO Init SmartHome.py v0.8 -- smarthome.py:__init__:189
2013-04-13 19:39:18,444 SmartHome.py INFO Init Scheduler -- scheduler.py:__init__:51
2013-04-13 19:39:18,444 SmartHome.py INFO Init plugins -- smarthome.py:__init__:204
2013-04-13 19:39:18,445 SmartHome.py DEBUG Plugin: knx -- plugin.py:__init__:42
2013-04-13 19:39:18,447 SmartHome.py DEBUG Plugin: visu -- plugin.py:__init__:42
2013-04-13 19:39:18,449 Scheduler DEBUG creating 5 workers -- scheduler.py:run:57
2013-04-13 19:39:18,456 SmartHome.py DEBUG Plugin: cli -- plugin.py:__init__:42
2013-04-13 19:39:18,456 SmartHome.py INFO Init items -- smarthome.py:__init__:206
2013-04-13 19:39:18,458 SmartHome.py DEBUG knx: vorraum.licht listen on 2/1/9 -- __init__.py:parse_item:212
2013-04-13 19:39:18,458 SmartHome.py DEBUG knx: vorraum.licht listen on and init with 2/1/9 -- __init__.py:parse_item:221
2013-04-13 19:39:18,458 SmartHome.py DEBUG Item 'vorraum': No type specified. -- item.py:__init__:100
2013-04-13 19:39:18,465 SmartHome.py DEBUG Item 'example': No type specified. -- item.py:__init__:100
2013-04-13 19:39:18,465 SmartHome.py INFO Start Plugins -- plugin.py:start:63
2013-04-13 19:39:18,466 sh.con INFO KNX: connected to 127.0.0.1:3671 -- my_asynchat.py:connect:62
2013-04-13 19:39:18,466 sh.con DEBUG knx: read init/cache ga -- __init__.py:handle_connect:102
2013-04-13 19:39:18,468 SmartHome.py INFO Starting logics -- logic.py:__init__:33
2013-04-13 19:39:18,468 SmartHome.py DEBUG reading logics from /usr/local/smarthome/etc/logic.conf -- logic.py:__init__:40
2013-04-13 19:39:18,468 SmartHome.py DEBUG 0.0.0 read 2/1/9 -- __init__.py:parse_telegram:180
2013-04-13 19:39:18,545 SmartHome.py DEBUG 1.1.1 set 2/1/9 to False -- __init__.py:parse_telegram:167
2013-04-13 19:39:18,677 sh.gc DEBUG Garbage collector: collected 57 objects. -- smarthome.py:_garbage_collection:312
2013-04-13 19:39:18,867 Scheduler DEBUG sh.gc next time: 2013-04-14 02:04:00+02:00 -- scheduler.py:_next_time:193
2013-04-13 19:39:18,946 SmartHome.py DEBUG Websocket: incoming connection from 192.168.0.1:47351 -- __init__.py:handle_accept:108
2013-04-13 19:39:19,947 SmartHome.py DEBUG Websocket: incoming connection from 192.168.0.1:47352 -- __init__.py:handle_accept:108
2013-04-13 19:39:20,948 SmartHome.py DEBUG Websocket: incoming connection from 192.168.0.1:47353 -- __init__.py:handle_accept:108
2013-04-13 19:39:21,949 SmartHome.py DEBUG Websocket: incoming connection from 192.168.0.1:47354 -- __init__.py:handle_accept:108
2013-04-13 19:39:22,950 SmartHome.py DEBUG Websocket: incoming connection from 192.168.0.1:47355 -- __init__.py:handle_accept:108
2013-04-13 19:39:23,952 SmartHome.py DEBUG Websocket: incoming connection from 192.168.0.1:47356 -- __init__.py:handle_accept:108
2013-04-13 19:39:41,929 SmartHome.py DEBUG Websocket: incoming connection from 192.168.0.2:52179 -- __init__.py:handle_accept:108
2013-04-13 19:39:42,311 SmartHome.py DEBUG 192.168.0.2:52179 sent '{"cmd":"proto","ver":1}' -- __init__.py:json_parse:205
2013-04-13 19:39:42,314 SmartHome.py INFO Client 192.168.0.2:52179 requested invalid item: vorraum.licht -- __init__.py:json_parse:229
2013-04-13 19:39:42,887 SmartHome.py DEBUG 192.168.0.2:52179 sent '{"cmd":"item","id":"vorraum.licht","val":"1"}' -- __init__.py:json_parse:205
2013-04-13 19:39:42,887 SmartHome.py INFO Client 192.168.0.2:52179 want to update invalid item: vorraum.licht -- __init__.py:json_parse:218
Code:
root@host:/usr/local/smarthome/items# telnet localhost 2323 Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. SmartHome.py v0.8 > update vorraum.licht = 1 > update vorraum.licht = 0
Code:
[knx]
class_name = KNX
class_path = plugins.knx
host = 127.0.0.1
port = 3671
# 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='0.0.0.0'
port=2424
# visu_dir = False
# smartvisu_dir = /var/www/smartvisu
[cli]
class_name = CLI
class_path = plugins.cli
update = true
hat jemand eine idee, wo das problem liegen könnte?
danke
werner


Kommentar