FHEM2FHEM extrem träge , wenn überhaupt ...

Begonnen von Jumbo, 30 Mai 2013, 22:55:47

Vorheriges Thema - Nächstes Thema

Jumbo

ich nochmal,


habe nun alles neu gemacht, 2 neue configs

da stinkt irgendwas gewaltig.....

folgende meldungen kommen beim RPi an :

2013.06.01 21:55:17 5: CUL_RPi: T1919446900 -43
2013.06.01 21:55:17 5: CUL_RPi dispatch 810c04xx0909a001191944006900
2013.06.01 21:55:17 3: FHT Unknown device 1919, please define it
2013.06.01 21:55:17 5: Triggering global (1 changes)
2013.06.01 21:55:17 5: Notify loop for global UNDEFINED FHT_1919 FHT 1919
2013.06.01 21:56:31 5: Cmd: >iowrite CUL_RPi 04 01010111110300<
2013.06.01 21:56:31 5: CUL_RPi sending F11110300
2013.06.01 21:56:31 2: CUL TRANSMIT LIMIT EXCEEDED
2013.06.01 21:56:31 5: Triggering CUL_RPi (1 changes)
2013.06.01 21:56:31 5: Notify loop for CUL_RPi TRANSMIT LIMIT EXCEEDED
2013.06.01 21:56:31 5: SW: F11110300
2013.06.01 21:57:02 5: CUL/RAW: /T191900BA003E

2013.06.01 21:57:02 5: CUL_RPi: T191900BA00 -43
2013.06.01 21:57:02 5: CUL_RPi dispatch 810c04xx0909a00119190000ba00
2013.06.01 21:57:02 3: FHT Unknown device 1919, please define it
2013.06.01 21:57:02 5: Triggering global (1 changes)
2013.06.01 21:57:02 5: Notify loop for global UNDEFINED FHT_1919 FHT 1919
2013.06.01 21:58:58 5: CUL/RAW: /T191900AA003D

2013.06.01 21:58:58 5: CUL_RPi: T191900AA00 -43.5
2013.06.01 21:58:58 5: CUL_RPi dispatch 810c04xx0909a00119190000aa00
2013.06.01 21:58:58 3: FHT Unknown device 1919, please define it
2013.06.01 21:58:58 5: Triggering global (1 changes)
2013.06.01 21:58:58 5: Notify loop for global UNDEFINED FHT_1919 FHT 1919
2013.06.01 21:59:31 4: Connection accepted from telnet:192.168.1.100:42715
2013.06.01 21:59:31 5: Cmd: >inform raw<
2013.06.01 21:59:31 4: Setting inform to raw
2013.06.01 21:59:49 4: Connection accepted from telnet:192.168.1.100:42716
2013.06.01 21:59:49 5: Cmd: >iowrite CUL_RPi 04 01010111110300<
2013.06.01 21:59:49 5: CUL_RPi sending F11110300
2013.06.01 21:59:49 2: CUL TRANSMIT LIMIT EXCEEDED
2013.06.01 21:59:49 5: Triggering CUL_RPi (1 changes)
2013.06.01 21:59:49 5: Notify loop for CUL_RPi TRANSMIT LIMIT EXCEEDED
2013.06.01 21:59:49 5: SW: F11110300
2013.06.01 21:59:58 4: Connection closed for FHEMWEB:192.168.1.5:57625
2013.06.01 21:59:58 4: Connection accepted from FHEMWEB:192.168.1.5:57894
2013.06.01 21:59:58 4: HTTP FHEMWEB:192.168.1.5:57894 GET /fhem?cmd=logwrapper%20Logfile%20text%20fhem-2013-06.log
2013.06.01 21:59:59 4: Connection accepted from FHEMWEB:192.168.1.5:57895
2013.06.01 21:59:59 4: Connection accepted from FHEMWEB:192.168.1.5:57897
2013.06.01 21:59:59 4: HTTP FHEMWEB:192.168.1.5:57895 GET /fhem/pgm2/style.css
2013.06.01 21:59:59 4: Connection accepted from FHEMWEB:192.168.1.5:57898
2013.06.01 21:59:59 4: HTTP FHEMWEB:192.168.1.5:57897 GET /fhem/pgm2/svg.js
2013.06.01 21:59:59 4: HTTP FHEMWEB:192.168.1.5:57898 GET /fhem/pgm2/fhemweb.js
2013.06.01 21:59:59 4: HTTP FHEMWEB:192.168.1.5:57898 GET /fhem/icons/icoEverything
2013.06.01 22:00:26 5: Cmd: >iowrite CUL_RPi 04 01010111110300<
2013.06.01 22:00:26 5: CUL_RPi sending F11110300
2013.06.01 22:00:26 2: CUL TRANSMIT LIMIT EXCEEDED
2013.06.01 22:00:26 5: Triggering CUL_RPi (1 changes)
2013.06.01 22:00:26 5: Notify loop for CUL_RPi TRANSMIT LIMIT EXCEEDED
2013.06.01 22:00:26 5: SW: F11110300
2013.06.01 22:00:27 4: HTTP FHEMWEB:192.168.1.5:57898 GET /fhem?cmd=logwrapper%20Logfile%20text%20fhem-2013-06.log
2013.06.01 22:00:29 4: HTTP FHEMWEB:192.168.1.5:57894 GET /fhem/pgm2/svg.js
2013.06.01 22:00:29 4: Connection accepted from FHEMWEB:192.168.1.5:57903
2013.06.01 22:00:29 4: HTTP FHEMWEB:192.168.1.5:57895 GET /fhem/pgm2/fhemweb.js
2013.06.01 22:00:29 4: HTTP FHEMWEB:192.168.1.5:57897 GET /fhem/pgm2/style.css
2013.06.01 22:00:29 4: HTTP FHEMWEB:192.168.1.5:57897 GET /fhem/icons/icoEverything
2013.06.01 22:00:29 4: HTTP FHEMWEB:192.168.1.5:57897 GET /fhem/icons/favicon
2013.06.01 22:00:43 4: Connection closed for FHEMWEB:192.168.1.5:57903
2013.06.01 22:00:53 5: CUL/RAW: /T191900AA003E

2013.06.01 22:00:53 5: CUL_RPi: T191900AA00 -43
2013.06.01 22:00:53 5: CUL_RPi dispatch 810c04xx0909a00119190000aa00
2013.06.01 22:00:53 3: FHT Unknown device 1919, please define it
2013.06.01 22:00:53 5: Triggering global (1 changes)
2013.06.01 22:00:53 5: Notify loop for global UNDEFINED FHT_1919 FHT 1919
2013.06.01 22:01:04 5: Cmd: >iowrite CUL_RPi 04 01010111110000<
2013.06.01 22:01:04 5: CUL_RPi sending F11110000
2013.06.01 22:01:04 2: CUL TRANSMIT LIMIT EXCEEDED
2013.06.01 22:01:04 5: Triggering CUL_RPi (1 changes)
2013.06.01 22:01:04 5: Notify loop for CUL_RPi TRANSMIT LIMIT EXCEEDED
2013.06.01 22:01:04 5: SW: F11110000
2013.06.01 22:01:06 4: HTTP FHEMWEB:192.168.1.5:57897 GET /fhem?cmd=logwrapper%20Logfile%20text%20fhem-2013-06.log



was absolut komisch ist ,

ich habe verschiedene LED's am laufen, folgendermassen unterteilt :

Kichen -> Küche
und
Living -> Wohnzimmer

die Küche funktioniert perfekt on / off usw...
Wohnzimmer , kriege ich immer die Fehlermeldungen wie in dem Log zu sehen sind ....

ich habe NULL Ahnung wieso , die sind genau gleich angeschlossen wie die anderen auch.

Hier mal die Neue Config von beiden FHEM :


der Haupt FHEM :

attr global autoload_undefined_devices 1
attr global logfile /usr/local/FHEM/var/log/fhem-%Y-%m.log
attr global modpath /usr/local/FHEM/share/fhem
attr global statefile /usr/local/FHEM/var/log/fhem.save
attr global verbose 3

define telnetPort telnet 7072 global

define WEB FHEMWEB 8083 global
attr WEB longpoll 1
attr WEB stylesheetPrefix dark

define WEBphone FHEMWEB 8084 global
attr WEBphone stylesheetPrefix smallscreen

define WEBtablet FHEMWEB 8085 global
attr WEBtablet stylesheetPrefix touchpad

# Fake FileLog entry, to access the fhem log from FHEMWEB

define autocreate autocreate
attr autocreate autosave 1
attr autocreate device_room %TYPE
attr autocreate filelog /usr/local/FHEM/var/log/%NAME-%Y.log
attr autocreate weblink 1
attr autocreate weblink_room Plots

# Disable this to avoid looking for new USB devices on startup
define initialUsbCheck notify global:INITIALIZED usb create

define CUL_0 CUL /dev/ttyUSB0@9600 1034


define CUL_RPi CUL none 0000
attr CUL_RPi dummy 1
define RPi_CUL FHEM2FHEM 192.168.1.200:7072 RAW:CUL_RPi


#########################################################################
##
##      LED Kichen
##
#########################################################################



define Luucht_Gang FS20 3e9e 00
attr Luucht_Gang comment Untoggle 1
attr Luucht_Gang model fs20st
attr Luucht_Gang room 1._RDC
define LED1 FS20 1111 00
define Luucht_Gang_on notify Luucht_Gang:on set LED1 on
define Luucht_Gang_off notify Luucht_Gang:off set LED1 off


define Luucht_Kichen1 FS20 3e9e 01
attr Luucht_Kichen1 comment Untoggle
attr Luucht_Kichen1 model fs20st
attr Luucht_Kichen1 room 1._RDC
define LED2 FS20 1111 01
define Luucht_Kichen1_on notify Luucht_Kichen1:on set LED2 on
define Luucht_Kichen1_off notify Luucht_Kichen1:off set LED2 off

define Luucht_Kichen2 FS20 3e9e 02
attr Luucht_Kichen2 comment Untoggle
attr Luucht_Kichen2 model fs20st
attr Luucht_Kichen2 room 1._RDC
define LED3 FS20 1111 02
define Luucht_Kichen2_on notify Luucht_Kichen2:on set LED3 on
define Luucht_Kichen2_off notify Luucht_Kichen2:off set LED3 off


#########################################################################
##
##      LED Living
##
#########################################################################


define Luucht_Living1 FS20 3e9e 06
#attr Luucht_Living1 comment Untoggle
#attr Luucht_Living1 model fs20su
attr Luucht_Living1 room 1._RDC
define LED5 FS20 1111 04
define Luucht_Living1_on notify Luucht_Living1:on set LED5 on
define Luucht_Living1_off notify Luucht_Living1:off set LED5 off


define Luucht_Living2 FS20 3e9e 03
#attr Luucht_Living2 comment Untoggle
#attr Luucht_Living2 model fs20su
attr Luucht_Living2 room 1._RDC
define LED6 FS20 1111 05
define Luucht_Living2_on notify Luucht_Living2:on set LED6 on
define Luucht_Living2_off notify Luucht_Living2:off set LED6 off

define Luucht_Living3 FS20 3e9e 04
#attr Luucht_Living3 comment Untoggle
#attr Luucht_Living3 model fs20su
attr Luucht_Living3 room 1._RDC
define LED7 FS20 1111 06
define Luucht_Living3_on notify Luucht_Living3:on set LED7 on
define Luucht_Living3_off notify Luucht_Living3:off set LED7 off


define Luucht_Living4 FS20 3e9e 07
#attr Luucht_Living4 comment Untoggle
#attr Luucht_Living4 model fs20su
attr Luucht_Living4 room 1._RDC
define LED4 FS20 1111 03
define Luucht_Living4_on notify Luucht_Living4:on set LED4 on
define Luucht_Living4_off notify Luucht_Living4:off set LED4 off




define FHT_0d27 FHT 0d27
attr FHT_0d27 retrycount 3
attr FHT_0d27 room FHT
define FileLog_FHT_0d27 FileLog /usr/local/FHEM/var/log/FHT_0d27-%Y.log FHT_0d27
attr FileLog_FHT_0d27 logtype fht:Temp/Act,text
attr FileLog_FHT_0d27 room FHT
define weblink_FHT_0d27 weblink fileplot FileLog_FHT_0d27:fht:CURRENT
attr weblink_FHT_0d27 label "FHT_0d27 Min $data{min1}, Max $data{max1}, Last $data{currval1}"
attr weblink_FHT_0d27 room Plots
define FHT_0c3b FHT 0c3b
attr FHT_0c3b retrycount 3
attr FHT_0c3b room FHT
define FileLog_FHT_0c3b FileLog /usr/local/FHEM/var/log/FHT_0c3b-%Y.log FHT_0c3b
attr FileLog_FHT_0c3b logtype fht:Temp/Act,text
attr FileLog_FHT_0c3b room FHT
define weblink_FHT_0c3b weblink fileplot FileLog_FHT_0c3b:fht:CURRENT
attr weblink_FHT_0c3b label "FHT_0c3b Min $data{min1}, Max $data{max1}, Last $data{currval1}"
attr weblink_FHT_0c3b room Plots
define FHT_1919 FHT 1919
attr FHT_1919 retrycount 3
attr FHT_1919 room FHT
define FileLog_FHT_1919 FileLog /usr/local/FHEM/var/log/FHT_1919-%Y.log FHT_1919
attr FileLog_FHT_1919 logtype fht:Temp/Act,text
attr FileLog_FHT_1919 room FHT
define weblink_FHT_1919 weblink fileplot FileLog_FHT_1919:fht:CURRENT
attr weblink_FHT_1919 label "FHT_1919 Min $data{min1}, Max $data{max1}, Last $data{currval1}"
attr weblink_FHT_1919 room Plots
define FS20_3e9e05 FS20 3e9e 05
attr FS20_3e9e05 room FS20
define FileLog_FS20_3e9e05 FileLog /usr/local/FHEM/var/log/FS20_3e9e05-%Y.log FS20_3e9e05
attr FileLog_FS20_3e9e05 logtype text
attr FileLog_FS20_3e9e05 room FS20
define CUL_WS_5 CUL_WS 5
attr CUL_WS_5 room CUL_WS
define FileLog_CUL_WS_5 FileLog /usr/local/FHEM/var/log/CUL_WS_5-%Y.log CUL_WS_5:T:.*
attr FileLog_CUL_WS_5 logtype temp4hum6:Temp/Hum,text
attr FileLog_CUL_WS_5 room CUL_WS
define weblink_CUL_WS_5 weblink fileplot FileLog_CUL_WS_5:temp4hum6:CURRENT
attr weblink_CUL_WS_5 label "CUL_WS_5 Min $data{min1}, Max $data{max1}, Last $data{currval1}"
attr weblink_CUL_WS_5 room Plots



und der 2te FHEM (RPi)

attr global autoload_undefined_devices 1
attr global logfile ./log/fhem-%Y-%m.log
attr global modpath .
attr global motd SecurityCheck:\\\
\\\
WEB,WEBphone,WEBtablet has no basicAuth attribute.\\\
telnetPort has no password/globalpassword attribute.\\\
\\\
Restart fhem for a new check if the problem is fixed,\\\
or set the global attribute motd to none to supress this message.\\\
attr global uniqueID /opt/fhem/FHEM/FhemUtils/uniqueID
attr global uniqueID ./FHEM/FhemUtils/uniqueID
attr global sendStatistics manually
attr global statefile ./log/fhem.save
attr global userattr devStateIcon icon sortby webCmd
attr global verbose 5

define telnetPort telnet 7072 global

define WEB FHEMWEB 8083 global

attr WEB stylesheetPrefix dark

# Fake FileLog entry, to access the fhem log from FHEMWEB
define Logfile FileLog ./log/fhem-%Y-%m.log fakelog

define autocreate autocreate
attr autocreate disable
attr autocreate autosave 1
attr autocreate device_room %TYPE
attr autocreate filelog ./log/%NAME-%Y.log
attr autocreate weblink 1
attr autocreate weblink_room Plots

# Disable this to avoid looking for new USB devices on startup
define initialUsbCheck notify global:INITIALIZED usb create
attr initialUsbCheck disable 1

# If the above notify did not helped, then you probably have to enable some of
# the following lines.  Verify first that /dev/xxx ist correct.


define CUL_RPi CUL /dev/ttyACM0@9600 2034
attr CUL_RPi rfmode SlowRF





was nun absolut das komischste bei der ganzen sache ist, sobald ich folgendes auskommentiere :


define CUL_RPi CUL none 0000
attr CUL_RPi dummy 1
define RPi_CUL FHEM2FHEM 192.168.1.200:7072 RAW:CUL_RPi


dann funktioniert alles wie es sein soll !

Ich versteh's einfach net....

Bin über jede hilfe dankbar...

rudolfkoenig

In dem Haupt-Config ist das letzte FS20-faehige Ausgabegeraet vor der Definition der FS20 Geraete das CUL_RPi, und nicht CUL_0, ergo versucht FHEM alle FS20-Geraete ueber das RPi(!) zu steuern. Siehe auch http://fhem.de/commandref.html#IODev

Das wuerde zwar erklaeren, wieso beim Umstellen der RPi die Lampen geschaltet werden, allerdings nicht, wieso das Haupt-Fhem traege ist. Oder wir verstehen unter Traege jeweils unterschiedliche Sachen.

Jumbo

Danke Rudolf , genau das war das problem !!!!!!!

und träge war FHEM weil durch den Druck des knopfes die LED's nicht geschaltet wurden , respektive erst mehrere Sekunden später durch die retry's....


Ich habe allerdings nun noch 1 oder 2 fragen diesbezüglich :


ich habe auf dem Stockwerk noch ein paar FH20 aktoren , die ich dann gerne mit dem RPi schalten würde , und nicht mit meinem CUL_0

wird das nun automatisch vom RPi_CUL übernommen oder noch immer vom CUL_0 ?

was muss ich tun damit der RPi_CUL diese schaltung übernimmt, respektive in welcher config muss ich das ändern , auf meinem Haupt FHEM oder auf meinem 2ten FHEM (RPi) ?

Danke nochmal für die Hilfe...

rudolfkoenig

>  was muss ich tun damit der RPi_CUL diese schaltung übernimmt

wie geschrieben, siehe http://fhem.de/commandref.html#IODev