I have beginner problem with smartVISU.
EIBD is working, SmartHome.py is also working from CLI (receive and send KNX messages, turn light on/off).
But SmartVISU web doesnt do anything.
Can you help a beginner?
Here is my simple configuration:
items.conf:
[Kuca]
[[Radna]]
[[[Svjetlo]]]
[[[[OnOff]]]]
type = bool
visu_acl = rw
visu = yes
knx_dpt = 1
knx_listen = 1/2/11
knx_send = 1/2/11
knx_init = 1/2/11
room_radna.html (switch shows on the web but doesnt do anythin)
{{ basic.switch('S1', 'Kuca.Radna.Svjetlo.OnOff', icon1~'light_light.png', icon0~'light_led.png' ) }} LED
SmartHome.py works fine - turns light on and off:
telnet 0 2323
Trying 0.0.0.0...
Connected to 0.
Escape character is '^]'.
SmartHome.py v1.0-35-gf62db45
Enter 'help' for a list of available commands.
> update Kuca.Radna.Svjetlo.OnOff = 1
and log file (it reads from KNX and writes via CLI but not via web VISU)
2014-08-10 21:29:46,034 DEBUG Main knx: 1.1.23 set 1/2/11 to True -- __init__.py
arse_telegram:190
2014-08-10 21:29:46,036 DEBUG Main Item Kuca.Radna.Svjetlo.OnOff = True via KNX 1.1.23 1/2/11 -- item.py:__update:363
2014-08-10 21:30:40,079 DEBUG Main CLI: incoming connection from 127.0.0.1:39521 to 0.0.0.0:2323 -- connection.py:accept:188
2014-08-10 21:30:40,081 DEBUG Main CLI: incoming connection from 127.0.0.1:39521 to 0.0.0.0:2323 -- __init__.py:handle_connection:190
2014-08-10 21:30:57,244 DEBUG Main Item Kuca.Radna.Svjetlo.OnOff = False via CLI 127.0.0.1:39521 None -- item.py:__update:363
2014-08-10 21:30:57,250 DEBUG Main knx: 0.0.0 set 1/2/11 to False -- __init__.py
arse_telegram:190
and my plugin.conf:
[knx]
class_name = KNX
class_path = plugins.knx
host = 127.0.0.1
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
#[ow]
# class_name = OneWire
# class_path = plugins.onewire
[visu]
class_name = WebSocket
class_path = plugins.visu
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
Everything is installed on Ubuntu 14.04 (x86) kernel 3.13.0-32
EIBD is working, SmartHome.py is also working from CLI (receive and send KNX messages, turn light on/off).
But SmartVISU web doesnt do anything.
Can you help a beginner?

Here is my simple configuration:
items.conf:
[Kuca]
[[Radna]]
[[[Svjetlo]]]
[[[[OnOff]]]]
type = bool
visu_acl = rw
visu = yes
knx_dpt = 1
knx_listen = 1/2/11
knx_send = 1/2/11
knx_init = 1/2/11
room_radna.html (switch shows on the web but doesnt do anythin)
{{ basic.switch('S1', 'Kuca.Radna.Svjetlo.OnOff', icon1~'light_light.png', icon0~'light_led.png' ) }} LED
SmartHome.py works fine - turns light on and off:
telnet 0 2323
Trying 0.0.0.0...
Connected to 0.
Escape character is '^]'.
SmartHome.py v1.0-35-gf62db45
Enter 'help' for a list of available commands.
> update Kuca.Radna.Svjetlo.OnOff = 1
and log file (it reads from KNX and writes via CLI but not via web VISU)
2014-08-10 21:29:46,034 DEBUG Main knx: 1.1.23 set 1/2/11 to True -- __init__.py

2014-08-10 21:29:46,036 DEBUG Main Item Kuca.Radna.Svjetlo.OnOff = True via KNX 1.1.23 1/2/11 -- item.py:__update:363
2014-08-10 21:30:40,079 DEBUG Main CLI: incoming connection from 127.0.0.1:39521 to 0.0.0.0:2323 -- connection.py:accept:188
2014-08-10 21:30:40,081 DEBUG Main CLI: incoming connection from 127.0.0.1:39521 to 0.0.0.0:2323 -- __init__.py:handle_connection:190
2014-08-10 21:30:57,244 DEBUG Main Item Kuca.Radna.Svjetlo.OnOff = False via CLI 127.0.0.1:39521 None -- item.py:__update:363
2014-08-10 21:30:57,250 DEBUG Main knx: 0.0.0 set 1/2/11 to False -- __init__.py

and my plugin.conf:
[knx]
class_name = KNX
class_path = plugins.knx
host = 127.0.0.1
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
#[ow]
# class_name = OneWire
# class_path = plugins.onewire
[visu]
class_name = WebSocket
class_path = plugins.visu
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
Everything is installed on Ubuntu 14.04 (x86) kernel 3.13.0-32
Kommentar