Ankündigung

Einklappen
Keine Ankündigung bisher.

Datenübergabe smarthome <-> smartVisu geht nicht mehr!

Einklappen
X
 
  • Filter
  • Zeit
  • Anzeigen
Alles löschen
neue Beiträge

    Datenübergabe smarthome <-> smartVisu geht nicht mehr!

    Ich habe mein laufendes System auf die sh.dev und smartVISU auf die 2.8 umgestellt. Hintergedanke war die rechtzeigtige Umstellung auf die neuen Plots und svg.Erweiterungen.

    Jetzt habe ich folgenden Effekt:

    smarthome
    smarthome läuft problemlos wie gehabt, Fehlermeldungen zum ephem-Sun/Moon wie gehabt, Fehlermeldungen zu den Plots sind verständlich, da noch :nichtangepasst.
    KNX-Daten werden angezeigt, 1-Wire läuft, Wetter und Kalender wie gehabt!

    smartVISU
    smartvisu-Seiten werden angezeigt, jedoch keine Daten aus den Items.
    Auch die smarthome.py-Seite ist ohne Daten.

    getestet: Nahezu das kompletten Setup getestet, Jeweils die gewünschte Version wird angezeigt.
    eibd Neuinstalliert, eibd kopiert, Test ausgeführt

    Code:
    root@smartgate:~# service eibd stop
    root@smartgate:~#  /usr/bin/eibd -e 1.1.0 -c -S -D -i -T --tpuarts-disch-reset --tpuarts-ack-all-group -t0123 -u --pid-file=/var/run/eibd.pid tpuarts:/dev/ttyO2
    W00000001: EIBD should not run as root
    Layer 3(00064B50,5640D8CB) Open
    Layer 0(00095AD8,5640D8CB) Open
    Layer 0(00095AD8,5640D8CB) Openend
    Layer 3(00064B50,5640D8CB) registerBroadcast 00095660
    Layer 3(00064B50,5640D8CB) registerBroadcast 00095660 = 1
    Layer 3(00064B50,5640D8CB) registerGroup 00095660
    Layer 3(00064B50,5640D8CB) registerGroup 00095660 = 1
    Layer 3(00064B50,5640D8CB) registerIndividual 00095660 0
    Layer 3(00064B50,5640D8CB) registerIndividual 00095660 = 1
    Layer 4(000B6280,5640D8CB) GroupCacheInit
    Layer 4(000B6280,5640D8CB) GroupCacheEnable
    Layer 3(00064B50,5640D8CB) registerGroup 000B6280
    Layer 3(00064B50,5640D8CB) registerGroup 000B6280 = 1
    Layer 0(000546C8,5640D8CB) Recv(001): 03
    Layer 0(000546C8,5640D8CB) Remove 03
    Layer 0(000546C8,5640D8CB) Recv(001): 07
    Layer 0(000546C8,5640D8CB) RecvWatchdog: 07
    Layer 0(000546C8,5640D8D5) Recv(001): 07
    Layer 0(000546C8,5640D8D5) RecvWatchdog: 07
    Layer 0(000546C8,5640D8DF) Recv(001): 07
    Layer 0(000546C8,5640D8DF) RecvWatchdog: 07
    Layer 0(000546C8,5640D8E9) Recv(001): 07
    Layer 0(000546C8,5640D8E9) RecvWatchdog: 07
    Layer 0(000546C8,5640D8EA) Recv(001): B4
    Layer 0(000546C8,5640D8EA) Recv(001): 11
    Layer 0(000546C8,5640D8EA) Recv(001): 11
    Layer 0(000546C8,5640D8EA) Recv(001): 3C
    Layer 0(000546C8,5640D8EA) Recv(001): 00
    Layer 0(000546C8,5640D8EA) Recv(001): E1
    Layer 0(000546C8,5640D8EA) SendAck 11
    Layer 0(000546C8,5640D8EA) Recv(001): 00
    Layer 0(000546C8,5640D8EA) Recv(001): 81
    Layer 0(000546C8,5640D8EA) Recv(001): 17
    Layer 1(000546C8,5640D8EA) Recv(009): B4 11 11 3C 00 E1 00 81 17
    Layer 3(00064B50,5640D8EA) Recv L_Data urgent from 1.1.17 to 7/4/0 hops: 06 T_DATA_XXX_REQ A_GroupValue_Write (small) 01
    Layer 0(000546C8,5640D8F3) Recv(001): 07
    Layer 0(000546C8,5640D8F3) RecvWatchdog: 07
    Layer 0(000546C8,5640D8F8) Recv(001): B4
    Layer 0(000546C8,5640D8F8) Recv(001): 11
    Layer 0(000546C8,5640D8F8) Recv(001): 11
    Layer 0(000546C8,5640D8F8) Recv(001): 3C
    Layer 0(000546C8,5640D8F8) Recv(001): 01
    Layer 0(000546C8,5640D8F8) Recv(001): E1
    Layer 0(000546C8,5640D8F8) SendAck 11
    Layer 0(000546C8,5640D8F8) Recv(001): 00
    Layer 0(000546C8,5640D8F8) Recv(001): 80
    Layer 0(000546C8,5640D8F8) Recv(001): 17
    Layer 1(000546C8,5640D8F8) Recv(009): B4 11 11 3C 01 E1 00 80 17
    Layer 3(00064B50,5640D8F8) Recv L_Data urgent from 1.1.17 to 7/4/1 hops: 06 T_DATA_XXX_REQ A_GroupValue_Write (small) 00
    Layer 0(000546C8,5640D8FD) Recv(001): 07
    Layer 0(000546C8,5640D8FD) RecvWatchdog: 07
    ^CLayer 3(00064B50,5640D905) deregisterBroadcast 00095660 = 1
    Layer 3(00064B50,5640D905) deregisterGroupCallBack 00095660 = 1
    Layer 3(00064B50,5640D905) deregisterIndividual 00095660 = 1
    Layer 0(00095AD8,5640D905) Close
    Layer 4(000B6280,5640D905) GroupCacheDestroy
    Layer 3(00064B50,5640D905) deregisterGroupCallBack 000B6280 = 1
    Layer 4(000B6280,5640D905) GroupCacheClear
    Layer 3(00064B50,5640D905) Close
    root@smartgate:~#
    Ich vermute verlorene Zugriffsrechte! Wer kann mir den richtigen Weg aufzeigen? Hier hatte ich nach der Übernahme der Updates eien Fehlermeldung

    Anbei noch ein Trace, an den zweifelhaften Stellen habe ich eine Leerzeile eingefügt!

    smarthome-trace.zip

    Danke für jede Hilfe!

    Wolfgang
    Angehängte Dateien
    Zuletzt geändert von schloessl; 09.11.2015, 19:54. Grund: zip.problem, txt angefügt

    #2
    Hier das txt-File
    Code:
    2015-11-09 17:46:59,181 INFO Main Start SmartHome.py 1.1.0.man -- smarthome.py:__init__:242
    2015-11-09 17:46:59,184 DEBUG Main Python 3.4.2 -- smarthome.py:__init__:243
    2015-11-09 17:46:59,187 INFO Main Init Scheduler -- scheduler.py:__init__:86
    2015-11-09 17:46:59,190 DEBUG Scheduler creating 5 workers -- scheduler.py:run:93
    2015-11-09 17:46:59,191 INFO Main Init Plugins -- smarthome.py:start:288
    2015-11-09 17:46:59,206 DEBUG Main Plugin: knx -- plugin.py:__init__:43
    2015-11-09 17:46:59,225 DEBUG Main Plugin: ow -- plugin.py:__init__:43
    2015-11-09 17:46:59,237 DEBUG Main Plugin: visu -- plugin.py:__init__:43
    2015-11-09 17:46:59,273 DEBUG Main Plugin: cli -- plugin.py:__init__:43
    2015-11-09 17:46:59,281 DEBUG Main Plugin: sql -- plugin.py:__init__:43
    2015-11-09 17:46:59,319 DEBUG Main SQLite 3.8.7.4 -- __init__.py:__init__:47
    2015-11-09 17:46:59,405 DEBUG Main SQLite: database integrity ok -- __init__.py:__init__:64
    2015-11-09 17:46:59,415 DEBUG Main SQLite Maintain next time: 2015-11-10 03:02:00+01:00 -- scheduler.py:_next_time:303
    2015-11-09 17:46:59,418 DEBUG Main Plugin: ical -- plugin.py:__init__:43
    2015-11-09 17:46:59,430 DEBUG Main Plugin: wettercom -- plugin.py:__init__:43
    2015-11-09 17:46:59,471 DEBUG Main Plugin: mail -- plugin.py:__init__:43
    2015-11-09 17:46:59,540 DEBUG Main Plugin: imap -- plugin.py:__init__:43
    2015-11-09 17:46:59,545 DEBUG Main IMAP next time: 2015-11-09 17:47:13+01:00 -- scheduler.py:_next_time:303
    2015-11-09 17:46:59,547 INFO Main Init Items -- smarthome.py:start:294
    2015-11-09 17:46:59,846 DEBUG Main Item env.core.memory = 16076800.0 via SQLite None None -- item.py:set:476
    2015-11-09 17:46:59,853 DEBUG Main Item env.core.threads = 7.0 via SQLite None None -- item.py:set:476
    2015-11-09 17:46:59,860 DEBUG Main Item env.core: no type specified. -- item.py:__init__:242
    2015-11-09 17:46:59,875 DEBUG Main Item env.location: no type specified. -- item.py:__init__:242
    2015-11-09 17:46:59,888 DEBUG Main Item env.system.load = 0.13 via SQLite None None -- item.py:set:476
    2015-11-09 17:46:59,892 DEBUG Main Item env.system: no type specified. -- item.py:__init__:242
    2015-11-09 17:46:59,895 DEBUG Main Item env: no type specified. -- item.py:__init__:242
    2015-11-09 17:46:59,901 DEBUG Main KNX: wire.werkst listen on and init with cache 4/1/0 -- __init__.py:parse_item:262
    2015-11-09 17:46:59,907 DEBUG Main Item wire.werkst = 15.69 via SQLite None None -- item.py:set:476
    2015-11-09 17:46:59,911 DEBUG Main KNX: wire.vorlauf listen on and init with cache 4/1/1 -- __init__.py:parse_item:262
    2015-11-09 17:46:59,920 DEBUG Main Item wire.vorlauf = 22.38 via SQLite None None -- item.py:set:476
    2015-11-09 17:46:59,924 DEBUG Main KNX: wire.ruecklauf listen on and init with cache 4/1/2 -- __init__.py:parse_item:262
    2015-11-09 17:46:59,933 DEBUG Main Item wire.ruecklauf = 22.31 via SQLite None None -- item.py:set:476
    2015-11-09 17:46:59,937 DEBUG Main KNX: wire.aussenost listen on and init with cache 4/1/3 -- __init__.py:parse_item:262
    2015-11-09 17:46:59,946 DEBUG Main Item wire.aussenost = 17.81 via SQLite None None -- item.py:set:476
    2015-11-09 17:46:59,950 DEBUG Main KNX: wire.egwc listen on and init with cache 4/1/4 -- __init__.py:parse_item:262
    2015-11-09 17:46:59,958 DEBUG Main Item wire.egwc = 25.75 via SQLite None None -- item.py:set:476
    2015-11-09 17:46:59,963 DEBUG Main KNX: wire.kueche listen on and init with cache 4/1/5 -- __init__.py:parse_item:262
    2015-11-09 17:46:59,971 DEBUG Main Item wire.kueche = 25.31 via SQLite None None -- item.py:set:476
    2015-11-09 17:46:59,976 DEBUG Main KNX: wire.ogbad listen on and init with cache 4/1/6 -- __init__.py:parse_item:262
    2015-11-09 17:46:59,983 DEBUG Main Item wire.ogbad = 21.62 via SQLite None None -- item.py:set:476
    2015-11-09 17:46:59,988 DEBUG Main KNX: wire.ogkleider listen on and init with cache 4/1/7 -- __init__.py:parse_item:262
    2015-11-09 17:46:59,996 DEBUG Main KNX: wire.temp_r1.min reply to 4/3/30 -- __init__.py:parse_item:275
    2015-11-09 17:47:00,000 DEBUG Main KNX: wire.temp_r1.max reply to 4/3/31 -- __init__.py:parse_item:275
    2015-11-09 17:47:00,003 DEBUG Main KNX: wire.temp_r1 listen on and init with cache 4/3/0 -- __init__.py:parse_item:262
    2015-11-09 17:47:00,012 DEBUG Main Item wire.temp_r1 = 16.0 via SQLite None None -- item.py:set:476
    2015-11-09 17:47:00,016 DEBUG Main KNX: wire.feuchte_r1 listen on and init with cache 4/3/10 -- __init__.py:parse_item:262
    2015-11-09 17:47:00,026 DEBUG Main Item wire.feuchte_r1 = 64.8 via SQLite None None -- item.py:set:476
    2015-11-09 17:47:00,032 DEBUG Main KNX: wire.dm3_r1 listen on and init with cache 4/3/20 -- __init__.py:parse_item:262
    2015-11-09 17:47:00,041 DEBUG Main Item wire.dm3_r1 = 8.71 via SQLite None None -- item.py:set:476
    2015-11-09 17:47:00,047 DEBUG Main KNX: wire.temp_r2.min reply to 4/3/32 -- __init__.py:parse_item:275
    2015-11-09 17:47:00,051 DEBUG Main KNX: wire.temp_r2.max reply to 4/3/33 -- __init__.py:parse_item:275
    2015-11-09 17:47:00,054 DEBUG Main KNX: wire.temp_r2 listen on and init with cache 4/3/1 -- __init__.py:parse_item:262
    2015-11-09 17:47:00,063 DEBUG Main Item wire.temp_r2 = 15.28 via SQLite None None -- item.py:set:476
    2015-11-09 17:47:00,068 DEBUG Main KNX: wire.feuchte_r2 listen on and init with cache 4/3/11 -- __init__.py:parse_item:262
    2015-11-09 17:47:00,078 DEBUG Main Item wire.feuchte_r2 = 76.87 via SQLite None None -- item.py:set:476
    2015-11-09 17:47:00,084 DEBUG Main KNX: wire.dm3_r2 listen on and init with cache 4/3/21 -- __init__.py:parse_item:262
    ...
    2015-11-09 17:47:00,252 DEBUG Main Item aussen.mdt: no type specified. -- item.py:__init__:242
    2015-11-09 17:47:00,254 DEBUG Main Item aussen: no type specified. -- item.py:__init__:242
    2015-11-09 17:47:00,260 DEBUG Main KNX: licht listen on 1/4/52 -- __init__.py:parse_item:243
    2015-11-09 17:47:00,262 DEBUG Main KNX: licht listen on and init with 1/4/52 -- __init__.py:parse_item:252
    2015-11-09 17:47:00,266 DEBUG Main KNX: schreibtisch listen on 1/4/50 -- __init__.py:parse_item:243
    2015-11-09 17:47:00,268 DEBUG Main KNX: schreibtisch listen on and init with 1/4/50 -- __init__.py:parse_item:252
    2015-11-09 17:47:00,271 DEBUG Main Item dg.arb: no type specified. -- item.py:__init__:242
    2015-11-09 17:47:00,276 DEBUG Main KNX: licht listen on 1/4/28 -- __init__.py:parse_item:243
    2015-11-09 17:47:00,278 DEBUG Main KNX: licht listen on and init with 1/4/28 -- __init__.py:parse_item:252
    2015-11-09 17:47:00,280 DEBUG Main Item dg.gast: no type specified. -- item.py:__init__:242
    2015-11-09 17:47:00,283 DEBUG Main Item dg: no type specified. -- item.py:__init__:242
    2015-11-09 17:47:00,297 DEBUG Main Item autoblind.settings.night: no type specified. -- item.py:__init__:242
    2015-11-09 17:47:00,300 DEBUG Main Item autoblind.settings: no type specified. -- item.py:__init__:242
    2015-11-09 17:47:00,308 DEBUG Main Item autoblind.default.dawn.enter: no type specified. -- item.py:__init__:242
    2015-11-09 17:47:00,311 DEBUG Main Item autoblind.default.dawn: no type specified. -- item.py:__init__:242
    2015-11-09 17:47:00,316 DEBUG Main Item autoblind.default.dusk.enter: no type specified. -- item.py:__init__:242
    2015-11-09 17:47:00,318 DEBUG Main Item autoblind.default.dusk: no type specified. -- item.py:__init__:242
    2015-11-09 17:47:00,323 DEBUG Main Item autoblind.default.suntracking_ess_fenster_winter.e nter_ess: no type specified. -- item.py:__init__:242
    ..
    0 -- __init__.py:parse_item:262
    2015-11-09 17:47:00,942 DEBUG Main Item global: no type specified. -- item.py:__init__:242
    2015-11-09 17:47:00,981 DEBUG Main Item mysun: no type specified. -- item.py:__init__:242
    2015-11-09 17:47:00,991 DEBUG Main Item mymoon: no type specified. -- item.py:__init__:242
    2015-11-09 17:47:00,997 DEBUG Main KNX: og.bad.licht listen on and init with cache 1/4/47 -- __init__.py:parse_item:262
    ..
    
    2015-11-09 17:47:01,720 DEBUG Main Item wetter.vorhersage.heute.frueh.wind: no type specified. -- item.py:__init__:242
    ..
    2015-11-09 17:47:02,463 INFO Main Items: 629 -- smarthome.py:start:326
    2015-11-09 17:47:02,484 INFO Main Start Logics -- logic.py:__init__:33
    2015-11-09 17:47:02,495 DEBUG Main Reading Logics from /usr/local/smarthome/lib/env/logic_conf -- logic.py:_read_logics:64
    2015-11-09 17:47:02,408 DEBUG system.datum_uhrzeit.sonne.untergang Item system.datum_uhrzeit.sonne.untergang = 16:41 via Init None None -- item.py:__update:373
    2015-11-09 17:47:02,395 DEBUG system.datum_uhrzeit.sonne.aufgang Item system.datum_uhrzeit.sonne.aufgang = 07:13 via Init None None -- item.py:__update:373
    2015-11-09 17:47:02,390 DEBUG system.datum_uhrzeit.sonne.position Item system.datum_uhrzeit.sonne.position = (4.481151103973389, -0.19028329849243164) via Init None None -- item.py:__update:373
    2015-11-09 17:47:02,494 DEBUG system.datum_uhrzeit.mond.untergang Item system.datum_uhrzeit.mond.untergang = 16:24 via Init None None -- item.py:__update:373
    2015-11-09 17:47:02,509 DEBUG Main Reading Logics from /usr/local/smarthome/etc/logic.conf -- logic.py:_read_logics:64
    2015-11-09 17:47:02,512 DEBUG system.datum_uhrzeit.mond.aufgang Item system.datum_uhrzeit.mond.aufgang = 05:36 via Init None None -- item.py:__update:373
    2015-11-09 17:47:02,522 DEBUG Main Logic: mysun -- logic.py:__init__:44
    2015-11-09 17:47:02,542 DEBUG Main Logic: AtSunset -- logic.py:__init__:44
    2015-11-09 17:47:02,564 DEBUG Main AtSunset next time: 2015-11-10 15:41:31.314945+00:00 -- scheduler.py:_next_time:303
    2015-11-09 17:47:02,567 DEBUG Main Logic: eg_szenen -- logic.py:__init__:44
    2015-11-09 17:47:02,575 DEBUG Main Logic: sonnenstand -- logic.py:__init__:44
    2015-11-09 17:47:02,580 DEBUG Main Logic: env_init -- logic.py:__init__:44
    2015-11-09 17:47:02,586 DEBUG Main Logic: env_loc -- logic.py:__init__:44
    2015-11-09 17:47:02,592 DEBUG Main Logic: wettercom -- logic.py:__init__:44
    2015-11-09 17:47:02,598 DEBUG Main Logic: MyLogic -- logic.py:__init__:44
    2015-11-09 17:47:02,603 DEBUG Main Logic: Time -- logic.py:__init__:44
    2015-11-09 17:47:02,606 DEBUG Main Logic: env_stat -- logic.py:__init__:44
    2015-11-09 17:47:02,613 DEBUG Main env_stat next time: 2015-11-09 17:47:15+01:00 -- scheduler.py:_next_time:303
    2015-11-09 17:47:02,616 DEBUG Main Logic: env_daily -- logic.py:__init__:44
    2015-11-09 17:47:02,627 DEBUG Main env_daily next time: 2015-11-10 06:00:00+01:00 -- scheduler.py:_next_time:303
    2015-11-09 17:47:02,629 DEBUG Main Logic: alarm -- logic.py:__init__:44
    2015-11-09 17:47:02,650 INFO Main Start Plugins -- plugin.py:start:65
    2015-11-09 17:47:02,652 DEBUG Main Starting knx Plugin -- plugin.py:start:67
    2015-11-09 17:47:02,656 DEBUG Main Starting ow Plugin -- plugin.py:start:67
    2015-11-09 17:47:02,660 DEBUG ow 1w-disc next time: 2015-11-09 17:47:04+01:00 -- scheduler.py:_next_time:303
    2015-11-09 17:47:02,661 DEBUG Main Starting visu Plugin -- plugin.py:start:67
    2015-11-09 17:47:02,666 DEBUG Main Starting cli Plugin -- plugin.py:start:67
    2015-11-09 17:47:02,674 DEBUG Main Starting sql Plugin -- plugin.py:start:67
    2015-11-09 17:47:02,681 DEBUG Main Starting ical Plugin -- plugin.py:start:67
    2015-11-09 17:47:02,688 DEBUG Main Starting wettercom Plugin -- plugin.py:start:67
    2015-11-09 17:47:02,714 DEBUG Main Starting mail Plugin -- plugin.py:start:67
    2015-11-09 17:47:02,725 DEBUG Main Starting imap Plugin -- plugin.py:start:67
    2015-11-09 17:47:02,759 DEBUG system.datum_uhrzeit.mond.position Item system.datum_uhrzeit.mond.position = (4.870328903198242, -0.3256646692752838) via Init None None -- item.py:__update:373
    2015-11-09 17:47:03,509 DEBUG system.datum_uhrzeit.mond.licht Item system.datum_uhrzeit.mond.licht = 4 via Init None None -- item.py:__update:373
    2015-11-09 17:47:03,596 DEBUG system.datum_uhrzeit.mond.phase Item system.datum_uhrzeit.mond.phase = 8 via Init None None -- item.py:__update:373
    
    
    2015-11-09 17:47:03,633 DEBUG Connections KNX: connected to 127.0.0.1:6720 -- connection.py:connect:392
    2015-11-09 17:47:03,641 DEBUG Connections KNX: reading eibd cache -- __init__.py:handle_connect:121
    2015-11-09 17:47:03,763 DEBUG Connections KNX: enable group monitor -- __init__.py:handle_connect:125
    2015-11-09 17:47:03,770 DEBUG Connections KNX: init read -- __init__.py:handle_connect:131
    2015-11-09 17:47:03,782 INFO Connections 1-Wire: connected to 127.0.0.1:4304 -- __init__.py:connect:51
    2015-11-09 17:47:03,793 DEBUG Connections WebSocket: binding to 0.0.0.0:2424 (TCP) -- connection.py:connect:160
    2015-11-09 17:47:03,799 DEBUG Connections CLI: binding to 0.0.0.0:2323 (TCP) -- connection.py:connect:160
    
    
    2015-11-09 17:47:04,774 DEBUG Scheduler 1w-disc next time: 2015-11-09 17:57:04+01:00 -- scheduler.py:_next_time:303
    2015-11-09 17:47:05,324 INFO 1w-disc 1-Wire: 28.60A91B030000 with sensors: T9, T12, T11, T, T10 -- __init__.py:_discovery:425
    2015-11-09 17:47:05,334 INFO 1w-disc 1-Wire: 28.8C941B030000 with sensors: T9, T12, T11, T, T10 -- __init__.py:_discovery:425
    2015-11-09 17:47:05,342 INFO 1w-disc 1-Wire: 28.42A51B030000 with sensors: T9, T12, T11, T, T10 -- __init__.py:_discovery:425
    2015-11-09 17:47:05,351 INFO 1w-disc 1-Wire: 28.A9B71B030000 with sensors: T9, T12, T11, T, T10 -- __init__.py:_discovery:425
    2015-11-09 17:47:05,360 INFO 1w-disc 1-Wire: 28.F9B41B030000 with sensors: T9, T12, T11, T, T10 -- __init__.py:_discovery:425
    2015-11-09 17:47:05,368 INFO 1w-disc 1-Wire: 28.55D91B030000 with sensors: T9, T12, T11, T, T10 -- __init__.py:_discovery:425
    2015-11-09 17:47:05,377 INFO 1w-disc 1-Wire: 28.57A01B030000 with sensors: T9, T12, T11, T, T10 -- __init__.py:_discovery:425
    2015-11-09 17:47:05,725 DEBUG 1w-disc 1-Wire: sensor 26.50CD89010000 voltage: 4.49 -- __init__.py:identify_sensor:185
    2015-11-09 17:47:05,731 INFO 1w-disc 1-Wire: unknown sensor 26.50CD89010000 DS2438 page3: b'\x00\x00\x00\x00\x00\x00\x00\x00' -- __init__.py:identify_sensor:199
    2015-11-09 17:47:05,737 INFO 1w-disc 1-Wire: 26.50CD89010000 with sensors: VDD, H, V, T -- __init__.py:_discovery:425
    2015-11-09 17:47:06,083 DEBUG 1w-disc 1-Wire: sensor 26.64CD89010000 voltage: 4.52 -- __init__.py:identify_sensor:185
    2015-11-09 17:47:06,088 INFO 1w-disc 1-Wire: unknown sensor 26.64CD89010000 DS2438 page3: b'\x00\x00\x00\x00\x00\x00\x00\x00' -- __init__.py:identify_sensor:199
    ..
    scheduler.py:_next_time:303
    2015-11-09 17:47:07,906 DEBUG sonnenstand Item sonne.stand.winkel = 256.77 via Logic None None -- item.py:__update:373
    2015-11-09 17:47:07,958 DEBUG sonnenstand Item sonne.stand.neigung = -10.92 via Logic None None -- item.py:__update:373
    2015-11-09 17:47:08,062 DEBUG mysun Item mysun.sunrise = 07:13:06 via Logic None None -- item.py:__update:373
    2015-11-09 17:47:08,069 DEBUG env_loc Item env.location.sunrise = 2015-11-10 07:13:06.353320+01:00 via Logic None None -- item.py:__update:373
    2015-11-09 17:47:08,217 DEBUG mysun Item mysun.sunset = 16:41:31 via Logic None None -- item.py:__update:373
    2015-11-09 17:47:08,258 DEBUG env_loc Item env.location.sunset = 2015-11-11 16:40:10.401358+01:00 via Logic None None -- item.py:__update:373
    2015-11-09 17:47:08,298 DEBUG wettercom Item wetter.vorhersage.uebermorgen.nacht.temperatur.min = 6 via Logic None None -- item.py:__update:373
    2015-11-09 17:47:08,311 DEBUG wettercom Item wetter.vorhersage.uebermorgen.nacht.temperatur.max = 7 via Logic None None -- item.py:__update:373
    2015-11-09 17:47:08,372 DEBUG env_loc Item env.location.moonrise = 2015-11-10 05:36:23.100884+01:00 via Logic None None -- item.py:__update:373
    2015-11-09 17:47:08,378 DEBUG mysun Item mymoon.moonrise = 05:36:23 via Logic None None -- item.py:__update:373
    2015-11-09 17:47:08,401 DEBUG wettercom Item wetter.vorhersage.uebermorgen.nacht.niederschlag = 30 via Logic None None -- item.py:__update:373
    2015-11-09 17:47:08,412 DEBUG Scheduler sonnenstand next time: 2015-11-09 17:57:08+01:00 -- scheduler.py:_next_time:303
    2015-11-09 17:47:08,429 DEBUG wettercom Item wetter.vorhersage.uebermorgen.nacht.wind.geschwind igkeit = 4 via Logic None None -- item.py:__update:373
    2015-11-09 17:47:08,454 DEBUG 1w-sen Triggering wire.kueche-eval - by: 1-Wire source: /bus.2/28.A9B71B030000/temperature dest: None value: {'value': 25.25, 'source': '/bus.2/28.A9 -- scheduler.py:trigger:164
    2015-11-09 17:47:08,466 DEBUG wettercom Item wetter.vorhersage.uebermorgen.nacht.wind.richtung = 225 via Logic None None -- item.py:__update:373
    2015-11-09 17:47:08,517 DEBUG env_init Item env.core.version = 1.1.0.man via Logic None None -- item.py:__update:373
    2015-11-09 17:47:08,520 DEBUG wettercom Item wetter.vorhersage.uebermorgen.nacht.wind.richtung. text = SW via Logic None None -- item.py:__update:373
    2015-11-09 17:47:08,532 DEBUG env_loc Item env.location.moonset = 2015-11-11 06:37:17.985432+01:00 via Logic None None -- item.py:__update:373
    2015-11-09 17:47:08,542 DEBUG wettercom Item wetter.vorhersage.uebermorgen.nacht.code = 1 via Logic None None -- item.py:__update:373
    2015-11-09 17:47:08,539 DEBUG env_init Item env.core.start = 2015-11-09 17:47:08.537971+01:00 via Logic None None -- item.py:__update:373
    2015-11-09 17:47:08,592 DEBUG env_init Item env.system.name = smartgate via Logic None None -- item.py:__update:373
    2015-11-09 17:47:08,579 DEBUG wettercom Item wetter.vorhersage.morgen.spaet.temperatur.min = 10 via Logic None None -- item.py:__update:373
    2015-11-09 17:47:08,577 DEBUG env_loc Item env.location.moonphase = 8 via Logic None None -- item.py:__update:373
    
    
    2015-11-09 17:47:08,548 ERROR mysun Logic: mysun, File: /usr/local/lib/python3.4/dist-packages/ephem/__init__.py, Line: 405, Method: visit_antitransit, Exception: 'Moon' is still above the horizon at 2015/11/11 23:12:21 -- scheduler.py:_task:348
    Traceback (most recent call last):
    File "/usr/local/smarthome/lib/scheduler.py", line 341, in _task
    exec(obj.bytecode)
    File "/usr/local/smarthome/logics/mysun.py", line 9, in <module>
    sh.mymoon.moonset(sh.moon.set().astimezone(sh.tzin fo()).strftime("%H:%M:%S"))
    File "/usr/local/smarthome/lib/orb.py", line 81, in set
    next_setting = self._obs.next_setting(self._orb).datetime()
    File "/usr/local/lib/python3.4/dist-packages/ephem/__init__.py", line 483, in next_setting
    return self._riset_helper(body, start, use_center, False, False)
    File "/usr/local/lib/python3.4/dist-packages/ephem/__init__.py", line 451, in _riset_helper
    d1 = visit_antitransit()
    File "/usr/local/lib/python3.4/dist-packages/ephem/__init__.py", line 405, in visit_antitransit
    % (body.name, d))
    ephem.AlwaysUpError: 'Moon' is still above the horizon at 2015/11/11 23:12:21
    
    
    2015-11-09 17:47:08,611 DEBUG wettercom Item wetter.vorhersage.morgen.spaet.temperatur.max = 14 via Logic None None -- item.py:__update:373
    2015-11-09 17:47:08,604 DEBUG env_init Item env.system.start = 2015-11-09 13:52:52.603749+01:00 via Logic None None -- item.py:__update:373
    2015-11-09 17:47:08,679 DEBUG wettercom Item wetter.vorhersage.morgen.spaet.text = wolkig via Logic None None -- item.py:__update:373
    
    
    2015-11-09 17:47:08,684 ERROR env_loc Logic: env_loc, File: /usr/local/lib/python3.4/dist-packages/ephem/__init__.py, Line: 397, Method: visit_transit, Exception: 'Sun' transits below the horizon at 2015/11/10 10:57:36 -- scheduler.py:_task:348
    Traceback (most recent call last):
    File "/usr/local/smarthome/lib/scheduler.py", line 341, in _task
    exec(obj.bytecode)
    File "/usr/local/smarthome/lib/env/location.py", line 13, in <module>
    day = sh.sun.rise(-6).day != sh.sun.set(-6).day
    File "/usr/local/smarthome/lib/orb.py", line 79, in set
    next_setting = self._obs.next_setting(self._orb, use_center=center).datetime()
    File "/usr/local/lib/python3.4/dist-packages/ephem/__init__.py", line 483, in next_setting
    return self._riset_helper(body, start, use_center, False, False)
    File "/usr/local/lib/python3.4/dist-packages/ephem/__init__.py", line 447, in _riset_helper
    d0 = visit_transit()
    File "/usr/local/lib/python3.4/dist-packages/ephem/__init__.py", line 397, in visit_transit
    % (body.name, d))
    ephem.NeverUpError: 'Sun' transits below the horizon at 2015/11/10 10:57:36
    
    
    ..
    2015-11-09 17:47:09,074 DEBUG wettercom Item wetter.vorhersage.morgen.mittag.code = 2 via Logic None None -- item.py:__update:373
    2015-11-09 17:47:09,610 DEBUG 1w-sen Triggering wire.aussenost-eval - by: 1-Wire source: /bus.2/28.57A01B030000/temperature dest: None value: {'value': 17.6875, 'source': '/bus.2/28. -- scheduler.py:trigger:164
    2015-11-09 17:47:09,690 DEBUG wire.kueche-eval Item wire.kueche = 25.25 via 1-Wire /bus.2/28.A9B71B030000/temperature None -- item.py:__update:373
    2015-11-09 17:47:09,716 DEBUG wire.aussenost-eval Item wire.aussenost = 17.69 via 1-Wire /bus.2/28.57A01B030000/temperature None -- item.py:__update:373
    2015-11-09 17:47:09,791 DEBUG Main knx: 1.1.239 set 4/1/6 to 22.5 -- __init__.py:parse_telegram:198
    2015-11-09 17:47:09,803 DEBUG Main Triggering wire.ogbad-eval - by: KNX source: 1.1.239 dest: 4/1/6 value: {'value': 22.5, 'source': '1.1.239', 'ca -- scheduler.py:trigger:164
    2015-11-09 17:47:09,834 DEBUG wire.ogbad-eval Item wire.ogbad = 22.5 via KNX 1.1.239 4/1/6 -- item.py:__update:373
    2015-11-09 17:47:09,824 DEBUG Main Item og.bad.fbtemp = 22.5 via KNX 1.1.239 4/1/6 -- item.py:__update:373
    2015-11-09 17:47:10,781 DEBUG 1w-sen Triggering wire.vorlauf-eval - by: 1-Wire source: /bus.2/28.42A51B030000/temperature dest: None value: {'value': 21.9375, 'source': '/bus.2/28. -- scheduler.py:trigger:164
    2015-11-09 17:47:10,784 DEBUG sh.gc Garbage collector: collected 26 objects. -- smarthome.py:_garbage_collection:517
    2015-11-09 17:47:10,797 DEBUG wire.vorlauf-eval Item wire.vorlauf = 21.94 via 1-Wire /bus.2/28.42A51B030000/temperature None -- item.py:__update:373
    2015-11-09 17:47:10,982 DEBUG sh.gc Object references: 13308 -- smarthome.py:_maintenance:509
    2015-11-09 17:47:11,944 DEBUG 1w-sen Triggering wire.ogbad-eval - by: 1-Wire source: /bus.2/28.55D91B030000/temperature dest: None value: {'value': 21.5625, 'source': '/bus.2/28. -- scheduler.py:trigger:164
    2015-11-09 17:47:11,955 DEBUG wire.ogbad-eval Item wire.ogbad = 21.56 via 1-Wire /bus.2/28.55D91B030000/temperature None -- item.py:__update:373
    2015-11-09 17:47:12,340 DEBUG 1w-sen Triggering wire.feuchte_r2-eval - by: 1-Wire source: /bus.2/26.5ACD89010000/HIH4000/humidity dest: None value: {'value': 77.5177, 'source': '/bus.2/26. -- scheduler.py:trigger:164
    2015-11-09 17:47:12,353 DEBUG wire.feuchte_r2-eval Item wire.feuchte_r2 = 77.52 via 1-Wire /bus.2/26.5ACD89010000/HIH4000/humidity None -- item.py:__update:373
    2015-11-09 17:47:12,451 DEBUG wire.feuchte_r2-eval Triggering wire.dew_r2 - by: 1-Wire source: /bus.2/26.5ACD89010000/HIH4000/humidity dest: None value: {'value': 77.52, 'source': 'wire.feuchte -- scheduler.py:trigger:164
    2015-11-09 17:47:12,467 DEBUG wire.dew_r2 Item wire.dew_r2 = 11.38 via Eval wire.feuchte_r2 None -- item.py:__update:373
    2015-11-09 17:47:12,469 DEBUG 1w-sen Triggering wire.temp_r2-eval - by: 1-Wire source: /bus.2/26.5ACD89010000/temperature dest: None value: {'value': 15.0625, 'source': '/bus.2/26. -- scheduler.py:trigger:164
    2015-11-09 17:47:12,486 DEBUG wire.temp_r2-eval Item wire.temp_r2 = 15.06 via 1-Wire /bus.2/26.5ACD89010000/temperature None -- item.py:__update:373
    ..
    2015-11-09 17:48:26,275 DEBUG Main knx: 1.1.51 set 2/1/45 to 19.0 -- __init__.py:parse_telegram:198
    2015-11-09 17:48:38,032 DEBUG Main WebSocket: incoming connection from 192.168.115.36:53559 to 0.0.0.0:2424 -- connection.py:accept:187
    2015-11-09 17:48:38,036 DEBUG Main rfc6455 Handshake -- __init__.py:rfc6455_handshake:391
    2015-11-09 17:48:38,712 DEBUG Main 192.168.115.36:53559 sent '{"cmd":"proto","ver":3}' -- __init__.py:json_parse:272
    2015-11-09 17:48:38,787 DEBUG Main 192.168.115.36:53559 sent '{"cmd":"monitor","items":["eg.wozi.decke","eg.wozi.buch","eg.ess.decke","eg. ess.bild","fenster.egess","wire.kueche","eg.kueche .licht","eg.kueche.schrank","eg.kueche.aussen","fe nster.egkueche","eg.gast.heizung.ist","eg.gast.hei zung.status","eg.gast.heizung.stellgroesse","eg.ga st.decke","eg.gast.bett","fenster.eggast","wire.eg wc","eg.wc.licht","fenster.egwc","wire.temp_r1","w ire.feuchte_r1","wire.dm3_r1","wire.temp_r2","wire .feuchte_r2","wire.dm3_r2","aussen.lueften","eg.fl ur.licht","og.nord.heizung.ist","og.nord.heizung.s tatus","og.nord.heizung.stellgroesse","og.nord.lic ht","og.sued.bett","fenster.ognord","og.sued.heizu ng.ist","og.sued.heizung.status","og.sued.heizung. stellgroesse","og.sued.licht","fenster.ogsued","wi re.ogkleider","og.kleider.licht","fenster.ogklei", "wire.ogbad","og.bad.heizung.status","og.bad.heizu ng.stellgroesse","og.bad.licht","og.bad.spiegel"," og.bad.wanne","fenster.ogbadnord","fenster.ogbad", "og.flur.licht","og.flur.egtreppe","og.flur.dgtrep pe","fenster.oggang","dg.arb.licht","dg.arb.schrei btisch","dg.gast.licht","aussen.mdt.tempsun","syst em.datum_uhrzeit.sonne.aufgang","system.datum_uhrz eit.sonne.untergang","system.datum_uhrzeit.mond.au fgang","system.datum_uhrzeit.mond.untergang"]}' -- __init__.py:json_parse:272
    2015-11-09 17:49:01,661 DEBUG Main WebSocket: closing connection to 192.168.115.36:53559. -- __init__.py:rfc6455_parse:410
    2015-11-09 17:49:01,666 DEBUG Main WebSocketHandler: closing socket 192.168.115.36:53559 -- connection.py:close:309
    2015-11-09 17:49:03,301 DEBUG Main KNX: 1.1.0 read 7/4/2 -- __init__.py:parse_telegram:211
    2015-11-09 17:49:03,327 DEBUG Main KNX: 1.1.0 read 1/4/52 -- __init__.py:parse_telegram:211
    ..
    2015-11-09 17:49:23,834 DEBUG Main WebSocket: incoming connection from 192.168.115.36:53576 to 0.0.0.0:2424 -- connection.py:accept:187
    2015-11-09 17:49:23,837 DEBUG Main rfc6455 Handshake -- __init__.py:rfc6455_handshake:391
    
    2015-11-09 17:49:24,003 DEBUG Main 192.168.115.36:53576 sent '{"cmd":"proto","ver":3}' -- __init__.py:json_parse:272
    2015-11-09 17:49:33,646 DEBUG Main 192.168.115.36:53576 sent '{"cmd":"monitor","items":["env.system.name","env.core.version","env.system.l oad","env.core.threads","env.core.memory","env.sys tem.start","env.core.start","env.location.sunrise" ,"env.location.sunset","env.location.moonrise","en v.location.moonset","env.location.moonphase","env. location.moonlight"]}' -- __init__.py:json_parse:272
    2015-11-09 17:49:33,658 DEBUG Main 192.168.115.36:53576 sent '{"cmd":"series","item":"env.system.load","series" :"avg","start":"1d","count":"100"}' -- __init__.py:json_parse:272
    
    
    2015-11-09 17:49:33,668 ERROR Main Problem fetching series for env.system.load: unsupported operand type(s) for /: 'int' and 'str' -- __init__.py:json_parse:330
    Traceback (most recent call last):
    File "/usr/local/smarthome/plugins/visu/__init__.py", line 328, in json_parse
    reply = self.items[path]['item'].series(series, start, end, count)
    File "/usr/local/smarthome/plugins/sqlite/__init__.py", line 312, in _series
    step = int((iend - istart) / count)
    TypeError: unsupported operand type(s) for /: 'int' and 'str'
    2015-11-09 17:49:33,691 DEBUG Main 192.168.115.36:53576 sent '{"cmd":"series","item":"env.core.threads","series ":"avg","start":"1d","count":"100"}' -- __init__.py:json_parse:272
    2015-11-09 17:49:33,700 ERROR Main Problem fetching series for env.core.threads: unsupported operand type(s) for /: 'int' and 'str' -- __init__.py:json_parse:330
    Traceback (most recent call last):
    File "/usr/local/smarthome/plugins/visu/__init__.py", line 328, in json_parse
    reply = self.items[path]['item'].series(series, start, end, count)
    File "/usr/local/smarthome/plugins/sqlite/__init__.py", line 312, in _series
    step = int((iend - istart) / count)
    TypeError: unsupported operand type(s) for /: 'int' and 'str'
    2015-11-09 17:49:33,715 DEBUG Main 192.168.115.36:53576 sent '{"cmd":"series","item":"env.core.memory","series" :"avg","start":"1d","count":"100"}' -- __init__.py:json_parse:272
    2015-11-09 17:49:33,724 ERROR Main Problem fetching series for env.core.memory: unsupported operand type(s) for /: 'int' and 'str' -- __init__.py:json_parse:330
    Traceback (most recent call last):
    File "/usr/local/smarthome/plugins/visu/__init__.py", line 328, in json_parse
    reply = self.items[path]['item'].series(series, start, end, count)
    File "/usr/local/smarthome/plugins/sqlite/__init__.py", line 312, in _series
    step = int((iend - istart) / count)
    TypeError: unsupported operand type(s) for /: 'int' and 'str'
    
    
    2015-11-09 17:49:33,740 DEBUG Main 192.168.115.36:53576 sent '{"cmd":"log","name":"env.core.log","max":"10"}' -- __init__.py:json_parse:272
    2015-11-09 17:49:49,380 DEBUG Main knx: 1.1.9 set 7/5/0 to 1.65 -- __init__.py:parse_telegram:198
    2015-11-09 17:49:49,387 DEBUG Main Item aussen.mdt.windges = 1.65 via KNX 1.1.9 7/5/0 -- item.py:__update:373
    2015-11-09 17:49:49,450 DEBUG Main Triggering aussen.mdt.windkmh - by: KNX source: 1.1.9 dest: 7/5/0 value: {'value': 1.65, 'source': 'aussen.mdt.wi -- scheduler.py:trigger:164
    2015-11-09 17:49:49,459 DEBUG aussen.mdt.windkmh Item aussen.mdt.windkmh = 1.65 via Eval aussen.mdt.windges None -- item.py:__update:373
    2015-11-09 17:49:59,372 DEBUG Main knx: 1.1.9 set 3/0/1 to 00 -- __init__.py:parse_telegram:189
    2015-11-09 17:50:05,372 DEBUG Main knx: 1.1.9 set 7/2/0 to True -- __init__.py:parse_telegram:198
    2015-11-09 17:50:26,082 DEBUG Main WebSocket: closing connection to 192.168.115.36:53576. -- __init__.py:rfc6455_parse:410
    2015-11-09 17:50:26,087 DEBUG Main WebSocketHandler: closing socket 192.168.115.36:53576 -- connection.py:close:309
    2015-11-09 17:50:27,177 DEBUG Main WebSocket: incoming connection from 192.168.115.36:53585 to 0.0.0.0:2424 -- connection.py:accept:187
    2015-11-09 17:50:27,184 DEBUG Main rfc6455 Handshake -- __init__.py:rfc6455_handshake:391
    2015-11-09 17:50:27,860 DEBUG Main 192.168.115.36:53585 sent '{"cmd":"proto","ver":3}' -- __init__.py:json_parse:272
    2015-11-09 17:50:27,937 DEBUG Main 192.168.115.36:53585 sent '{"cmd":"monitor","items":["eg.wozi.decke","eg.wozi.buch","eg.ess.decke","eg. ess.bild","fenster.egess","wire.kueche","eg.kueche .licht","eg.kueche.schrank","eg.kueche.aussen","fe nster.egkueche","eg.gast.heizung.ist","eg.gast.hei zung.status","eg.gast.heizung.stellgroesse","eg.ga st.decke","eg.gast.bett","fenster.eggast","wire.eg wc","eg.wc.licht","fenster.egwc","wire.temp_r1","w ire.feuchte_r1","wire.dm3_r1","wire.temp_r2","wire .feuchte_r2","wire.dm3_r2","aussen.lueften","eg.fl ur.licht","og.nord.heizung.ist","og.nord.heizung.s tatus","og.nord.heizung.stellgroesse","og.nord.lic ht","og.sued.bett","fenster.ognord","og.sued.heizu ng.ist","og.sued.heizung.status","og.sued.heizung. stellgroesse","og.sued.licht","fenster.ogsued","wi re.ogkleider","og.kleider.licht","fenster.ogklei", "wire.ogbad","og.bad.heizung.status","og.bad.heizu ng.stellgroesse","og.bad.licht","og.bad.spiegel"," og.bad.wanne","fenster.ogbadnord","fenster.ogbad", "og.flur.licht","og.flur.egtreppe","og.flur.dgtrep pe","fenster.oggang","dg.arb.licht","dg.arb.schrei btisch","dg.gast.licht","aussen.mdt.tempsun","syst em.datum_uhrzeit.sonne.aufgang","system.datum_uhrz eit.sonne.untergang","system.datum_uhrzeit.mond.au fgang","system.datum_uhrzeit.mond.untergang"]}' -- __init__.py:json_parse:272
    2015-11-09 17:50:34,769 DEBUG Main 192.168.115.36:53585 sent '{"cmd":"monitor","items":["dg.arb.schreibtisch","dg.arb.licht","eg.wozi.deck e","eg.wozi.buch","eg.ess.decke","eg.ess.bild","fe nster.egess","wire.kueche","eg.kueche.licht","eg.k ueche.schrank","eg.kueche.aussen","fenster.egkuech e","eg.gast.heizung.ist","eg.gast.heizung.status", "eg.gast.heizung.stellgroesse","eg.gast.decke","eg .gast.bett","fenster.eggast","wire.egwc","eg.wc.li cht","fenster.egwc","wire.temp_r1","wire.feuchte_r 1","wire.dm3_r1","wire.temp_r2","wire.feuchte_r2", "wire.dm3_r2","aussen.lueften","eg.flur.licht","og .nord.heizung.ist","og.nord.heizung.status","og.no rd.heizung.stellgroesse","og.nord.licht","og.sued. bett","fenster.ognord","og.sued.heizung.ist","og.s ued.heizung.status","og.sued.heizung.stellgroesse" ,"og.sued.licht","fenster.ogsued","wire.ogkleider" ,"og.kleider.licht","fenster.ogklei","wire.ogbad", "og.bad.heizung.status","og.bad.heizung.stellgroes se","og.bad.licht","og.bad.spiegel","og.bad.wanne" ,"fenster.ogbadnord","fenster.ogbad","og.flur.lich t","og.flur.egtreppe","og.flur.dgtreppe","fenster. oggang","dg.gast.licht","aussen.mdt.tempsun"]}' -- __init__.py:json_parse:272
    2015-11-09 17:50:45,373 DEBUG Main knx: 1.1.9 set 7/2/1 to 0.0 -- __init__.py:parse_telegram:198
    2015-11-09 17:50:45,379 DEBUG Main Triggering aussen.mdt.luxsdaem-eval - by: KNX source: 1.1.9 dest: 7/2/1 value: {'value': 0.0, 'source': '1.1.9', 'calle -- scheduler.py:trigger:164
    2015-11-09 17:51:36,417 DEBUG Main knx: 1.1.239 set 2/1/122 to 0.0 -- __init__.py:parse_telegram:198
    2015-11-09 17:51:36,424 DEBUG Main Triggering og.bad.heizung.stellgroesse-eval - by: KNX source: 1.1.239 dest: 2/1/122 value: {'value': 0.0, 'source': '1.1.239', 'cal -- scheduler.py:trigger:164
    2015-11-09 17:51:36,499 DEBUG Main knx: 1.1.239 set 2/1/47 to False -- __init__.py:parse_telegram:198
    
    
    2015-11-09 17:51:46,068 ERROR Main Connection polling failed: [Errno 4] Interrupted system call -- smarthome.py:start:360
    Traceback (most recent call last):
    File "/usr/local/smarthome/bin/smarthome.py", line 358, in start
    self.connections.poll()
    File "/usr/local/smarthome/lib/connection.py", line 101, in poll
    for fileno, event in self._epoll.poll(timeout=1):
    InterruptedError: [Errno 4] Interrupted system call
    
    
    2015-11-09 17:52:07,758 DEBUG Scheduler 1w-sen next time: 2015-11-09 17:57:07+01:00 -- scheduler.py:_next_time:303
    2015-11-09 17:52:08,384 DEBUG 1w-sen Triggering wire.kueche-eval - by: 1-Wire source: /bus.2/28.A9B71B030000/temperature dest: None value: {'value': 25.1875, 'source': '/bus.2/28. -- scheduler.py:trigger:164
    ..
    2015-11-09 17:58:30,445 DEBUG Main knx: 1.1.17 set 7/4/1 to False -- __init__.py:parse_telegram:198
    2015-11-09 17:58:40,476 DEBUG Main knx: 1.1.12 set 2/0/161 to 00 -- __init__.py:parse_telegram:189
    2015-11-09 17:58:54,727 DEBUG Main WebSocket: closing connection to 192.168.115.36:53585. -- __init__.py:rfc6455_parse:410
    2015-11-09 17:58:54,731 DEBUG Main WebSocketHandler: closing socket 192.168.115.36:53585 -- connection.py:close:309
    2015-11-09 17:58:56,699 DEBUG Main WebSocket: incoming connection from 192.168.115.36:53597 to 0.0.0.0:2424 -- connection.py:accept:187
    2015-11-09 17:58:56,704 DEBUG Main rfc6455 Handshake -- __init__.py:rfc6455_handshake:391
    2015-11-09 17:58:56,822 DEBUG Main 192.168.115.36:53597 sent '{"cmd":"proto","ver":3}' -- __init__.py:json_parse:272
    2015-11-09 17:59:12,154 DEBUG Main 192.168.115.36:53597 sent '{"cmd":"monitor","items":["env.system.name","env.core.version","env.system.l oad","env.core.threads","env.core.memory","env.sys tem.start","env.core.start","env.location.sunrise" ,"env.location.sunset","env.location.moonrise","en v.location.moonset","env.location.moonphase","env. location.moonlight"]}' -- __init__.py:json_parse:272
    2015-11-09 17:59:12,168 DEBUG Main 192.168.115.36:53597 sent '{"cmd":"series","item":"env.system.load","series" :"avg","start":"1d","count":"100"}' -- __init__.py:json_parse:272
    
    
    2015-11-09 17:59:12,176 ERROR Main Problem fetching series for env.system.load: unsupported operand type(s) for /: 'int' and 'str' -- __init__.py:json_parse:330
    Traceback (most recent call last):
    File "/usr/local/smarthome/plugins/visu/__init__.py", line 328, in json_parse
    reply = self.items[path]['item'].series(series, start, end, count)
    File "/usr/local/smarthome/plugins/sqlite/__init__.py", line 312, in _series
    step = int((iend - istart) / count)
    TypeError: unsupported operand type(s) for /: 'int' and 'str'
    2015-11-09 17:59:12,184 DEBUG Main 192.168.115.36:53597 sent '{"cmd":"series","item":"env.core.threads","series ":"avg","start":"1d","count":"100"}' -- __init__.py:json_parse:272
    2015-11-09 17:59:12,191 ERROR Main Problem fetching series for env.core.threads: unsupported operand type(s) for /: 'int' and 'str' -- __init__.py:json_parse:330
    
    
    Traceback (most recent call last):
    File "/usr/local/smarthome/plugins/visu/__init__.py", line 328, in json_parse
    reply = self.items[path]['item'].series(series, start, end, count)
    File "/usr/local/smarthome/plugins/sqlite/__init__.py", line 312, in _series
    step = int((iend - istart) / count)
    TypeError: unsupported operand type(s) for /: 'int' and 'str'
    2015-11-09 17:59:12,199 DEBUG Main 192.168.115.36:53597 sent '{"cmd":"series","item":"env.core.memory","series" :"avg","start":"1d","count":"100"}' -- __init__.py:json_parse:272
    2015-11-09 17:59:12,207 ERROR Main Problem fetching series for env.core.memory: unsupported operand type(s) for /: 'int' and 'str' -- __init__.py:json_parse:330
    
    
    Traceback (most recent call last):
    File "/usr/local/smarthome/plugins/visu/__init__.py", line 328, in json_parse
    reply = self.items[path]['item'].series(series, start, end, count)
    File "/usr/local/smarthome/plugins/sqlite/__init__.py", line 312, in _series
    step = int((iend - istart) / count)
    TypeError: unsupported operand type(s) for /: 'int' and 'str'
    
    
    2015-11-09 17:59:12,214 DEBUG Main 192.168.115.36:53597 sent '{"cmd":"log","name":"env.core.log","max":"10"}' -- __init__.py:json_parse:272
    2015-11-09 17:59:15,288 DEBUG Main knx: 1.1.51 set 2/1/29 to 19.0 -- __init__.py:parse_telegram:198
    
    2015-11-09 18:00:04,415 DEBUG Main knx: 1.1.239 set 4/4/10 to 12.6 -- __init__.py:parse_telegram:198
    2015-11-09 18:00:04,426 DEBUG Main Item wugro.Wind = 12.6 via KNX 1.1.239 4/4/10 -- item.py:__update:373
    2015-11-09 18:00:04,501 DEBUG Main knx: 1.1.239 set 4/4/12 to 270 -- __init__.py:parse_telegram:198
    2015-11-09 18:00:04,506 DEBUG Main Item wugro.WindrichtungGrad = 270 via KNX 1.1.239 4/4/12 -- item.py:__update:373
    2015-11-09 18:00:04,605 DEBUG Main knx: 1.1.239 set 4/4/11 to West
    Zuletzt geändert von bmx; 24.01.2017, 16:46. Grund: CODE Statt QUOTE

    Kommentar


      #3
      Wolfgang, wonach hast Du Dein System neu aufgesetzt? Auf welcher Hardware bist Du unterwegs? Raspi? 1 oder 2? VM?

      Für das Ephem könntest Du mal updaten auf die neueste Version:

      Code:
      sudo easy_install3 -U ephem

      Kommentar


        #4
        Hallo Bernd,
        ich bin auf dem Beaglebone unter Debian 8.
        Danke für den Tipp für ephem. Irgendwo gibt es schon eine Anfrage von mir. Die lakonische Antwort hiess " abwarten"
        Ich teste und berichte!
        Irgendwo habe ich etwas mit www-Data im Kopf bei den Rechten, finde aber nichts mehr.
        Danke und Grüße
        Wolfgang

        Kommentar


          #5
          Hi Wolfgang, bei Debian 8 bin ich raus, ich weiß nicht ob da systemd schon läuft oder nicht. Prinzipiell kannst Du natürlich nach dieser Anleitung noch einmal alles prüfen.

          Hast Du einen eigenen Benutzer eingerichtet (nicht root) und den dann z.B. bei www-data hinzugefügt?

          Du kannst mal im smarthome Verzeichnis nach den Berechtigungen schauen:
          Code:
          cd /usr/local/smarthome
          ls -lR | more
          Wenn Du z.B. wie in der Anleitung einen neuen User und eine neue Gruppe angelegt hast, dann sollten eigentlich alle Dateien (mit Ausnahme "..") als Besitzer diesen User und diese Gruppe habe. Sollte dort irgendwo was gemischt sein, dann wäre dort ggf. eine Anpassung sinnvoll.

          Gruß,
          Bernd

          Kommentar


            #6
            Hallo Bernd,

            der ephem-Update ist ausgeführt und es sieht gut aus. Danke für den Hinweis1
            In einer Anleitung zur Installation habe ich den Hinweis zu www-data wiedergefunden und alles nachempfunden. Die Rechte sind jetzt wieder richtig vergeben, trotzdem kein Erfolg.
            smarthome zeigt alle Daten, das Laden der Visumasken wird angezeigt, die richtige Maske erscheint, jedoch ohne Inhalte.
            Eine Betätigung einer Schalters bleibt ohne Wirkung.(auch im smarthome-Trace).

            Berechtigungen:

            bei mir sieht es überall so aus, also überall smarthome. Ist das richtig? Leider habe ich es nie zuvor angeschaut.

            ./lib/3rd/rrdtool:
            total 36
            -rwxr-xr-x 1 smarthome smarthome 7651 Oct 26 19:53 LICENSE
            -rwxr-xr-x 1 smarthome smarthome 23624 Oct 26 19:53 rrdtool.c
            -rwxr-xr-x 1 smarthome smarthome 537 Oct 26 19:53 setup.py

            ./lib/__pycache__:
            total 80
            -rw-r--r-- 1 smarthome smarthome 119 Nov 8 15:24 __init__.cpython-34.pyc
            -rw-r--r-- 1 smarthome smarthome 2399 Nov 8 15:24 config.cpython-34.pyc
            -rw-r--r-- 1 smarthome smarthome 11392 Nov 8 15:24 connection.cpython-34.pyc
            -rw-r--r-- 1 smarthome smarthome 1706 Nov 8 15:24 daemon.cpython-34.pyc
            -rw-r--r-- 1 smarthome smarthome 14617 Nov 8 15:24 item.cpython-34.pyc
            -rw-r--r-- 1 smarthome smarthome 1606 Nov 8 15:24 log.cpython-34.pyc
            -rw-r--r-- 1 smarthome smarthome 3973 Nov 8 15:24 logic.cpython-34.pyc
            -rw-r--r-- 1 smarthome smarthome 3148 Nov 8 15:24 orb.cpython-34.pyc
            -rw-r--r-- 1 smarthome smarthome 2694 Nov 8 15:24 plugin.cpython-34.pyc
            -rw-r--r-- 1 smarthome smarthome 1977 Nov 8 15:24 scene.cpython-34.pyc
            -rw-r--r-- 1 smarthome smarthome 15979 Nov 8 15:24 scheduler.cpython-34.pyc
            -rw-r--r-- 1 smarthome smarthome 3092 Nov 8 15:24 tools.cpython-34.pyc

            ./lib/env:
            total 32
            -rwxr-xr-x 1 smarthome smarthome 410 Oct 26 19:53 core.conf
            -rwxr-xr-x 1 smarthome smarthome 1303 Oct 26 19:53 daily.py
            -rwxr-xr-x 1 smarthome smarthome 407 Oct 26 19:53 init.py
            -rwxr-xr-x 1 smarthome smarthome 383 Oct 26 19:53 location.conf
            -rwxr-xr-x 1 smarthome smarthome 496 Oct 26 19:53 location.py
            -rwxr-xr-x 1 smarthome smarthome 293 Oct 26 19:53 logic_conf
            -rwxr-xr-x 1 smarthome smarthome 804 Oct 26 19:53 stat.py
            -rwxr-xr-x 1 smarthome smarthome 174 Oct 26 19:53 system.conf
            Oder spukt bei mir die Version mit, siehe ähnliche Beiträge in smartVISU? Ich habe überall die Version 3 eingetragen.

            Ich habe für heute das Handtuch geschmissen!

            Grüße in den Norden
            Wolfgang



            Kommentar


              #7
              Als nächstes würde ich mal auf die Shell begeben und schauen, was dort so an Prozessen läuft mit ps aux. Wenn der eibd beim start läuft, würde ich mich da als nächstes mal drum kümmern, ob via Kommandozeile mit groupswrite (z.B. groupswrite ip:127.0.0.1 1/2/3 1) schalten funktioniert.

              Dann noch mal smarthome.py definitiv beenden und als user smarthome angemeldet ins Unterverzeichnis vom smarthome.py gehen und dann im Debug Modus starten
              Code:
              cd /usr/local/smarthome/bin
              ./smarthome.py -d
              Dabei sollte es dann doch ein paar weitere Fehlermeldungen geben die weiterhelfen können.

              Kommentar

              Lädt...
              X