Zitat von nEiMi
Beitrag anzeigen
Überflüssige Items werd ich später noch eliminieren
[tuerklingel]
name = Türklingel
type = foo
knx_dpt = 1
knx_init = 0/0/1
visu_acl = r
enforce_updates = yes
eval = sh.fb1.start_call('017xxxxxxx1')
#eval = sh.fb1.set_call_origin("621"), sh.fb1.start_call('**620')
eval_trigger = tuerklingel


es scheint immer wieder Verbindungsabbrüche zu geben.2016-06-24 14:03:31 INFO Main Start SmartHome.py 1.1.354
2016-06-24 14:03:31 DEBUG Main Python 3.4.3
2016-06-24 14:03:31 INFO Main Init Scheduler
2016-06-24 14:03:31 DEBUG Scheduler creating 5 workers
2016-06-24 14:03:31 INFO Main Init Plugins
2016-06-24 14:03:32 DEBUG Main Plugin: fb1
2016-06-24 14:03:32 DEBUG Main set plugin fb1 instance to fritzbox_7390
2016-06-24 14:03:32 INFO Main Init AVM Plugin
2016-06-24 14:03:32 DEBUG Main starting monitoring service
2016-06-24 14:03:32 INFO Main Init Items
2016-06-24 14:03:32 INFO Main Starting new HTTPS connection (1): fritz.box
2016-06-24 14:03:32 DEBUG Main "POST /upnp/control/x_contact HTTP/1.1" 401 188
2016-06-24 14:03:32 INFO Main Resetting dropped connection: fritz.box
2016-06-24 14:03:32 DEBUG Main "POST /upnp/control/x_contact HTTP/1.1" 200 400
2016-06-24 14:03:32 INFO Main Starting new HTTPS connection (1): 2003:xx:xxxx:xxxx:xxxx:xxx:xxxx:xxxx
2016-06-24 14:03:33 DEBUG Main "GET /calllist.lua?sid=37d11368a321f300 HTTP/1.1" 200 None
2016-06-24 14:03:33 DEBUG Main Item avm.monitor.incoming.duration = 240 via Logic None None
2016-06-24 14:03:33 DEBUG Main Item avm.monitor.incoming.last_caller = 08xxxxxx7 via Logic None None
2016-06-24 14:03:33 DEBUG Main Item avm.monitor.incoming.last_calling_number = 08xxxxxx7 via Logic None None
2016-06-24 14:03:33 DEBUG Main Item avm.monitor.incoming.last_called_number = xxxxxx via Logic None None
2016-06-24 14:03:33 DEBUG Main Item avm.monitor.incoming.last_call_date = 23.06.16 17:08:00 via Logic None None
2016-06-24 14:03:33 DEBUG Main Item avm.monitor.incoming.event = disconnect via Logic None None
2016-06-24 14:03:33 DEBUG Main Item avm.monitor.incoming: no type specified.
2016-06-24 14:03:33 DEBUG Main Item avm.monitor.outgoing.duration = 60 via Logic None None
2016-06-24 14:03:33 DEBUG Main Item avm.monitor.outgoing.last_caller = 01xxxxxx7 via Logic None None
2016-06-24 14:03:33 DEBUG Main Item avm.monitor.outgoing.last_calling_number = xxxxxx via Logic None None
2016-06-24 14:03:33 DEBUG Main Item avm.monitor.outgoing.last_called_number = 01xxxxxx7 via Logic None None
2016-06-24 14:03:33 DEBUG Main Item avm.monitor.outgoing.last_call_date = 24.06.16 12:01:00 via Logic None None
2016-06-24 14:03:33 DEBUG Main Item avm.monitor.outgoing.event = disconnect via Logic None None
2016-06-24 14:03:33 DEBUG Main Item avm.monitor.outgoing: no type specified.
2016-06-24 14:03:33 DEBUG Main Item avm.monitor.newest: no type specified.
2016-06-24 14:03:33 DEBUG Main Item avm.monitor: no type specified.
2016-06-24 14:03:33 DEBUG Main Item avm.wan: no type specified.
2016-06-24 14:03:33 DEBUG Main Item avm.wlan: no type specified.
2016-06-24 14:03:33 DEBUG Main Item avm.devices.fritzbox_7390: no type specified.
2016-06-24 14:03:33 DEBUG Main Item avm.devices: no type specified.
2016-06-24 14:03:33 DEBUG Main Item avm: no type specified.
2016-06-24 14:03:34 DEBUG Main KNX[default]: Item Türklingel is mapped to KNX Instance default
2016-06-24 14:03:34 DEBUG Main KNX[default]: Türklingel listen on and init with 0/0/1
2016-06-24 14:03:34 DEBUG Main Triggering avm.tam.message_number_old - by: Init source: None dest: None value: {'value': 0, 'caller': 'Init'}
2016-06-24 14:03:34 DEBUG Main Triggering tuerklingel - by: Init source: None dest: None value: {'value': None, 'caller': 'Init'}
2016-06-24 14:03:34 INFO Main Items: 632
2016-06-24 14:03:34 INFO Main Start Logics
2016-06-24 14:03:34 DEBUG Main Reading Logics from /usr/local/smarthome_test_version/lib/env/logic_conf
2016-06-24 14:03:34 DEBUG Main Reading Logics from /usr/local/smarthome_test_version/etc/logic.conf
2016-06-24 14:03:34 DEBUG Main Logic: CallListCSVLogic
2016-06-24 14:03:34 INFO Main Start Plugins
2016-06-24 14:03:34 DEBUG tuerklingel "POST /upnp/control/x_voip HTTP/1.1" 401 188
2016-06-24 14:03:34 INFO tuerklingel Resetting dropped connection: fritz.box
2016-06-24 14:03:34 DEBUG Main Starting fb1 Plugin
2016-06-24 14:03:34 DEBUG fb1 Scheduler: Name changed by adding plugin instance name to: plugins.avm_fritzbox_7390
2016-06-24 14:03:34 DEBUG fb1 plugins.avm_fritzbox_7390 next time: 2016-06-24 14:03:36+02:00
2016-06-24 14:03:34 DEBUG tuerklingel "POST /upnp/control/x_voip HTTP/1.1" 500 428
2016-06-24 14:03:34 DEBUG tuerklingel "POST /upnp/control/x_voip HTTP/1.1" 401 188
2016-06-24 14:03:34 INFO tuerklingel Resetting dropped connection: fritz.box
2016-06-24 14:03:34 DEBUG tuerklingel "POST /upnp/control/x_voip HTTP/1.1" 500 428
2016-06-24 14:03:34 DEBUG tuerklingel Item tuerklingel = (None, None) via Init None None
2016-06-24 14:03:36 DEBUG plugins.avm_fritzbox_7390 Starting update loop for instance fritzbox_7390
2016-06-24 14:03:36 DEBUG plugins.avm_fritzbox_7390 "POST /upnp/control/deviceinfo HTTP/1.1" 401 188
2016-06-24 14:03:36 INFO plugins.avm_fritzbox_7390 Resetting dropped connection: fritz.box
2016-06-24 14:03:37 DEBUG plugins.avm_fritzbox_7390 "POST /upnp/control/deviceinfo HTTP/1.1" 200 15367
2016-06-24 14:03:37 DEBUG plugins.avm_fritzbox_7390 Item avm.uptime_7390 = 752244 via Logic None None
2016-06-24 14:03:37 DEBUG plugins.avm_fritzbox_7390 Accessing DeviceInfo reponse cache for action GetInfo!
2016-06-24 14:03:37 DEBUG plugins.avm_fritzbox_7390 Item avm.serial_number_7390 = C025064DB0D5 via Logic None None
2016-06-24 14:03:37 DEBUG plugins.avm_fritzbox_7390 Accessing DeviceInfo reponse cache for action GetInfo!
2016-06-24 14:03:37 DEBUG plugins.avm_fritzbox_7390 Item avm.firmware_7390 = 84.06.51 via Logic None None
2016-06-24 14:03:37 DEBUG plugins.avm_fritzbox_7390 Accessing DeviceInfo reponse cache for action GetInfo!
2016-06-24 14:03:37 DEBUG plugins.avm_fritzbox_7390 Item avm.hardware_version_7390 = FRITZ!Box Fon WLAN 7390 via Logic None None
2016-06-24 14:03:37 DEBUG plugins.avm_fritzbox_7390 "POST /upnp/control/x_myfritz HTTP/1.1" 401 188
2016-06-24 14:03:37 INFO plugins.avm_fritzbox_7390 Resetting dropped connection: fritz.box
2016-06-24 14:03:37 DEBUG Main KNX[default]: 1.1.1 read 0/0/1
2016-06-24 14:03:37 INFO Main KNX[default]: 1.1.7 set 0/0/1 to True
2016-06-24 14:03:37 DEBUG Main Triggering tuerklingel-eval - by: KNX source: 1.1.7 dest: 0/0/1 value: {'source': '1.1.7', 'value': True, 'dest
2016-06-24 14:03:37 INFO tuerklingel-eval Starting new HTTPS connection (2): fritz.box
2016-06-24 14:03:38 DEBUG tuerklingel-eval "POST /upnp/control/x_voip HTTP/1.1" 401 188
2016-06-24 14:03:38 DEBUG plugins.avm_fritzbox_7390 "POST /upnp/control/x_myfritz HTTP/1.1" 200 401
2016-06-24 14:03:38 DEBUG plugins.avm_fritzbox_7390 Item avm.myfritz = True via Logic None None
2016-06-24 14:03:38 DEBUG plugins.avm_fritzbox_7390 "POST /upnp/control/x_tam HTTP/1.1" 401 188
2016-06-24 14:03:38 INFO tuerklingel-eval Resetting dropped connection: fritz.box
2016-06-24 14:03:38 INFO plugins.avm_fritzbox_7390 Resetting dropped connection: fritz.box
2016-06-24 14:03:39 DEBUG plugins.avm_fritzbox_7390 "POST /upnp/control/x_tam HTTP/1.1" 200 454
2016-06-24 14:03:39 DEBUG plugins.avm_fritzbox_7390 Item avm.tam.name = AB XXX via Logic None None
2016-06-24 14:03:39 DEBUG tuerklingel-eval "POST /upnp/control/x_voip HTTP/1.1" 500 428
2016-06-24 14:03:39 DEBUG tuerklingel-eval "POST /upnp/control/x_voip HTTP/1.1" 401 188
2016-06-24 14:03:39 DEBUG plugins.avm_fritzbox_7390 "POST /upnp/control/x_tam HTTP/1.1" 401 188
2016-06-24 14:03:39 INFO tuerklingel-eval Resetting dropped connection: fritz.box
2016-06-24 14:03:39 INFO plugins.avm_fritzbox_7390 Resetting dropped connection: fritz.box
2016-06-24 14:03:39 DEBUG tuerklingel-eval "POST /upnp/control/x_voip HTTP/1.1" 500 428
2016-06-24 14:03:39 DEBUG plugins.avm_fritzbox_7390 "POST /upnp/control/x_tam HTTP/1.1" 200 406
2016-06-24 14:03:40 DEBUG plugins.avm_fritzbox_7390 "GET /tamcalllist.lua?sid=37d11368a321f300&tamindex=0 HTTP/1.1" 200 None
2016-06-24 14:03:40 DEBUG plugins.avm_fritzbox_7390 Item avm.tam.message_number_new = 1 via Logic None None
2016-06-24 14:03:40 DEBUG plugins.avm_fritzbox_7390 Triggering avm.tam.message_number_old - by: Logic source: None dest: None value: {'source': 'avm.tam.message_number_new',
2016-06-24 14:03:40 DEBUG plugins.avm_fritzbox_7390 Accessing TAM reponse cache for action GetMessageList!
2016-06-24 14:03:40 DEBUG avm.tam.message_number_old Item avm.tam.message_number_old = -1 via Eval avm.tam.message_number_new None
2016-06-24 14:03:40 DEBUG plugins.avm_fritzbox_7390 Accessing TAM reponse cache for action GetMessageList!
2016-06-24 14:03:40 DEBUG plugins.avm_fritzbox_7390 Item avm.tam.message_number_total = 1 via Logic None None
2016-06-24 14:03:40 DEBUG plugins.avm_fritzbox_7390 Triggering avm.tam.message_number_old - by: Logic source: None dest: None value: {'source': 'avm.tam.message_number_total
2016-06-24 14:03:40 DEBUG plugins.avm_fritzbox_7390 Accessing TAM reponse cache for action GetInfo!
2016-06-24 14:03:40 DEBUG avm.tam.message_number_old Item avm.tam.message_number_old = 0 via Eval avm.tam.message_number_total None
2016-06-24 14:03:40 DEBUG plugins.avm_fritzbox_7390 Item avm.tam = True via Logic None None
2016-06-24 14:03:40 DEBUG plugins.avm_fritzbox_7390 "POST /upnp/control/x_tam HTTP/1.1" 401 188
2016-06-24 14:03:40 INFO plugins.avm_fritzbox_7390 Resetting dropped connection: fritz.box
2016-06-24 14:03:40 DEBUG plugins.avm_fritzbox_7390 "POST /upnp/control/x_tam HTTP/1.1" 200 273
2016-06-24 14:03:40 DEBUG plugins.avm_fritzbox_7390 "POST /igdupnp/control/WANIPConn1 HTTP/1.1" 200 448
2016-06-24 14:03:40 DEBUG plugins.avm_fritzbox_7390 Item avm.wan.connection_status = Connected via Logic None None
2016-06-24 14:03:40 DEBUG plugins.avm_fritzbox_7390 Accessing TAM reponse cache for action GetStatusInfo!
2016-06-24 14:03:40 DEBUG plugins.avm_fritzbox_7390 Item avm.wan.connection_error = ERROR_NONE via Logic None None
2016-06-24 14:03:40 DEBUG plugins.avm_fritzbox_7390 Accessing TAM reponse cache for action GetStatusInfo!
2016-06-24 14:03:40 DEBUG plugins.avm_fritzbox_7390 Item avm.wan.is_connected = True via Logic None None
2016-06-24 14:03:40 DEBUG plugins.avm_fritzbox_7390 Accessing TAM reponse cache for action GetStatusInfo!
2016-06-24 14:03:40 DEBUG plugins.avm_fritzbox_7390 Item avm.wan.uptime = 46158 via Logic None None
2016-06-24 14:03:40 DEBUG plugins.avm_fritzbox_7390 "POST /igdupnp/control/WANIPConn1 HTTP/1.1" 200 379
2016-06-24 14:03:40 DEBUG plugins.avm_fritzbox_7390 Item avm.wan.ip = 79.x.x.x via Logic None None
2016-06-24 14:03:40 DEBUG plugins.avm_fritzbox_7390 "POST /upnp/control/wandslifconfig1 HTTP/1.1" 401 188
2016-06-24 14:03:40 INFO plugins.avm_fritzbox_7390 Resetting dropped connection: fritz.box
2016-06-24 14:03:41 DEBUG plugins.avm_fritzbox_7390 "POST /upnp/control/wandslifconfig1 HTTP/1.1" 200 954
2016-06-24 14:03:41 DEBUG plugins.avm_fritzbox_7390 Item avm.wan.upstream = 10048 via Logic None None
2016-06-24 14:03:41 DEBUG plugins.avm_fritzbox_7390 Accessing TAM reponse cache for action GetInfo!
2016-06-24 14:03:41 DEBUG plugins.avm_fritzbox_7390 Item avm.wan.downstream = 51376 via Logic None None
2016-06-24 14:03:41 DEBUG plugins.avm_fritzbox_7390 "POST /upnp/control/wancommonifconfig1 HTTP/1.1" 401 188
2016-06-24 14:03:41 INFO plugins.avm_fritzbox_7390 Resetting dropped connection: fritz.box
2016-06-24 14:03:42 DEBUG plugins.avm_fritzbox_7390 "POST /upnp/control/wancommonifconfig1 HTTP/1.1" 200 357
2016-06-24 14:03:42 DEBUG plugins.avm_fritzbox_7390 Item avm.wan.total_packets_sent = 6907052 via Logic None None
2016-06-24 14:03:42 DEBUG plugins.avm_fritzbox_7390 "POST /upnp/control/wancommonifconfig1 HTTP/1.1" 401 188
2016-06-24 14:03:42 INFO plugins.avm_fritzbox_7390 Resetting dropped connection: fritz.box
2016-06-24 14:03:42 DEBUG plugins.avm_fritzbox_7390 "POST /upnp/control/wancommonifconfig1 HTTP/1.1" 200 373
2016-06-24 14:03:42 DEBUG plugins.avm_fritzbox_7390 Item avm.wan.total_packets_received = 5572879 via Logic None None
2016-06-24 14:03:42 DEBUG plugins.avm_fritzbox_7390 "POST /upnp/control/wancommonifconfig1 HTTP/1.1" 401 188
2016-06-24 14:03:43 INFO plugins.avm_fritzbox_7390 Resetting dropped connection: fritz.box
2016-06-24 14:03:43 DEBUG plugins.avm_fritzbox_7390 "POST /upnp/control/wancommonifconfig1 HTTP/1.1" 200 352
2016-06-24 14:03:43 DEBUG plugins.avm_fritzbox_7390 Item avm.wan.total_bytes_sent = 1031282435 via Logic None None
2016-06-24 14:03:43 DEBUG plugins.avm_fritzbox_7390 "POST /upnp/control/wancommonifconfig1 HTTP/1.1" 401 188
2016-06-24 14:03:43 INFO plugins.avm_fritzbox_7390 Resetting dropped connection: fritz.box
2016-06-24 14:03:44 DEBUG plugins.avm_fritzbox_7390 "POST /upnp/control/wancommonifconfig1 HTTP/1.1" 200 368
2016-06-24 14:03:44 DEBUG plugins.avm_fritzbox_7390 Item avm.wan.total_bytes_received = 1530836340 via Logic None None
2016-06-24 14:03:44 DEBUG plugins.avm_fritzbox_7390 "POST /upnp/control/wancommonifconfig1 HTTP/1.1" 401 188
2016-06-24 14:03:44 INFO plugins.avm_fritzbox_7390 Resetting dropped connection: fritz.box
2016-06-24 14:03:44 DEBUG plugins.avm_fritzbox_7390 "POST /upnp/control/wancommonifconfig1 HTTP/1.1" 200 545
2016-06-24 14:03:44 DEBUG plugins.avm_fritzbox_7390 Item avm.wan.link = True via Logic None None
2016-06-24 14:03:44 DEBUG plugins.avm_fritzbox_7390 "POST /upnp/control/wlanconfig1 HTTP/1.1" 401 188
2016-06-24 14:03:44 INFO plugins.avm_fritzbox_7390 Resetting dropped connection: fritz.box
2016-06-24 14:03:45 DEBUG plugins.avm_fritzbox_7390 "POST /upnp/control/wlanconfig1 HTTP/1.1" 200 1081
2016-06-24 14:03:45 DEBUG plugins.avm_fritzbox_7390 Accessing TAM reponse cache for action GetInfo!
2016-06-24 14:03:45 DEBUG plugins.avm_fritzbox_7390 Item avm.wlan.gf_wlan_1_ssid = FRITZBox via Logic None None
2016-06-24 14:03:46 DEBUG plugins.avm_fritzbox_7390 "POST /upnp/control/wlanconfig2 HTTP/1.1" 401 188
2016-06-24 14:03:46 INFO plugins.avm_fritzbox_7390 Resetting dropped connection: fritz.box
2016-06-24 14:03:47 DEBUG plugins.avm_fritzbox_7390 "POST /upnp/control/wlanconfig2 HTTP/1.1" 200 1081
2016-06-24 14:03:47 DEBUG plugins.avm_fritzbox_7390 "POST /upnp/control/wlanconfig3 HTTP/1.1" 401 188
2016-06-24 14:03:47 INFO plugins.avm_fritzbox_7390 Resetting dropped connection: fritz.box
2016-06-24 14:03:48 DEBUG plugins.avm_fritzbox_7390 "POST /upnp/control/wlanconfig3 HTTP/1.1" 200 1092
2016-06-24 14:03:48 DEBUG plugins.avm_fritzbox_7390 Accessing TAM reponse cache for action GetInfo!
2016-06-24 14:03:48 DEBUG plugins.avm_fritzbox_7390 Item avm.wlan.gf_wlan_3_ssid = FRITZBox Gastzugang via Logic None None
2016-06-24 14:03:48 DEBUG plugins.avm_fritzbox_7390 "POST /upnp/control/wlanconfig3 HTTP/1.1" 401 188
2016-06-24 14:03:48 INFO plugins.avm_fritzbox_7390 Resetting dropped connection: fritz.box
2016-06-24 14:03:48 DEBUG plugins.avm_fritzbox_7390 "POST /upnp/control/wlanconfig3 HTTP/1.1" 200 789
2016-06-24 14:03:48 DEBUG plugins.avm_fritzbox_7390 "POST /upnp/control/hosts HTTP/1.1" 200 544
2016-06-24 14:03:48 DEBUG plugins.avm_fritzbox_7390 Item avm.devices.fritzbox_7390.zopo_zp980 = True via Logic None None
2016-06-24 14:03:48 DEBUG plugins.avm_fritzbox_7390 Item avm.devices.fritzbox_7390.zopo_zp980.ip = 192.168.x.x via Logic None None
2016-06-24 14:03:48 DEBUG plugins.avm_fritzbox_7390 Item avm.devices.fritzbox_7390.zopo_zp980.connection_type = Ethernet via Logic None None
2016-06-24 14:03:48 DEBUG plugins.avm_fritzbox_7390 Item avm.devices.fritzbox_7390.zopo_zp980.hostname = Zopo-ZP980 via Logic None None
2016-06-24 14:03:48 DEBUG plugins.avm_fritzbox_7390 "POST /upnp/control/hosts HTTP/1.1" 200 553
2016-06-24 14:03:48 DEBUG plugins.avm_fritzbox_7390 Item avm.devices.fritzbox_7390.samsung_s2 = True via Logic None None
2016-06-24 14:03:48 DEBUG plugins.avm_fritzbox_7390 Item avm.devices.fritzbox_7390.samsung_s2.ip = 192.168.x.x via Logic None None
2016-06-24 14:03:48 DEBUG plugins.avm_fritzbox_7390 Item avm.devices.fritzbox_7390.samsung_s2.connection_type = Ethernet via Logic None None
2016-06-24 14:03:48 DEBUG plugins.avm_fritzbox_7390 Item avm.devices.fritzbox_7390.samsung_s2.hostname = Samsung-Tab3-P5200 via Logic None None
2016-06-24 14:04:10 INFO Main KNX[default]: 1.1.1 set 0/0/1 to True
2016-06-24 14:04:10 DEBUG Main Triggering tuerklingel-eval - by: KNX source: 1.1.1 dest: 0/0/1 value: {'source': '1.1.1', 'value': True, 'dest
2016-06-24 14:04:10 DEBUG tuerklingel-eval "POST /upnp/control/x_voip HTTP/1.1" 401 188
2016-06-24 14:04:10 INFO tuerklingel-eval Resetting dropped connection: fritz.box
2016-06-24 14:04:10 DEBUG tuerklingel-eval "POST /upnp/control/x_voip HTTP/1.1" 500 428
2016-06-24 14:04:10 DEBUG tuerklingel-eval "POST /upnp/control/x_voip HTTP/1.1" 401 188
2016-06-24 14:04:10 INFO tuerklingel-eval Resetting dropped connection: fritz.box
2016-06-24 14:04:11 DEBUG tuerklingel-eval "POST /upnp/control/x_voip HTTP/1.1" 500 428
[fb1]
class_name = AVM
class_path = plugins.avm
username = benutzername # optional
password = sehrsicherespasswort
host = fritz.box
port = 49443
cycle = 300
ssl = True # use https or not
verify = False # verify ssl certificate
call_monitor = True
call_monitor_incoming_filter = 412973 #optional, don't set if you don't want to watch only one specific number with your call monitor
instance = fritzbox_7390
[tuerklingel]
name = Türklingel
type = foo
#sqlite = init
knx_dpt = 1
#knx_send = 0/0/1
knx_init = 0/0/1
visu_acl = r
enforce_updates = yes
eval = sh.fb1.set_call_origin("**50"), sh.fb1.start_call('**620')
eval_trigger = tuerklingel

smarthome@smarthome:/usr/local/smarthome$ git pull remote: Counting objects: 499, done. remote: Compressing objects: 100% (78/78), done. Objekte werden empfangen: 100% (499/499), 1.00 MiB | 1.16 MiB/s, done. remote: Total 499 (delta 169), reused 123 (delta 123), pack-reused 298 Unterschiede werden aufgelöst: 100% (336/336), abgeschlossen mit 18 lokalen Objekten. Von https://github.com/smarthomeNG/smarthome 10d9f2b..b15a72a develop -> origin/develop Already up-to-date.


um 6 bin ich doch meist schon im Büro.. Ernst beiseite. Der DEV ist stabil, Du solltest aber etwas Doku lesen falls Du Probleme hast, speziell zur Konfiguration des Loggings, da hat sich viel getan.
2016-06-16 00:05:28,899 INFO Main Start SmartHome.py 1.1.1 -- smarthome.py:__init__:245
2016-06-16 00:05:28,899 DEBUG Main Python 3.4.3 -- smarthome.py:__init__:246
2016-06-16 00:05:28,900 INFO Main Init Scheduler -- scheduler.py:__init__:86
2016-06-16 00:05:28,900 DEBUG Scheduler creating 5 workers -- scheduler.py:run:93
2016-06-16 00:05:28,900 INFO Main Init Plugins -- smarthome.py:start:291
2016-06-16 00:05:28,901 DEBUG Main Plugin: autoblind -- plugin.py:__init__:43
2016-06-16 00:05:28,905 INFO Main Init AutoBlind (log_level=2, log_directory=var/log/AutoBlind/ -- __init__.py:__init__:48
2016-06-16 00:05:28,905 INFO Main AutoBlind default startup delay = 10 -- AutoBlindDefaults.py:write_to_log:35
2016-06-16 00:05:28,905 INFO Main AutoBlind default suspension time = 3600 -- AutoBlindDefaults.py:write_to_log:36
2016-06-16 00:05:28,905 INFO Main AutoBlind extended logging is active. Logging to '/usr/local/smarthome/var/log/AutoBlind/' with loglevel 2. -- __init__.py:__init__:75
2016-06-16 00:05:28,905 INFO Main AutoBlid extended log files will be deleted after 14 days. -- __init__.py:__init__:78
2016-06-16 00:05:28,905 DEBUG Main Plugin: knx -- plugin.py:__init__:43
2016-06-16 00:05:28,907 DEBUG Main KNX time next time: 2016-06-16 00:05:39+02:00 -- scheduler.py:_next_time:303
2016-06-16 00:05:28,907 DEBUG Main Plugin: ow -- plugin.py:__init__:43
2016-06-16 00:05:28,908 DEBUG Main Plugin: visu -- plugin.py:__init__:43
2016-06-16 00:05:28,910 DEBUG Main Plugin: cli -- plugin.py:__init__:43
2016-06-16 00:05:28,910 DEBUG Main Plugin: sql -- plugin.py:__init__:43
2016-06-16 00:05:28,912 DEBUG Main SQLite 3.8.2 -- __init__.py:__init__:62
2016-06-16 00:05:29,056 DEBUG Main SQLite: database integrity ok -- __init__.py:__init__:78
2016-06-16 00:05:29,057 DEBUG Main SQLite pack next time: 2016-06-16 03:02:00+02:00 -- scheduler.py:_next_time:303
2016-06-16 00:05:29,057 DEBUG Main Plugin: dwd -- plugin.py:__init__:43
2016-06-16 00:05:29,063 DEBUG Main Plugin: comfoair -- plugin.py:__init__:43
2016-06-16 00:05:29,065 INFO Main ComfoAir: Loaded commands for KWL type 'comfoair350' -- __init__.py:log_info:498
2016-06-16 00:05:29,065 DEBUG Main Plugin: fb1 -- plugin.py:__init__:43
2016-06-16 00:05:29,109 ERROR Main Plugin fb1 exception: No module named 'lib.model' -- plugin.py:__init__:57
Traceback (most recent call last):
File "/usr/local/smarthome/lib/plugin.py", line 53, in __init__
plugin_thread = Plugin(smarthome, plugin, classname, classpath, args)
File "/usr/local/smarthome/lib/plugin.py", line 81, in __init__
exec("import {0}".format(classpath))
File "<string>", line 1, in <module>
File "/usr/local/smarthome/plugins/avm/__init__.py", line 41, in <module>
from lib.model.smartplugin import SmartPlugin
ImportError: No module named 'lib.model'
2016-06-16 00:05:29,109 INFO Main Init Items -- smarthome.py:start:297
2016-06-16 00:05:29,111 ERROR Main Problem parsing '/usr/local/smarthome/items/avm.conf' invalid character in line 5: avm_data_type@fritzbox_7390. Valid characters are: abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_ -- config.py:parse:95
...
2016-06-16 00:05:29,119 ERROR Main Problem parsing '/usr/local/smarthome/items/avm.conf' invalid character in line 261: avm_data_type@fritzbox_7390. Valid characters are: abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_ -- config.py:parse:95
...
2016-06-16 00:05:29,187 DEBUG Main Item avm.monitor.incoming: no type specified. -- item.py:__init__:242
2016-06-16 00:05:29,188 DEBUG Main Item avm.monitor.outgoing: no type specified. -- item.py:__init__:242
2016-06-16 00:05:29,189 DEBUG Main Item avm.monitor.newest: no type specified. -- item.py:__init__:242
2016-06-16 00:05:29,189 DEBUG Main Item avm.monitor: no type specified. -- item.py:__init__:242
2016-06-16 00:05:29,191 DEBUG Main Item avm.wan: no type specified. -- item.py:__init__:242
2016-06-16 00:05:29,192 DEBUG Main Item avm.wlan: no type specified. -- item.py:__init__:242
2016-06-16 00:05:29,193 DEBUG Main Item avm.devices.fritzbox_7390: no type specified. -- item.py:__init__:242
2016-06-16 00:05:29,193 DEBUG Main Item avm.devices: no type specified. -- item.py:__init__:242
2016-06-16 00:05:29,195 DEBUG Main Item avm.dect: no type specified. -- item.py:__init__:242
2016-06-16 00:05:29,195 DEBUG Main Item avm: no type specified. -- item.py:__init__:242
...
2016-06-16 00:05:29,339 INFO Main Items: 533 -- smarthome.py:start:329
2016-06-16 00:05:29,339 INFO Main Start Logics -- logic.py:__init__:33
2016-06-16 00:05:29,339 DEBUG Main Reading Logics from /usr/local/smarthome/lib/env/logic_conf -- logic.py:_read_logics:64
2016-06-16 00:05:29,340 DEBUG Main Reading Logics from /usr/local/smarthome/etc/logic.conf -- logic.py:_read_logics:64
2016-06-16 00:05:29,340 DEBUG Main Logic: env_loc -- logic.py:__init__:44
2016-06-16 00:05:29,340 DEBUG Main Logic: env_stat -- logic.py:__init__:44
2016-06-16 00:05:29,341 DEBUG Main env_stat next time: 2016-06-16 00:05:42+02:00 -- scheduler.py:_next_time:303
2016-06-16 00:05:29,341 DEBUG Main Logic: env_init -- logic.py:__init__:44
2016-06-16 00:05:29,341 DEBUG Main Logic: env_daily -- logic.py:__init__:44
...
2016-06-16 00:05:29,342 DEBUG Main env_daily next time: 2016-06-16 06:00:00+02:00 -- scheduler.py:_next_time:303
...
2016-06-16 00:05:29,343 DEBUG Main Logic: CallListCSVLogic -- logic.py:__init__:44
2016-06-16 00:05:29,343 ERROR Main Exception: unexpected indent (calllist_csv_logic.py, line 2) -- logic.py:generate_bytecode:121
Traceback (most recent call last):
File "/usr/local/smarthome/lib/logic.py", line 119, in generate_bytecode
self.bytecode = compile(code, self.filename, 'exec')
File "/usr/local/smarthome/logics/calllist_csv_logic.py", line 2
if sh.avm.monitor.newest.event() == 'disconnect':
^
IndentationError: unexpected indent
2016-06-16 00:05:29,345 INFO Main Start Plugins -- plugin.py:start:65
...
$ lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 14.04.4 LTS Release: 14.04 Codename: trusty
$ sudo -H pip3 install requests --upgrade Requirement already up-to-date: requests in /usr/local/lib/python3.4/dist-packages
Wir verarbeiten personenbezogene Daten über die Nutzer unserer Website mithilfe von Cookies und anderen Technologien, um unsere Dienste bereitzustellen. Weitere Informationen findest Du in unserer Datenschutzerklärung.
Indem Du unten auf "ICH stimme zu" klickst, stimmst Du unserer Datenschutzerklärung und unseren persönlichen Datenverarbeitungs- und Cookie-Praktiken zu, wie darin beschrieben. Du erkennst außerdem an, dass dieses Forum möglicherweise außerhalb Deines Landes gehostet wird und bist damit einverstanden, dass Deine Daten in dem Land, in dem dieses Forum gehostet wird, gesammelt, gespeichert und verarbeitet werden.


Einen Kommentar schreiben: