Neues Modul für Geräte mit Modbus Schnittstelle über RS232 bzw. RS485

Begonnen von StefanStrobel, 12 Juli 2014, 14:50:22

Vorheriges Thema - Nächstes Thema

StefanStrobel

Hallo Wolfgang,

das FF kommt aus der Modbus-Spezifikation (siehe http://www.modbus.org/specs.php):
Zitat
The requested ON/OFF state is specified by a constant in the Coil Value field. A value of 0XFF00 requests the coil to be ON. A value of 0X0000 requests the coil to be off. All other values are illegal and will not affect the coil.
Manche Gerätehersteller scheinen das nicht gelesen zu haben. Was für eine Software verwendest Du denn unter Windows? Die sollte eigentlich auch FF00 schicken ...
Ich Bau ein Attribut ein, mit dem man das wählen kann...

Gruss
    Stefan

wthiess

Hallo Stefan!

Hier die fhem.cfg und die Logdatei vom funktionierenden System.
Vieleicht findest du hier was raus. Hier ist das Relais auf ID3 und der USB-Stick heisst Zaehler.

attr global userattr cmdIcon devStateIcon devStateStyle icon sortby webCmd widgetOverride
attr global autoload_undefined_devices 1
attr global backupdir /nas/fhem/backup
attr global logfile ./log/fhem-%Y-%m.log
attr global modpath .
attr global motd SecurityCheck:\
\
WEB,WEBphone,WEBtablet has no associated allowed device with basicAuth.\
telnetPort has no associated allowed device with password/globalpassword.\
\
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 statefile ./log/fhem.save
attr global updateInBackground 1
attr global verbose 5
#http://help-quickfhem.jimdo.com/tutorial-1/readings/

#attr global userattr devStateIcon icon webCmd set setList sortby

define telnetPort telnet 7072 global


define WEB FHEMWEB 8083 global
attr WEB editConfig 1
attr WEB longpoll 1
attr WEB menuEntries Backup,/fhem?cmd=backup
attr WEB room hidden
attr WEB stylesheetPrefix touchpad
define allowed_WEB allowed
attr allowed_WEB validFor WEB
#attr allowed_WEB basicAuth d3RoaWVzczoyMzA1MTk2NjY2

define WEBphone FHEMWEB 8084 global
attr WEBphone room hidden
attr WEBphone stylesheetPrefix darktouchpad
define allowed_WEBphone allowed
attr allowed_WEBphone validFor WEBphone
#attr allowed_WEBphone basicAuth d3RoaWVzczoyMzA1MTk2NjY2


define WEBtablet FHEMWEB 8085 global
attr WEBtablet room hidden
attr WEBtablet stylesheetPrefix darktouchpad
define allowed_WEBtablet allowed
attr allowed_WEBtablet validFor WEBtablet
#attr allowed_WEBtablet basicAuth d3RoaWVzczoyMzA1MTk2NjY2

# 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 1
attr autocreate filelog ./log/%NAME-%Y.log

define eventTypes eventTypes ./log/eventTypes.txt

# Disable this to avoid looking for new USB devices on startup
define initialUsbCheck notify Diode:Pinlevel:.*|Thermometer:.*|global:INITIALIZED usb create




#Modebus#####################################################

#Zähler und Relais
define Zaehler Modbus /dev/serial/by-id/usb-1a86_USB2.0-Serial-if00-port0@9600,8,N,1



#Gartenbewässerung
define R2 ModbusAttr 3 60
attr R2 userattr IODev dev-c-combine dev-c-defPoll obj-c2-hint obj-c2-reading obj-c2-set stateFormat webCmd
attr R2 IODev Zaehler
attr R2 alias Beet
attr R2 dev-c-combine 5
attr R2 dev-c-defPoll 1
attr R2 group Bewässerung
attr R2 obj-c2-hint 0,1
attr R2 obj-c2-reading Relais2
attr R2 obj-c2-set 1
attr R2 room Aussenbereich,Garten
attr R2 stateFormat Relais2
attr R2 webCmd Relais2

#################################
#Sprechanlage

#GlockeWerkstadt
define R1 ModbusAttr 3 5
attr R1 userattr IODev dev-c-combine dev-c-defPoll obj-c1-hint obj-c1-reading obj-c1-set stateFormat webCmd
attr R1 IODev Zaehler
attr R1 dev-c-combine 5
attr R1 dev-c-defPoll 1
attr R1 obj-c1-hint 0,1
attr R1 obj-c1-reading Relais1
attr R1 obj-c1-set 1
attr R1 room Sprechanlage
attr R1 stateFormat Relais1
attr R1 webCmd Relais1



2017.07.13 10:36:16 5: Initializing Type Library:
2017.07.13 10:36:16 1: Including fhem.cfg
2017.07.13 10:36:16 5: Cmd: >attr global userattr cmdIcon devStateIcon devStateStyle icon sortby webCmd widgetOverride<
2017.07.13 10:36:16 5: Cmd: >attr global autoload_undefined_devices 1<
2017.07.13 10:36:16 5: Cmd: >attr global backupdir /nas/fhem/backup<
2017.07.13 10:36:16 5: Cmd: >attr global logfile ./log/fhem-%Y-%m.log<
2017.07.13 10:36:16 5: Cmd: >attr global modpath .<
2017.07.13 10:36:16 5: Cmd: >attr global motd SecurityCheck:

WEB,WEBphone,WEBtablet has no associated allowed device with basicAuth.
telnetPort has no associated allowed device with password/globalpassword.

Restart FHEM for a new check if the problem is fixed,
or set the global attribute motd to none to supress this message.
<
2017.07.13 10:36:16 5: Cmd: >attr global statefile ./log/fhem.save<
2017.07.13 10:36:16 5: Cmd: >attr global updateInBackground 1<
2017.07.13 10:36:16 5: Cmd: >attr global verbose 5<
2017.07.13 10:36:16 5: Cmd: >define telnetPort telnet 7072 global<
2017.07.13 10:36:16 5: Loading ./FHEM/98_telnet.pm
2017.07.13 10:36:16 3: telnetPort: port 7072 opened
2017.07.13 10:36:16 5: Cmd: >define WEB FHEMWEB 8083 global<
2017.07.13 10:36:16 5: Loading ./FHEM/01_FHEMWEB.pm
2017.07.13 10:36:17 3: WEB: port 8083 opened
2017.07.13 10:36:17 5: Cmd: >attr WEB editConfig 1<
2017.07.13 10:36:17 5: Cmd: >attr WEB longpoll 1<
2017.07.13 10:36:17 5: Cmd: >attr WEB menuEntries Backup,/fhem?cmd=backup<
2017.07.13 10:36:17 5: Cmd: >attr WEB room hidden<
2017.07.13 10:36:17 5: Cmd: >attr WEB stylesheetPrefix touchpad<
2017.07.13 10:36:17 5: Cmd: >define allowed_WEB allowed<
2017.07.13 10:36:17 5: Loading ./FHEM/96_allowed.pm
2017.07.13 10:36:17 5: Cmd: >attr allowed_WEB validFor WEB<
2017.07.13 10:36:17 5: Cmd: >define WEBphone FHEMWEB 8084 global<
2017.07.13 10:36:17 3: WEBphone: port 8084 opened
2017.07.13 10:36:17 5: Cmd: >attr WEBphone room hidden<
2017.07.13 10:36:17 5: Cmd: >attr WEBphone stylesheetPrefix darktouchpad<
2017.07.13 10:36:17 5: Cmd: >define allowed_WEBphone allowed<
2017.07.13 10:36:17 5: Cmd: >attr allowed_WEBphone validFor WEBphone<
2017.07.13 10:36:17 5: Cmd: >define WEBtablet FHEMWEB 8085 global<
2017.07.13 10:36:17 3: WEBtablet: port 8085 opened
2017.07.13 10:36:17 5: Cmd: >attr WEBtablet room hidden<
2017.07.13 10:36:17 5: Cmd: >attr WEBtablet stylesheetPrefix darktouchpad<
2017.07.13 10:36:17 5: Cmd: >define allowed_WEBtablet allowed<
2017.07.13 10:36:17 5: Cmd: >attr allowed_WEBtablet validFor WEBtablet<
2017.07.13 10:36:17 5: Cmd: >define Logfile FileLog ./log/fhem-%Y-%m.log fakelog<
2017.07.13 10:36:17 5: Loading ./FHEM/92_FileLog.pm
2017.07.13 10:36:17 5: Cmd: >define autocreate autocreate<
2017.07.13 10:36:17 5: Loading ./FHEM/98_autocreate.pm
2017.07.13 10:36:17 5: Cmd: >attr autocreate disable 1<
2017.07.13 10:36:17 5: Cmd: >attr autocreate filelog ./log/%NAME-%Y.log<
2017.07.13 10:36:17 5: Cmd: >define eventTypes eventTypes ./log/eventTypes.txt<
2017.07.13 10:36:17 5: Loading ./FHEM/91_eventTypes.pm
2017.07.13 10:36:17 2: eventTypes: loaded 739 events from ./log/eventTypes.txt
2017.07.13 10:36:17 5: Cmd: >define initialUsbCheck notify Diode:Pinlevel:.*|Thermometer:.*|global:INITIALIZED usb create<
2017.07.13 10:36:17 5: Loading ./FHEM/91_notify.pm
2017.07.13 10:36:17 5: Cmd: >define Zaehler Modbus /dev/serial/by-id/usb-1a86_USB2.0-Serial-if00-port0@9600,8,N,1<
2017.07.13 10:36:17 5: Loading ./FHEM/98_Modbus.pm
2017.07.13 10:36:17 5: Cmd: >define R2 ModbusAttr 3 60<
2017.07.13 10:36:17 5: Loading ./FHEM/98_ModbusAttr.pm
2017.07.13 10:36:17 3: R2: defined with id 3, interval 60, protocol RTU
2017.07.13 10:36:17 5: Cmd: >attr R2 userattr IODev dev-c-combine dev-c-defPoll obj-c2-hint obj-c2-reading obj-c2-set stateFormat webCmd<
2017.07.13 10:36:17 5: Cmd: >attr R2 IODev Zaehler<
2017.07.13 10:36:17 5: R2: Attr IODev - using Zaehler
2017.07.13 10:36:17 5: Cmd: >attr R2 alias Beet<
2017.07.13 10:36:17 5: Cmd: >attr R2 dev-c-combine 5<
2017.07.13 10:36:17 5: Cmd: >attr R2 dev-c-defPoll 1<
2017.07.13 10:36:17 5: Cmd: >attr R2 group Bewässerung<
2017.07.13 10:36:17 5: Cmd: >attr R2 obj-c2-hint 0,1<
2017.07.13 10:36:17 5: Cmd: >attr R2 obj-c2-reading Relais2<
2017.07.13 10:36:17 5: Cmd: >attr R2 obj-c2-set 1<
2017.07.13 10:36:17 5: Cmd: >attr R2 room Aussenbereich,Garten<
2017.07.13 10:36:17 5: Cmd: >attr R2 stateFormat Relais2<
2017.07.13 10:36:17 5: Cmd: >attr R2 webCmd Relais2<
2017.07.13 10:36:17 5: Cmd: >define R1 ModbusAttr 3 5<
2017.07.13 10:36:17 3: R1: defined with id 3, interval 5, protocol RTU
2017.07.13 10:36:17 5: Cmd: >attr R1 userattr IODev dev-c-combine dev-c-defPoll obj-c1-hint obj-c1-reading obj-c1-set stateFormat webCmd<
2017.07.13 10:36:17 5: Cmd: >attr R1 IODev Zaehler<
2017.07.13 10:36:17 5: R1: Attr IODev - using Zaehler
2017.07.13 10:36:17 5: Cmd: >attr R1 dev-c-combine 5<
2017.07.13 10:36:17 5: Cmd: >attr R1 dev-c-defPoll 1<
2017.07.13 10:36:17 5: Cmd: >attr R1 obj-c1-hint 0,1<
2017.07.13 10:36:17 5: Cmd: >attr R1 obj-c1-reading Relais1<
2017.07.13 10:36:17 5: Cmd: >attr R1 obj-c1-set 1<
2017.07.13 10:36:17 5: Cmd: >attr R1 room Sprechanlage<
2017.07.13 10:36:17 5: Cmd: >attr R1 stateFormat Relais1<
2017.07.13 10:36:17 5: Cmd: >attr R1 webCmd Relais1<
2017.07.13 10:36:17 1: Including ./log/fhem.save
2017.07.13 10:36:17 5: Cmd: >setstate Logfile active<
2017.07.13 10:36:17 5: Cmd: >setstate Logfile 2017-07-01 00:00:04 linesInTheFile 0<
2017.07.13 10:36:17 5: Cmd: >setstate R1 0<
2017.07.13 10:36:17 5: Cmd: >setstate R1 2017-07-13 10:36:09 Relais1 0<
2017.07.13 10:36:17 5: Cmd: >setstate R2 0<
2017.07.13 10:36:17 5: Cmd: >setstate R2 2017-06-16 16:14:32 Relais1 0<
2017.07.13 10:36:17 5: Cmd: >setstate R2 2017-07-13 10:35:54 Relais2 0<
2017.07.13 10:36:17 5: Cmd: >setstate Zaehler opened<
2017.07.13 10:36:17 5: Cmd: >setstate Zaehler 2017-07-13 10:35:53 state opened<
2017.07.13 10:36:17 5: Cmd: >setstate allowed_WEB validFor:WEB<
2017.07.13 10:36:17 5: Cmd: >setstate allowed_WEB 2017-07-13 10:35:52 state validFor:WEB<
2017.07.13 10:36:17 5: Cmd: >setstate allowed_WEBphone validFor:WEBphone<
2017.07.13 10:36:17 5: Cmd: >setstate allowed_WEBphone 2017-07-13 10:35:52 state validFor:WEBphone<
2017.07.13 10:36:17 5: Cmd: >setstate allowed_WEBtablet validFor:WEBtablet<
2017.07.13 10:36:17 5: Cmd: >setstate allowed_WEBtablet 2017-07-13 10:35:52 state validFor:WEBtablet<
2017.07.13 10:36:17 5: Cmd: >setstate autocreate disabled<
2017.07.13 10:36:17 5: Cmd: >setstate eventTypes active<
2017.07.13 10:36:17 5: Cmd: >setstate global no definition<
2017.07.13 10:36:17 5: Cmd: >setstate initialUsbCheck active<
2017.07.13 10:36:17 5: Cmd: >setstate initialUsbCheck 2017-07-13 10:35:52 state active<
2017.07.13 10:36:17 5: Starting notify loop for global, 1 event(s), first is INITIALIZED
2017.07.13 10:36:17 5: createNotifyHash
2017.07.13 10:36:17 3: R1: Notify / Init: using Zaehler for communication
2017.07.13 10:36:17 4: R1: update timer modified: will call GetUpdate in 1.0 seconds at 2017-07-13 10:36:18 - Interval 5
2017.07.13 10:36:17 3: R2: Notify / Init: using Zaehler for communication
2017.07.13 10:36:17 4: R2: update timer modified: will call GetUpdate in 1.0 seconds at 2017-07-13 10:36:18 - Interval 60
2017.07.13 10:36:17 3: Zaehler: Notify / Init: opening connection
2017.07.13 10:36:17 4: Zaehler: trying to open connection to /dev/serial/by-id/usb-1a86_USB2.0-Serial-if00-port0@9600,8,N,1
2017.07.13 10:36:17 3: Opening Zaehler device /dev/serial/by-id/usb-1a86_USB2.0-Serial-if00-port0
2017.07.13 10:36:17 3: Setting Zaehler serial parameters to 9600,8,N,1
2017.07.13 10:36:17 3: Zaehler device opened
2017.07.13 10:36:17 5: Triggering initialUsbCheck
2017.07.13 10:36:17 4: initialUsbCheck exec usb create
2017.07.13 10:36:17 5: Cmd: >usb create<
2017.07.13 10:36:17 1: usb create starting
2017.07.13 10:36:18 4: ### ttyACM0: checking if it is a CUL
2017.07.13 10:36:18 3: Probing CUL device /dev/ttyACM0
2017.07.13 10:36:18 5: SW: 0a
2017.07.13 10:36:18 5: SW: 560a
2017.07.13 10:36:18 4: got wrong answer for a CUL
2017.07.13 10:36:18 4: ### ttyACM0: checking if it is a TCM_ESP3
2017.07.13 10:36:18 3: Probing TCM_ESP3 device /dev/ttyACM0
2017.07.13 10:36:18 5: SW: 5500010005700838
2017.07.13 10:36:18 4: got wrong answer for a TCM_ESP3
2017.07.13 10:36:18 4: ### ttyACM0: checking if it is a ZWDongle
2017.07.13 10:36:18 3: Probing ZWDongle device /dev/ttyACM0
2017.07.13 10:36:18 5: SW: 01030020dc06
2017.07.13 10:36:18 4: got wrong answer for a ZWDongle
2017.07.13 10:36:18 4: ### ttyACM0: checking if it is a FRM
2017.07.13 10:36:18 3: Probing FRM device /dev/ttyACM0
2017.07.13 10:36:18 5: SW: f9
2017.07.13 10:36:24 5: SW: f079f7
2017.07.13 10:36:24 4: got wrong answer for a FRM
2017.07.13 10:36:24 4: ### ttyAMA0: checking if it is a CUL
2017.07.13 10:36:24 3: Probing CUL device /dev/ttyAMA0
2017.07.13 10:36:24 5: SW: 0a
2017.07.13 10:36:24 5: SW: 560a
2017.07.13 10:36:24 4: got wrong answer for a CUL
2017.07.13 10:36:24 4: ### ttyAMA0: checking if it is a TCM_ESP3
2017.07.13 10:36:24 3: Probing TCM_ESP3 device /dev/ttyAMA0
2017.07.13 10:36:24 5: SW: 5500010005700838
2017.07.13 10:36:24 4: got wrong answer for a TCM_ESP3
2017.07.13 10:36:24 4: ### ttyAMA0: checking if it is a ZWDongle
2017.07.13 10:36:24 3: Probing ZWDongle device /dev/ttyAMA0
2017.07.13 10:36:24 5: SW: 01030020dc06
2017.07.13 10:36:24 4: got wrong answer for a ZWDongle
2017.07.13 10:36:24 4: ### ttyAMA0: checking if it is a FRM
2017.07.13 10:36:24 3: Probing FRM device /dev/ttyAMA0
2017.07.13 10:36:24 5: SW: f9
2017.07.13 10:36:30 5: SW: f079f7
2017.07.13 10:36:30 4: got wrong answer for a FRM
2017.07.13 10:36:30 4: ### ttyUSB0: checking if it is a TCM_ESP3
2017.07.13 10:36:30 3: Probing TCM_ESP3 device /dev/ttyUSB0
2017.07.13 10:36:30 5: SW: 5500010005700838
2017.07.13 10:36:30 4: got wrong answer for a TCM_ESP3
2017.07.13 10:36:30 4: ### ttyUSB0: checking if it is a TCM_ESP2
2017.07.13 10:36:30 3: Probing TCM_ESP2 device /dev/ttyUSB0
2017.07.13 10:36:30 5: SW: a55aab5800000000000000000003
2017.07.13 10:36:30 4: got wrong answer for a TCM_ESP2
2017.07.13 10:36:30 4: ### ttyUSB0: checking if it is a FHZ
2017.07.13 10:36:30 3: Probing FHZ device /dev/ttyUSB0
2017.07.13 10:36:30 5: SW: 8105044fc90185
2017.07.13 10:36:30 4: got wrong answer for a FHZ
2017.07.13 10:36:30 4: ### ttyUSB0: checking if it is a TRX
2017.07.13 10:36:30 3: Probing TRX device /dev/ttyUSB0
2017.07.13 10:36:30 5: SW: 0d00000000000000000000000000
2017.07.13 10:36:31 5: SW: 0d00000102000000000000000000
2017.07.13 10:36:31 4: got wrong answer for a TRX
2017.07.13 10:36:31 4: ### ttyUSB0: checking if it is a ZWDongle
2017.07.13 10:36:31 3: Probing ZWDongle device /dev/ttyUSB0
2017.07.13 10:36:31 5: SW: 01030020dc06
2017.07.13 10:36:31 4: got wrong answer for a ZWDongle
2017.07.13 10:36:31 4: ### ttyUSB0: checking if it is a FRM
2017.07.13 10:36:31 3: Probing FRM device /dev/ttyUSB0
2017.07.13 10:36:31 5: SW: f9
2017.07.13 10:36:36 5: SW: f079f7
2017.07.13 10:36:37 4: got wrong answer for a FRM
2017.07.13 10:36:37 4: ### ttyUSB1: checking if it is a TCM_ESP3
2017.07.13 10:36:37 3: Probing TCM_ESP3 device /dev/ttyUSB1
2017.07.13 10:36:37 5: SW: 5500010005700838
2017.07.13 10:36:37 4: got wrong answer for a TCM_ESP3
2017.07.13 10:36:37 4: ### ttyUSB1: checking if it is a TCM_ESP2
2017.07.13 10:36:37 3: Probing TCM_ESP2 device /dev/ttyUSB1
2017.07.13 10:36:37 5: SW: a55aab5800000000000000000003
2017.07.13 10:36:37 4: got wrong answer for a TCM_ESP2
2017.07.13 10:36:37 4: ### ttyUSB1: checking if it is a FHZ
2017.07.13 10:36:37 3: Probing FHZ device /dev/ttyUSB1
2017.07.13 10:36:37 5: SW: 8105044fc90185
2017.07.13 10:36:37 4: got wrong answer for a FHZ
2017.07.13 10:36:37 4: ### ttyUSB1: checking if it is a TRX
2017.07.13 10:36:37 3: Probing TRX device /dev/ttyUSB1
2017.07.13 10:36:37 5: SW: 0d00000000000000000000000000
2017.07.13 10:36:38 5: SW: 0d00000102000000000000000000
2017.07.13 10:36:38 4: got wrong answer for a TRX
2017.07.13 10:36:38 4: ### ttyUSB1: checking if it is a ZWDongle
2017.07.13 10:36:38 3: Probing ZWDongle device /dev/ttyUSB1
2017.07.13 10:36:38 5: SW: 01030020dc06
2017.07.13 10:36:38 4: got wrong answer for a ZWDongle
2017.07.13 10:36:38 4: ### ttyUSB1: checking if it is a FRM
2017.07.13 10:36:38 3: Probing FRM device /dev/ttyUSB1
2017.07.13 10:36:38 5: SW: f9
2017.07.13 10:36:43 5: SW: f079f7
2017.07.13 10:36:43 4: got wrong answer for a FRM
2017.07.13 10:36:43 4: ### ttyUSB2: checking if it is a TCM_ESP3
2017.07.13 10:36:43 4: ttyUSB2 is already used by the fhem device Zaehler
2017.07.13 10:36:43 1: usb create end
2017.07.13 10:36:43 5: End notify loop for global
2017.07.13 10:36:43 2: SecurityCheck:  WEB,WEBphone,WEBtablet has no associated allowed device with basicAuth. telnetPort has no associated allowed device with password/globalpassword.  Restart FHEM for a new check if the problem is fixed, or set the global attribute motd to none to supress this message.
2017.07.13 10:36:43 0: Featurelevel: 5.8
2017.07.13 10:36:43 0: Server started with 15 defined entities (fhem.pl:14634/2017-07-03 perl:5.020002 os:linux user:fhem pid:13674)
2017.07.13 10:36:43 5: R1: GetUpdate called
2017.07.13 10:36:43 4: R1: update timer modified: will call GetUpdate in 5.0 seconds at 2017-07-13 10:36:48 - Interval 5
2017.07.13 10:36:43 5: R1: GetUpdate objects from attributes: c1
2017.07.13 10:36:43 5: R1: GetUpdate full object list: c1
2017.07.13 10:36:43 5: R1: GetUpdate check c1 => Relais1, poll = 1, last = 0
2017.07.13 10:36:43 4: R1: GetUpdate will request Relais1
2017.07.13 10:36:43 5: R1: GetUpdate tries to combine read commands
2017.07.13 10:36:43 4: R1: Send called with c1, objLen 1 / reqLen 1 to id 3, op read, qlen 0
2017.07.13 10:36:43 4: R1: Send queues fc 1 to 3, for c1 (Relais1), reqLen 1
2017.07.13 10:36:43 5: Zaehler: HandleSendQueue: finished delay checking, proceed with sending
2017.07.13 10:36:43 4: Zaehler: HandleSendQueue sends fc 1 to id 3, tid 30 for Relais1 (c1), len 1, device R1 (RTU), pdu 0100010001, V 3.5.25 - 8.5.2017
2017.07.13 10:36:43 5: SW: 030100010001ade8
2017.07.13 10:36:43 5: R2: GetUpdate called
2017.07.13 10:36:43 4: R2: update timer modified: will call GetUpdate in 60.0 seconds at 2017-07-13 10:37:43 - Interval 60
2017.07.13 10:36:43 5: R2: GetUpdate objects from attributes: c2
2017.07.13 10:36:43 5: R2: GetUpdate full object list: c2
2017.07.13 10:36:43 5: R2: GetUpdate check c2 => Relais2, poll = 1, last = 0
2017.07.13 10:36:43 4: R2: GetUpdate will request Relais2
2017.07.13 10:36:43 5: R2: GetUpdate tries to combine read commands
2017.07.13 10:36:43 4: R2: Send called with c2, objLen 1 / reqLen 1 to id 3, op read, qlen 0
2017.07.13 10:36:43 4: R2: Send queues fc 1 to 3, for c2 (Relais2), reqLen 1
2017.07.13 10:36:43 4: Connection accepted from WEB_192.168.26.200_50011
2017.07.13 10:36:44 4: WEB_192.168.26.200_50011 GET /fhem?XHR=1&inform=type=status;filter=;since=1499934951;fmt=JSON&fw_id=951&timestamp=1499934978431; BUFLEN:0
2017.07.13 10:36:44 5: Zaehler: raw read: 030101005030
2017.07.13 10:36:44 5: Zaehler: ParseFrames got: 030101005030
2017.07.13 10:36:44 4: Zaehler: ParseFrames got fcode 1 from 3, values 00HeaderLen 1, ActualLen 1, request was for c1 (Relais1), len 1 for module R1
2017.07.13 10:36:44 5: R1: ParseObj called with 00 and start 1, quantity 1, op read
2017.07.13 10:36:44 5: R1: ParseObj shortened bit string: 0 and start adr 1, quantity 1
2017.07.13 10:36:44 5: R1: ParseObj ObjInfo for c1: reading=Relais1, unpack=a, expr=, format=, map=
2017.07.13 10:36:44 5: R1: ParseObj unpacked 30 with a to hex 30 (0)
2017.07.13 10:36:44 4: R1: ParseObj for Relais1 assigns 0
2017.07.13 10:36:44 5: Starting notify loop for R1, 1 event(s), first is Relais1: 0
2017.07.13 10:36:44 5: createNotifyHash
2017.07.13 10:36:44 5: End notify loop for R1
2017.07.13 10:36:44 5: Zaehler: ParseFrames got 1 readings from ParseObj
2017.07.13 10:36:44 5: Zaehler: HandleSendQueue: finished delay checking, proceed with sending
2017.07.13 10:36:44 4: Zaehler: HandleSendQueue sends fc 1 to id 3, tid 239 for Relais2 (c2), len 1, device R2 (RTU), pdu 0100020001, V 3.5.25 - 8.5.2017
2017.07.13 10:36:44 5: SW: 0301000200015de8
2017.07.13 10:36:44 5: Zaehler: raw read: 030101005030
2017.07.13 10:36:44 5: Zaehler: ParseFrames got: 030101005030
2017.07.13 10:36:44 4: Zaehler: ParseFrames got fcode 1 from 3, values 00HeaderLen 1, ActualLen 1, request was for c2 (Relais2), len 1 for module R2
2017.07.13 10:36:44 5: R2: ParseObj called with 00 and start 2, quantity 1, op read
2017.07.13 10:36:44 5: R2: ParseObj shortened bit string: 0 and start adr 2, quantity 1
2017.07.13 10:36:44 5: R2: ParseObj ObjInfo for c2: reading=Relais2, unpack=a, expr=, format=, map=
2017.07.13 10:36:44 5: R2: ParseObj unpacked 30 with a to hex 30 (0)
2017.07.13 10:36:44 4: R2: ParseObj for Relais2 assigns 0
2017.07.13 10:36:44 5: Starting notify loop for R2, 1 event(s), first is Relais2: 0
2017.07.13 10:36:44 5: End notify loop for R2
2017.07.13 10:36:44 5: Zaehler: ParseFrames got 1 readings from ParseObj
2017.07.13 10:36:48 5: R1: GetUpdate called
2017.07.13 10:36:48 4: R1: update timer modified: will call GetUpdate in 5.0 seconds at 2017-07-13 10:36:53 - Interval 5
2017.07.13 10:36:48 5: R1: GetUpdate objects from attributes: c1
2017.07.13 10:36:48 5: R1: GetUpdate full object list: c1
2017.07.13 10:36:48 5: R1: GetUpdate check c1 => Relais1, poll = 1, last = 1499935004.23374
2017.07.13 10:36:48 4: R1: GetUpdate will request Relais1
2017.07.13 10:36:48 5: R1: GetUpdate tries to combine read commands
2017.07.13 10:36:48 4: R1: Send called with c1, objLen 1 / reqLen 1 to id 3, op read, qlen 0
2017.07.13 10:36:48 4: R1: Send queues fc 1 to 3, for c1 (Relais1), reqLen 1
2017.07.13 10:36:48 5: Zaehler: handle queue check commDelay (0.1) for R1: rest -4.60801887512207
2017.07.13 10:36:48 5: Zaehler: handle queue check sendDelay (0.1) for R1: rest -4.92363524436951
2017.07.13 10:36:48 5: Zaehler: HandleSendQueue: finished delay checking, proceed with sending
2017.07.13 10:36:48 4: Zaehler: HandleSendQueue sends fc 1 to id 3, tid 102 for Relais1 (c1), len 1, device R1 (RTU), pdu 0100010001, V 3.5.25 - 8.5.2017
2017.07.13 10:36:48 5: SW: 030100010001ade8
2017.07.13 10:36:48 5: Zaehler: raw read: 030101005030
2017.07.13 10:36:48 5: Zaehler: ParseFrames got: 030101005030
2017.07.13 10:36:48 4: Zaehler: ParseFrames got fcode 1 from 3, values 00HeaderLen 1, ActualLen 1, request was for c1 (Relais1), len 1 for module R1
2017.07.13 10:36:48 5: R1: ParseObj called with 00 and start 1, quantity 1, op read
2017.07.13 10:36:48 5: R1: ParseObj shortened bit string: 0 and start adr 1, quantity 1
2017.07.13 10:36:48 5: R1: ParseObj ObjInfo for c1: reading=Relais1, unpack=a, expr=, format=, map=
2017.07.13 10:36:48 5: R1: ParseObj unpacked 30 with a to hex 30 (0)
2017.07.13 10:36:48 4: R1: ParseObj for Relais1 assigns 0
2017.07.13 10:36:48 5: Starting notify loop for R1, 1 event(s), first is Relais1: 0
2017.07.13 10:36:48 5: End notify loop for R1
2017.07.13 10:36:48 5: Zaehler: ParseFrames got 1 readings from ParseObj
2017.07.13 10:36:53 5: R1: GetUpdate called
2017.07.13 10:36:53 4: R1: update timer modified: will call GetUpdate in 5.0 seconds at 2017-07-13 10:36:58 - Interval 5
2017.07.13 10:36:53 5: R1: GetUpdate objects from attributes: c1
2017.07.13 10:36:53 5: R1: GetUpdate full object list: c1
2017.07.13 10:36:53 5: R1: GetUpdate check c1 => Relais1, poll = 1, last = 1499935008.96284
2017.07.13 10:36:53 4: R1: GetUpdate will request Relais1
2017.07.13 10:36:53 5: R1: GetUpdate tries to combine read commands
2017.07.13 10:36:53 4: R1: Send called with c1, objLen 1 / reqLen 1 to id 3, op read, qlen 0
2017.07.13 10:36:53 4: R1: Send queues fc 1 to 3, for c1 (Relais1), reqLen 1
2017.07.13 10:36:53 5: Zaehler: handle queue check commDelay (0.1) for R1: rest -4.9022970199585
2017.07.13 10:36:53 5: Zaehler: handle queue check sendDelay (0.1) for R1: rest -4.92092323303223
2017.07.13 10:36:53 5: Zaehler: HandleSendQueue: finished delay checking, proceed with sending
2017.07.13 10:36:53 4: Zaehler: HandleSendQueue sends fc 1 to id 3, tid 30 for Relais1 (c1), len 1, device R1 (RTU), pdu 0100010001, V 3.5.25 - 8.5.2017
2017.07.13 10:36:53 5: SW: 030100010001ade8
2017.07.13 10:36:53 5: Zaehler: raw read: 030101005030
2017.07.13 10:36:53 5: Zaehler: ParseFrames got: 030101005030
2017.07.13 10:36:53 4: Zaehler: ParseFrames got fcode 1 from 3, values 00HeaderLen 1, ActualLen 1, request was for c1 (Relais1), len 1 for module R1
2017.07.13 10:36:53 5: R1: ParseObj called with 00 and start 1, quantity 1, op read
2017.07.13 10:36:53 5: R1: ParseObj shortened bit string: 0 and start adr 1, quantity 1
2017.07.13 10:36:53 5: R1: ParseObj ObjInfo for c1: reading=Relais1, unpack=a, expr=, format=, map=
2017.07.13 10:36:53 5: R1: ParseObj unpacked 30 with a to hex 30 (0)
2017.07.13 10:36:53 4: R1: ParseObj for Relais1 assigns 0
2017.07.13 10:36:53 5: Starting notify loop for R1, 1 event(s), first is Relais1: 0
2017.07.13 10:36:53 5: End notify loop for R1
2017.07.13 10:36:53 5: Zaehler: ParseFrames got 1 readings from ParseObj
2017.07.13 10:36:58 5: R1: GetUpdate called
2017.07.13 10:36:58 4: R1: update timer modified: will call GetUpdate in 5.0 seconds at 2017-07-13 10:37:03 - Interval 5
2017.07.13 10:36:58 5: R1: GetUpdate objects from attributes: c1
2017.07.13 10:36:58 5: R1: GetUpdate full object list: c1
2017.07.13 10:36:58 5: R1: GetUpdate check c1 => Relais1, poll = 1, last = 1499935013.98539
2017.07.13 10:36:58 4: R1: GetUpdate will request Relais1
2017.07.13 10:36:58 5: R1: GetUpdate tries to combine read commands
2017.07.13 10:36:58 4: R1: Send called with c1, objLen 1 / reqLen 1 to id 3, op read, qlen 0
2017.07.13 10:36:58 4: R1: Send queues fc 1 to 3, for c1 (Relais1), reqLen 1
2017.07.13 10:36:58 5: Zaehler: handle queue check commDelay (0.1) for R1: rest -4.88385009765625
2017.07.13 10:36:58 5: Zaehler: handle queue check sendDelay (0.1) for R1: rest -4.90181827545166
2017.07.13 10:36:58 5: Zaehler: HandleSendQueue: finished delay checking, proceed with sending
2017.07.13 10:36:58 4: Zaehler: HandleSendQueue sends fc 1 to id 3, tid 13 for Relais1 (c1), len 1, device R1 (RTU), pdu 0100010001, V 3.5.25 - 8.5.2017
2017.07.13 10:36:58 5: SW: 030100010001ade8
2017.07.13 10:36:58 5: Zaehler: raw read: 030101005030
2017.07.13 10:36:58 5: Zaehler: ParseFrames got: 030101005030
2017.07.13 10:36:58 4: Zaehler: ParseFrames got fcode 1 from 3, values 00HeaderLen 1, ActualLen 1, request was for c1 (Relais1), len 1 for module R1
2017.07.13 10:36:58 5: R1: ParseObj called with 00 and start 1, quantity 1, op read
2017.07.13 10:36:58 5: R1: ParseObj shortened bit string: 0 and start adr 1, quantity 1
2017.07.13 10:36:58 5: R1: ParseObj ObjInfo for c1: reading=Relais1, unpack=a, expr=, format=, map=
2017.07.13 10:36:58 5: R1: ParseObj unpacked 30 with a to hex 30 (0)
2017.07.13 10:36:58 4: R1: ParseObj for Relais1 assigns 0
2017.07.13 10:36:58 5: Starting notify loop for R1, 1 event(s), first is Relais1: 0
2017.07.13 10:36:58 5: End notify loop for R1
2017.07.13 10:36:58 5: Zaehler: ParseFrames got 1 readings from ParseObj
2017.07.13 10:37:03 5: R1: GetUpdate called
2017.07.13 10:37:03 4: R1: update timer modified: will call GetUpdate in 5.0 seconds at 2017-07-13 10:37:08 - Interval 5
2017.07.13 10:37:03 5: R1: GetUpdate objects from attributes: c1
2017.07.13 10:37:03 5: R1: GetUpdate full object list: c1
2017.07.13 10:37:03 5: R1: GetUpdate check c1 => Relais1, poll = 1, last = 1499935018.9944
2017.07.13 10:37:03 4: R1: GetUpdate will request Relais1
2017.07.13 10:37:03 5: R1: GetUpdate tries to combine read commands
2017.07.13 10:37:03 4: R1: Send called with c1, objLen 1 / reqLen 1 to id 3, op read, qlen 0
2017.07.13 10:37:03 4: R1: Send queues fc 1 to 3, for c1 (Relais1), reqLen 1
2017.07.13 10:37:03 5: Zaehler: handle queue check commDelay (0.1) for R1: rest -4.87854194641113
2017.07.13 10:37:03 5: Zaehler: handle queue check sendDelay (0.1) for R1: rest -4.9014310836792
2017.07.13 10:37:03 5: Zaehler: HandleSendQueue: finished delay checking, proceed with sending
2017.07.13 10:37:03 4: Zaehler: HandleSendQueue sends fc 1 to id 3, tid 239 for Relais1 (c1), len 1, device R1 (RTU), pdu 0100010001, V 3.5.25 - 8.5.2017
2017.07.13 10:37:03 5: SW: 030100010001ade8
2017.07.13 10:37:03 5: Zaehler: raw read: 030101005030
2017.07.13 10:37:04 5: Zaehler: ParseFrames got: 030101005030
2017.07.13 10:37:04 4: Zaehler: ParseFrames got fcode 1 from 3, values 00HeaderLen 1, ActualLen 1, request was for c1 (Relais1), len 1 for module R1
2017.07.13 10:37:04 5: R1: ParseObj called with 00 and start 1, quantity 1, op read
2017.07.13 10:37:04 5: R1: ParseObj shortened bit string: 0 and start adr 1, quantity 1
2017.07.13 10:37:04 5: R1: ParseObj ObjInfo for c1: reading=Relais1, unpack=a, expr=, format=, map=
2017.07.13 10:37:04 5: R1: ParseObj unpacked 30 with a to hex 30 (0)
2017.07.13 10:37:04 4: R1: ParseObj for Relais1 assigns 0
2017.07.13 10:37:04 5: Starting notify loop for R1, 1 event(s), first is Relais1: 0
2017.07.13 10:37:04 5: End notify loop for R1
2017.07.13 10:37:04 5: Zaehler: ParseFrames got 1 readings from ParseObj
2017.07.13 10:37:08 5: R1: GetUpdate called
2017.07.13 10:37:08 4: R1: update timer modified: will call GetUpdate in 5.0 seconds at 2017-07-13 10:37:13 - Interval 5
2017.07.13 10:37:08 5: R1: GetUpdate objects from attributes: c1
2017.07.13 10:37:08 5: R1: GetUpdate full object list: c1
2017.07.13 10:37:08 5: R1: GetUpdate check c1 => Relais1, poll = 1, last = 1499935024.0148
2017.07.13 10:37:08 4: R1: GetUpdate will request Relais1
2017.07.13 10:37:08 5: R1: GetUpdate tries to combine read commands
2017.07.13 10:37:08 4: R1: Send called with c1, objLen 1 / reqLen 1 to id 3, op read, qlen 0
2017.07.13 10:37:08 4: R1: Send queues fc 1 to 3, for c1 (Relais1), reqLen 1
2017.07.13 10:37:08 5: Zaehler: handle queue check commDelay (0.1) for R1: rest -4.86279916763306
2017.07.13 10:37:08 5: Zaehler: handle queue check sendDelay (0.1) for R1: rest -4.90200400352478
2017.07.13 10:37:08 5: Zaehler: HandleSendQueue: finished delay checking, proceed with sending
2017.07.13 10:37:08 4: Zaehler: HandleSendQueue sends fc 1 to id 3, tid 120 for Relais1 (c1), len 1, device R1 (RTU), pdu 0100010001, V 3.5.25 - 8.5.2017
2017.07.13 10:37:08 5: SW: 030100010001ade8
2017.07.13 10:37:08 5: Zaehler: raw read: 030101005030
2017.07.13 10:37:09 5: Zaehler: ParseFrames got: 030101005030
2017.07.13 10:37:09 4: Zaehler: ParseFrames got fcode 1 from 3, values 00HeaderLen 1, ActualLen 1, request was for c1 (Relais1), len 1 for module R1
2017.07.13 10:37:09 5: R1: ParseObj called with 00 and start 1, quantity 1, op read
2017.07.13 10:37:09 5: R1: ParseObj shortened bit string: 0 and start adr 1, quantity 1
2017.07.13 10:37:09 5: R1: ParseObj ObjInfo for c1: reading=Relais1, unpack=a, expr=, format=, map=
2017.07.13 10:37:09 5: R1: ParseObj unpacked 30 with a to hex 30 (0)
2017.07.13 10:37:09 4: R1: ParseObj for Relais1 assigns 0
2017.07.13 10:37:09 5: Starting notify loop for R1, 1 event(s), first is Relais1: 0
2017.07.13 10:37:09 5: End notify loop for R1
2017.07.13 10:37:09 5: Zaehler: ParseFrames got 1 readings from ParseObj
2017.07.13 10:37:13 5: R1: GetUpdate called
2017.07.13 10:37:13 4: R1: update timer modified: will call GetUpdate in 5.0 seconds at 2017-07-13 10:37:18 - Interval 5
2017.07.13 10:37:13 5: R1: GetUpdate objects from attributes: c1
2017.07.13 10:37:13 5: R1: GetUpdate full object list: c1
2017.07.13 10:37:13 5: R1: GetUpdate check c1 => Relais1, poll = 1, last = 1499935029.01685
2017.07.13 10:37:13 4: R1: GetUpdate will request Relais1
2017.07.13 10:37:13 5: R1: GetUpdate tries to combine read commands
2017.07.13 10:37:13 4: R1: Send called with c1, objLen 1 / reqLen 1 to id 3, op read, qlen 0
2017.07.13 10:37:13 4: R1: Send queues fc 1 to 3, for c1 (Relais1), reqLen 1
2017.07.13 10:37:13 5: Zaehler: handle queue check commDelay (0.1) for R1: rest -4.86472916603088
2017.07.13 10:37:13 5: Zaehler: handle queue check sendDelay (0.1) for R1: rest -4.90166115760803
2017.07.13 10:37:13 5: Zaehler: HandleSendQueue: finished delay checking, proceed with sending
2017.07.13 10:37:13 4: Zaehler: HandleSendQueue sends fc 1 to id 3, tid 130 for Relais1 (c1), len 1, device R1 (RTU), pdu 0100010001, V 3.5.25 - 8.5.2017
2017.07.13 10:37:13 5: SW: 030100010001ade8
2017.07.13 10:37:13 5: Zaehler: raw read: 030101005030
2017.07.13 10:37:14 5: Zaehler: ParseFrames got: 030101005030
2017.07.13 10:37:14 4: Zaehler: ParseFrames got fcode 1 from 3, values 00HeaderLen 1, ActualLen 1, request was for c1 (Relais1), len 1 for module R1
2017.07.13 10:37:14 5: R1: ParseObj called with 00 and start 1, quantity 1, op read
2017.07.13 10:37:14 5: R1: ParseObj shortened bit string: 0 and start adr 1, quantity 1
2017.07.13 10:37:14 5: R1: ParseObj ObjInfo for c1: reading=Relais1, unpack=a, expr=, format=, map=
2017.07.13 10:37:14 5: R1: ParseObj unpacked 30 with a to hex 30 (0)
2017.07.13 10:37:14 4: R1: ParseObj for Relais1 assigns 0
2017.07.13 10:37:14 5: Starting notify loop for R1, 1 event(s), first is Relais1: 0
2017.07.13 10:37:14 5: End notify loop for R1
2017.07.13 10:37:14 5: Zaehler: ParseFrames got 1 readings from ParseObj
2017.07.13 10:37:18 5: R1: GetUpdate called
2017.07.13 10:37:18 4: R1: update timer modified: will call GetUpdate in 5.0 seconds at 2017-07-13 10:37:23 - Interval 5
2017.07.13 10:37:18 5: R1: GetUpdate objects from attributes: c1
2017.07.13 10:37:18 5: R1: GetUpdate full object list: c1
2017.07.13 10:37:18 5: R1: GetUpdate check c1 => Relais1, poll = 1, last = 1499935034.01871
2017.07.13 10:37:18 4: R1: GetUpdate will request Relais1
2017.07.13 10:37:18 5: R1: GetUpdate tries to combine read commands
2017.07.13 10:37:18 4: R1: Send called with c1, objLen 1 / reqLen 1 to id 3, op read, qlen 0
2017.07.13 10:37:18 4: R1: Send queues fc 1 to 3, for c1 (Relais1), reqLen 1
2017.07.13 10:37:18 5: Zaehler: handle queue check commDelay (0.1) for R1: rest -4.86721396446228
2017.07.13 10:37:18 5: Zaehler: handle queue check sendDelay (0.1) for R1: rest -4.90184116363525
2017.07.13 10:37:18 5: Zaehler: HandleSendQueue: finished delay checking, proceed with sending
2017.07.13 10:37:18 4: Zaehler: HandleSendQueue sends fc 1 to id 3, tid 174 for Relais1 (c1), len 1, device R1 (RTU), pdu 0100010001, V 3.5.25 - 8.5.2017
2017.07.13 10:37:18 5: SW: 030100010001ade8
2017.07.13 10:37:19 5: Zaehler: raw read: 030101005030
2017.07.13 10:37:19 5: Zaehler: ParseFrames got: 030101005030
2017.07.13 10:37:19 4: Zaehler: ParseFrames got fcode 1 from 3, values 00HeaderLen 1, ActualLen 1, request was for c1 (Relais1), len 1 for module R1
2017.07.13 10:37:19 5: R1: ParseObj called with 00 and start 1, quantity 1, op read
2017.07.13 10:37:19 5: R1: ParseObj shortened bit string: 0 and start adr 1, quantity 1
2017.07.13 10:37:19 5: R1: ParseObj ObjInfo for c1: reading=Relais1, unpack=a, expr=, format=, map=
2017.07.13 10:37:19 5: R1: ParseObj unpacked 30 with a to hex 30 (0)
2017.07.13 10:37:19 4: R1: ParseObj for Relais1 assigns 0
2017.07.13 10:37:19 5: Starting notify loop for R1, 1 event(s), first is Relais1: 0
2017.07.13 10:37:19 5: End notify loop for R1
2017.07.13 10:37:19 5: Zaehler: ParseFrames got 1 readings from ParseObj
2017.07.13 10:37:23 5: R1: GetUpdate called
2017.07.13 10:37:23 4: R1: update timer modified: will call GetUpdate in 5.0 seconds at 2017-07-13 10:37:28 - Interval 5
2017.07.13 10:37:23 5: R1: GetUpdate objects from attributes: c1
2017.07.13 10:37:23 5: R1: GetUpdate full object list: c1
2017.07.13 10:37:23 5: R1: GetUpdate check c1 => Relais1, poll = 1, last = 1499935039.02774
2017.07.13 10:37:23 4: R1: GetUpdate will request Relais1
2017.07.13 10:37:23 5: R1: GetUpdate tries to combine read commands
2017.07.13 10:37:23 4: R1: Send called with c1, objLen 1 / reqLen 1 to id 3, op read, qlen 0
2017.07.13 10:37:23 4: R1: Send queues fc 1 to 3, for c1 (Relais1), reqLen 1
2017.07.13 10:37:23 5: Zaehler: handle queue check commDelay (0.1) for R1: rest -4.86209011077881
2017.07.13 10:37:23 5: Zaehler: handle queue check sendDelay (0.1) for R1: rest -4.90155720710754
2017.07.13 10:37:23 5: Zaehler: HandleSendQueue: finished delay checking, proceed with sending
2017.07.13 10:37:23 4: Zaehler: HandleSendQueue sends fc 1 to id 3, tid 222 for Relais1 (c1), len 1, device R1 (RTU), pdu 0100010001, V 3.5.25 - 8.5.2017
2017.07.13 10:37:23 5: SW: 030100010001ade8
2017.07.13 10:37:24 5: Zaehler: raw read: 030101005030
2017.07.13 10:37:24 5: Zaehler: ParseFrames got: 030101005030
2017.07.13 10:37:24 4: Zaehler: ParseFrames got fcode 1 from 3, values 00HeaderLen 1, ActualLen 1, request was for c1 (Relais1), len 1 for module R1
2017.07.13 10:37:24 5: R1: ParseObj called with 00 and start 1, quantity 1, op read
2017.07.13 10:37:24 5: R1: ParseObj shortened bit string: 0 and start adr 1, quantity 1
2017.07.13 10:37:24 5: R1: ParseObj ObjInfo for c1: reading=Relais1, unpack=a, expr=, format=, map=
2017.07.13 10:37:24 5: R1: ParseObj unpacked 30 with a to hex 30 (0)
2017.07.13 10:37:24 4: R1: ParseObj for Relais1 assigns 0
2017.07.13 10:37:24 5: Starting notify loop for R1, 1 event(s), first is Relais1: 0
2017.07.13 10:37:24 5: End notify loop for R1
2017.07.13 10:37:24 5: Zaehler: ParseFrames got 1 readings from ParseObj
2017.07.13 10:37:28 5: R1: GetUpdate called
2017.07.13 10:37:28 4: R1: update timer modified: will call GetUpdate in 5.0 seconds at 2017-07-13 10:37:33 - Interval 5
2017.07.13 10:37:28 5: R1: GetUpdate objects from attributes: c1
2017.07.13 10:37:28 5: R1: GetUpdate full object list: c1
2017.07.13 10:37:28 5: R1: GetUpdate check c1 => Relais1, poll = 1, last = 1499935044.03188
2017.07.13 10:37:28 4: R1: GetUpdate will request Relais1
2017.07.13 10:37:28 5: R1: GetUpdate tries to combine read commands
2017.07.13 10:37:28 4: R1: Send called with c1, objLen 1 / reqLen 1 to id 3, op read, qlen 0
2017.07.13 10:37:28 4: R1: Send queues fc 1 to 3, for c1 (Relais1), reqLen 1
2017.07.13 10:37:28 5: Zaehler: handle queue check commDelay (0.1) for R1: rest -4.86251091957092
2017.07.13 10:37:28 5: Zaehler: handle queue check sendDelay (0.1) for R1: rest -4.9019513130188
2017.07.13 10:37:28 5: Zaehler: HandleSendQueue: finished delay checking, proceed with sending
2017.07.13 10:37:28 4: Zaehler: HandleSendQueue sends fc 1 to id 3, tid 33 for Relais1 (c1), len 1, device R1 (RTU), pdu 0100010001, V 3.5.25 - 8.5.2017
2017.07.13 10:37:28 5: SW: 030100010001ade8
2017.07.13 10:37:29 5: Zaehler: raw read: 030101005030
2017.07.13 10:37:29 5: Zaehler: ParseFrames got: 030101005030
2017.07.13 10:37:29 4: Zaehler: ParseFrames got fcode 1 from 3, values 00HeaderLen 1, ActualLen 1, request was for c1 (Relais1), len 1 for module R1
2017.07.13 10:37:29 5: R1: ParseObj called with 00 and start 1, quantity 1, op read
2017.07.13 10:37:29 5: R1: ParseObj shortened bit string: 0 and start adr 1, quantity 1
2017.07.13 10:37:29 5: R1: ParseObj ObjInfo for c1: reading=Relais1, unpack=a, expr=, format=, map=
2017.07.13 10:37:29 5: R1: ParseObj unpacked 30 with a to hex 30 (0)
2017.07.13 10:37:29 4: R1: ParseObj for Relais1 assigns 0
2017.07.13 10:37:29 5: Starting notify loop for R1, 1 event(s), first is Relais1: 0
2017.07.13 10:37:29 5: End notify loop for R1
2017.07.13 10:37:29 5: Zaehler: ParseFrames got 1 readings from ParseObj
2017.07.13 10:37:33 5: R1: GetUpdate called
2017.07.13 10:37:33 4: R1: update timer modified: will call GetUpdate in 5.0 seconds at 2017-07-13 10:37:38 - Interval 5
2017.07.13 10:37:33 5: R1: GetUpdate objects from attributes: c1
2017.07.13 10:37:33 5: R1: GetUpdate full object list: c1
2017.07.13 10:37:33 5: R1: GetUpdate check c1 => Relais1, poll = 1, last = 1499935049.03465
2017.07.13 10:37:33 4: R1: GetUpdate will request Relais1
2017.07.13 10:37:33 5: R1: GetUpdate tries to combine read commands
2017.07.13 10:37:33 4: R1: Send called with c1, objLen 1 / reqLen 1 to id 3, op read, qlen 0
2017.07.13 10:37:33 4: R1: Send queues fc 1 to 3, for c1 (Relais1), reqLen 1
2017.07.13 10:37:33 5: Zaehler: handle queue check commDelay (0.1) for R1: rest -4.86348819732666
2017.07.13 10:37:33 5: Zaehler: handle queue check sendDelay (0.1) for R1: rest -4.90147614479065
2017.07.13 10:37:33 5: Zaehler: HandleSendQueue: finished delay checking, proceed with sending
2017.07.13 10:37:33 4: Zaehler: HandleSendQueue sends fc 1 to id 3, tid 143 for Relais1 (c1), len 1, device R1 (RTU), pdu 0100010001, V 3.5.25 - 8.5.2017
2017.07.13 10:37:33 5: SW: 030100010001ade8
2017.07.13 10:37:34 5: Zaehler: raw read: 030101005030
2017.07.13 10:37:34 5: Zaehler: ParseFrames got: 030101005030
2017.07.13 10:37:34 4: Zaehler: ParseFrames got fcode 1 from 3, values 00HeaderLen 1, ActualLen 1, request was for c1 (Relais1), len 1 for module R1
2017.07.13 10:37:34 5: R1: ParseObj called with 00 and start 1, quantity 1, op read
2017.07.13 10:37:34 5: R1: ParseObj shortened bit string: 0 and start adr 1, quantity 1
2017.07.13 10:37:34 5: R1: ParseObj ObjInfo for c1: reading=Relais1, unpack=a, expr=, format=, map=
2017.07.13 10:37:34 5: R1: ParseObj unpacked 30 with a to hex 30 (0)
2017.07.13 10:37:34 4: R1: ParseObj for Relais1 assigns 0
2017.07.13 10:37:34 5: Starting notify loop for R1, 1 event(s), first is Relais1: 0
2017.07.13 10:37:34 5: End notify loop for R1
2017.07.13 10:37:34 5: Zaehler: ParseFrames got 1 readings from ParseObj
2017.07.13 10:37:35 4: Connection accepted from WEB_192.168.26.200_50012
2017.07.13 10:37:35 4: WEB_192.168.26.200_50012 GET /fhem?room=Aussenbereich; BUFLEN:0
2017.07.13 10:37:35 4: WEB: /fhem?room=Aussenbereich / RL:1530 / text/html; charset=UTF-8 / Content-Encoding: gzip
/
2017.07.13 10:37:35 4: Connection closed for WEB_192.168.26.200_50011: EOF
2017.07.13 10:37:35 4: WEB_192.168.26.200_50012 GET /fhem/pgm2/style.css?v=1499934976; BUFLEN:0
2017.07.13 10:37:35 4: WEB_192.168.26.200_50012 GET /fhem?XHR=1&inform=type=status;filter=room=Aussenbereich;since=1499935054;fmt=JSON&fw_id=51&timestamp=1499935055247; BUFLEN:0
2017.07.13 10:37:36 4: Connection accepted from WEB_192.168.26.200_50013
2017.07.13 10:37:36 4: WEB_192.168.26.200_50013 GET /fhem?room=Garten; BUFLEN:0
2017.07.13 10:37:36 4: WEB: /fhem?room=Garten / RL:1531 / text/html; charset=UTF-8 / Content-Encoding: gzip
/
2017.07.13 10:37:36 4: Connection closed for WEB_192.168.26.200_50012: EOF
2017.07.13 10:37:36 4: WEB_192.168.26.200_50013 GET /fhem?XHR=1&inform=type=status;filter=room=Garten;since=1499935055;fmt=JSON&fw_id=52&timestamp=1499935056286; BUFLEN:0
2017.07.13 10:37:38 4: Connection accepted from WEB_192.168.26.200_50014
2017.07.13 10:37:38 4: WEB_192.168.26.200_50014 POST /fhem?cmd=set%20R2%20Relais2%201&XHR=1&fwcsrf=csrf_149267680294838&fw_id=52; BUFLEN:0
2017.07.13 10:37:38 5: Cmd: >set R2 Relais2 1<
2017.07.13 10:37:38 5: R2: Set called with Relais2 (c2), setVal = 1
2017.07.13 10:37:38 5: R2: set packed hex 31 with n to hex 0001
2017.07.13 10:37:38 4: R2: Send called with c2, objLen 1 / reqLen - to id 3, op write, qlen 0, value hex 0001
2017.07.13 10:37:38 4: R2: Send adds fc 5 to 3, for c2 (Relais2), reqLen 1, value hex 0001 at beginning of queue for immediate sending
2017.07.13 10:37:38 5: Zaehler: handle queue check commDelay (0.1) for R2: rest -54.4117631912231
2017.07.13 10:37:38 5: Zaehler: handle queue check sendDelay (0.1) for R2: rest -54.4292252063751
2017.07.13 10:37:38 5: Zaehler: HandleSendQueue: finished delay checking, proceed with sending
2017.07.13 10:37:38 4: Zaehler: HandleSendQueue sends fc 5 to id 3, tid 111 for Relais2 (c2), len 1, device R2 (RTU), pdu 050002ff00, V 3.5.25 - 8.5.2017
2017.07.13 10:37:38 5: SW: 03050002ff002c18
2017.07.13 10:37:38 5: R2: ReadAnswer called and remaining timeout is 1.99965500831604 requested reading is Relais2
2017.07.13 10:37:38 5: R2: ReadAnswer got: 03050002ff002c18
2017.07.13 10:37:38 5: Zaehler: ParseFrames got: 03050002ff002c18
2017.07.13 10:37:38 4: Zaehler: ParseFrames got fcode 5 from 3, values 31HeaderLen 4, ActualLen 4, request was for c2 (Relais2), len 1 for module R2
2017.07.13 10:37:38 5: R2: ParseObj called with 31 and start 2, quantity 1, op write
2017.07.13 10:37:38 5: R2: ParseObj shortened bit string: 1 and start adr 2, quantity 1
2017.07.13 10:37:38 5: R2: ParseObj ObjInfo for c2: reading=Relais2, unpack=a, expr=, format=, map=
2017.07.13 10:37:38 5: R2: ParseObj unpacked 31 with a to hex 31 (1)
2017.07.13 10:37:38 4: R2: ParseObj for Relais2 assigns 1
2017.07.13 10:37:38 5: Starting notify loop for R2, 1 event(s), first is Relais2: 1
2017.07.13 10:37:38 5: createNotifyHash
2017.07.13 10:37:38 5: End notify loop for R2
2017.07.13 10:37:38 5: Zaehler: ParseFrames got 1 readings from ParseObj
2017.07.13 10:37:38 5: R2: ReadAnswer done, reading is Relais2, value: 1
2017.07.13 10:37:38 4: WEB: /fhem?cmd=set%20R2%20Relais2%201&XHR=1&fwcsrf=csrf_149267680294838&fw_id=52 / RL:20 / text/plain; charset=UTF-8 / Content-Encoding: gzip
/
2017.07.13 10:37:38 5: R1: GetUpdate called
2017.07.13 10:37:38 4: R1: update timer modified: will call GetUpdate in 5.0 seconds at 2017-07-13 10:37:43 - Interval 5
2017.07.13 10:37:38 5: R1: GetUpdate objects from attributes: c1
2017.07.13 10:37:38 5: R1: GetUpdate full object list: c1
2017.07.13 10:37:38 5: R1: GetUpdate check c1 => Relais1, poll = 1, last = 1499935054.04067
2017.07.13 10:37:38 4: R1: GetUpdate will request Relais1
2017.07.13 10:37:38 5: R1: GetUpdate tries to combine read commands
2017.07.13 10:37:38 4: R1: Send called with c1, objLen 1 / reqLen 1 to id 3, op read, qlen 0
2017.07.13 10:37:38 4: R1: Send queues fc 1 to 3, for c1 (Relais1), reqLen 1
2017.07.13 10:37:38 5: Zaehler: handle queue check commDelay (0.1) for R1: rest -4.85869407653809
2017.07.13 10:37:38 5: Zaehler: handle queue check sendDelay (0.1) for R1: rest -4.8987340927124
2017.07.13 10:37:38 5: Zaehler: HandleSendQueue: finished delay checking, proceed with sending
2017.07.13 10:37:38 4: Zaehler: HandleSendQueue sends fc 1 to id 3, tid 246 for Relais1 (c1), len 1, device R1 (RTU), pdu 0100010001, V 3.5.25 - 8.5.2017
2017.07.13 10:37:38 5: SW: 030100010001ade8
2017.07.13 10:37:39 5: Zaehler: raw read: 030101005030
2017.07.13 10:37:39 5: Zaehler: ParseFrames got: 030101005030
2017.07.13 10:37:39 4: Zaehler: ParseFrames got fcode 1 from 3, values 00HeaderLen 1, ActualLen 1, request was for c1 (Relais1), len 1 for module R1
2017.07.13 10:37:39 5: R1: ParseObj called with 00 and start 1, quantity 1, op read
2017.07.13 10:37:39 5: R1: ParseObj shortened bit string: 0 and start adr 1, quantity 1
2017.07.13 10:37:39 5: R1: ParseObj ObjInfo for c1: reading=Relais1, unpack=a, expr=, format=, map=
2017.07.13 10:37:39 5: R1: ParseObj unpacked 30 with a to hex 30 (0)
2017.07.13 10:37:39 4: R1: ParseObj for Relais1 assigns 0
2017.07.13 10:37:39 5: Starting notify loop for R1, 1 event(s), first is Relais1: 0
2017.07.13 10:37:39 5: End notify loop for R1
2017.07.13 10:37:39 5: Zaehler: ParseFrames got 1 readings from ParseObj
2017.07.13 10:37:40 4: WEB_192.168.26.200_50014 POST /fhem?cmd=set%20R2%20Relais2%200&XHR=1&fwcsrf=csrf_149267680294838&fw_id=52; BUFLEN:0
2017.07.13 10:37:40 5: Cmd: >set R2 Relais2 0<
2017.07.13 10:37:40 5: R2: Set called with Relais2 (c2), setVal = 0
2017.07.13 10:37:40 5: R2: set packed hex 30 with n to hex 0000
2017.07.13 10:37:40 4: R2: Send called with c2, objLen 1 / reqLen - to id 3, op write, qlen 0, value hex 0000
2017.07.13 10:37:40 4: R2: Send adds fc 5 to 3, for c2 (Relais2), reqLen 1, value hex 0000 at beginning of queue for immediate sending
2017.07.13 10:37:40 5: Zaehler: handle queue check commDelay (0.1) for R2: rest -1.68536019325256
2017.07.13 10:37:40 5: Zaehler: handle queue check sendDelay (0.1) for R2: rest -1.7057032585144
2017.07.13 10:37:40 5: Zaehler: HandleSendQueue: finished delay checking, proceed with sending
2017.07.13 10:37:40 4: Zaehler: HandleSendQueue sends fc 5 to id 3, tid 34 for Relais2 (c2), len 1, device R2 (RTU), pdu 0500020000, V 3.5.25 - 8.5.2017
2017.07.13 10:37:40 5: SW: 0305000200006de8
2017.07.13 10:37:40 5: R2: ReadAnswer called and remaining timeout is 1.9997661113739 requested reading is Relais2
2017.07.13 10:37:40 5: R2: ReadAnswer got: 0305000200006de8
2017.07.13 10:37:40 5: Zaehler: ParseFrames got: 0305000200006de8
2017.07.13 10:37:40 4: Zaehler: ParseFrames got fcode 5 from 3, values 30HeaderLen 4, ActualLen 4, request was for c2 (Relais2), len 1 for module R2
2017.07.13 10:37:40 5: R2: ParseObj called with 30 and start 2, quantity 1, op write
2017.07.13 10:37:40 5: R2: ParseObj shortened bit string: 0 and start adr 2, quantity 1
2017.07.13 10:37:40 5: R2: ParseObj ObjInfo for c2: reading=Relais2, unpack=a, expr=, format=, map=
2017.07.13 10:37:40 5: R2: ParseObj unpacked 30 with a to hex 30 (0)
2017.07.13 10:37:40 4: R2: ParseObj for Relais2 assigns 0
2017.07.13 10:37:40 5: Starting notify loop for R2, 1 event(s), first is Relais2: 0
2017.07.13 10:37:40 5: End notify loop for R2
2017.07.13 10:37:40 5: Zaehler: ParseFrames got 1 readings from ParseObj
2017.07.13 10:37:40 5: R2: ReadAnswer done, reading is Relais2, value: 0
2017.07.13 10:37:40 4: WEB: /fhem?cmd=set%20R2%20Relais2%200&XHR=1&fwcsrf=csrf_149267680294838&fw_id=52 / RL:20 / text/plain; charset=UTF-8 / Content-Encoding: gzip
/
2017.07.13 10:37:43 5: R2: GetUpdate called
2017.07.13 10:37:43 4: R2: update timer modified: will call GetUpdate in 60.0 seconds at 2017-07-13 10:38:43 - Interval 60
2017.07.13 10:37:43 5: R2: GetUpdate objects from attributes: c2
2017.07.13 10:37:43 5: R2: GetUpdate full object list: c2
2017.07.13 10:37:43 5: R2: GetUpdate check c2 => Relais2, poll = 1, last = 1499935060.60116
2017.07.13 10:37:43 4: R2: GetUpdate will request Relais2
2017.07.13 10:37:43 5: R2: GetUpdate tries to combine read commands
2017.07.13 10:37:43 4: R2: Send called with c2, objLen 1 / reqLen 1 to id 3, op read, qlen 0
2017.07.13 10:37:43 4: R2: Send queues fc 1 to 3, for c2 (Relais2), reqLen 1
2017.07.13 10:37:43 5: Zaehler: handle queue check commDelay (0.1) for R2: rest -3.22551798820496
2017.07.13 10:37:43 5: Zaehler: handle queue check sendDelay (0.1) for R2: rest -3.24537491798401
2017.07.13 10:37:43 5: Zaehler: HandleSendQueue: finished delay checking, proceed with sending
2017.07.13 10:37:43 4: Zaehler: HandleSendQueue sends fc 1 to id 3, tid 153 for Relais2 (c2), len 1, device R2 (RTU), pdu 0100020001, V 3.5.25 - 8.5.2017
2017.07.13 10:37:43 5: SW: 0301000200015de8
2017.07.13 10:37:43 5: Zaehler: raw read: 030101005030
2017.07.13 10:37:43 5: Zaehler: ParseFrames got: 030101005030
2017.07.13 10:37:43 4: Zaehler: ParseFrames got fcode 1 from 3, values 00HeaderLen 1, ActualLen 1, request was for c2 (Relais2), len 1 for module R2
2017.07.13 10:37:43 5: R2: ParseObj called with 00 and start 2, quantity 1, op read
2017.07.13 10:37:43 5: R2: ParseObj shortened bit string: 0 and start adr 2, quantity 1
2017.07.13 10:37:43 5: R2: ParseObj ObjInfo for c2: reading=Relais2, unpack=a, expr=, format=, map=
2017.07.13 10:37:43 5: R2: ParseObj unpacked 30 with a to hex 30 (0)
2017.07.13 10:37:43 4: R2: ParseObj for Relais2 assigns 0
2017.07.13 10:37:43 5: Starting notify loop for R2, 1 event(s), first is Relais2: 0
2017.07.13 10:37:43 5: End notify loop for R2
2017.07.13 10:37:43 5: Zaehler: ParseFrames got 1 readings from ParseObj
2017.07.13 10:37:43 5: R1: GetUpdate called
2017.07.13 10:37:43 4: R1: update timer modified: will call GetUpdate in 5.0 seconds at 2017-07-13 10:37:48 - Interval 5
2017.07.13 10:37:43 5: R1: GetUpdate objects from attributes: c1
2017.07.13 10:37:43 5: R1: GetUpdate full object list: c1
2017.07.13 10:37:43 5: R1: GetUpdate check c1 => Relais1, poll = 1, last = 1499935059.04365
2017.07.13 10:37:43 4: R1: GetUpdate will request Relais1
2017.07.13 10:37:43 5: R1: GetUpdate tries to combine read commands
2017.07.13 10:37:43 4: R1: Send called with c1, objLen 1 / reqLen 1 to id 3, op read, qlen 0
2017.07.13 10:37:43 4: R1: Send queues fc 1 to 3, for c1 (Relais1), reqLen 1
2017.07.13 10:37:43 5: Zaehler: handle queue check commDelay (0.1) for R1: rest -4.85701322555542
2017.07.13 10:37:43 5: Zaehler: handle queue check sendDelay (0.1) for R1: rest -4.89870810508728
2017.07.13 10:37:43 5: Zaehler: HandleSendQueue: finished delay checking, proceed with sending
2017.07.13 10:37:43 4: Zaehler: HandleSendQueue sends fc 1 to id 3, tid 219 for Relais1 (c1), len 1, device R1 (RTU), pdu 0100010001, V 3.5.25 - 8.5.2017
2017.07.13 10:37:43 5: SW: 030100010001ade8
2017.07.13 10:37:44 5: Zaehler: raw read: 030101005030
2017.07.13 10:37:44 5: Zaehler: ParseFrames got: 030101005030
2017.07.13 10:37:44 4: Zaehler: ParseFrames got fcode 1 from 3, values 00HeaderLen 1, ActualLen 1, request was for c1 (Relais1), len 1 for module R1
2017.07.13 10:37:44 5: R1: ParseObj called with 00 and start 1, quantity 1, op read
2017.07.13 10:37:44 5: R1: ParseObj shortened bit string: 0 and start adr 1, quantity 1
2017.07.13 10:37:44 5: R1: ParseObj ObjInfo for c1: reading=Relais1, unpack=a, expr=, format=, map=
2017.07.13 10:37:44 5: R1: ParseObj unpacked 30 with a to hex 30 (0)
2017.07.13 10:37:44 4: R1: ParseObj for Relais1 assigns 0
2017.07.13 10:37:44 5: Starting notify loop for R1, 1 event(s), first is Relais1: 0
2017.07.13 10:37:44 5: End notify loop for R1
2017.07.13 10:37:44 5: Zaehler: ParseFrames got 1 readings from ParseObj

lg
Wolfgang
Raspberry Pi 3; 8xRelais; Aptodec Nano V3.0 Pro; FS1000a; RF-5V; Hama TS33C; 3x Brennerstuhl FunkSteckdosen; 9x Dooya funk Rollo; KWL Systemair VR400; Thermokon Modbusthermostat; diverse China Modbus Thermostate; 1-wire Bus; Telegram; QuickFhem; FhemNative; Firmata; Alexa ......

StefanStrobel

Hallo Wolfgang,

das funktionierende Relais reagiert korrekt auf den function code 5 mit FF00. das andere offenbar nicht.
Da muss wohl eine andere Firmware laufen.

Anbei eine neue Version des Modbus-Moduls. Da gibt es ein Attribut mit Namen dev-c-brokenFC5. Setz das mal auf 1, dann wird beim Setzen eines Coils entgegen der Modbus-Spec 1 als Wert und nicht FF00 gesendet. Sollte mit verbose 5 zu sehen sein.

Gruss
   Stefan

wthiess

Hallo Stefan

Geht nicht.
attr Re dev-c-brokenFC5 1

2017.07.13 21:22:44 5: Initializing Type Library:
2017.07.13 21:22:44 1: Including fhem.cfg
2017.07.13 21:22:44 5: Cmd: >attr global userattr cmdIcon devStateIcon devStateStyle icon sortby webCmd widgetOverride<
2017.07.13 21:22:44 5: Cmd: >attr global autoload_undefined_devices 1<
2017.07.13 21:22:44 5: Cmd: >attr global backupdir /nas/fhem/backup<
2017.07.13 21:22:44 5: Cmd: >attr global logfile ./log/fhem-%Y-%m.log<
2017.07.13 21:22:44 5: Cmd: >attr global modpath .<
2017.07.13 21:22:44 5: Cmd: >attr global motd SecurityCheck:

WEB,WEBphone,WEBtablet has no associated allowed device with basicAuth.
telnetPort has no associated allowed device with password/globalpassword.

Restart FHEM for a new check if the problem is fixed,
or set the global attribute motd to none to supress this message.
<
2017.07.13 21:22:44 5: Cmd: >attr global statefile ./log/fhem.save<
2017.07.13 21:22:44 5: Cmd: >attr global updateInBackground 1<
2017.07.13 21:22:44 5: Cmd: >attr global verbose 5<
2017.07.13 21:22:44 5: Cmd: >define telnetPort telnet 7072 global<
2017.07.13 21:22:44 5: Loading ./FHEM/98_telnet.pm
2017.07.13 21:22:44 3: telnetPort: port 7072 opened
2017.07.13 21:22:44 5: Cmd: >define WEB FHEMWEB 8083 global<
2017.07.13 21:22:44 5: Loading ./FHEM/01_FHEMWEB.pm
2017.07.13 21:22:45 3: WEB: port 8083 opened
2017.07.13 21:22:45 5: Cmd: >attr WEB editConfig 1<
2017.07.13 21:22:45 5: Cmd: >attr WEB longpoll 1<
2017.07.13 21:22:45 5: Cmd: >attr WEB menuEntries Backup,/fhem?cmd=backup<
2017.07.13 21:22:45 5: Cmd: >attr WEB room hidden<
2017.07.13 21:22:45 5: Cmd: >attr WEB stylesheetPrefix touchpad<
2017.07.13 21:22:45 5: Cmd: >define allowed_WEB allowed<
2017.07.13 21:22:45 5: Loading ./FHEM/96_allowed.pm
2017.07.13 21:22:45 5: Cmd: >attr allowed_WEB validFor WEB<
2017.07.13 21:22:45 5: Cmd: >define WEBphone FHEMWEB 8084 global<
2017.07.13 21:22:45 3: WEBphone: port 8084 opened
2017.07.13 21:22:45 5: Cmd: >attr WEBphone room hidden<
2017.07.13 21:22:45 5: Cmd: >attr WEBphone stylesheetPrefix darktouchpad<
2017.07.13 21:22:45 5: Cmd: >define allowed_WEBphone allowed<
2017.07.13 21:22:45 5: Cmd: >attr allowed_WEBphone validFor WEBphone<
2017.07.13 21:22:45 5: Cmd: >define WEBtablet FHEMWEB 8085 global<
2017.07.13 21:22:45 3: WEBtablet: port 8085 opened
2017.07.13 21:22:45 5: Cmd: >attr WEBtablet room hidden<
2017.07.13 21:22:45 5: Cmd: >attr WEBtablet stylesheetPrefix darktouchpad<
2017.07.13 21:22:45 5: Cmd: >define allowed_WEBtablet allowed<
2017.07.13 21:22:45 5: Cmd: >attr allowed_WEBtablet validFor WEBtablet<
2017.07.13 21:22:45 5: Cmd: >define Logfile FileLog ./log/fhem-%Y-%m.log fakelog<
2017.07.13 21:22:45 5: Loading ./FHEM/92_FileLog.pm
2017.07.13 21:22:45 5: Cmd: >define autocreate autocreate<
2017.07.13 21:22:45 5: Loading ./FHEM/98_autocreate.pm
2017.07.13 21:22:45 5: Cmd: >attr autocreate disable 1<
2017.07.13 21:22:45 5: Cmd: >attr autocreate filelog ./log/%NAME-%Y.log<
2017.07.13 21:22:45 5: Cmd: >define eventTypes eventTypes ./log/eventTypes.txt<
2017.07.13 21:22:45 5: Loading ./FHEM/91_eventTypes.pm
2017.07.13 21:22:45 2: eventTypes: loaded 291 events from ./log/eventTypes.txt
2017.07.13 21:22:45 5: Cmd: >define initialUsbCheck notify Diode:Pinlevel:.*|Thermometer:.*|global:INITIALIZED usb create<
2017.07.13 21:22:45 5: Loading ./FHEM/91_notify.pm
2017.07.13 21:22:45 5: Cmd: >define RelaisUSB Modbus /dev/serial/by-id/usb-1a86_USB2.0-Serial-if00-port0@9600,8,N,1<
2017.07.13 21:22:45 5: Loading ./FHEM/98_Modbus.pm
2017.07.13 21:22:45 5: Cmd: >define Re ModbusAttr 1 10<
2017.07.13 21:22:45 5: Loading ./FHEM/98_ModbusAttr.pm
2017.07.13 21:22:45 3: Re: defined with id 1, interval 10, protocol RTU
2017.07.13 21:22:45 5: Cmd: >attr Re IODev RelaisUSB<
2017.07.13 21:22:45 5: Re: Attr IODev - using RelaisUSB
2017.07.13 21:22:45 5: Cmd: >attr Re dev-c-brokenFC5 1<
2017.07.13 21:22:45 5: Cmd: >attr Re dev-c-combine 5<
2017.07.13 21:22:45 5: Cmd: >attr Re dev-c-defPoll 1<
2017.07.13 21:22:45 5: Cmd: >attr Re obj-c3-hint 0,1<
2017.07.13 21:22:45 5: Cmd: >attr Re obj-c3-reading Relais3<
2017.07.13 21:22:45 5: Cmd: >attr Re obj-c3-set 1<
2017.07.13 21:22:45 5: Cmd: >attr Re room Relais<
2017.07.13 21:22:45 5: Cmd: >attr Re stateFormat Relais3<
2017.07.13 21:22:45 5: Cmd: >attr Re webCmd Relais3<
2017.07.13 21:22:45 5: Cmd: >define Digi1 ModbusAttr 1 10<
2017.07.13 21:22:45 3: Digi1: defined with id 1, interval 10, protocol RTU
2017.07.13 21:22:45 5: Cmd: >attr Digi1 IODev RelaisUSB<
2017.07.13 21:22:45 5: Digi1: Attr IODev - using RelaisUSB
2017.07.13 21:22:45 5: Cmd: >attr Digi1 dev-d-combine 5<
2017.07.13 21:22:45 5: Cmd: >attr Digi1 dev-d-defPoll 1<
2017.07.13 21:22:45 5: Cmd: >attr Digi1 obj-d1-reading D1<
2017.07.13 21:22:45 5: Cmd: >attr Digi1 obj-d2-reading D2<
2017.07.13 21:22:45 5: Cmd: >attr Digi1 obj-d3-reading D3<
2017.07.13 21:22:45 5: Cmd: >attr Digi1 obj-d4-reading D4<
2017.07.13 21:22:45 5: Cmd: >attr Digi1 room Relais<
2017.07.13 21:22:45 5: Cmd: >attr Digi1 stateFormat D1 D2 D3 D4<
2017.07.13 21:22:45 1: Including ./log/fhem.save
2017.07.13 21:22:45 5: Cmd: >setstate Digi1 0 0 0 0<
2017.07.13 21:22:45 5: Cmd: >setstate Digi1 2017-07-13 21:22:41 D1 0<
2017.07.13 21:22:45 5: Cmd: >setstate Digi1 2017-07-13 21:22:41 D2 0<
2017.07.13 21:22:45 5: Cmd: >setstate Digi1 2017-07-13 21:22:41 D3 0<
2017.07.13 21:22:45 5: Cmd: >setstate Digi1 2017-07-13 21:22:41 D4 0<
2017.07.13 21:22:45 5: Cmd: >setstate Logfile active<
2017.07.13 21:22:45 5: Cmd: >setstate Re 0<
2017.07.13 21:22:45 5: Cmd: >setstate Re 2017-07-12 23:57:11 Relais1 0<
2017.07.13 21:22:45 5: Cmd: >setstate Re 2017-07-13 21:22:41 Relais3 0<
2017.07.13 21:22:45 5: Cmd: >setstate Re 2017-07-11 22:55:39 Relais7 0<
2017.07.13 21:22:45 5: Cmd: >setstate RelaisUSB opened<
2017.07.13 21:22:45 5: Cmd: >setstate RelaisUSB 2017-07-13 21:18:08 state opened<
2017.07.13 21:22:45 5: Cmd: >setstate allowed_WEB validFor:WEB<
2017.07.13 21:22:45 5: Cmd: >setstate allowed_WEB 2017-07-13 21:18:07 state validFor:WEB<
2017.07.13 21:22:45 5: Cmd: >setstate allowed_WEBphone validFor:WEBphone<
2017.07.13 21:22:45 5: Cmd: >setstate allowed_WEBphone 2017-07-13 21:18:07 state validFor:WEBphone<
2017.07.13 21:22:45 5: Cmd: >setstate allowed_WEBtablet validFor:WEBtablet<
2017.07.13 21:22:45 5: Cmd: >setstate allowed_WEBtablet 2017-07-13 21:18:07 state validFor:WEBtablet<
2017.07.13 21:22:45 5: Cmd: >setstate autocreate disabled<
2017.07.13 21:22:45 5: Cmd: >setstate eventTypes active<
2017.07.13 21:22:45 5: Cmd: >setstate global no definition<
2017.07.13 21:22:45 5: Cmd: >setstate initialUsbCheck active<
2017.07.13 21:22:45 5: Cmd: >setstate initialUsbCheck 2017-07-13 21:18:07 state active<
2017.07.13 21:22:45 5: Starting notify loop for global, 1 event(s), first is INITIALIZED
2017.07.13 21:22:45 5: createNotifyHash
2017.07.13 21:22:45 3: Digi1: Notify / Init: using RelaisUSB for communication
2017.07.13 21:22:45 4: Digi1: update timer modified: will call GetUpdate in 1.0 seconds at 2017-07-13 21:22:46 - Interval 10
2017.07.13 21:22:45 3: Re: Notify / Init: using RelaisUSB for communication
2017.07.13 21:22:45 4: Re: update timer modified: will call GetUpdate in 1.0 seconds at 2017-07-13 21:22:46 - Interval 10
2017.07.13 21:22:45 3: RelaisUSB: Notify / Init: opening connection
2017.07.13 21:22:45 4: RelaisUSB: trying to open connection to /dev/serial/by-id/usb-1a86_USB2.0-Serial-if00-port0@9600,8,N,1
2017.07.13 21:22:45 3: Opening RelaisUSB device /dev/serial/by-id/usb-1a86_USB2.0-Serial-if00-port0
2017.07.13 21:22:45 3: Setting RelaisUSB serial parameters to 9600,8,N,1
2017.07.13 21:22:45 3: RelaisUSB device opened
2017.07.13 21:22:45 5: Triggering initialUsbCheck
2017.07.13 21:22:45 4: initialUsbCheck exec usb create
2017.07.13 21:22:45 5: Cmd: >usb create<
2017.07.13 21:22:45 1: usb create starting
2017.07.13 21:22:45 4: ### ttyAMA0: checking if it is a CUL
2017.07.13 21:22:45 3: Probing CUL device /dev/ttyAMA0
2017.07.13 21:22:45 5: SW: 0a
2017.07.13 21:22:45 5: SW: 560a
2017.07.13 21:22:45 4: got wrong answer for a CUL
2017.07.13 21:22:45 4: ### ttyAMA0: checking if it is a TCM_ESP3
2017.07.13 21:22:45 3: Probing TCM_ESP3 device /dev/ttyAMA0
2017.07.13 21:22:46 5: SW: 5500010005700838
2017.07.13 21:22:46 4: got wrong answer for a TCM_ESP3
2017.07.13 21:22:46 4: ### ttyAMA0: checking if it is a ZWDongle
2017.07.13 21:22:46 3: Probing ZWDongle device /dev/ttyAMA0
2017.07.13 21:22:46 5: SW: 01030020dc06
2017.07.13 21:22:46 4: got wrong answer for a ZWDongle
2017.07.13 21:22:46 4: ### ttyAMA0: checking if it is a FRM
2017.07.13 21:22:46 3: Probing FRM device /dev/ttyAMA0
2017.07.13 21:22:46 5: SW: f9
2017.07.13 21:22:51 5: SW: f079f7
2017.07.13 21:22:51 4: got wrong answer for a FRM
2017.07.13 21:22:51 4: ### ttyS0: checking if it is a CUL
2017.07.13 21:22:51 3: Probing CUL device /dev/ttyS0
2017.07.13 21:22:51 3: Can't open /dev/ttyS0: Keine Berechtigung
2017.07.13 21:22:51 4: cannot open the device
2017.07.13 21:22:51 4: ### ttyUSB0: checking if it is a TCM_ESP3
2017.07.13 21:22:51 3: Probing TCM_ESP3 device /dev/ttyUSB0
2017.07.13 21:22:51 5: SW: 5500010005700838
2017.07.13 21:22:51 4: got wrong answer for a TCM_ESP3
2017.07.13 21:22:51 4: ### ttyUSB0: checking if it is a TCM_ESP2
2017.07.13 21:22:51 3: Probing TCM_ESP2 device /dev/ttyUSB0
2017.07.13 21:22:51 5: SW: a55aab5800000000000000000003
2017.07.13 21:22:52 4: got wrong answer for a TCM_ESP2
2017.07.13 21:22:52 4: ### ttyUSB0: checking if it is a FHZ
2017.07.13 21:22:52 3: Probing FHZ device /dev/ttyUSB0
2017.07.13 21:22:52 5: SW: 8105044fc90185
2017.07.13 21:22:52 4: got wrong answer for a FHZ
2017.07.13 21:22:52 4: ### ttyUSB0: checking if it is a TRX
2017.07.13 21:22:52 3: Probing TRX device /dev/ttyUSB0
2017.07.13 21:22:52 5: SW: 0d00000000000000000000000000
2017.07.13 21:22:52 5: SW: 0d00000102000000000000000000
2017.07.13 21:22:52 4: got wrong answer for a TRX
2017.07.13 21:22:52 4: ### ttyUSB0: checking if it is a ZWDongle
2017.07.13 21:22:52 3: Probing ZWDongle device /dev/ttyUSB0
2017.07.13 21:22:53 5: SW: 01030020dc06
2017.07.13 21:22:53 4: got wrong answer for a ZWDongle
2017.07.13 21:22:53 4: ### ttyUSB0: checking if it is a FRM
2017.07.13 21:22:53 3: Probing FRM device /dev/ttyUSB0
2017.07.13 21:22:53 5: SW: f9
2017.07.13 21:22:58 5: SW: f079f7
2017.07.13 21:22:58 4: got wrong answer for a FRM
2017.07.13 21:22:58 4: ### ttyUSB1: checking if it is a TCM_ESP3
2017.07.13 21:22:58 4: ttyUSB1 is already used by the fhem device RelaisUSB
2017.07.13 21:22:58 1: usb create end
2017.07.13 21:22:58 5: End notify loop for global
2017.07.13 21:22:58 2: SecurityCheck:  WEB,WEBphone,WEBtablet has no associated allowed device with basicAuth. telnetPort has no associated allowed device with password/globalpassword.  Restart FHEM for a new check if the problem is fixed, or set the global attribute motd to none to supress this message.
2017.07.13 21:22:58 0: Featurelevel: 5.8
2017.07.13 21:22:58 0: Server started with 15 defined entities (fhem.pl:14634/2017-07-03 perl:5.020002 os:linux user:fhem pid:7792)
2017.07.13 21:22:58 5: Digi1: GetUpdate called
2017.07.13 21:22:58 4: Digi1: update timer modified: will call GetUpdate in 10.0 seconds at 2017-07-13 21:23:08 - Interval 10
2017.07.13 21:22:58 5: Digi1: GetUpdate objects from attributes: d3 d4 d1 d2
2017.07.13 21:22:58 5: Digi1: GetUpdate full object list: d1 d2 d3 d4
2017.07.13 21:22:58 5: Digi1: GetUpdate check d1 => D1, poll = 1, last = 0
2017.07.13 21:22:58 4: Digi1: GetUpdate will request D1
2017.07.13 21:22:58 5: Digi1: GetUpdate check d2 => D2, poll = 1, last = 0
2017.07.13 21:22:58 4: Digi1: GetUpdate will request D2
2017.07.13 21:22:58 5: Digi1: GetUpdate check d3 => D3, poll = 1, last = 0
2017.07.13 21:22:58 4: Digi1: GetUpdate will request D3
2017.07.13 21:22:58 5: Digi1: GetUpdate check d4 => D4, poll = 1, last = 0
2017.07.13 21:22:58 4: Digi1: GetUpdate will request D4
2017.07.13 21:22:58 5: Digi1: GetUpdate tries to combine read commands
2017.07.13 21:22:58 5: Digi1: Combine D1 (d1) with D2 (d2), span=2, max=5, drop read for d2
2017.07.13 21:22:58 5: Digi1: Combine D1 (d1) with D3 (d3), span=3, max=5, drop read for d3
2017.07.13 21:22:58 5: Digi1: Combine D1 (d1) with D4 (d4), span=4, max=5, drop read for d4
2017.07.13 21:22:58 4: Digi1: Send called with d1, objLen 1 / reqLen 4 to id 1, op read, qlen 0
2017.07.13 21:22:58 4: Digi1: Send queues fc 2 to 1, for d1 (D1), reqLen 4
2017.07.13 21:22:58 5: RelaisUSB: HandleSendQueue: finished delay checking, proceed with sending
2017.07.13 21:22:58 4: RelaisUSB: HandleSendQueue sends fc 2 to id 1, tid 127 for D1 (d1), len 4, device Digi1 (RTU), pdu 0200010004, V 3.5.26 - 13.7.2017
2017.07.13 21:22:58 5: SW: 0102000100042809
2017.07.13 21:22:58 5: Re: GetUpdate called
2017.07.13 21:22:58 4: Re: update timer modified: will call GetUpdate in 10.0 seconds at 2017-07-13 21:23:08 - Interval 10
2017.07.13 21:22:58 5: Re: GetUpdate objects from attributes: c3
2017.07.13 21:22:58 5: Re: GetUpdate full object list: c3
2017.07.13 21:22:58 5: Re: GetUpdate check c3 => Relais3, poll = 1, last = 0
2017.07.13 21:22:58 4: Re: GetUpdate will request Relais3
2017.07.13 21:22:58 5: Re: GetUpdate tries to combine read commands
2017.07.13 21:22:58 4: Re: Send called with c3, objLen 1 / reqLen 1 to id 1, op read, qlen 0
2017.07.13 21:22:58 4: Re: Send queues fc 1 to 1, for c3 (Relais3), reqLen 1
2017.07.13 21:22:58 4: Connection accepted from WEB_192.168.25.164_49930
2017.07.13 21:22:58 4: Connection accepted from WEB_192.168.25.164_49931
2017.07.13 21:22:58 4: WEB_192.168.25.164_49930 GET /fhem?XHR=1&inform=type=status;filter=room=Relais;since=1499973759.203;fmt=JSON&fw_id=40&timestamp=1499973768518; BUFLEN:0
2017.07.13 21:22:58 4: WEB_192.168.25.164_49931 GET /fhem?room=Unsorted; BUFLEN:0
2017.07.13 21:22:58 4: WEB: /fhem?room=Unsorted / RL:1849 / text/html; charset=UTF-8 / Content-Encoding: gzip
/
2017.07.13 21:22:58 4: Connection accepted from WEB_192.168.25.164_49932
2017.07.13 21:22:58 5: RelaisUSB: raw read: 01020100a188
2017.07.13 21:22:58 5: RelaisUSB: ParseFrames got: 01020100a188
2017.07.13 21:22:58 4: RelaisUSB: ParseFrames got fcode 2 from 1, values 00HeaderLen 1, ActualLen 1, request was for d1 (D1), len 4 for module Digi1
2017.07.13 21:22:58 5: Digi1: ParseObj called with 00 and start 1, quantity 4, op read
2017.07.13 21:22:58 5: Digi1: ParseObj shortened bit string: 0000 and start adr 1, quantity 4
2017.07.13 21:22:58 5: Digi1: ParseObj ObjInfo for d1: reading=D1, unpack=a, expr=, format=, map=
2017.07.13 21:22:58 5: Digi1: ParseObj unpacked 30303030 with a to hex 30 (0)
2017.07.13 21:22:58 4: Digi1: ParseObj for D1 assigns 0
2017.07.13 21:22:58 5: Digi1: ParseObj moves to next object, skip 1 to d2
2017.07.13 21:22:58 5: Digi1: ParseObj ObjInfo for d2: reading=D2, unpack=a, expr=, format=, map=
2017.07.13 21:22:58 5: Digi1: ParseObj unpacked 303030 with a to hex 30 (0)
2017.07.13 21:22:58 4: Digi1: ParseObj for D2 assigns 0
2017.07.13 21:22:58 5: Digi1: ParseObj moves to next object, skip 1 to d3
2017.07.13 21:22:58 5: Digi1: ParseObj ObjInfo for d3: reading=D3, unpack=a, expr=, format=, map=
2017.07.13 21:22:58 5: Digi1: ParseObj unpacked 3030 with a to hex 30 (0)
2017.07.13 21:22:58 4: Digi1: ParseObj for D3 assigns 0
2017.07.13 21:22:58 5: Digi1: ParseObj ObjInfo for d4: reading=D4, unpack=a, expr=, format=, map=
2017.07.13 21:22:58 5: Digi1: ParseObj unpacked 30 with a to hex 30 (0)
2017.07.13 21:22:58 4: Digi1: ParseObj for D4 assigns 0
2017.07.13 21:22:58 5: Starting notify loop for Digi1, 4 event(s), first is D1: 0
2017.07.13 21:22:58 5: createNotifyHash
2017.07.13 21:22:58 5: End notify loop for Digi1
2017.07.13 21:22:58 5: RelaisUSB: ParseFrames got 4 readings from ParseObj
2017.07.13 21:22:58 5: RelaisUSB: HandleSendQueue: finished delay checking, proceed with sending
2017.07.13 21:22:58 4: RelaisUSB: HandleSendQueue sends fc 1 to id 1, tid 243 for Relais3 (c3), len 1, device Re (RTU), pdu 0100030001, V 3.5.26 - 13.7.2017
2017.07.13 21:22:58 5: SW: 0101000300010dca
2017.07.13 21:22:58 4: Connection accepted from WEB_192.168.25.164_49933
2017.07.13 21:22:58 4: Connection closed for WEB_192.168.25.164_49931: EOF
2017.07.13 21:22:58 4: WEB_192.168.25.164_49932 GET /fhem?room=Unsorted; BUFLEN:0
2017.07.13 21:22:58 4: WEB: /fhem?room=Unsorted / RL:1848 / text/html; charset=UTF-8 / Content-Encoding: gzip
/
2017.07.13 21:22:58 4: Connection closed for WEB_192.168.25.164_49932: EOF
2017.07.13 21:22:58 4: Connection accepted from WEB_192.168.25.164_49934
2017.07.13 21:22:58 4: WEB_192.168.25.164_49933 GET /fhem?room=Unsorted; BUFLEN:0
2017.07.13 21:22:58 4: WEB: /fhem?room=Unsorted / RL:1848 / text/html; charset=UTF-8 / Content-Encoding: gzip
/
2017.07.13 21:22:58 5: RelaisUSB: raw read: 010101005188
2017.07.13 21:22:58 5: RelaisUSB: ParseFrames got: 010101005188
2017.07.13 21:22:58 4: RelaisUSB: ParseFrames got fcode 1 from 1, values 00HeaderLen 1, ActualLen 1, request was for c3 (Relais3), len 1 for module Re
2017.07.13 21:22:58 5: Re: ParseObj called with 00 and start 3, quantity 1, op read
2017.07.13 21:22:58 5: Re: ParseObj shortened bit string: 0 and start adr 3, quantity 1
2017.07.13 21:22:58 5: Re: ParseObj ObjInfo for c3: reading=Relais3, unpack=a, expr=, format=, map=
2017.07.13 21:22:58 5: Re: ParseObj unpacked 30 with a to hex 30 (0)
2017.07.13 21:22:58 4: Re: ParseObj for Relais3 assigns 0
2017.07.13 21:22:58 5: Starting notify loop for Re, 1 event(s), first is Relais3: 0
2017.07.13 21:22:58 5: End notify loop for Re
2017.07.13 21:22:58 5: RelaisUSB: ParseFrames got 1 readings from ParseObj
2017.07.13 21:22:58 4: Connection accepted from WEB_192.168.25.164_49935
2017.07.13 21:22:58 4: Connection closed for WEB_192.168.25.164_49933: EOF
2017.07.13 21:22:58 4: WEB_192.168.25.164_49934 GET /fhem?room=Unsorted; BUFLEN:0
2017.07.13 21:22:58 4: WEB: /fhem?room=Unsorted / RL:1848 / text/html; charset=UTF-8 / Content-Encoding: gzip
/
2017.07.13 21:22:58 4: Connection closed for WEB_192.168.25.164_49934: EOF
2017.07.13 21:22:58 4: WEB_192.168.25.164_49935 GET /; BUFLEN:0
2017.07.13 21:22:58 4: WEB: redirecting / to /fhem
2017.07.13 21:22:58 4: Connection accepted from WEB_192.168.25.164_49936
2017.07.13 21:22:58 4: Connection accepted from WEB_192.168.25.164_49937
2017.07.13 21:22:58 4: Connection accepted from WEB_192.168.25.164_49938
2017.07.13 21:22:58 4: WEB_192.168.25.164_49935 GET /fhem; BUFLEN:0
2017.07.13 21:22:58 4: WEB: /fhem / RL:1443 / text/html; charset=UTF-8 / Content-Encoding: gzip
/
2017.07.13 21:22:58 4: Connection closed for WEB_192.168.25.164_49930: EOF
2017.07.13 21:22:58 4: Connection accepted from WEB_192.168.25.164_49939
2017.07.13 21:22:58 4: WEB_192.168.25.164_49935 GET /fhem/pgm2/style.css?v=1499973765; BUFLEN:0
2017.07.13 21:22:58 4: WEB_192.168.25.164_49937 GET /fhem/pgm2/jquery-ui.min.js; BUFLEN:0
2017.07.13 21:22:58 4: WEB_192.168.25.164_49937 => 304 Not Modified
2017.07.13 21:22:58 4: Connection accepted from WEB_192.168.25.164_49940
2017.07.13 21:22:58 4: WEB_192.168.25.164_49936 GET /fhem/pgm2/jquery.min.js; BUFLEN:0
2017.07.13 21:22:58 4: WEB_192.168.25.164_49936 => 304 Not Modified
2017.07.13 21:22:58 4: WEB_192.168.25.164_49940 GET /fhem/pgm2/fhemweb_fbcalllist.js; BUFLEN:0
2017.07.13 21:22:58 4: WEB_192.168.25.164_49940 => 304 Not Modified
2017.07.13 21:22:58 4: WEB_192.168.25.164_49938 GET /fhem/pgm2/fhemweb.js; BUFLEN:0
2017.07.13 21:22:58 4: WEB_192.168.25.164_49938 => 304 Not Modified
2017.07.13 21:22:58 4: WEB_192.168.25.164_49939 GET /fhem/pgm2/fhemweb_colorpicker.js; BUFLEN:0
2017.07.13 21:22:58 4: WEB_192.168.25.164_49939 => 304 Not Modified
2017.07.13 21:22:58 4: WEB_192.168.25.164_49937 GET /fhem/pgm2/fhemweb_knob.js; BUFLEN:0
2017.07.13 21:22:58 4: WEB_192.168.25.164_49937 => 304 Not Modified
2017.07.13 21:22:58 4: WEB_192.168.25.164_49940 GET /fhem/pgm2/fhemweb_readingsHistory.js; BUFLEN:0
2017.07.13 21:22:58 4: WEB_192.168.25.164_49940 => 304 Not Modified
2017.07.13 21:22:58 4: WEB_192.168.25.164_49938 GET /fhem/pgm2/fhemweb_sortable.js; BUFLEN:0
2017.07.13 21:22:58 4: WEB_192.168.25.164_49938 => 304 Not Modified
2017.07.13 21:22:58 4: WEB_192.168.25.164_49939 GET /fhem/pgm2/fhemweb_uzsu.js; BUFLEN:0
2017.07.13 21:22:58 4: WEB_192.168.25.164_49939 => 304 Not Modified
2017.07.13 21:22:58 4: WEB_192.168.25.164_49936 GET /fhem/pgm2/fhemweb_readingsGroup.js; BUFLEN:0
2017.07.13 21:22:58 4: WEB_192.168.25.164_49936 => 304 Not Modified
2017.07.13 21:22:58 4: WEB_192.168.25.164_49937 GET /fhem/pgm2/fhemweb_weekprofile.js; BUFLEN:0
2017.07.13 21:22:58 4: WEB_192.168.25.164_49937 => 304 Not Modified
2017.07.13 21:22:58 4: WEB_192.168.25.164_49937 GET /fhem/images/default/icoEverything.png; BUFLEN:0
2017.07.13 21:22:58 4: WEB_192.168.25.164_49937 => 304 Not Modified
2017.07.13 21:22:58 4: WEB_192.168.25.164_49935 GET /fhem/pgm2/defaultCommon.css; BUFLEN:0
2017.07.13 21:22:58 4: WEB_192.168.25.164_49935 => 304 Not Modified
2017.07.13 21:22:58 4: WEB_192.168.25.164_49935 GET /fhem/pgm2/dashboard_style.css; BUFLEN:0
2017.07.13 21:22:58 4: WEB_192.168.25.164_49935 => 304 Not Modified
2017.07.13 21:22:58 4: WEB_192.168.25.164_49935 GET /fhem/images/default/fhemicon.png; BUFLEN:0
2017.07.13 21:22:58 4: WEB_192.168.25.164_49935 => 304 Not Modified
2017.07.13 21:22:58 4: WEB_192.168.25.164_49935 GET /fhem?XHR=1&inform=type=status;filter=;since=1499973777;fmt=JSON&fw_id=44&timestamp=1499973779995; BUFLEN:0
2017.07.13 21:23:01 4: WEB_192.168.25.164_49937 GET /fhem?room=Relais; BUFLEN:0
2017.07.13 21:23:01 4: WEB: /fhem?room=Relais / RL:1511 / text/html; charset=UTF-8 / Content-Encoding: gzip
/
2017.07.13 21:23:01 4: Connection closed for WEB_192.168.25.164_49935: EOF
2017.07.13 21:23:01 4: Connection accepted from WEB_192.168.25.164_49941
2017.07.13 21:23:01 4: WEB_192.168.25.164_49937 GET /fhem/pgm2/jquery.min.js; BUFLEN:0
2017.07.13 21:23:01 4: WEB_192.168.25.164_49937 => 304 Not Modified
2017.07.13 21:23:01 4: WEB_192.168.25.164_49936 GET /fhem/pgm2/jquery-ui.min.js; BUFLEN:0
2017.07.13 21:23:01 4: WEB_192.168.25.164_49936 => 304 Not Modified
2017.07.13 21:23:01 4: WEB_192.168.25.164_49939 GET /fhem/pgm2/fhemweb.js; BUFLEN:0
2017.07.13 21:23:01 4: WEB_192.168.25.164_49939 => 304 Not Modified
2017.07.13 21:23:01 4: WEB_192.168.25.164_49938 GET /fhem/pgm2/fhemweb_colorpicker.js; BUFLEN:0
2017.07.13 21:23:01 4: WEB_192.168.25.164_49938 => 304 Not Modified
2017.07.13 21:23:01 4: WEB_192.168.25.164_49937 GET /fhem/pgm2/defaultCommon.css; BUFLEN:0
2017.07.13 21:23:01 4: WEB_192.168.25.164_49937 => 304 Not Modified
2017.07.13 21:23:01 4: WEB_192.168.25.164_49936 GET /fhem/pgm2/fhemweb_readingsGroup.js; BUFLEN:0
2017.07.13 21:23:01 4: WEB_192.168.25.164_49936 => 304 Not Modified
2017.07.13 21:23:01 4: WEB_192.168.25.164_49939 GET /fhem/pgm2/fhemweb_readingsHistory.js; BUFLEN:0
2017.07.13 21:23:01 4: WEB_192.168.25.164_49939 => 304 Not Modified
2017.07.13 21:23:01 4: WEB_192.168.25.164_49941 GET /fhem/pgm2/fhemweb_knob.js; BUFLEN:0
2017.07.13 21:23:01 4: WEB_192.168.25.164_49941 => 304 Not Modified
2017.07.13 21:23:01 4: WEB_192.168.25.164_49940 GET /fhem/pgm2/fhemweb_fbcalllist.js; BUFLEN:0
2017.07.13 21:23:01 4: WEB_192.168.25.164_49940 => 304 Not Modified
2017.07.13 21:23:01 4: WEB_192.168.25.164_49937 GET /fhem/pgm2/fhemweb_uzsu.js; BUFLEN:0
2017.07.13 21:23:01 4: WEB_192.168.25.164_49937 => 304 Not Modified
2017.07.13 21:23:01 4: WEB_192.168.25.164_49936 GET /fhem/pgm2/fhemweb_weekprofile.js; BUFLEN:0
2017.07.13 21:23:01 4: WEB_192.168.25.164_49936 => 304 Not Modified
2017.07.13 21:23:01 4: WEB_192.168.25.164_49939 GET /fhem/pgm2/dashboard_style.css; BUFLEN:0
2017.07.13 21:23:01 4: WEB_192.168.25.164_49939 => 304 Not Modified
2017.07.13 21:23:01 4: WEB_192.168.25.164_49938 GET /fhem/pgm2/fhemweb_sortable.js; BUFLEN:0
2017.07.13 21:23:01 4: WEB_192.168.25.164_49938 => 304 Not Modified
2017.07.13 21:23:01 4: WEB_192.168.25.164_49939 GET /fhem/images/default/icoEverything.png; BUFLEN:0
2017.07.13 21:23:01 4: WEB_192.168.25.164_49939 => 304 Not Modified
2017.07.13 21:23:01 4: WEB_192.168.25.164_49939 GET /fhem/images/default/fhemicon.png; BUFLEN:0
2017.07.13 21:23:01 4: WEB_192.168.25.164_49939 => 304 Not Modified
2017.07.13 21:23:01 4: WEB_192.168.25.164_49939 GET /fhem?XHR=1&inform=type=status;filter=room=Relais;since=1499973780;fmt=JSON&fw_id=46&timestamp=1499973782398; BUFLEN:0
2017.07.13 21:23:04 4: WEB_192.168.25.164_49938 POST /fhem?cmd=set%20Re%20Relais3%201&XHR=1&fwcsrf=csrf_114255326907145&fw_id=46; BUFLEN:0
2017.07.13 21:23:04 5: Cmd: >set Re Relais3 1<
2017.07.13 21:23:04 5: Re: Set called with Relais3 (c3), setVal = 1
2017.07.13 21:23:04 5: Re: set packed hex 31 with n to hex 0001
2017.07.13 21:23:04 4: Re: Send called with c3, objLen 1 / reqLen - to id 1, op write, qlen 0, value hex 0001
2017.07.13 21:23:04 4: Re: Send adds fc 5 to 1, for c3 (Relais3), reqLen 1, value hex 0001 at beginning of queue for immediate sending
2017.07.13 21:23:04 5: RelaisUSB: handle queue check commDelay (0.1) for Re: rest -5.3435480594635
2017.07.13 21:23:04 5: RelaisUSB: handle queue check sendDelay (0.1) for Re: rest -5.36908507347107
2017.07.13 21:23:04 5: RelaisUSB: HandleSendQueue: finished delay checking, proceed with sending
2017.07.13 21:23:04 4: RelaisUSB: HandleSendQueue sends fc 5 to id 1, tid 112 for Relais3 (c3), len 1, device Re (RTU), pdu 0500030001, V 3.5.26 - 13.7.2017
2017.07.13 21:23:04 5: SW: 010500030001fc0a
2017.07.13 21:23:04 5: Re: ReadAnswer called and remaining timeout is 1.99986004829407 requested reading is Relais3
2017.07.13 21:23:04 5: Re: ReadAnswer got: 0105000300003dca
2017.07.13 21:23:04 5: RelaisUSB: ParseFrames got: 0105000300003dca
2017.07.13 21:23:04 5: RelaisUSB: ParseFrames uses fix for broken fcode 5
2017.07.13 21:23:04 4: RelaisUSB: ParseFrames got fcode 5 from 1, values 30HeaderLen 4, ActualLen 4, request was for c3 (Relais3), len 1 for module Re
2017.07.13 21:23:04 5: Re: ParseObj called with 30 and start 3, quantity 1, op write
2017.07.13 21:23:04 5: Re: ParseObj shortened bit string: 0 and start adr 3, quantity 1
2017.07.13 21:23:04 5: Re: ParseObj ObjInfo for c3: reading=Relais3, unpack=a, expr=, format=, map=
2017.07.13 21:23:04 5: Re: ParseObj unpacked 30 with a to hex 30 (0)
2017.07.13 21:23:04 4: Re: ParseObj for Relais3 assigns 0
2017.07.13 21:23:04 5: Starting notify loop for Re, 1 event(s), first is Relais3: 0
2017.07.13 21:23:04 5: createNotifyHash
2017.07.13 21:23:04 5: End notify loop for Re
2017.07.13 21:23:04 5: RelaisUSB: ParseFrames got 1 readings from ParseObj
2017.07.13 21:23:04 5: Re: ReadAnswer done, reading is Relais3, value: 0
2017.07.13 21:23:04 4: WEB: /fhem?cmd=set%20Re%20Relais3%201&XHR=1&fwcsrf=csrf_114255326907145&fw_id=46 / RL:20 / text/plain; charset=UTF-8 / Content-Encoding: gzip
/
2017.07.13 21:23:06 4: WEB_192.168.25.164_49938 POST /fhem?cmd=set%20Re%20Relais3%201&XHR=1&fwcsrf=csrf_114255326907145&fw_id=46; BUFLEN:0
2017.07.13 21:23:06 5: Cmd: >set Re Relais3 1<
2017.07.13 21:23:06 5: Re: Set called with Relais3 (c3), setVal = 1
2017.07.13 21:23:06 5: Re: set packed hex 31 with n to hex 0001
2017.07.13 21:23:06 4: Re: Send called with c3, objLen 1 / reqLen - to id 1, op write, qlen 0, value hex 0001
2017.07.13 21:23:06 4: Re: Send adds fc 5 to 1, for c3 (Relais3), reqLen 1, value hex 0001 at beginning of queue for immediate sending
2017.07.13 21:23:06 5: RelaisUSB: handle queue check commDelay (0.1) for Re: rest -1.85197305679321
2017.07.13 21:23:06 5: RelaisUSB: handle queue check sendDelay (0.1) for Re: rest -1.87171101570129
2017.07.13 21:23:06 5: RelaisUSB: HandleSendQueue: finished delay checking, proceed with sending
2017.07.13 21:23:06 4: RelaisUSB: HandleSendQueue sends fc 5 to id 1, tid 162 for Relais3 (c3), len 1, device Re (RTU), pdu 0500030001, V 3.5.26 - 13.7.2017
2017.07.13 21:23:06 5: SW: 010500030001fc0a
2017.07.13 21:23:06 5: Re: ReadAnswer called and remaining timeout is 1.99986410140991 requested reading is Relais3
2017.07.13 21:23:06 5: Re: ReadAnswer got: 0105000300003dca
2017.07.13 21:23:06 5: RelaisUSB: ParseFrames got: 0105000300003dca
2017.07.13 21:23:06 5: RelaisUSB: ParseFrames uses fix for broken fcode 5
2017.07.13 21:23:06 4: RelaisUSB: ParseFrames got fcode 5 from 1, values 30HeaderLen 4, ActualLen 4, request was for c3 (Relais3), len 1 for module Re
2017.07.13 21:23:06 5: Re: ParseObj called with 30 and start 3, quantity 1, op write
2017.07.13 21:23:06 5: Re: ParseObj shortened bit string: 0 and start adr 3, quantity 1
2017.07.13 21:23:06 5: Re: ParseObj ObjInfo for c3: reading=Relais3, unpack=a, expr=, format=, map=
2017.07.13 21:23:06 5: Re: ParseObj unpacked 30 with a to hex 30 (0)
2017.07.13 21:23:06 4: Re: ParseObj for Relais3 assigns 0
2017.07.13 21:23:06 5: Starting notify loop for Re, 1 event(s), first is Relais3: 0
2017.07.13 21:23:06 5: End notify loop for Re
2017.07.13 21:23:06 5: RelaisUSB: ParseFrames got 1 readings from ParseObj
2017.07.13 21:23:06 5: Re: ReadAnswer done, reading is Relais3, value: 0
2017.07.13 21:23:06 4: WEB: /fhem?cmd=set%20Re%20Relais3%201&XHR=1&fwcsrf=csrf_114255326907145&fw_id=46 / RL:20 / text/plain; charset=UTF-8 / Content-Encoding: gzip
/
2017.07.13 21:23:08 5: Digi1: GetUpdate called
2017.07.13 21:23:08 4: Digi1: update timer modified: will call GetUpdate in 10.0 seconds at 2017-07-13 21:23:18 - Interval 10
2017.07.13 21:23:08 5: Digi1: GetUpdate objects from attributes: d3 d4 d1 d2
2017.07.13 21:23:08 5: Digi1: GetUpdate full object list: d1 d2 d3 d4
2017.07.13 21:23:08 5: Digi1: GetUpdate check d1 => D1, poll = 1, last = 1499973778.6172
2017.07.13 21:23:08 4: Digi1: GetUpdate will request D1
2017.07.13 21:23:08 5: Digi1: GetUpdate check d2 => D2, poll = 1, last = 1499973778.61792
2017.07.13 21:23:08 4: Digi1: GetUpdate will request D2
2017.07.13 21:23:08 5: Digi1: GetUpdate check d3 => D3, poll = 1, last = 1499973778.61856
2017.07.13 21:23:08 4: Digi1: GetUpdate will request D3
2017.07.13 21:23:08 5: Digi1: GetUpdate check d4 => D4, poll = 1, last = 1499973778.6191
2017.07.13 21:23:08 4: Digi1: GetUpdate will request D4
2017.07.13 21:23:08 5: Digi1: GetUpdate tries to combine read commands
2017.07.13 21:23:08 5: Digi1: Combine D1 (d1) with D2 (d2), span=2, max=5, drop read for d2
2017.07.13 21:23:08 5: Digi1: Combine D1 (d1) with D3 (d3), span=3, max=5, drop read for d3
2017.07.13 21:23:08 5: Digi1: Combine D1 (d1) with D4 (d4), span=4, max=5, drop read for d4
2017.07.13 21:23:08 4: Digi1: Send called with d1, objLen 1 / reqLen 4 to id 1, op read, qlen 0
2017.07.13 21:23:08 4: Digi1: Send queues fc 2 to 1, for d1 (D1), reqLen 4
2017.07.13 21:23:08 5: RelaisUSB: handle queue check commDelay (0.1) for Digi1: rest -9.72460508346558
2017.07.13 21:23:08 5: RelaisUSB: handle queue check sendDelay (0.1) for Digi1: rest -9.89878797531128
2017.07.13 21:23:08 5: RelaisUSB: HandleSendQueue: finished delay checking, proceed with sending
2017.07.13 21:23:08 4: RelaisUSB: HandleSendQueue sends fc 2 to id 1, tid 183 for D1 (d1), len 4, device Digi1 (RTU), pdu 0200010004, V 3.5.26 - 13.7.2017
2017.07.13 21:23:08 5: SW: 0102000100042809
2017.07.13 21:23:08 5: Re: GetUpdate called
2017.07.13 21:23:08 4: Re: update timer modified: will call GetUpdate in 10.0 seconds at 2017-07-13 21:23:18 - Interval 10
2017.07.13 21:23:08 5: Re: GetUpdate objects from attributes: c3
2017.07.13 21:23:08 5: Re: GetUpdate full object list: c3
2017.07.13 21:23:08 5: Re: GetUpdate check c3 => Relais3, poll = 1, last = 1499973786.09052
2017.07.13 21:23:08 4: Re: GetUpdate will request Relais3
2017.07.13 21:23:08 5: Re: GetUpdate tries to combine read commands
2017.07.13 21:23:08 4: Re: Send called with c3, objLen 1 / reqLen 1 to id 1, op read, qlen 0
2017.07.13 21:23:08 4: Re: Send queues fc 1 to 1, for c3 (Relais3), reqLen 1
2017.07.13 21:23:08 5: RelaisUSB: raw read: 01020100a188
2017.07.13 21:23:08 5: RelaisUSB: ParseFrames got: 01020100a188
2017.07.13 21:23:08 4: RelaisUSB: ParseFrames got fcode 2 from 1, values 00HeaderLen 1, ActualLen 1, request was for d1 (D1), len 4 for module Digi1
2017.07.13 21:23:08 5: Digi1: ParseObj called with 00 and start 1, quantity 4, op read
2017.07.13 21:23:08 5: Digi1: ParseObj shortened bit string: 0000 and start adr 1, quantity 4
2017.07.13 21:23:08 5: Digi1: ParseObj ObjInfo for d1: reading=D1, unpack=a, expr=, format=, map=
2017.07.13 21:23:08 5: Digi1: ParseObj unpacked 30303030 with a to hex 30 (0)
2017.07.13 21:23:08 4: Digi1: ParseObj for D1 assigns 0
2017.07.13 21:23:08 5: Digi1: ParseObj moves to next object, skip 1 to d2
2017.07.13 21:23:08 5: Digi1: ParseObj ObjInfo for d2: reading=D2, unpack=a, expr=, format=, map=
2017.07.13 21:23:08 5: Digi1: ParseObj unpacked 303030 with a to hex 30 (0)
2017.07.13 21:23:08 4: Digi1: ParseObj for D2 assigns 0
2017.07.13 21:23:08 5: Digi1: ParseObj moves to next object, skip 1 to d3
2017.07.13 21:23:08 5: Digi1: ParseObj ObjInfo for d3: reading=D3, unpack=a, expr=, format=, map=
2017.07.13 21:23:08 5: Digi1: ParseObj unpacked 3030 with a to hex 30 (0)
2017.07.13 21:23:08 4: Digi1: ParseObj for D3 assigns 0
2017.07.13 21:23:08 5: Digi1: ParseObj ObjInfo for d4: reading=D4, unpack=a, expr=, format=, map=
2017.07.13 21:23:08 5: Digi1: ParseObj unpacked 30 with a to hex 30 (0)
2017.07.13 21:23:08 4: Digi1: ParseObj for D4 assigns 0
2017.07.13 21:23:08 5: Starting notify loop for Digi1, 4 event(s), first is D1: 0
2017.07.13 21:23:08 5: End notify loop for Digi1
2017.07.13 21:23:08 5: RelaisUSB: ParseFrames got 4 readings from ParseObj
2017.07.13 21:23:08 5: RelaisUSB: handle queue check commDelay (0.1) for Re: rest -2.28300714492798
2017.07.13 21:23:08 5: RelaisUSB: handle queue check sendDelay (0.1) for Re: rest -2.30344009399414
2017.07.13 21:23:08 5: RelaisUSB: HandleSendQueue: finished delay checking, proceed with sending
2017.07.13 21:23:08 4: RelaisUSB: HandleSendQueue sends fc 1 to id 1, tid 60 for Relais3 (c3), len 1, device Re (RTU), pdu 0100030001, V 3.5.26 - 13.7.2017
2017.07.13 21:23:08 5: SW: 0101000300010dca
2017.07.13 21:23:08 5: RelaisUSB: raw read: 010101005188
2017.07.13 21:23:08 5: RelaisUSB: ParseFrames got: 010101005188
2017.07.13 21:23:08 4: RelaisUSB: ParseFrames got fcode 1 from 1, values 00HeaderLen 1, ActualLen 1, request was for c3 (Relais3), len 1 for module Re
2017.07.13 21:23:08 5: Re: ParseObj called with 00 and start 3, quantity 1, op read
2017.07.13 21:23:08 5: Re: ParseObj shortened bit string: 0 and start adr 3, quantity 1
2017.07.13 21:23:08 5: Re: ParseObj ObjInfo for c3: reading=Relais3, unpack=a, expr=, format=, map=
2017.07.13 21:23:08 5: Re: ParseObj unpacked 30 with a to hex 30 (0)
2017.07.13 21:23:08 4: Re: ParseObj for Relais3 assigns 0
2017.07.13 21:23:08 5: Starting notify loop for Re, 1 event(s), first is Relais3: 0
2017.07.13 21:23:08 5: End notify loop for Re
2017.07.13 21:23:08 5: RelaisUSB: ParseFrames got 1 readings from ParseObj
2017.07.13 21:23:08 4: WEB_192.168.25.164_49938 POST /fhem?cmd=set%20Re%20Relais3%201&XHR=1&fwcsrf=csrf_114255326907145&fw_id=46; BUFLEN:0
2017.07.13 21:23:08 5: Cmd: >set Re Relais3 1<
2017.07.13 21:23:08 5: Re: Set called with Relais3 (c3), setVal = 1
2017.07.13 21:23:08 5: Re: set packed hex 31 with n to hex 0001
2017.07.13 21:23:08 4: Re: Send called with c3, objLen 1 / reqLen - to id 1, op write, qlen 0, value hex 0001
2017.07.13 21:23:08 4: Re: Send adds fc 5 to 1, for c3 (Relais3), reqLen 1, value hex 0001 at beginning of queue for immediate sending
2017.07.13 21:23:08 5: RelaisUSB: handle queue check commDelay (0.1) for Re: rest -0.348573207855225
2017.07.13 21:23:08 5: RelaisUSB: handle queue check sendDelay (0.1) for Re: rest -0.366876125335693
2017.07.13 21:23:08 5: RelaisUSB: HandleSendQueue: finished delay checking, proceed with sending
2017.07.13 21:23:08 4: RelaisUSB: HandleSendQueue sends fc 5 to id 1, tid 212 for Relais3 (c3), len 1, device Re (RTU), pdu 0500030001, V 3.5.26 - 13.7.2017
2017.07.13 21:23:08 5: SW: 010500030001fc0a
2017.07.13 21:23:08 5: Re: ReadAnswer called and remaining timeout is 1.99976897239685 requested reading is Relais3
2017.07.13 21:23:08 5: Re: ReadAnswer got: 0105000300003dca
2017.07.13 21:23:08 5: RelaisUSB: ParseFrames got: 0105000300003dca
2017.07.13 21:23:08 5: RelaisUSB: ParseFrames uses fix for broken fcode 5
2017.07.13 21:23:08 4: RelaisUSB: ParseFrames got fcode 5 from 1, values 30HeaderLen 4, ActualLen 4, request was for c3 (Relais3), len 1 for module Re
2017.07.13 21:23:08 5: Re: ParseObj called with 30 and start 3, quantity 1, op write
2017.07.13 21:23:08 5: Re: ParseObj shortened bit string: 0 and start adr 3, quantity 1
2017.07.13 21:23:08 5: Re: ParseObj ObjInfo for c3: reading=Relais3, unpack=a, expr=, format=, map=
2017.07.13 21:23:08 5: Re: ParseObj unpacked 30 with a to hex 30 (0)
2017.07.13 21:23:08 4: Re: ParseObj for Relais3 assigns 0
2017.07.13 21:23:08 5: Starting notify loop for Re, 1 event(s), first is Relais3: 0
2017.07.13 21:23:08 5: End notify loop for Re
2017.07.13 21:23:08 5: RelaisUSB: ParseFrames got 1 readings from ParseObj
2017.07.13 21:23:08 5: Re: ReadAnswer done, reading is Relais3, value: 0
2017.07.13 21:23:08 4: WEB: /fhem?cmd=set%20Re%20Relais3%201&XHR=1&fwcsrf=csrf_114255326907145&fw_id=46 / RL:20 / text/plain; charset=UTF-8 / Content-Encoding: gzip


Ich sehe das nun so. Statt (Windows) 01 05 00 03 01 00 wird nun 01 05 00 03 00 01 fc 0a
irgenwie pass es um eine Stelle nicht???

lg
Wolfgang
Raspberry Pi 3; 8xRelais; Aptodec Nano V3.0 Pro; FS1000a; RF-5V; Hama TS33C; 3x Brennerstuhl FunkSteckdosen; 9x Dooya funk Rollo; KWL Systemair VR400; Thermokon Modbusthermostat; diverse China Modbus Thermostate; 1-wire Bus; Telegram; QuickFhem; FhemNative; Firmata; Alexa ......

StefanStrobel

Aha ...

Probier doch mal testweise im Modbus-Modul in der Zeile 1288 aus 0001 ein 0100 zu machen.
Das ist der Spezial-Code Für Dein Relais ...

Gruß
   Stefan

wthiess

Hallo Stefan!

ZitatProbier doch mal testweise im Modbus-Modul in der Zeile 1288 aus 0001 ein 0100 zu machen.
Das ist der Spezial-Code Für Dein Relais ...

Herzlichen Dank. Das wars.  Bitte ins update übernehmen.

lg
Wolfgang
Raspberry Pi 3; 8xRelais; Aptodec Nano V3.0 Pro; FS1000a; RF-5V; Hama TS33C; 3x Brennerstuhl FunkSteckdosen; 9x Dooya funk Rollo; KWL Systemair VR400; Thermokon Modbusthermostat; diverse China Modbus Thermostate; 1-wire Bus; Telegram; QuickFhem; FhemNative; Firmata; Alexa ......

StefanStrobel

Hallo Wolfgang,

hier die neue Version.
Ich hab den Wert für das Setzen von Coils jetzt konfigurierbar gemacht.
In Deinem Fall wäre es attr MyDevice dev-c-brokenFC5 0100
Wenn noch alles andere funktioniert, würde ich die neuen Module demnächst einchecken.

Gruss
    Stefan

wthiess

Hallo Stefan!

Danke für die Mühe. Schaut soweit gut aus. Lüftung Thermostat und normale Relais laufen. Das spezielle Relais habe ich auf der Baustelle vergessen. Werde es dann nächstes Wochenende testen. Aber die Vorversion mit der händischen Änderung hat gepasst.

lg
Wolfgang
Raspberry Pi 3; 8xRelais; Aptodec Nano V3.0 Pro; FS1000a; RF-5V; Hama TS33C; 3x Brennerstuhl FunkSteckdosen; 9x Dooya funk Rollo; KWL Systemair VR400; Thermokon Modbusthermostat; diverse China Modbus Thermostate; 1-wire Bus; Telegram; QuickFhem; FhemNative; Firmata; Alexa ......

Fantomas

Hallo Stefan,
ich versuche mich seit geraumer Zeit am Auslesen meines Solar-Wechselrichters SMA Sunny Boy 5000 SE per Modbus.
Die Verbindung bekomme ich hin, allerdings nicht die gewünschten Werte aus den Holding-Registern.
Exemplarisch möchte ich h30051 auslesen:
attr SunnyBoyMod obj-h30051-reading WRtyp
Laut SMA Doku sollte hier "8001" stehen. Ich bekomme aber "0" als reading.

Modbus register address   Short description   Type   Format   Unit   Access
30051                           Device class           U32   ENUM      RO

Habe es uch schon mit verschiedenen Längen probiert:
attr SunnyBoyMod obj-h30051-len 2

set SunnyBoyMod scanModbusObjects h30049-h30059 ergibt
scan-h30049 hex=ffff, string=.., s=-1, s>=-1, S=65535, S>=65535
scan-h30050 hex=ffff, string=.., s=-1, s>=-1, S=65535, S>=65535
scan-h30052 hex=ffff, string=.., s=-1, s>=-1, S=65535, S>=65535
scan-h30054 hex=ffff, string=.., s=-1, s>=-1, S=65535, S>=65535
scan-h30056 hex=ffff, string=.., s=-1, s>=-1, S=65535, S>=65535
scan-h30058 hex=ffff, string=.., s=-1, s>=-1, S=65535, S>=65535


#30051 ist gar nicht dabei

Laut Modbus Master Simulator (siehe Bild im Anhang) steht in Zeile 1 die besagte 8001.

Für einen Hinweis, was hier schief laufen könnte, wäre ich sehr dankbar   :)

Lieber Gruß
Thomas

StefanStrobel

Hallo Thomas,

mach doch mal ein

set SunnyBoyMod scanModbusObjects h30049-h30059 2

(die Zwei am Ende erzeugt Requests mit Länge 2)
und poste einen Log-Auszug mit verbose 5 während Fhem versucht auf die Adressen zuzugreifen.
Zudem wäre Deine vollständige Konfiguration (Definition und alle Attribute) für SunnyBoyMod hilfreich.

Gruss
   Stefan

Fantomas

Hallo Stefan,
vielen Dank für Deine schnelle Rückmeldung.

Zitatmach doch mal ein

set SunnyBoyMod scanModbusObjects h30049-h30059 2

(die Zwei am Ende erzeugt Requests mit Länge 2)

Ich habe heute vom SMA-Support die entscheidende Information bekommen: in deren Doku steht, dass U32 "Big-Endian" bedeutet. Zusammen mit Deinem Link zur perl-unpack-Doku habe ich nun mit

attr SunnyBoyMod obj-h30051-unpack N

dieses Ergebnis erhalten:
WRtyp

hex=38303031, string=8001, s=12344, s>=14384, S=12344, S>=14384, i=12344, i>=14384, I=12344, I>=14384, f=2.56387799879576e-09, f>=4.20065516664181e-05


Nochmal vielen Dank für Deine Hilfe und für das tolle Modul  :)
Thomas

StefanStrobel

Da das Modul schon lange nicht mehr neu ist und der Titel auch nicht mehr passt,
mache ich diesen Thread zu und öffne einen neuen für den Support zu Modbus und neue Versionen des Moduls:

https://forum.fhem.de/index.php/topic,75638.0.html

Eine erste neue Version liegt dort auch schon.

Gruss
   Stefan