Komplett überarbeitetes ECMD und ECMDDevice vom 16.3.2014

Begonnen von kpwg, 20 März 2014, 20:40:17

Vorheriges Thema - Nächstes Thema

Tom_S

die netio.cfg steht in der fhem.cfg


#===============================NETIO91===============================#
include ./config/netio91.cfg
#---------------------------------------------------------------------#

schalten von FHEM aus geht

vielen Dank im voraus
RaspberryPI2 + pilight, 3x AVR-NetIO, LW12, LW12HX, LW12FC; MAX-Lan, ESP8266, Arduino, H801, Neopixel, Solaredge, Modbus

Dr. Boris Neubert

Die neue Version im Post  http://forum.fhem.de/index.php/topic,21515.0.html dürfte funktionieren.

Eine vereinfachte ECMD91A.classdef sollte so aussehen:

# In FHEM festlegen => define PORT91A1 ECMDDevice ECMD91A 0 0
# Uebergabeparameter port (0-3) pin (0-7)
params port pin

# Controller sendet die Portzustände bei Änderung. Werden über reading verarbeitet
reading power match "^port %port %pin 0|1\n$"
reading power postproc { s/^.*(\d)\n$/$1/; $_ ? "on" : "off" }


Kannst Du das bitte mal ausprobieren?

Danke
Boris
Globaler Moderator, Developer, aktives Mitglied des FHEM e.V. (Marketing, Verwaltung)
Bitte keine unaufgeforderten privaten Nachrichten!

Tom_S

hallo Boris

aus scheint jetzt zu gehen (also "port 2 4 0\n").
bei on (also "port 2 4 1\n") gehen alle Devices auf on, auch die in der anderen classdef. Im State steht "power off bzw power on)
der Event Monitor sagt nichts

Auszug aus dem Log nach "port 2 4 1\n" und "port 2 4 0\n"


2014.04.12 20:24:48 1: DEBUG>Trying to find a match for "port 2 4 1\n"
2014.04.12 20:24:48 1: DEBUG>  Checking device PORT91C4 with class ECMD91C...
2014.04.12 20:24:48 1: DEBUG>   Trying to find a match in class ECMD91C...
2014.04.12 20:24:48 1: DEBUG>      Trying to match reading power with regular expressing "^port 2 3 0|1\n$".
2014.04.12 20:24:48 1: DEBUG>  Checking device PORT91C3 with class ECMD91C...
2014.04.12 20:24:48 1: DEBUG>   Trying to find a match in class ECMD91C...
2014.04.12 20:24:48 1: DEBUG>      Trying to match reading power with regular expressing "^port 2 2 0|1\n$".
2014.04.12 20:24:48 1: DEBUG>  Checking device PORT91C7 with class ECMD91C...
2014.04.12 20:24:48 1: DEBUG>   Trying to find a match in class ECMD91C...
2014.04.12 20:24:48 1: DEBUG>      Trying to match reading power with regular expressing "^port 2 6 0|1\n$".
2014.04.12 20:24:48 1: DEBUG>  Checking device PORT91A3 with class ECMD91A...
2014.04.12 20:24:48 1: DEBUG>   Trying to find a match in class ECMD91A...
2014.04.12 20:24:48 1: DEBUG>      Trying to match reading power with regular expressing "^port 0 2 0|1\n$".
2014.04.12 20:24:48 1: DEBUG>  Checking device ADC7 with class adc...
2014.04.12 20:24:48 1: DEBUG>  Checking device PORT91C6 with class ECMD91C...
2014.04.12 20:24:48 1: DEBUG>   Trying to find a match in class ECMD91C...
2014.04.12 20:24:48 1: DEBUG>      Trying to match reading power with regular expressing "^port 2 5 0|1\n$".
2014.04.12 20:24:48 1: DEBUG>  Checking device PORT91C5 with class ECMD91C...
2014.04.12 20:24:48 1: DEBUG>   Trying to find a match in class ECMD91C...
2014.04.12 20:24:48 1: DEBUG>      Trying to match reading power with regular expressing "^port 2 4 0|1\n$".
2014.04.12 20:24:48 1: DEBUG>  Checking device ADC6 with class adc...
2014.04.12 20:24:48 1: DEBUG>  Checking device PORT91C1 with class ECMD91C...
2014.04.12 20:24:48 1: DEBUG>   Trying to find a match in class ECMD91C...
2014.04.12 20:24:48 1: DEBUG>      Trying to match reading power with regular expressing "^port 2 0 0|1\n$".
2014.04.12 20:24:48 1: DEBUG>  Checking device PORT91C8 with class ECMD91C...
2014.04.12 20:24:48 1: DEBUG>   Trying to find a match in class ECMD91C...
2014.04.12 20:24:48 1: DEBUG>      Trying to match reading power with regular expressing "^port 2 7 0|1\n$".
2014.04.12 20:24:48 1: DEBUG>  Checking device PORT91C2 with class ECMD91C...
2014.04.12 20:24:48 1: DEBUG>   Trying to find a match in class ECMD91C...
2014.04.12 20:24:48 1: DEBUG>      Trying to match reading power with regular expressing "^port 2 1 0|1\n$".
2014.04.12 20:24:48 1: DEBUG>  Checking device PORT91A2 with class ECMD91A...
2014.04.12 20:24:48 1: DEBUG>   Trying to find a match in class ECMD91A...
2014.04.12 20:24:48 1: DEBUG>      Trying to match reading power with regular expressing "^port 0 1 0|1\n$".
2014.04.12 20:24:48 1: DEBUG>  Checking device PORT91A4 with class ECMD91A...
2014.04.12 20:24:48 1: DEBUG>   Trying to find a match in class ECMD91A...
2014.04.12 20:24:48 1: DEBUG>      Trying to match reading power with regular expressing "^port 0 3 0|1\n$".
2014.04.12 20:24:48 1: DEBUG>  Checking device ADC5 with class adc...
2014.04.12 20:24:48 1: DEBUG>  Checking device PORT91A1 with class ECMD91A...
2014.04.12 20:24:48 1: DEBUG>   Trying to find a match in class ECMD91A...
2014.04.12 20:24:48 1: DEBUG>      Trying to match reading power with regular expressing "^port 0 0 0|1\n$".
2014.04.12 20:25:00 1: DEBUG>Trying to find a match for "port 0 0 0\nport 0 1 1\nport 0 2 1\nport 0 3 0\n"
2014.04.12 20:25:00 1: DEBUG>  Checking device PORT91C4 with class ECMD91C...
2014.04.12 20:25:00 1: DEBUG>   Trying to find a match in class ECMD91C...
2014.04.12 20:25:00 1: DEBUG>      Trying to match reading power with regular expressing "^port 2 3 0|1\n$".
2014.04.12 20:25:00 1: DEBUG>  Checking device PORT91C3 with class ECMD91C...
2014.04.12 20:25:00 1: DEBUG>   Trying to find a match in class ECMD91C...
2014.04.12 20:25:00 1: DEBUG>      Trying to match reading power with regular expressing "^port 2 2 0|1\n$".
2014.04.12 20:25:00 1: DEBUG>  Checking device PORT91C7 with class ECMD91C...
2014.04.12 20:25:00 1: DEBUG>   Trying to find a match in class ECMD91C...
2014.04.12 20:25:00 1: DEBUG>      Trying to match reading power with regular expressing "^port 2 6 0|1\n$".
2014.04.12 20:25:00 1: DEBUG>  Checking device PORT91A3 with class ECMD91A...
2014.04.12 20:25:00 1: DEBUG>   Trying to find a match in class ECMD91A...
2014.04.12 20:25:00 1: DEBUG>      Trying to match reading power with regular expressing "^port 0 2 0|1\n$".
2014.04.12 20:25:00 1: DEBUG>  Checking device ADC7 with class adc...
2014.04.12 20:25:00 1: DEBUG>  Checking device PORT91C6 with class ECMD91C...
2014.04.12 20:25:00 1: DEBUG>   Trying to find a match in class ECMD91C...
2014.04.12 20:25:00 1: DEBUG>      Trying to match reading power with regular expressing "^port 2 5 0|1\n$".
2014.04.12 20:25:00 1: DEBUG>  Checking device PORT91C5 with class ECMD91C...
2014.04.12 20:25:00 1: DEBUG>   Trying to find a match in class ECMD91C...
2014.04.12 20:25:00 1: DEBUG>      Trying to match reading power with regular expressing "^port 2 4 0|1\n$".
2014.04.12 20:25:00 1: DEBUG>  Checking device ADC6 with class adc...
2014.04.12 20:25:00 1: DEBUG>  Checking device PORT91C1 with class ECMD91C...
2014.04.12 20:25:00 1: DEBUG>   Trying to find a match in class ECMD91C...
2014.04.12 20:25:00 1: DEBUG>      Trying to match reading power with regular expressing "^port 2 0 0|1\n$".
2014.04.12 20:25:00 1: DEBUG>  Checking device PORT91C8 with class ECMD91C...
2014.04.12 20:25:00 1: DEBUG>   Trying to find a match in class ECMD91C...
2014.04.12 20:25:00 1: DEBUG>      Trying to match reading power with regular expressing "^port 2 7 0|1\n$".
2014.04.12 20:25:00 1: DEBUG>  Checking device PORT91C2 with class ECMD91C...
2014.04.12 20:25:00 1: DEBUG>   Trying to find a match in class ECMD91C...
2014.04.12 20:25:00 1: DEBUG>      Trying to match reading power with regular expressing "^port 2 1 0|1\n$".
2014.04.12 20:25:00 1: DEBUG>  Checking device PORT91A2 with class ECMD91A...
2014.04.12 20:25:00 1: DEBUG>   Trying to find a match in class ECMD91A...
2014.04.12 20:25:00 1: DEBUG>      Trying to match reading power with regular expressing "^port 0 1 0|1\n$".
2014.04.12 20:25:00 1: DEBUG>  Checking device PORT91A4 with class ECMD91A...
2014.04.12 20:25:00 1: DEBUG>   Trying to find a match in class ECMD91A...
2014.04.12 20:25:00 1: DEBUG>      Trying to match reading power with regular expressing "^port 0 3 0|1\n$".
2014.04.12 20:25:00 1: DEBUG>  Checking device ADC5 with class adc...
2014.04.12 20:25:00 1: DEBUG>  Checking device PORT91A1 with class ECMD91A...
2014.04.12 20:25:00 1: DEBUG>   Trying to find a match in class ECMD91A...
2014.04.12 20:25:00 1: DEBUG>      Trying to match reading power with regular expressing "^port 0 0 0|1\n$".
2014.04.12 20:25:06 1: DEBUG>Trying to find a match for "port 2 4 0\n"
2014.04.12 20:25:06 1: DEBUG>  Checking device PORT91C4 with class ECMD91C...
2014.04.12 20:25:06 1: DEBUG>   Trying to find a match in class ECMD91C...
2014.04.12 20:25:06 1: DEBUG>      Trying to match reading power with regular expressing "^port 2 3 0|1\n$".
2014.04.12 20:25:06 1: DEBUG>  Checking device PORT91C3 with class ECMD91C...
2014.04.12 20:25:06 1: DEBUG>   Trying to find a match in class ECMD91C...
2014.04.12 20:25:06 1: DEBUG>      Trying to match reading power with regular expressing "^port 2 2 0|1\n$".
2014.04.12 20:25:06 1: DEBUG>  Checking device PORT91C7 with class ECMD91C...
2014.04.12 20:25:06 1: DEBUG>   Trying to find a match in class ECMD91C...
2014.04.12 20:25:06 1: DEBUG>      Trying to match reading power with regular expressing "^port 2 6 0|1\n$".
2014.04.12 20:25:06 1: DEBUG>  Checking device PORT91A3 with class ECMD91A...
2014.04.12 20:25:06 1: DEBUG>   Trying to find a match in class ECMD91A...
2014.04.12 20:25:06 1: DEBUG>      Trying to match reading power with regular expressing "^port 0 2 0|1\n$".
2014.04.12 20:25:06 1: DEBUG>  Checking device ADC7 with class adc...
2014.04.12 20:25:06 1: DEBUG>  Checking device PORT91C6 with class ECMD91C...
2014.04.12 20:25:06 1: DEBUG>   Trying to find a match in class ECMD91C...
2014.04.12 20:25:06 1: DEBUG>      Trying to match reading power with regular expressing "^port 2 5 0|1\n$".
2014.04.12 20:25:06 1: DEBUG>  Checking device PORT91C5 with class ECMD91C...
2014.04.12 20:25:06 1: DEBUG>   Trying to find a match in class ECMD91C...
2014.04.12 20:25:06 1: DEBUG>      Trying to match reading power with regular expressing "^port 2 4 0|1\n$".
2014.04.12 20:25:06 1: DEBUG>  Checking device ADC6 with class adc...
2014.04.12 20:25:06 1: DEBUG>  Checking device PORT91C1 with class ECMD91C...
2014.04.12 20:25:06 1: DEBUG>   Trying to find a match in class ECMD91C...
2014.04.12 20:25:06 1: DEBUG>      Trying to match reading power with regular expressing "^port 2 0 0|1\n$".
2014.04.12 20:25:06 1: DEBUG>  Checking device PORT91C8 with class ECMD91C...
2014.04.12 20:25:06 1: DEBUG>   Trying to find a match in class ECMD91C...
2014.04.12 20:25:06 1: DEBUG>      Trying to match reading power with regular expressing "^port 2 7 0|1\n$".
2014.04.12 20:25:06 1: DEBUG>  Checking device PORT91C2 with class ECMD91C...
2014.04.12 20:25:06 1: DEBUG>   Trying to find a match in class ECMD91C...
2014.04.12 20:25:06 1: DEBUG>      Trying to match reading power with regular expressing "^port 2 1 0|1\n$".
2014.04.12 20:25:06 1: DEBUG>  Checking device PORT91A2 with class ECMD91A...
2014.04.12 20:25:06 1: DEBUG>   Trying to find a match in class ECMD91A...
2014.04.12 20:25:06 1: DEBUG>      Trying to match reading power with regular expressing "^port 0 1 0|1\n$".
2014.04.12 20:25:06 1: DEBUG>  Checking device PORT91A4 with class ECMD91A...
2014.04.12 20:25:06 1: DEBUG>   Trying to find a match in class ECMD91A...
2014.04.12 20:25:06 1: DEBUG>      Trying to match reading power with regular expressing "^port 0 3 0|1\n$".
2014.04.12 20:25:06 1: DEBUG>  Checking device ADC5 with class adc...
2014.04.12 20:25:06 1: DEBUG>  Checking device PORT91A1 with class ECMD91A...
2014.04.12 20:25:06 1: DEBUG>   Trying to find a match in class ECMD91A...
2014.04.12 20:25:06 1: DEBUG>      Trying to match reading power with regular expressing "^port 0 0 0|1\n$"


Gruß

RaspberryPI2 + pilight, 3x AVR-NetIO, LW12, LW12HX, LW12FC; MAX-Lan, ESP8266, Arduino, H801, Neopixel, Solaredge, Modbus

Dr. Boris Neubert

Verflixte reguläre Ausdrücke! Das | bindet ganz schwach... Hier die neue Classdef:


# In FHEM festlegen => define PORT91A1 ECMDDevice ECMD91A 0 0
# Uebergabeparameter port (0-3) pin (0-7)
params port pin

# Controller sendet die Portzustände bei Änderung. Werden über reading verarbeitet
# Wir dürfen nicht in ^$ einschließen, weil mehrere Befehle hintereinander kommen können
reading power match "port %port %pin \d\n"
# Modifier s behandelt mehrere Zeilen wie eine einzige;
# aus dem String wird die 0 oder 1 herausgeschnitten
reading power postproc { s/.*port %port %pin (\d)\n.*/$1/s; $_ }
# oder:
#reading power postproc { s/.*port %port %pin (\d)\n.*/$1/s; $_ ? "on" : "off" }


Dabei ist noch berücksichtigt, daß mehrere Befehle am Stück kommen können.

Ferner ist mir noch aufgefallen, daß keine Events erzeugt werden. Der Fehler ist mit der soeben in dem Referenzposting neu angefügten 67_ECMDDevice.pm nun auch Geschichte.

Viele Grüße
Boris
Globaler Moderator, Developer, aktives Mitglied des FHEM e.V. (Marketing, Verwaltung)
Bitte keine unaufgeforderten privaten Nachrichten!

Tom_S

hallo Boris

habe gerade noch eimal getestet. Unabhänig von der postproc (im STATE steht "power port 2 4 0") - da kann man noch nacharbeiten, landen die Komandos jetzt im richtigen Device. Das ist aber nur so, wenn ein einzelnes Komando kommt. Kommen mehrere dann landen alle im zuerst genannten. Im STATE steht dann "power port 2 5 1 port 2 6 0 port 2 4 0"

2014.04.12 21:39:24 1: DEBUG>Trying to find a match for "port 2 4 0\n"
2014.04.12 21:39:24 1: DEBUG>  Checking device PORT91C4 with class ECMD91C...
2014.04.12 21:39:24 1: DEBUG>   Trying to find a match in class ECMD91C...
2014.04.12 21:39:24 1: DEBUG>      Trying to match reading power with regular expressing "port 2 3 \d\n$".
2014.04.12 21:39:24 1: DEBUG>  Checking device PORT91C3 with class ECMD91C...
2014.04.12 21:39:24 1: DEBUG>   Trying to find a match in class ECMD91C...
2014.04.12 21:39:24 1: DEBUG>      Trying to match reading power with regular expressing "port 2 2 \d\n$".
2014.04.12 21:39:24 1: DEBUG>  Checking device PORT91C7 with class ECMD91C...
2014.04.12 21:39:24 1: DEBUG>   Trying to find a match in class ECMD91C...
2014.04.12 21:39:24 1: DEBUG>      Trying to match reading power with regular expressing "port 2 6 \d\n$".
2014.04.12 21:39:24 1: DEBUG>  Checking device PORT91A3 with class ECMD91A...
2014.04.12 21:39:24 1: DEBUG>   Trying to find a match in class ECMD91A...
2014.04.12 21:39:24 1: DEBUG>      Trying to match reading power with regular expressing "port 0 2 \d\n$".
2014.04.12 21:39:24 1: DEBUG>  Checking device ADC7 with class adc...
2014.04.12 21:39:24 1: DEBUG>  Checking device PORT91C6 with class ECMD91C...
2014.04.12 21:39:24 1: DEBUG>   Trying to find a match in class ECMD91C...
2014.04.12 21:39:24 1: DEBUG>      Trying to match reading power with regular expressing "port 2 5 \d\n$".
2014.04.12 21:39:24 1: DEBUG>  Checking device PORT91C5 with class ECMD91C...
2014.04.12 21:39:24 1: DEBUG>   Trying to find a match in class ECMD91C...
2014.04.12 21:39:24 1: DEBUG>      Trying to match reading power with regular expressing "port 2 4 \d\n$".
2014.04.12 21:39:24 1: DEBUG>  Checking device ADC6 with class adc...
2014.04.12 21:39:24 1: DEBUG>  Checking device PORT91C1 with class ECMD91C...
2014.04.12 21:39:24 1: DEBUG>   Trying to find a match in class ECMD91C...
2014.04.12 21:39:24 1: DEBUG>      Trying to match reading power with regular expressing "port 2 0 \d\n$".
2014.04.12 21:39:24 1: DEBUG>  Checking device PORT91C8 with class ECMD91C...
2014.04.12 21:39:24 1: DEBUG>   Trying to find a match in class ECMD91C...
2014.04.12 21:39:24 1: DEBUG>      Trying to match reading power with regular expressing "port 2 7 \d\n$".
2014.04.12 21:39:24 1: DEBUG>  Checking device PORT91C2 with class ECMD91C...
2014.04.12 21:39:24 1: DEBUG>   Trying to find a match in class ECMD91C...
2014.04.12 21:39:24 1: DEBUG>      Trying to match reading power with regular expressing "port 2 1 \d\n$".
2014.04.12 21:39:24 1: DEBUG>  Checking device PORT91A2 with class ECMD91A...
2014.04.12 21:39:24 1: DEBUG>   Trying to find a match in class ECMD91A...
2014.04.12 21:39:24 1: DEBUG>      Trying to match reading power with regular expressing "port 0 1 \d\n$".
2014.04.12 21:39:24 1: DEBUG>  Checking device PORT91A4 with class ECMD91A...
2014.04.12 21:39:24 1: DEBUG>   Trying to find a match in class ECMD91A...
2014.04.12 21:39:24 1: DEBUG>      Trying to match reading power with regular expressing "port 0 3 \d\n$".
2014.04.12 21:39:24 1: DEBUG>  Checking device ADC5 with class adc...
2014.04.12 21:39:24 1: DEBUG>  Checking device PORT91A1 with class ECMD91A...
2014.04.12 21:39:24 1: DEBUG>   Trying to find a match in class ECMD91A...
2014.04.12 21:39:24 1: DEBUG>      Trying to match reading power with regular expressing "port 0 0 \d\n$".
2014.04.12 21:40:00 1: DEBUG>Trying to find a match for "2 5 1\n"
2014.04.12 21:40:00 1: DEBUG>  Checking device PORT91C4 with class ECMD91C...
2014.04.12 21:40:00 1: DEBUG>   Trying to find a match in class ECMD91C...
2014.04.12 21:40:00 1: DEBUG>      Trying to match reading power with regular expressing "port 2 3 \d\n$".
2014.04.12 21:40:00 1: DEBUG>  Checking device PORT91C3 with class ECMD91C...
2014.04.12 21:40:00 1: DEBUG>   Trying to find a match in class ECMD91C...
2014.04.12 21:40:00 1: DEBUG>      Trying to match reading power with regular expressing "port 2 2 \d\n$".
2014.04.12 21:40:00 1: DEBUG>  Checking device PORT91C7 with class ECMD91C...
2014.04.12 21:40:00 1: DEBUG>   Trying to find a match in class ECMD91C...
2014.04.12 21:40:00 1: DEBUG>      Trying to match reading power with regular expressing "port 2 6 \d\n$".
2014.04.12 21:40:00 1: DEBUG>  Checking device PORT91A3 with class ECMD91A...
2014.04.12 21:40:00 1: DEBUG>   Trying to find a match in class ECMD91A...
2014.04.12 21:40:00 1: DEBUG>      Trying to match reading power with regular expressing "port 0 2 \d\n$".
2014.04.12 21:40:00 1: DEBUG>  Checking device ADC7 with class adc...
2014.04.12 21:40:00 1: DEBUG>  Checking device PORT91C6 with class ECMD91C...
2014.04.12 21:40:00 1: DEBUG>   Trying to find a match in class ECMD91C...
2014.04.12 21:40:00 1: DEBUG>      Trying to match reading power with regular expressing "port 2 5 \d\n$".
2014.04.12 21:40:00 1: DEBUG>  Checking device PORT91C5 with class ECMD91C...
2014.04.12 21:40:00 1: DEBUG>   Trying to find a match in class ECMD91C...
2014.04.12 21:40:00 1: DEBUG>      Trying to match reading power with regular expressing "port 2 4 \d\n$".
2014.04.12 21:40:00 1: DEBUG>  Checking device ADC6 with class adc...
2014.04.12 21:40:00 1: DEBUG>  Checking device PORT91C1 with class ECMD91C...
2014.04.12 21:40:00 1: DEBUG>   Trying to find a match in class ECMD91C...
2014.04.12 21:40:00 1: DEBUG>      Trying to match reading power with regular expressing "port 2 0 \d\n$".
2014.04.12 21:40:00 1: DEBUG>  Checking device PORT91C8 with class ECMD91C...
2014.04.12 21:40:00 1: DEBUG>   Trying to find a match in class ECMD91C...
2014.04.12 21:40:00 1: DEBUG>      Trying to match reading power with regular expressing "port 2 7 \d\n$".
2014.04.12 21:40:00 1: DEBUG>  Checking device PORT91C2 with class ECMD91C...
2014.04.12 21:40:00 1: DEBUG>   Trying to find a match in class ECMD91C...
2014.04.12 21:40:00 1: DEBUG>      Trying to match reading power with regular expressing "port 2 1 \d\n$".
2014.04.12 21:40:00 1: DEBUG>  Checking device PORT91A2 with class ECMD91A...
2014.04.12 21:40:00 1: DEBUG>   Trying to find a match in class ECMD91A...
2014.04.12 21:40:00 1: DEBUG>      Trying to match reading power with regular expressing "port 0 1 \d\n$".
2014.04.12 21:40:00 1: DEBUG>  Checking device PORT91A4 with class ECMD91A...
2014.04.12 21:40:00 1: DEBUG>   Trying to find a match in class ECMD91A...
2014.04.12 21:40:00 1: DEBUG>      Trying to match reading power with regular expressing "port 0 3 \d\n$".
2014.04.12 21:40:00 1: DEBUG>  Checking device ADC5 with class adc...
2014.04.12 21:40:00 1: DEBUG>  Checking device PORT91A1 with class ECMD91A...
2014.04.12 21:40:00 1: DEBUG>   Trying to find a match in class ECMD91A...
2014.04.12 21:40:00 1: DEBUG>      Trying to match reading power with regular expressing "port 0 0 \d\n$".
2014.04.12 21:40:00 2: autocreate: define ECMDDevice message 2 5 1
2014.04.12 21:40:00 1: ERROR: Unknown module message
2014.04.12 21:40:16 1: DEBUG>Trying to find a match for "port 2 5 0\nport 2 6 1\n"
2014.04.12 21:40:16 1: DEBUG>  Checking device PORT91C4 with class ECMD91C...
2014.04.12 21:40:16 1: DEBUG>   Trying to find a match in class ECMD91C...
2014.04.12 21:40:16 1: DEBUG>      Trying to match reading power with regular expressing "port 2 3 \d\n$".
2014.04.12 21:40:16 1: DEBUG>  Checking device PORT91C3 with class ECMD91C...
2014.04.12 21:40:16 1: DEBUG>   Trying to find a match in class ECMD91C...
2014.04.12 21:40:16 1: DEBUG>      Trying to match reading power with regular expressing "port 2 2 \d\n$".
2014.04.12 21:40:16 1: DEBUG>  Checking device PORT91C7 with class ECMD91C...
2014.04.12 21:40:16 1: DEBUG>   Trying to find a match in class ECMD91C...
2014.04.12 21:40:16 1: DEBUG>      Trying to match reading power with regular expressing "port 2 6 \d\n$".
2014.04.12 21:40:16 1: DEBUG>  Checking device PORT91A3 with class ECMD91A...
2014.04.12 21:40:16 1: DEBUG>   Trying to find a match in class ECMD91A...
2014.04.12 21:40:16 1: DEBUG>      Trying to match reading power with regular expressing "port 0 2 \d\n$".
2014.04.12 21:40:16 1: DEBUG>  Checking device ADC7 with class adc...
2014.04.12 21:40:16 1: DEBUG>  Checking device PORT91C6 with class ECMD91C...
2014.04.12 21:40:16 1: DEBUG>   Trying to find a match in class ECMD91C...
2014.04.12 21:40:16 1: DEBUG>      Trying to match reading power with regular expressing "port 2 5 \d\n$".
2014.04.12 21:40:16 1: DEBUG>  Checking device PORT91C5 with class ECMD91C...
2014.04.12 21:40:16 1: DEBUG>   Trying to find a match in class ECMD91C...
2014.04.12 21:40:16 1: DEBUG>      Trying to match reading power with regular expressing "port 2 4 \d\n$".
2014.04.12 21:40:16 1: DEBUG>  Checking device ADC6 with class adc...
2014.04.12 21:40:16 1: DEBUG>  Checking device PORT91C1 with class ECMD91C...
2014.04.12 21:40:16 1: DEBUG>   Trying to find a match in class ECMD91C...
2014.04.12 21:40:16 1: DEBUG>      Trying to match reading power with regular expressing "port 2 0 \d\n$".
2014.04.12 21:40:16 1: DEBUG>  Checking device PORT91C8 with class ECMD91C...
2014.04.12 21:40:16 1: DEBUG>   Trying to find a match in class ECMD91C...
2014.04.12 21:40:16 1: DEBUG>      Trying to match reading power with regular expressing "port 2 7 \d\n$".
2014.04.12 21:40:16 1: DEBUG>  Checking device PORT91C2 with class ECMD91C...
2014.04.12 21:40:16 1: DEBUG>   Trying to find a match in class ECMD91C...
2014.04.12 21:40:16 1: DEBUG>      Trying to match reading power with regular expressing "port 2 1 \d\n$".
2014.04.12 21:40:16 1: DEBUG>  Checking device PORT91A2 with class ECMD91A...
2014.04.12 21:40:16 1: DEBUG>   Trying to find a match in class ECMD91A...
2014.04.12 21:40:16 1: DEBUG>      Trying to match reading power with regular expressing "port 0 1 \d\n$".
2014.04.12 21:40:16 1: DEBUG>  Checking device PORT91A4 with class ECMD91A...
2014.04.12 21:40:16 1: DEBUG>   Trying to find a match in class ECMD91A...
2014.04.12 21:40:16 1: DEBUG>      Trying to match reading power with regular expressing "port 0 3 \d\n$".
2014.04.12 21:40:16 1: DEBUG>  Checking device ADC5 with class adc...
2014.04.12 21:40:16 1: DEBUG>  Checking device PORT91A1 with class ECMD91A...
2014.04.12 21:40:16 1: DEBUG>   Trying to find a match in class ECMD91A...
2014.04.12 21:40:16 1: DEBUG>      Trying to match reading power with regular expressing "port 0 0 \d\n$".
2014.04.12 21:40:32 1: DEBUG>Trying to find a match for "port 2 5 1\nport 2 6 0\n"
2014.04.12 21:40:32 1: DEBUG>  Checking device PORT91C4 with class ECMD91C...
2014.04.12 21:40:32 1: DEBUG>   Trying to find a match in class ECMD91C...
2014.04.12 21:40:32 1: DEBUG>      Trying to match reading power with regular expressing "port 2 3 \d\n$".
2014.04.12 21:40:32 1: DEBUG>  Checking device PORT91C3 with class ECMD91C...
2014.04.12 21:40:32 1: DEBUG>   Trying to find a match in class ECMD91C...
2014.04.12 21:40:32 1: DEBUG>      Trying to match reading power with regular expressing "port 2 2 \d\n$".
2014.04.12 21:40:32 1: DEBUG>  Checking device PORT91C7 with class ECMD91C...
2014.04.12 21:40:32 1: DEBUG>   Trying to find a match in class ECMD91C...
2014.04.12 21:40:32 1: DEBUG>      Trying to match reading power with regular expressing "port 2 6 \d\n$".
2014.04.12 21:40:32 1: DEBUG>  Checking device PORT91A3 with class ECMD91A...
2014.04.12 21:40:32 1: DEBUG>   Trying to find a match in class ECMD91A...
2014.04.12 21:40:32 1: DEBUG>      Trying to match reading power with regular expressing "port 0 2 \d\n$".
2014.04.12 21:40:32 1: DEBUG>  Checking device ADC7 with class adc...
2014.04.12 21:40:32 1: DEBUG>  Checking device PORT91C6 with class ECMD91C...
2014.04.12 21:40:32 1: DEBUG>   Trying to find a match in class ECMD91C...
2014.04.12 21:40:32 1: DEBUG>      Trying to match reading power with regular expressing "port 2 5 \d\n$".
2014.04.12 21:40:32 1: DEBUG>  Checking device PORT91C5 with class ECMD91C...
2014.04.12 21:40:32 1: DEBUG>   Trying to find a match in class ECMD91C...
2014.04.12 21:40:32 1: DEBUG>      Trying to match reading power with regular expressing "port 2 4 \d\n$".
2014.04.12 21:40:32 1: DEBUG>  Checking device ADC6 with class adc...
2014.04.12 21:40:32 1: DEBUG>  Checking device PORT91C1 with class ECMD91C...
2014.04.12 21:40:32 1: DEBUG>   Trying to find a match in class ECMD91C...
2014.04.12 21:40:32 1: DEBUG>      Trying to match reading power with regular expressing "port 2 0 \d\n$".
2014.04.12 21:40:32 1: DEBUG>  Checking device PORT91C8 with class ECMD91C...
2014.04.12 21:40:32 1: DEBUG>   Trying to find a match in class ECMD91C...
2014.04.12 21:40:32 1: DEBUG>      Trying to match reading power with regular expressing "port 2 7 \d\n$".
2014.04.12 21:40:32 1: DEBUG>  Checking device PORT91C2 with class ECMD91C...
2014.04.12 21:40:32 1: DEBUG>   Trying to find a match in class ECMD91C...
2014.04.12 21:40:32 1: DEBUG>      Trying to match reading power with regular expressing "port 2 1 \d\n$".
2014.04.12 21:40:32 1: DEBUG>  Checking device PORT91A2 with class ECMD91A...
2014.04.12 21:40:32 1: DEBUG>   Trying to find a match in class ECMD91A...
2014.04.12 21:40:32 1: DEBUG>      Trying to match reading power with regular expressing "port 0 1 \d\n$".
2014.04.12 21:40:32 1: DEBUG>  Checking device PORT91A4 with class ECMD91A...
2014.04.12 21:40:32 1: DEBUG>   Trying to find a match in class ECMD91A...
2014.04.12 21:40:32 1: DEBUG>      Trying to match reading power with regular expressing "port 0 3 \d\n$".
2014.04.12 21:40:32 1: DEBUG>  Checking device ADC5 with class adc...
2014.04.12 21:40:32 1: DEBUG>  Checking device PORT91A1 with class ECMD91A...
2014.04.12 21:40:32 1: DEBUG>   Trying to find a match in class ECMD91A...
2014.04.12 21:40:32 1: DEBUG>      Trying to match reading power with regular expressing "port 0 0 \d\n$".
2014.04.12 21:40:42 1: DEBUG>Trying to find a match for "port 2 5 0\n"
2014.04.12 21:40:42 1: DEBUG>  Checking device PORT91C4 with class ECMD91C...
2014.04.12 21:40:42 1: DEBUG>   Trying to find a match in class ECMD91C...
2014.04.12 21:40:42 1: DEBUG>      Trying to match reading power with regular expressing "port 2 3 \d\n$".
2014.04.12 21:40:42 1: DEBUG>  Checking device PORT91C3 with class ECMD91C...
2014.04.12 21:40:42 1: DEBUG>   Trying to find a match in class ECMD91C...
2014.04.12 21:40:42 1: DEBUG>      Trying to match reading power with regular expressing "port 2 2 \d\n$".
2014.04.12 21:40:42 1: DEBUG>  Checking device PORT91C7 with class ECMD91C...
2014.04.12 21:40:42 1: DEBUG>   Trying to find a match in class ECMD91C...
2014.04.12 21:40:42 1: DEBUG>      Trying to match reading power with regular expressing "port 2 6 \d\n$".
2014.04.12 21:40:42 1: DEBUG>  Checking device PORT91A3 with class ECMD91A...
2014.04.12 21:40:42 1: DEBUG>   Trying to find a match in class ECMD91A...
2014.04.12 21:40:42 1: DEBUG>      Trying to match reading power with regular expressing "port 0 2 \d\n$".
2014.04.12 21:40:42 1: DEBUG>  Checking device ADC7 with class adc...
2014.04.12 21:40:42 1: DEBUG>  Checking device PORT91C6 with class ECMD91C...
2014.04.12 21:40:42 1: DEBUG>   Trying to find a match in class ECMD91C...
2014.04.12 21:40:42 1: DEBUG>      Trying to match reading power with regular expressing "port 2 5 \d\n$".
2014.04.12 21:40:42 1: DEBUG>  Checking device PORT91C5 with class ECMD91C...
2014.04.12 21:40:42 1: DEBUG>   Trying to find a match in class ECMD91C...
2014.04.12 21:40:42 1: DEBUG>      Trying to match reading power with regular expressing "port 2 4 \d\n$".
2014.04.12 21:40:42 1: DEBUG>  Checking device ADC6 with class adc...
2014.04.12 21:40:42 1: DEBUG>  Checking device PORT91C1 with class ECMD91C...
2014.04.12 21:40:42 1: DEBUG>   Trying to find a match in class ECMD91C...
2014.04.12 21:40:42 1: DEBUG>      Trying to match reading power with regular expressing "port 2 0 \d\n$".
2014.04.12 21:40:42 1: DEBUG>  Checking device PORT91C8 with class ECMD91C...
2014.04.12 21:40:42 1: DEBUG>   Trying to find a match in class ECMD91C...
2014.04.12 21:40:42 1: DEBUG>      Trying to match reading power with regular expressing "port 2 7 \d\n$".
2014.04.12 21:40:42 1: DEBUG>  Checking device PORT91C2 with class ECMD91C...
2014.04.12 21:40:42 1: DEBUG>   Trying to find a match in class ECMD91C...
2014.04.12 21:40:42 1: DEBUG>      Trying to match reading power with regular expressing "port 2 1 \d\n$".
2014.04.12 21:40:42 1: DEBUG>  Checking device PORT91A2 with class ECMD91A...
2014.04.12 21:40:42 1: DEBUG>   Trying to find a match in class ECMD91A...
2014.04.12 21:40:42 1: DEBUG>      Trying to match reading power with regular expressing "port 0 1 \d\n$".
2014.04.12 21:40:42 1: DEBUG>  Checking device PORT91A4 with class ECMD91A...
2014.04.12 21:40:42 1: DEBUG>   Trying to find a match in class ECMD91A...
2014.04.12 21:40:42 1: DEBUG>      Trying to match reading power with regular expressing "port 0 3 \d\n$".
2014.04.12 21:40:42 1: DEBUG>  Checking device ADC5 with class adc...
2014.04.12 21:40:42 1: DEBUG>  Checking device PORT91A1 with class ECMD91A...
2014.04.12 21:40:42 1: DEBUG>   Trying to find a match in class ECMD91A...
2014.04.12 21:40:42 1: DEBUG>      Trying to match reading power with regular expressing "port 0 0 \d\n$".
2014.04.12 21:41:00 1: DEBUG>Trying to find a match for "port 0 0 1\nport 0 1 1\nport 0 2 1\nport 0 3 0\n"
2014.04.12 21:41:00 1: DEBUG>  Checking device PORT91C4 with class ECMD91C...
2014.04.12 21:41:00 1: DEBUG>   Trying to find a match in class ECMD91C...
2014.04.12 21:41:00 1: DEBUG>      Trying to match reading power with regular expressing "port 2 3 \d\n$".
2014.04.12 21:41:00 1: DEBUG>  Checking device PORT91C3 with class ECMD91C...
2014.04.12 21:41:00 1: DEBUG>   Trying to find a match in class ECMD91C...
2014.04.12 21:41:00 1: DEBUG>      Trying to match reading power with regular expressing "port 2 2 \d\n$".
2014.04.12 21:41:00 1: DEBUG>  Checking device PORT91C7 with class ECMD91C...
2014.04.12 21:41:00 1: DEBUG>   Trying to find a match in class ECMD91C...
2014.04.12 21:41:00 1: DEBUG>      Trying to match reading power with regular expressing "port 2 6 \d\n$".
2014.04.12 21:41:00 1: DEBUG>  Checking device PORT91A3 with class ECMD91A...
2014.04.12 21:41:00 1: DEBUG>   Trying to find a match in class ECMD91A...
2014.04.12 21:41:00 1: DEBUG>      Trying to match reading power with regular expressing "port 0 2 \d\n$".
2014.04.12 21:41:00 1: DEBUG>  Checking device ADC7 with class adc...
2014.04.12 21:41:00 1: DEBUG>  Checking device PORT91C6 with class ECMD91C...
2014.04.12 21:41:00 1: DEBUG>   Trying to find a match in class ECMD91C...
2014.04.12 21:41:00 1: DEBUG>      Trying to match reading power with regular expressing "port 2 5 \d\n$".
2014.04.12 21:41:00 1: DEBUG>  Checking device PORT91C5 with class ECMD91C...
2014.04.12 21:41:00 1: DEBUG>   Trying to find a match in class ECMD91C...
2014.04.12 21:41:00 1: DEBUG>      Trying to match reading power with regular expressing "port 2 4 \d\n$".
2014.04.12 21:41:00 1: DEBUG>  Checking device ADC6 with class adc...
2014.04.12 21:41:00 1: DEBUG>  Checking device PORT91C1 with class ECMD91C...
2014.04.12 21:41:00 1: DEBUG>   Trying to find a match in class ECMD91C...
2014.04.12 21:41:00 1: DEBUG>      Trying to match reading power with regular expressing "port 2 0 \d\n$".
2014.04.12 21:41:00 1: DEBUG>  Checking device PORT91C8 with class ECMD91C...
2014.04.12 21:41:00 1: DEBUG>   Trying to find a match in class ECMD91C...
2014.04.12 21:41:00 1: DEBUG>      Trying to match reading power with regular expressing "port 2 7 \d\n$".
2014.04.12 21:41:00 1: DEBUG>  Checking device PORT91C2 with class ECMD91C...
2014.04.12 21:41:00 1: DEBUG>   Trying to find a match in class ECMD91C...
2014.04.12 21:41:00 1: DEBUG>      Trying to match reading power with regular expressing "port 2 1 \d\n$".
2014.04.12 21:41:00 1: DEBUG>  Checking device PORT91A2 with class ECMD91A...
2014.04.12 21:41:00 1: DEBUG>   Trying to find a match in class ECMD91A...
2014.04.12 21:41:00 1: DEBUG>      Trying to match reading power with regular expressing "port 0 1 \d\n$".
2014.04.12 21:41:00 1: DEBUG>  Checking device PORT91A4 with class ECMD91A...
2014.04.12 21:41:00 1: DEBUG>   Trying to find a match in class ECMD91A...
2014.04.12 21:41:00 1: DEBUG>      Trying to match reading power with regular expressing "port 0 3 \d\n$".
2014.04.12 21:41:00 1: DEBUG>  Checking device ADC5 with class adc...
2014.04.12 21:41:00 1: DEBUG>  Checking device PORT91A1 with class ECMD91A...
2014.04.12 21:41:00 1: DEBUG>   Trying to find a match in class ECMD91A...
2014.04.12 21:41:00 1: DEBUG>      Trying to match reading power with regular expressing "port 0 0 \d\n$".
2014.04.12 21:41:08 1: DEBUG>Trying to find a match for "port 2 5 1\n"
2014.04.12 21:41:08 1: DEBUG>  Checking device PORT91C4 with class ECMD91C...
2014.04.12 21:41:08 1: DEBUG>   Trying to find a match in class ECMD91C...
2014.04.12 21:41:08 1: DEBUG>      Trying to match reading power with regular expressing "port 2 3 \d\n$".
2014.04.12 21:41:08 1: DEBUG>  Checking device PORT91C3 with class ECMD91C...
2014.04.12 21:41:08 1: DEBUG>   Trying to find a match in class ECMD91C...
2014.04.12 21:41:08 1: DEBUG>      Trying to match reading power with regular expressing "port 2 2 \d\n$".
2014.04.12 21:41:08 1: DEBUG>  Checking device PORT91C7 with class ECMD91C...
2014.04.12 21:41:08 1: DEBUG>   Trying to find a match in class ECMD91C...
2014.04.12 21:41:08 1: DEBUG>      Trying to match reading power with regular expressing "port 2 6 \d\n$".
2014.04.12 21:41:08 1: DEBUG>  Checking device PORT91A3 with class ECMD91A...
2014.04.12 21:41:08 1: DEBUG>   Trying to find a match in class ECMD91A...
2014.04.12 21:41:08 1: DEBUG>      Trying to match reading power with regular expressing "port 0 2 \d\n$".
2014.04.12 21:41:08 1: DEBUG>  Checking device ADC7 with class adc...
2014.04.12 21:41:08 1: DEBUG>  Checking device PORT91C6 with class ECMD91C...
2014.04.12 21:41:08 1: DEBUG>   Trying to find a match in class ECMD91C...
2014.04.12 21:41:08 1: DEBUG>      Trying to match reading power with regular expressing "port 2 5 \d\n$".
2014.04.12 21:41:08 1: DEBUG>  Checking device PORT91C5 with class ECMD91C...
2014.04.12 21:41:08 1: DEBUG>   Trying to find a match in class ECMD91C...
2014.04.12 21:41:08 1: DEBUG>      Trying to match reading power with regular expressing "port 2 4 \d\n$".
2014.04.12 21:41:08 1: DEBUG>  Checking device ADC6 with class adc...
2014.04.12 21:41:08 1: DEBUG>  Checking device PORT91C1 with class ECMD91C...
2014.04.12 21:41:08 1: DEBUG>   Trying to find a match in class ECMD91C...
2014.04.12 21:41:08 1: DEBUG>      Trying to match reading power with regular expressing "port 2 0 \d\n$".
2014.04.12 21:41:08 1: DEBUG>  Checking device PORT91C8 with class ECMD91C...
2014.04.12 21:41:08 1: DEBUG>   Trying to find a match in class ECMD91C...
2014.04.12 21:41:08 1: DEBUG>      Trying to match reading power with regular expressing "port 2 7 \d\n$".
2014.04.12 21:41:08 1: DEBUG>  Checking device PORT91C2 with class ECMD91C...
2014.04.12 21:41:08 1: DEBUG>   Trying to find a match in class ECMD91C...
2014.04.12 21:41:08 1: DEBUG>      Trying to match reading power with regular expressing "port 2 1 \d\n$".
2014.04.12 21:41:08 1: DEBUG>  Checking device PORT91A2 with class ECMD91A...
2014.04.12 21:41:08 1: DEBUG>   Trying to find a match in class ECMD91A...
2014.04.12 21:41:08 1: DEBUG>      Trying to match reading power with regular expressing "port 0 1 \d\n$".
2014.04.12 21:41:08 1: DEBUG>  Checking device PORT91A4 with class ECMD91A...
2014.04.12 21:41:08 1: DEBUG>   Trying to find a match in class ECMD91A...
2014.04.12 21:41:08 1: DEBUG>      Trying to match reading power with regular expressing "port 0 3 \d\n$".
2014.04.12 21:41:08 1: DEBUG>  Checking device ADC5 with class adc...
2014.04.12 21:41:08 1: DEBUG>  Checking device PORT91A1 with class ECMD91A...
2014.04.12 21:41:08 1: DEBUG>   Trying to find a match in class ECMD91A...
2014.04.12 21:41:08 1: DEBUG>      Trying to match reading power with regular expressing "port 0 0 \d\n$".
2014.04.12 21:42:00 1: DEBUG>Trying to find a match for "port 0 0 1\nport 0 1 1\nport 0 2 1\nport 0 3 0\n"
2014.04.12 21:42:00 1: DEBUG>  Checking device PORT91C4 with class ECMD91C...
2014.04.12 21:42:00 1: DEBUG>   Trying to find a match in class ECMD91C...
2014.04.12 21:42:00 1: DEBUG>      Trying to match reading power with regular expressing "port 2 3 \d\n$".
2014.04.12 21:42:00 1: DEBUG>  Checking device PORT91C3 with class ECMD91C...
2014.04.12 21:42:00 1: DEBUG>   Trying to find a match in class ECMD91C...
2014.04.12 21:42:00 1: DEBUG>      Trying to match reading power with regular expressing "port 2 2 \d\n$".
2014.04.12 21:42:00 1: DEBUG>  Checking device PORT91C7 with class ECMD91C...
2014.04.12 21:42:00 1: DEBUG>   Trying to find a match in class ECMD91C...
2014.04.12 21:42:00 1: DEBUG>      Trying to match reading power with regular expressing "port 2 6 \d\n$".
2014.04.12 21:42:00 1: DEBUG>  Checking device PORT91A3 with class ECMD91A...
2014.04.12 21:42:00 1: DEBUG>   Trying to find a match in class ECMD91A...
2014.04.12 21:42:00 1: DEBUG>      Trying to match reading power with regular expressing "port 0 2 \d\n$".
2014.04.12 21:42:00 1: DEBUG>  Checking device ADC7 with class adc...
2014.04.12 21:42:00 1: DEBUG>  Checking device PORT91C6 with class ECMD91C...
2014.04.12 21:42:00 1: DEBUG>   Trying to find a match in class ECMD91C...
2014.04.12 21:42:00 1: DEBUG>      Trying to match reading power with regular expressing "port 2 5 \d\n$".
2014.04.12 21:42:00 1: DEBUG>  Checking device PORT91C5 with class ECMD91C...
2014.04.12 21:42:00 1: DEBUG>   Trying to find a match in class ECMD91C...
2014.04.12 21:42:00 1: DEBUG>      Trying to match reading power with regular expressing "port 2 4 \d\n$".
2014.04.12 21:42:00 1: DEBUG>  Checking device ADC6 with class adc...
2014.04.12 21:42:00 1: DEBUG>  Checking device PORT91C1 with class ECMD91C...
2014.04.12 21:42:00 1: DEBUG>   Trying to find a match in class ECMD91C...
2014.04.12 21:42:00 1: DEBUG>      Trying to match reading power with regular expressing "port 2 0 \d\n$".
2014.04.12 21:42:00 1: DEBUG>  Checking device PORT91C8 with class ECMD91C...
2014.04.12 21:42:00 1: DEBUG>   Trying to find a match in class ECMD91C...
2014.04.12 21:42:00 1: DEBUG>      Trying to match reading power with regular expressing "port 2 7 \d\n$".
2014.04.12 21:42:00 1: DEBUG>  Checking device PORT91C2 with class ECMD91C...
2014.04.12 21:42:00 1: DEBUG>   Trying to find a match in class ECMD91C...
2014.04.12 21:42:00 1: DEBUG>      Trying to match reading power with regular expressing "port 2 1 \d\n$".
2014.04.12 21:42:00 1: DEBUG>  Checking device PORT91A2 with class ECMD91A...
2014.04.12 21:42:00 1: DEBUG>   Trying to find a match in class ECMD91A...
2014.04.12 21:42:00 1: DEBUG>      Trying to match reading power with regular expressing "port 0 1 \d\n$".
2014.04.12 21:42:00 1: DEBUG>  Checking device PORT91A4 with class ECMD91A...
2014.04.12 21:42:00 1: DEBUG>   Trying to find a match in class ECMD91A...
2014.04.12 21:42:00 1: DEBUG>      Trying to match reading power with regular expressing "port 0 3 \d\n$".
2014.04.12 21:42:00 1: DEBUG>  Checking device ADC5 with class adc...
2014.04.12 21:42:00 1: DEBUG>  Checking device PORT91A1 with class ECMD91A...
2014.04.12 21:42:00 1: DEBUG>   Trying to find a match in class ECMD91A...
2014.04.12 21:42:00 1: DEBUG>      Trying to match reading power with regular expressing "port 0 0 \d\n$".
2014.04.12 21:43:00 1: DEBUG>Trying to find a match for "port 0 0 1\nport 0 1 1\nport 0 2 1\nport 0 3 0\n"
2014.04.12 21:43:00 1: DEBUG>  Checking device PORT91C4 with class ECMD91C...
2014.04.12 21:43:00 1: DEBUG>   Trying to find a match in class ECMD91C...
2014.04.12 21:43:00 1: DEBUG>      Trying to match reading power with regular expressing "port 2 3 \d\n$".
2014.04.12 21:43:00 1: DEBUG>  Checking device PORT91C3 with class ECMD91C...
2014.04.12 21:43:00 1: DEBUG>   Trying to find a match in class ECMD91C...
2014.04.12 21:43:00 1: DEBUG>      Trying to match reading power with regular expressing "port 2 2 \d\n$".
2014.04.12 21:43:00 1: DEBUG>  Checking device PORT91C7 with class ECMD91C...
2014.04.12 21:43:00 1: DEBUG>   Trying to find a match in class ECMD91C...
2014.04.12 21:43:00 1: DEBUG>      Trying to match reading power with regular expressing "port 2 6 \d\n$".
2014.04.12 21:43:00 1: DEBUG>  Checking device PORT91A3 with class ECMD91A...
2014.04.12 21:43:00 1: DEBUG>   Trying to find a match in class ECMD91A...
2014.04.12 21:43:00 1: DEBUG>      Trying to match reading power with regular expressing "port 0 2 \d\n$".
2014.04.12 21:43:00 1: DEBUG>  Checking device ADC7 with class adc...
2014.04.12 21:43:00 1: DEBUG>  Checking device PORT91C6 with class ECMD91C...
2014.04.12 21:43:00 1: DEBUG>   Trying to find a match in class ECMD91C...
2014.04.12 21:43:00 1: DEBUG>      Trying to match reading power with regular expressing "port 2 5 \d\n$".
2014.04.12 21:43:00 1: DEBUG>  Checking device PORT91C5 with class ECMD91C...
2014.04.12 21:43:00 1: DEBUG>   Trying to find a match in class ECMD91C...
2014.04.12 21:43:00 1: DEBUG>      Trying to match reading power with regular expressing "port 2 4 \d\n$".
2014.04.12 21:43:00 1: DEBUG>  Checking device ADC6 with class adc...
2014.04.12 21:43:00 1: DEBUG>  Checking device PORT91C1 with class ECMD91C...
2014.04.12 21:43:00 1: DEBUG>   Trying to find a match in class ECMD91C...
2014.04.12 21:43:00 1: DEBUG>      Trying to match reading power with regular expressing "port 2 0 \d\n$".
2014.04.12 21:43:00 1: DEBUG>  Checking device PORT91C8 with class ECMD91C...
2014.04.12 21:43:00 1: DEBUG>   Trying to find a match in class ECMD91C...
2014.04.12 21:43:00 1: DEBUG>      Trying to match reading power with regular expressing "port 2 7 \d\n$".
2014.04.12 21:43:00 1: DEBUG>  Checking device PORT91C2 with class ECMD91C...
2014.04.12 21:43:00 1: DEBUG>   Trying to find a match in class ECMD91C...
2014.04.12 21:43:00 1: DEBUG>      Trying to match reading power with regular expressing "port 2 1 \d\n$".
2014.04.12 21:43:00 1: DEBUG>  Checking device PORT91A2 with class ECMD91A...
2014.04.12 21:43:00 1: DEBUG>   Trying to find a match in class ECMD91A...
2014.04.12 21:43:00 1: DEBUG>      Trying to match reading power with regular expressing "port 0 1 \d\n$".
2014.04.12 21:43:00 1: DEBUG>  Checking device PORT91A4 with class ECMD91A...
2014.04.12 21:43:00 1: DEBUG>   Trying to find a match in class ECMD91A...
2014.04.12 21:43:00 1: DEBUG>      Trying to match reading power with regular expressing "port 0 3 \d\n$".
2014.04.12 21:43:00 1: DEBUG>  Checking device ADC5 with class adc...
2014.04.12 21:43:00 1: DEBUG>  Checking device PORT91A1 with class ECMD91A...
2014.04.12 21:43:00 1: DEBUG>   Trying to find a match in class ECMD91A...
2014.04.12 21:43:00 1: DEBUG>      Trying to match reading power with regular expressing "port 0 0 \d\n$".
2014.04.12 21:44:00 1: DEBUG>Trying to find a match for "port 0 0 1\nport 0 1 1\nport 0 2 1\nport 0 3 0\n"
2014.04.12 21:44:00 1: DEBUG>  Checking device PORT91C4 with class ECMD91C...
2014.04.12 21:44:00 1: DEBUG>   Trying to find a match in class ECMD91C...
2014.04.12 21:44:00 1: DEBUG>      Trying to match reading power with regular expressing "port 2 3 \d\n$".
2014.04.12 21:44:00 1: DEBUG>  Checking device PORT91C3 with class ECMD91C...
2014.04.12 21:44:00 1: DEBUG>   Trying to find a match in class ECMD91C...
2014.04.12 21:44:00 1: DEBUG>      Trying to match reading power with regular expressing "port 2 2 \d\n$".
2014.04.12 21:44:00 1: DEBUG>  Checking device PORT91C7 with class ECMD91C...
2014.04.12 21:44:00 1: DEBUG>   Trying to find a match in class ECMD91C...
2014.04.12 21:44:00 1: DEBUG>      Trying to match reading power with regular expressing "port 2 6 \d\n$".
2014.04.12 21:44:00 1: DEBUG>  Checking device PORT91A3 with class ECMD91A...
2014.04.12 21:44:00 1: DEBUG>   Trying to find a match in class ECMD91A...
2014.04.12 21:44:00 1: DEBUG>      Trying to match reading power with regular expressing "port 0 2 \d\n$".
2014.04.12 21:44:00 1: DEBUG>  Checking device ADC7 with class adc...
2014.04.12 21:44:00 1: DEBUG>  Checking device PORT91C6 with class ECMD91C...
2014.04.12 21:44:00 1: DEBUG>   Trying to find a match in class ECMD91C...
2014.04.12 21:44:00 1: DEBUG>      Trying to match reading power with regular expressing "port 2 5 \d\n$".
2014.04.12 21:44:00 1: DEBUG>  Checking device PORT91C5 with class ECMD91C...
2014.04.12 21:44:00 1: DEBUG>   Trying to find a match in class ECMD91C...
2014.04.12 21:44:00 1: DEBUG>      Trying to match reading power with regular expressing "port 2 4 \d\n$".
2014.04.12 21:44:00 1: DEBUG>  Checking device ADC6 with class adc...
2014.04.12 21:44:00 1: DEBUG>  Checking device PORT91C1 with class ECMD91C...
2014.04.12 21:44:00 1: DEBUG>   Trying to find a match in class ECMD91C...
2014.04.12 21:44:00 1: DEBUG>      Trying to match reading power with regular expressing "port 2 0 \d\n$".
2014.04.12 21:44:00 1: DEBUG>  Checking device PORT91C8 with class ECMD91C...
2014.04.12 21:44:00 1: DEBUG>   Trying to find a match in class ECMD91C...
2014.04.12 21:44:00 1: DEBUG>      Trying to match reading power with regular expressing "port 2 7 \d\n$".
2014.04.12 21:44:00 1: DEBUG>  Checking device PORT91C2 with class ECMD91C...
2014.04.12 21:44:00 1: DEBUG>   Trying to find a match in class ECMD91C...
2014.04.12 21:44:00 1: DEBUG>      Trying to match reading power with regular expressing "port 2 1 \d\n$".
2014.04.12 21:44:00 1: DEBUG>  Checking device PORT91A2 with class ECMD91A...
2014.04.12 21:44:00 1: DEBUG>   Trying to find a match in class ECMD91A...
2014.04.12 21:44:00 1: DEBUG>      Trying to match reading power with regular expressing "port 0 1 \d\n$".
2014.04.12 21:44:00 1: DEBUG>  Checking device PORT91A4 with class ECMD91A...
2014.04.12 21:44:00 1: DEBUG>   Trying to find a match in class ECMD91A...
2014.04.12 21:44:00 1: DEBUG>      Trying to match reading power with regular expressing "port 0 3 \d\n$".
2014.04.12 21:44:00 1: DEBUG>  Checking device ADC5 with class adc...
2014.04.12 21:44:00 1: DEBUG>  Checking device PORT91A1 with class ECMD91A...
2014.04.12 21:44:00 1: DEBUG>   Trying to find a match in class ECMD91A...
2014.04.12 21:44:00 1: DEBUG>      Trying to match reading power with regular expressing "port 0 0 \d\n$".
2014.04.12 21:45:00 1: DEBUG>Trying to find a match for "port 0 0 1\nport 0 1 1\nport 0 2 1\nport 0 3 0\n"
2014.04.12 21:45:00 1: DEBUG>  Checking device PORT91C4 with class ECMD91C...
2014.04.12 21:45:00 1: DEBUG>   Trying to find a match in class ECMD91C...
2014.04.12 21:45:00 1: DEBUG>      Trying to match reading power with regular expressing "port 2 3 \d\n$".
2014.04.12 21:45:00 1: DEBUG>  Checking device PORT91C3 with class ECMD91C...
2014.04.12 21:45:00 1: DEBUG>   Trying to find a match in class ECMD91C...
2014.04.12 21:45:00 1: DEBUG>      Trying to match reading power with regular expressing "port 2 2 \d\n$".
2014.04.12 21:45:00 1: DEBUG>  Checking device PORT91C7 with class ECMD91C...
2014.04.12 21:45:00 1: DEBUG>   Trying to find a match in class ECMD91C...
2014.04.12 21:45:00 1: DEBUG>      Trying to match reading power with regular expressing "port 2 6 \d\n$".
2014.04.12 21:45:00 1: DEBUG>  Checking device PORT91A3 with class ECMD91A...
2014.04.12 21:45:00 1: DEBUG>   Trying to find a match in class ECMD91A...
2014.04.12 21:45:00 1: DEBUG>      Trying to match reading power with regular expressing "port 0 2 \d\n$".
2014.04.12 21:45:00 1: DEBUG>  Checking device ADC7 with class adc...
2014.04.12 21:45:00 1: DEBUG>  Checking device PORT91C6 with class ECMD91C...
2014.04.12 21:45:00 1: DEBUG>   Trying to find a match in class ECMD91C...
2014.04.12 21:45:00 1: DEBUG>      Trying to match reading power with regular expressing "port 2 5 \d\n$".
2014.04.12 21:45:00 1: DEBUG>  Checking device PORT91C5 with class ECMD91C...
2014.04.12 21:45:00 1: DEBUG>   Trying to find a match in class ECMD91C...
2014.04.12 21:45:00 1: DEBUG>      Trying to match reading power with regular expressing "port 2 4 \d\n$".
2014.04.12 21:45:00 1: DEBUG>  Checking device ADC6 with class adc...
2014.04.12 21:45:00 1: DEBUG>  Checking device PORT91C1 with class ECMD91C...
2014.04.12 21:45:00 1: DEBUG>   Trying to find a match in class ECMD91C...
2014.04.12 21:45:00 1: DEBUG>      Trying to match reading power with regular expressing "port 2 0 \d\n$".
2014.04.12 21:45:00 1: DEBUG>  Checking device PORT91C8 with class ECMD91C...
2014.04.12 21:45:00 1: DEBUG>   Trying to find a match in class ECMD91C...
2014.04.12 21:45:00 1: DEBUG>      Trying to match reading power with regular expressing "port 2 7 \d\n$".
2014.04.12 21:45:00 1: DEBUG>  Checking device PORT91C2 with class ECMD91C...
2014.04.12 21:45:00 1: DEBUG>   Trying to find a match in class ECMD91C...
2014.04.12 21:45:00 1: DEBUG>      Trying to match reading power with regular expressing "port 2 1 \d\n$".


Tom_S
RaspberryPI2 + pilight, 3x AVR-NetIO, LW12, LW12HX, LW12FC; MAX-Lan, ESP8266, Arduino, H801, Neopixel, Solaredge, Modbus

Dr. Boris Neubert

Jajaa, die C-Geräte haben ja auch eine andere Classdef. Du mußt die ECMD91C.classdef auch noch analog zur ECMD91A.classdef anpassen.

Viele Grüße
Boris
Globaler Moderator, Developer, aktives Mitglied des FHEM e.V. (Marketing, Verwaltung)
Bitte keine unaufgeforderten privaten Nachrichten!

Tom_S

schon klar, habe ich auch gemacht. Ich habe beide classdef angepasst. Ich denke es liegt daran das ein "port .*" möglich ist. Es wird alles was kommt eingelesen. Es müsste ein Ende zB. durch \n erkannt werden, und was danach kommt all neuer match.
RaspberryPI2 + pilight, 3x AVR-NetIO, LW12, LW12HX, LW12FC; MAX-Lan, ESP8266, Arduino, H801, Neopixel, Solaredge, Modbus

Dr. Boris Neubert

Kannst Du bitte beide classdefs nochmal hier posten? Die ECMD91A.classdef geht bei mir einwandfrei (mit einem per netcat emulierten Device).

Grüße
Boris
Globaler Moderator, Developer, aktives Mitglied des FHEM e.V. (Marketing, Verwaltung)
Bitte keine unaufgeforderten privaten Nachrichten!

Tom_S

sorry, hatte einen Fehler in der postproc.
geht aber trotzdem nicht. Im STATE steht "power on" oder "power off", es kommt aber nur das erste Kommando durch. Bei Einzelkomandos oK aber das zweite geht verloren.

hier die classdefs
RaspberryPI2 + pilight, 3x AVR-NetIO, LW12, LW12HX, LW12FC; MAX-Lan, ESP8266, Arduino, H801, Neopixel, Solaredge, Modbus

Dr. Boris Neubert

Mach mal das $ in
reading power match "port %port %pin \d\n$"
weg.
B.   
Globaler Moderator, Developer, aktives Mitglied des FHEM e.V. (Marketing, Verwaltung)
Bitte keine unaufgeforderten privaten Nachrichten!

Tom_S

ja oK. Das war es. jetzt geht es. Aber es wird kein event erzeugt. Somit erhalte ich den STATE erst wenn ich die Seite aktualisiere.

Gruß
RaspberryPI2 + pilight, 3x AVR-NetIO, LW12, LW12HX, LW12FC; MAX-Lan, ESP8266, Arduino, H801, Neopixel, Solaredge, Modbus

Dr. Boris Neubert

Prima.

Hol Dir noch das neue ECMDDevice.pm aus dem Ankündigungs-Posting - das macht Events.

Grüße
Boris
Globaler Moderator, Developer, aktives Mitglied des FHEM e.V. (Marketing, Verwaltung)
Bitte keine unaufgeforderten privaten Nachrichten!

Tom_S

super so geht es.
Eins noch, es gab mal einen Trade weil das Symbol nur ein und nicht wieder ausschaltet. Ich habe damals lange gesucht und dann das Leerzeichen in (aktuelle Version Zeile 117) vor $value gelöscht. dann ging es.
Ist das notwendig, oder kann man das ändern? Wenn ich es wieder raus nehme funktioniert alles.

Gruß
RaspberryPI2 + pilight, 3x AVR-NetIO, LW12, LW12HX, LW12FC; MAX-Lan, ESP8266, Arduino, H801, Neopixel, Solaredge, Modbus

kpwg

Zitat von: Tom_S am 12 April 2014, 23:02:39
Eins noch, es gab mal einen Trade weil das Symbol nur ein und nicht wieder ausschaltet. Ich habe damals lange gesucht und dann das Leerzeichen in (aktuelle Version Zeile 117) vor $value gelöscht. dann ging es.
Ist das notwendig, oder kann man das ändern? Wenn ich es wieder raus nehme funktioniert alles.

Guten Morgen,

stimmt ... da war was! Habe mir damals so beholfen, das devStateIcon mit on.*:on:off off.*:off:on zu versehen. Das funktioniert sehr gut.
Hier stand das: http://forum.fhem.de/index.php/topic,10963.msg74636.html#msg74636
Eine eigenmächtige Änderung im Modul selbst halte ich immer für den allerletzten Ausweg, wenn etwas überhaupt nicht umsetzbar wäre. Vielleicht kann Boris nochmal schauen, wie das zentral gelöst werden könnte. Wenn nicht => s.o.  ::)

Danke Euch beiden schon mal für die rege Diskussion gestern abend. Ich kam zwar nicht an mein System, habe für mich aber ne Menge mitgenommen, was ich die nächsten Tage in classdefs umsetze und hier dann wieder mit Beispiel und Bildchen dokumentiere.

Viele Grüße, Ricardo

Dr. Boris Neubert

Hallo,

wenn man ein Kommando CMD auf ein Gerät absetzt mit Wert VALUE, wird ein Event CMD: VALUE für das Gerät generiert. Für den (neuen) Readings-Mechanismus im ECMDDevice analog ein Event READING: VALUE.

In das state-Reading wird CMD VALUE bzw. READING VALUE geschrieben.

Wenn VALUE definiert aber leer ist, wird trotzdem ein Leerzeichen gesetzt.

Ich habe das dahingehend geändert, daß kein Leerzeichen kommt, wenn VALUE undefiniert oder leer ist.

Siehe bitte Ankündigungsposting.

Grüße
Boris

Globaler Moderator, Developer, aktives Mitglied des FHEM e.V. (Marketing, Verwaltung)
Bitte keine unaufgeforderten privaten Nachrichten!