FRM_OUT: IODev zeigt nach "set IODev reset" auf falsches IODev

Begonnen von CaptBlaubaer, 06 November 2013, 04:01:16

Vorheriges Thema - Nächstes Thema

CaptBlaubaer

Hallo liebe FHEM Freunde,

das IODev des Firmata Gerätes FRM_0_Pin_13 zeigt, nachdem ein Reset des FRM_0 Gerätes (set FRM_0 reset übers WebUI) durchgeführt wurde nicht mehr auf FRM_0, wie in der fhem.cfg definiert,
define FRM_0 FRM /dev/ttyACM0@57600
define FRM_0_Pin_13 FRM_OUT 13
attr FRM_0_Pin_13 IODev FRM_0

# Second device during only defined but not connected during test
define FRM_1 FRM /dev/ttyUSB0@57600
define FRM_1_Pin_13 FRM_OUT 13

sondern auf FRM_1. Dies führt zu folgender Fehlermeldung im WebUI
Zitat
DEF          13
IODev     FRM_1
NAME      FRM_0_Pin_13
NR           22
PIN          13
STATE      error initializing: Device FRM_1_Pin_13 allready defined for pin 13
TYPE        FRM_OUT
und natürlich kann der Pin dadurch nicht mehr geschaltet werden.


FHEM 5.5 mit update läuft auf dem
ZitatIOMEGA iCONNECT Wireless Data Station, 4-port US
Linux iconnect 3.12.0-iconnect #1 Mon Nov 4 13:59:38 CET 2013 armv5tel GNU/Linux
Der Reset Befehl muss durchgeführt werden, da iConnect die Firmata Geräte sonst nicht erkennt und die Pins einliest.

Wer hat denn eine Idee warum FRM die IODev umbiegt?

Best regards und viele Gruesse,
CaptBlaubaer (CBR)
_________________________________
FHEM 5.5 Raspberry Pi (B), IOMEGA iConnect, Firmata Arduinos USB/LAN, Gembird USB/LAN, ToDo: FHEM auf FritzBox 7390, 7270

ntruchsess

#1
Beim Reset wird das FRM-device complett geschlossen und wieder neu geöffnet. Dabei wird u.a. für alle FRM-clients auch ohne vorige Prüfung, ob schon ein IODev zugeordnet ist AssignIODev aufgerufen. AssignIODev prüft das auch nicht, sondern sucht das passende Device, bei dem das Client-device in der Client-liste steht. Und schon hängen alle FRM-clients am ersten FRM-device :-(
Beim normalen Starten wird das IODev des FRM-clients durch das setzen das Attributes umgehängt, der Schritt entfällt beim Reset.
Ich mache dafür gleich einen Fix (im FRM).

- Norbert
while (!asleep()) {sheep++};

ntruchsess

kannst Du den Fix bitte mal testen: https://raw.github.com/ntruchsess/fhem-mirror/dev/fhem/FHEM/10_FRM.pm?
Ich hab hier grade keinen Arduino zur Hand, komme erst heute Abend dazu.
while (!asleep()) {sheep++};

CaptBlaubaer

Hallo Norbert,

vielen Dank für Deine schnelle Antwort.

Ich habe Deinen Fix gerade getestet
Zitat von: ntruchsess am 06 November 2013, 10:19:26
Fix bitte mal testen: https://raw.github.com/ntruchsess/fhem-mirror/dev/fhem/FHEM/10_FRM.pm?
es sieht eigentlich gut aus. Auch nach einem Reboot des iConnect wird der Firmata angesprochen (war vorher nicht der Fall)

Allerdings habe ich auch mit dem Fix ein FHEM Crash gehabt. Nach set IODev reset zeigt das Log folgende Einträge und FHEM läuft anschliessend nicht mehr.
2013.11.06 02:37:08 3: Opening FRM_0 device /dev/ttyACM0
2013.11.06 02:37:08 3: Setting FRM_0 baudrate to 57600
2013.11.06 02:37:08 3: FRM_0 device opened
2013.11.06 02:37:08 3: Firmata Firmware Version: ⦃㨀む㜀㈀む㤀㈀⌀㒀㤀㚀む㨀むᜀ㒀㜀㞀 V_121_02
...
2013.11.06 02:41:59 3: Firmata Firmware Version: StŹ⦃㨀む㜀㈀む㤀㈀⌀㒀㤀㚀む㨀むᜀ㒀㜀㞀 V_2_03
...
2013.11.06 17:40:54 3: Firmata Firmware Version: St㜀㞀 V_2_03

Die ersten beiden Einträge waren noch mit der Version vor dem Fix. Der Firmata läuft mit der StandardFirmata ohne Blink.
Leider tritt das Problem nur sporadisch auf. (Evtl. waren die Pins aber noch nicht eingelesen).

Von der Prio her stört mich der Log Eintrag weniger als der Crash von FHEM. Vielleicht fällt Dir dazu auch wieder so eine feine Lösung ein.

Nochmals Danke für den schnellen Fix.
Best regards und viele Gruesse,
CaptBlaubaer (CBR)
_________________________________
FHEM 5.5 Raspberry Pi (B), IOMEGA iConnect, Firmata Arduinos USB/LAN, Gembird USB/LAN, ToDo: FHEM auf FritzBox 7390, 7270

ntruchsess

Danke fürs Feedback. Meinen Fix merge ich dann mal in den Trunk...

Der verwendeten StandartFirmata Version 2.3 fehlt ein anderer Fix: https://github.com/firmata/arduino/commit/34262809dce8754e832ad171a9d4c503b3cb4e80, daher die vermurksten Versionsnamen. Ob das tatsächlich zum FHEM-Absturz führt, kann ich aus dem bischen Log nicht sagen - der eigentliche Fehler ist vermutlich auf der startenden Konsole gelandet (und nicht im Logfile).

nimm die ConfigurableFirmata (oder die StandardFirmata aus dem configurable oder dev-branch), da ist der Fix drin, oder compiliere auf Linux oder Mac.

Gruß,

Norbert

while (!asleep()) {sheep++};

CaptBlaubaer

#5
Hallo Norbert,

das Logfile kann ich Dir liefern, den Output der Console leider nicht.

Gibt es ausser dem Diff aus Deinem Link noch eine genaue Fehlerbeschreibung?

Logfile:
[code][code]2013.11.05 02:46:33 1: Including fhem.cfg
2013.11.05 02:46:34 3: telnetPort: port 7072 opened
2013.11.05 02:46:36 3: WEB: port 8083 opened
2013.11.05 02:46:36 3: WEBphone: port 8084 opened
2013.11.05 02:46:36 3: WEBtablet: port 8085 opened
2013.11.05 02:46:36 1: usb create starting
2013.11.05 02:46:37 3: Opening CUL device /dev/ttyACM0
2013.11.05 02:46:37 3: Setting CUL baudrate to 9600
2013.11.05 02:46:37 3: CUL device opened
2013.11.05 02:46:37 3: Opening TCM310 device /dev/ttyACM0
2013.11.05 02:46:37 3: Setting TCM310 baudrate to 57600
2013.11.05 02:46:37 3: TCM310 device opened
2013.11.05 02:46:38 1: usb create end
2013.11.05 02:46:38 2: SecurityCheck:  WEB,WEBphone,WEBtablet has no basicAuth attribute. telnetPort has no password/globalpassword attribute.  Restart fhem for a new check if the problem is fixed, or set the global attribute motd to none to supress this message.
2013.11.05 02:46:38 0: Server started with 9 defined entities (version $Id: fhem.pl 3872 2013-09-07 11:58:33Z rudolfkoenig $, os linux, user root, pid 7538)
2013.11.05 02:56:28 1: usb scan starting
2013.11.05 02:56:29 3: Opening CUL device /dev/ttyACM0
2013.11.05 02:56:29 3: Setting CUL baudrate to 9600
2013.11.05 02:56:29 3: CUL device opened
2013.11.05 02:56:29 3: Opening TCM310 device /dev/ttyACM0
2013.11.05 02:56:29 3: Setting TCM310 baudrate to 57600
2013.11.05 02:56:29 3: TCM310 device opened
2013.11.05 02:56:30 1: usb scan end
2013.11.05 02:56:54 1: usb scan starting
2013.11.05 02:56:55 3: Opening CUL device /dev/ttyACM0
2013.11.05 02:56:55 3: Setting CUL baudrate to 9600
2013.11.05 02:56:55 3: CUL device opened
2013.11.05 02:56:55 3: Opening TCM310 device /dev/ttyACM0
2013.11.05 02:56:55 3: Setting TCM310 baudrate to 57600
2013.11.05 02:56:55 3: TCM310 device opened
2013.11.05 02:56:55 1: usb scan end
2013.11.05 02:59:44 1: usb scan starting
2013.11.05 02:59:45 3: Opening CUL device /dev/ttyACM0
2013.11.05 02:59:45 3: Setting CUL baudrate to 9600
2013.11.05 02:59:45 3: CUL device opened
2013.11.05 02:59:45 3: Opening TCM310 device /dev/ttyACM0
2013.11.05 02:59:45 3: Setting TCM310 baudrate to 57600
2013.11.05 02:59:45 3: TCM310 device opened
2013.11.05 02:59:46 1: usb scan end
2013.11.05 03:00:42 1: Including fhem.cfg
2013.11.05 03:00:42 3: telnetPort: port 7072 opened
2013.11.05 03:00:42 3: WEB: port 8083 opened
2013.11.05 03:00:42 3: WEBphone: port 8084 opened
2013.11.05 03:00:42 3: WEBtablet: port 8085 opened
2013.11.05 03:00:42 3: Opening FRM_0 device /dev/ttyACM0:57600
2013.11.05 03:00:43 3: Can't connect to /dev/ttyACM0:57600: Invalid argument
2013.11.05 03:00:43 1: Including ./log/fhem.save
2013.11.05 03:04:46 0: Server shutdown
2013.11.05 03:05:58 1: Including fhem.cfg
2013.11.05 03:05:59 3: telnetPort: port 7072 opened
2013.11.05 03:05:59 3: WEB: port 8083 opened
2013.11.05 03:05:59 3: WEBphone: port 8084 opened
2013.11.05 03:05:59 3: WEBtablet: port 8085 opened
2013.11.05 03:06:00 3: Opening FRM_0 device /dev/ttyACM0:57600
2013.11.05 03:06:01 3: Can't connect to /dev/ttyACM0:57600: Invalid argument
2013.11.05 03:06:01 1: Including ./log/fhem.save
2013.11.05 03:06:01 1: usb create starting
2013.11.05 03:06:02 3: Opening CUL device /dev/ttyACM0
2013.11.05 03:06:02 3: Setting CUL baudrate to 9600
2013.11.05 03:06:02 3: CUL device opened
2013.11.05 03:06:02 3: Opening TCM310 device /dev/ttyACM0
2013.11.05 03:06:02 3: Setting TCM310 baudrate to 57600
2013.11.05 03:06:02 3: TCM310 device opened
2013.11.05 03:06:02 1: usb create end
2013.11.05 03:06:02 2: SecurityCheck:  WEB,WEBphone,WEBtablet has no basicAuth attribute. telnetPort has no password/globalpassword attribute.  Restart fhem for a new check if the problem is fixed, or set the global attribute motd to none to supress this message.
2013.11.05 03:06:02 0: Server started with 10 defined entities (version $Id: fhem.pl 3872 2013-09-07 11:58:33Z rudolfkoenig $, os linux, user fhem, pid 1452)
2013.11.05 03:08:57 1: usb scan starting
2013.11.05 03:08:58 3: Opening CUL device /dev/ttyACM0
2013.11.05 03:08:58 3: Setting CUL baudrate to 9600
2013.11.05 03:08:58 3: CUL device opened
2013.11.05 03:08:58 3: Opening TCM310 device /dev/ttyACM0
2013.11.05 03:08:58 3: Setting TCM310 baudrate to 57600
2013.11.05 03:08:58 3: TCM310 device opened
2013.11.05 03:08:58 1: usb scan end
2013.11.05 03:17:59 1: usb scan starting
2013.11.05 03:18:00 3: Opening CUL device /dev/ttyACM0
2013.11.05 03:18:00 3: Setting CUL baudrate to 9600
2013.11.05 03:18:00 3: CUL device opened
2013.11.05 03:18:00 3: Opening TCM310 device /dev/ttyACM0
2013.11.05 03:18:00 3: Setting TCM310 baudrate to 57600
2013.11.05 03:18:00 3: TCM310 device opened
2013.11.05 03:18:00 1: usb scan end
2013.11.05 03:21:42 3: Opening FRM_0 device /dev/ttyACM1:57600
2013.11.05 03:22:07 3: Opening FRM_0 device /dev/ttyACM0:57600
2013.11.05 03:23:24 1: usb scan starting
2013.11.05 03:23:25 3: Opening TCM310 device /dev/ttyUSB0
2013.11.05 03:23:25 3: Setting TCM310 baudrate to 57600
2013.11.05 03:23:25 3: TCM310 device opened
2013.11.05 03:23:25 3: Opening TCM120 device /dev/ttyUSB0
2013.11.05 03:23:25 3: Setting TCM120 baudrate to 9600
2013.11.05 03:23:25 3: TCM120 device opened
2013.11.05 03:23:25 3: Opening FHZ device /dev/ttyUSB0
2013.11.05 03:23:25 3: Setting FHZ baudrate to 9600
2013.11.05 03:23:25 3: FHZ device opened
2013.11.05 03:23:25 3: Opening TRX device /dev/ttyUSB0
2013.11.05 03:23:25 3: Setting TRX baudrate to 38400
2013.11.05 03:23:25 3: TRX device opened
2013.11.05 03:23:26 3: Opening ZWDongle device /dev/ttyUSB0
2013.11.05 03:23:26 3: Setting ZWDongle baudrate to 115200
2013.11.05 03:23:26 3: ZWDongle device opened
2013.11.05 03:23:26 1: usb scan end
2013.11.05 03:23:56 1: update Action required: please run 'notice view update-20130127-001'
2013.11.05 03:25:16 1: Including fhem.cfg
2013.11.05 03:25:16 3: telnetPort: port 7072 opened
2013.11.05 03:25:16 3: WEB: port 8083 opened
2013.11.05 03:25:16 3: WEBphone: port 8084 opened
2013.11.05 03:25:16 3: WEBtablet: port 8085 opened
2013.11.05 03:25:16 3: Opening FRM_0 device /dev/ttyACM0:57600
2013.11.05 03:25:16 3: Can't connect to /dev/ttyACM0:57600: Invalid argument
2013.11.05 03:25:16 1: Including ./log/fhem.save
2013.11.05 03:25:24 1: update Action required: please run 'notice view update-20130127-001'
2013.11.05 03:25:46 1: notice update-20130127-001 confirmed on 2013-11-05 03:25:46: 1
2013.11.05 03:25:57 3: update get http://fhem.de/fhemupdate4/svn/FHEM/FhemUtils/release.pm
2013.11.05 03:25:57 1: update check Releases => local: Fhem 5.5 (DEVELOPMENT) remote: Fhem 5.5 (DEVELOPMENT)
2013.11.05 03:25:57 3: update get http://fhem.de/fhemupdate4/svn/controls_fhem.txt
2013.11.05 03:25:58 1: update saving statefile
2013.11.05 03:25:58 2: Backup with command: tar -cf - fhem.cfg ./log/fhem.save ./contrib ./demolog ./docs ./FHEM ./fhem.cfg ./fhem.cfg.demo ./fhem.pl ./log ./README_DEMO.txt ./www |gzip > ./backup/FHEM-20131105_032558.tar.gz
2013.11.05 03:26:12 1: backup done: FHEM-20131105_032558.tar.gz (8957429 Bytes)
2013.11.05 03:26:12 3: update get http://fhem.de/fhemupdate4/svn/./CHANGED
2013.11.05 03:26:12 3: update get http://fhem.de/fhemupdate4/svn/./fhem.pl.txt
2013.11.05 03:26:13 3: update get http://fhem.de/fhemupdate4/svn/FHEM/00_HMLAN.pm
2013.11.05 03:26:13 3: update get http://fhem.de/fhemupdate4/svn/FHEM/00_MAXLAN.pm
2013.11.05 03:26:13 3: update get http://fhem.de/fhemupdate4/svn/FHEM/00_OWX.pm
2013.11.05 03:26:13 3: update get http://fhem.de/fhemupdate4/svn/FHEM/00_TCM.pm
2013.11.05 03:26:13 3: update get http://fhem.de/fhemupdate4/svn/FHEM/01_FHEMWEB.pm
2013.11.05 03:26:14 3: update get http://fhem.de/fhemupdate4/svn/FHEM/02_RSS.pm
2013.11.05 03:26:14 3: update get http://fhem.de/fhemupdate4/svn/FHEM/09_CUL_FHTTK.pm
2013.11.05 03:26:14 3: update get http://fhem.de/fhemupdate4/svn/FHEM/10_CUL_HM.pm
2013.11.05 03:26:15 3: update get http://fhem.de/fhemupdate4/svn/FHEM/10_FRM.pm
2013.11.05 03:26:15 3: update get http://fhem.de/fhemupdate4/svn/FHEM/10_MAX.pm
2013.11.05 03:26:15 3: update get http://fhem.de/fhemupdate4/svn/FHEM/10_ZWave.pm
2013.11.05 03:26:15 3: update get http://fhem.de/fhemupdate4/svn/FHEM/11_FHT.pm
2013.11.05 03:26:16 3: update get http://fhem.de/fhemupdate4/svn/FHEM/11_FHT8V.pm
2013.11.05 03:26:16 3: update get http://fhem.de/fhemupdate4/svn/FHEM/14_CUL_MAX.pm
2013.11.05 03:26:16 3: update get http://fhem.de/fhemupdate4/svn/FHEM/20_FRM_AD.pm
2013.11.05 03:26:16 3: update get http://fhem.de/fhemupdate4/svn/FHEM/20_FRM_I2C.pm
2013.11.05 03:26:16 3: update get http://fhem.de/fhemupdate4/svn/FHEM/20_FRM_IN.pm
2013.11.05 03:26:16 3: update get http://fhem.de/fhemupdate4/svn/FHEM/20_FRM_LCD.pm
2013.11.05 03:26:16 3: update get http://fhem.de/fhemupdate4/svn/FHEM/20_FRM_OUT.pm
2013.11.05 03:26:16 3: update get http://fhem.de/fhemupdate4/svn/FHEM/20_FRM_PWM.pm
2013.11.05 03:26:16 3: update get http://fhem.de/fhemupdate4/svn/FHEM/20_FRM_SERVO.pm
2013.11.05 03:26:17 3: update get http://fhem.de/fhemupdate4/svn/FHEM/21_OWAD.pm
2013.11.05 03:26:17 3: update get http://fhem.de/fhemupdate4/svn/FHEM/21_OWCOUNT.pm
2013.11.05 03:26:17 3: update get http://fhem.de/fhemupdate4/svn/FHEM/21_OWID.pm
2013.11.05 03:26:17 3: update get http://fhem.de/fhemupdate4/svn/FHEM/21_OWMULTI.pm
2013.11.05 03:26:17 3: update get http://fhem.de/fhemupdate4/svn/FHEM/21_OWSWITCH.pm
2013.11.05 03:26:17 3: update get http://fhem.de/fhemupdate4/svn/FHEM/21_OWTHERM.pm
2013.11.05 03:26:18 3: update get http://fhem.de/fhemupdate4/svn/FHEM/31_HUEDevice.pm
2013.11.05 03:26:18 3: update get http://fhem.de/fhemupdate4/svn/FHEM/31_LightScene.pm
2013.11.05 03:26:18 3: update get http://fhem.de/fhemupdate4/svn/FHEM/33_readingsGroup.pm
2013.11.05 03:26:18 3: update get http://fhem.de/fhemupdate4/svn/FHEM/34_SWAP.pm
2013.11.05 03:26:18 3: update get http://fhem.de/fhemupdate4/svn/FHEM/46_TRX_LIGHT.pm
2013.11.05 03:26:18 3: update get http://fhem.de/fhemupdate4/svn/FHEM/51_BBB_BMP180.pm
2013.11.05 03:26:19 3: update get http://fhem.de/fhemupdate4/svn/FHEM/55_GDS.pm
2013.11.05 03:26:19 3: update get http://fhem.de/fhemupdate4/svn/FHEM/55_PIFACE.pm
2013.11.05 03:26:19 3: update get http://fhem.de/fhemupdate4/svn/FHEM/59_Twilight.pm
2013.11.05 03:26:19 3: update get http://fhem.de/fhemupdate4/svn/FHEM/59_WWO.pm
2013.11.05 03:26:19 3: update get http://fhem.de/fhemupdate4/svn/FHEM/70_WS3600.pm
2013.11.05 03:26:19 3: update get http://fhem.de/fhemupdate4/svn/FHEM/71_YAMAHA_AVR.pm
2013.11.05 03:26:19 3: update get http://fhem.de/fhemupdate4/svn/FHEM/72_FB_CALLMONITOR.pm
2013.11.05 03:26:20 3: update get http://fhem.de/fhemupdate4/svn/FHEM/73_PRESENCE.pm
2013.11.05 03:26:20 3: update get http://fhem.de/fhemupdate4/svn/FHEM/90_at.pm
2013.11.05 03:26:20 3: update get http://fhem.de/fhemupdate4/svn/FHEM/91_eventTypes.pm
2013.11.05 03:26:20 3: update get http://fhem.de/fhemupdate4/svn/FHEM/93_FHEM2FHEM.pm
2013.11.05 03:26:20 3: update get http://fhem.de/fhemupdate4/svn/FHEM/98_HMinfo.pm
2013.11.05 03:26:21 3: update get http://fhem.de/fhemupdate4/svn/FHEM/98_Heating_Control.pm
2013.11.05 03:26:21 3: update get http://fhem.de/fhemupdate4/svn/FHEM/98_JsonList.pm
2013.11.05 03:26:21 3: update get http://fhem.de/fhemupdate4/svn/FHEM/98_PID.pm
2013.11.05 03:26:21 3: update get http://fhem.de/fhemupdate4/svn/FHEM/98_RandomTimer.pm
2013.11.05 03:26:21 3: update get http://fhem.de/fhemupdate4/svn/FHEM/98_SVG.pm
2013.11.05 03:26:22 3: update get http://fhem.de/fhemupdate4/svn/FHEM/98_THRESHOLD.pm
2013.11.05 03:26:22 3: update get http://fhem.de/fhemupdate4/svn/FHEM/98_WOL.pm
2013.11.05 03:26:22 3: update get http://fhem.de/fhemupdate4/svn/FHEM/98_WeekdayTimer.pm
2013.11.05 03:26:22 3: update get http://fhem.de/fhemupdate4/svn/FHEM/98_autocreate.pm
2013.11.05 03:26:22 3: update get http://fhem.de/fhemupdate4/svn/FHEM/98_cmdalias.pm
2013.11.05 03:26:22 3: update get http://fhem.de/fhemupdate4/svn/FHEM/98_openweathermap.pm
2013.11.05 03:26:22 3: update get http://fhem.de/fhemupdate4/svn/FHEM/98_rain.pm
2013.11.05 03:26:23 3: update get http://fhem.de/fhemupdate4/svn/FHEM/98_structure.pm
2013.11.05 03:26:23 3: update get http://fhem.de/fhemupdate4/svn/FHEM/98_update.pm
2013.11.05 03:26:23 3: update get http://fhem.de/fhemupdate4/svn/FHEM/HMConfig.pm
2013.11.05 03:26:23 3: update get http://fhem.de/fhemupdate4/svn/FHEM/HttpUtils.pm
2013.11.05 03:26:23 3: update get http://fhem.de/fhemupdate4/svn/FHEM/MaxCommon.pm
2013.11.05 03:26:23 3: update get http://fhem.de/fhemupdate4/svn/FHEM/lib/Device/Firmata.pm
2013.11.05 03:26:24 3: update get http://fhem.de/fhemupdate4/svn/FHEM/lib/Device/Firmata/Base.pm
2013.11.05 03:26:24 3: update get http://fhem.de/fhemupdate4/svn/FHEM/lib/Device/Firmata/Constants.pm
2013.11.05 03:26:24 3: update get http://fhem.de/fhemupdate4/svn/FHEM/lib/Device/Firmata/Error.pm
2013.11.05 03:26:24 3: update get http://fhem.de/fhemupdate4/svn/FHEM/lib/Device/Firmata/Language.pm
2013.11.05 03:26:24 3: update get http://fhem.de/fhemupdate4/svn/FHEM/lib/Device/Firmata/Platform.pm
2013.11.05 03:26:24 3: update get http://fhem.de/fhemupdate4/svn/FHEM/lib/Device/Firmata/Protocol.pm
2013.11.05 03:26:24 3: update get http://fhem.de/fhemupdate4/svn/FHEM/lib/SWAP/justme/epd.xml
2013.11.05 03:26:25 3: update get http://fhem.de/fhemupdate4/svn/docs/commandref.html
2013.11.05 03:26:26 3: update get http://fhem.de/fhemupdate4/svn/docs/commandref_DE.html
2013.11.05 03:26:27 3: update get http://fhem.de/fhemupdate4/svn/www/gplot/hm-rt.gplot
2013.11.05 03:26:27 3: update get http://fhem.de/fhemupdate4/svn/www/images/openautomation/iconalias.txt
2013.11.05 03:26:27 3: update get http://fhem.de/fhemupdate4/svn/www/pgm2/brightstyle.css
2013.11.05 03:26:27 3: update get http://fhem.de/fhemupdate4/svn/www/pgm2/console.js
2013.11.05 03:26:27 3: update get http://fhem.de/fhemupdate4/svn/www/pgm2/darkstyle.css
2013.11.05 03:26:27 3: update get http://fhem.de/fhemupdate4/svn/www/pgm2/fhemweb.js
2013.11.05 03:26:27 3: update get http://fhem.de/fhemupdate4/svn/www/pgm2/ios7smallscreenstyle.css
2013.11.05 03:26:28 3: update get http://fhem.de/fhemupdate4/svn/www/pgm2/ios7style.css
2013.11.05 03:26:28 3: update get http://fhem.de/fhemupdate4/svn/www/pgm2/smallscreenstyle.css
2013.11.05 03:26:28 3: update get http://fhem.de/fhemupdate4/svn/www/pgm2/style.css
2013.11.05 03:26:28 3: update get http://fhem.de/fhemupdate4/svn/www/pgm2/touchpadstyle.css
2013.11.05 03:26:28 1: update 85 file(s) have been updated.
2013.11.05 03:26:28 1: update A new version of fhem.pl was installed, 'shutdown restart' is required!
2013.11.05 03:27:05 0: Server shutdown
2013.11.05 03:27:08 1: Including fhem.cfg
2013.11.05 03:27:08 3: telnetPort: port 7072 opened
2013.11.05 03:27:09 3: WEB: port 8083 opened
2013.11.05 03:27:09 3: WEBphone: port 8084 opened
2013.11.05 03:27:09 3: WEBtablet: port 8085 opened
2013.11.05 03:27:09 2: eventTypes: loaded 0 events from ./log/eventTypes.txt
2013.11.05 03:27:09 3: Opening FRM_0 device /dev/ttyACM0:57600
2013.11.05 03:27:09 3: Can't connect to /dev/ttyACM0:57600: Invalid argument
2013.11.05 03:27:09 1: Including ./log/fhem.save
2013.11.05 03:27:09 1: usb create starting
2013.11.05 03:27:10 3: Opening TCM310 device /dev/ttyUSB0
2013.11.05 03:27:10 3: Setting TCM310 baudrate to 57600
2013.11.05 03:27:11 3: TCM310 device opened
2013.11.05 03:27:11 3: Opening TCM120 device /dev/ttyUSB0
2013.11.05 03:27:11 3: Setting TCM120 baudrate to 9600
2013.11.05 03:27:11 3: TCM120 device opened
2013.11.05 03:27:11 3: Opening FHZ device /dev/ttyUSB0
2013.11.05 03:27:11 3: Setting FHZ baudrate to 9600
2013.11.05 03:27:11 3: FHZ device opened
2013.11.05 03:27:11 3: Opening TRX device /dev/ttyUSB0
2013.11.05 03:27:11 3: Setting TRX baudrate to 38400
2013.11.05 03:27:11 3: TRX device opened
2013.11.05 03:27:12 3: Opening ZWDongle device /dev/ttyUSB0
2013.11.05 03:27:12 3: Setting ZWDongle baudrate to 115200
2013.11.05 03:27:12 3: ZWDongle device opened
2013.11.05 03:27:12 3: Opening FRM device /dev/ttyUSB0
2013.11.05 03:27:12 3: Setting FRM baudrate to 57600
2013.11.05 03:27:12 3: FRM device opened
2013.11.05 03:27:20 1: define FRM_0 FRM /dev/ttyUSB0@57600
2013.11.05 03:27:20 1: usb create end
2013.11.05 03:27:20 2: SecurityCheck:  WEB,WEBphone,WEBtablet has no basicAuth attribute. telnetPort has no password/globalpassword attribute.  Restart fhem for a new check if the problem is fixed, or set the global attribute motd to none to supress this message.
2013.11.05 03:27:21 0: Server started with 10 defined entities (version $Id: fhem.pl 4099 2013-10-22 20:55:35Z rudolfkoenig $, os linux, user fhem, pid 2872)
2013.11.05 03:27:37 1: usb scan starting
2013.11.05 03:27:38 3: Opening TCM310 device /dev/ttyUSB0
2013.11.05 03:27:38 3: Setting TCM310 baudrate to 57600
2013.11.05 03:27:38 3: TCM310 device opened
2013.11.05 03:27:38 3: Opening TCM120 device /dev/ttyUSB0
2013.11.05 03:27:38 3: Setting TCM120 baudrate to 9600
2013.11.05 03:27:38 3: TCM120 device opened
2013.11.05 03:27:38 3: Opening FHZ device /dev/ttyUSB0
2013.11.05 03:27:38 3: Setting FHZ baudrate to 9600
2013.11.05 03:27:38 3: FHZ device opened
2013.11.05 03:27:39 3: Opening TRX device /dev/ttyUSB0
2013.11.05 03:27:39 3: Setting TRX baudrate to 38400
2013.11.05 03:27:39 3: TRX device opened
2013.11.05 03:27:39 3: Opening ZWDongle device /dev/ttyUSB0
2013.11.05 03:27:39 3: Setting ZWDongle baudrate to 115200
2013.11.05 03:27:39 3: ZWDongle device opened
2013.11.05 03:27:40 3: Opening FRM device /dev/ttyUSB0
2013.11.05 03:27:40 3: Setting FRM baudrate to 57600
2013.11.05 03:27:40 3: FRM device opened
2013.11.05 03:27:48 1: usb scan end
2013.11.05 03:28:45 1: Including fhem.cfg
2013.11.05 03:28:45 3: telnetPort: port 7072 opened
2013.11.05 03:28:45 3: WEB: port 8083 opened
2013.11.05 03:28:45 3: WEBphone: port 8084 opened
2013.11.05 03:28:45 3: WEBtablet: port 8085 opened
2013.11.05 03:28:45 2: eventTypes: loaded 0 events from ./log/eventTypes.txt
2013.11.05 03:28:45 3: Opening FRM_0 device /dev/ttyACM0:57600
2013.11.05 03:28:45 3: Can't connect to /dev/ttyACM0:57600: Invalid argument
2013.11.05 03:28:45 3: Opening FRM_1 device /dev/ttyUSB0:57600
2013.11.05 03:28:45 3: Can't connect to /dev/ttyUSB0:57600: Invalid argument
2013.11.05 03:28:45 1: Including ./log/fhem.save
2013.11.05 03:29:07 1: usb scan starting
2013.11.05 03:29:08 3: Opening TCM310 device /dev/ttyUSB0
2013.11.05 03:29:08 3: Setting TCM310 baudrate to 57600
2013.11.05 03:29:08 3: TCM310 device opened
2013.11.05 03:29:08 3: Opening TCM120 device /dev/ttyUSB0
2013.11.05 03:29:08 3: Setting TCM120 baudrate to 9600
2013.11.05 03:29:08 3: TCM120 device opened
2013.11.05 03:29:08 3: Opening FHZ device /dev/ttyUSB0
2013.11.05 03:29:08 3: Setting FHZ baudrate to 9600
2013.11.05 03:29:08 3: FHZ device opened
2013.11.05 03:29:08 3: Opening TRX device /dev/ttyUSB0
2013.11.05 03:29:08 3: Setting TRX baudrate to 38400
2013.11.05 03:29:08 3: TRX device opened
2013.11.05 03:29:09 3: Opening ZWDongle device /dev/ttyUSB0
2013.11.05 03:29:09 3: Setting ZWDongle baudrate to 115200
2013.11.05 03:29:09 3: ZWDongle device opened
2013.11.05 03:29:09 3: Opening FRM device /dev/ttyUSB0
2013.11.05 03:29:09 3: Setting FRM baudrate to 57600
2013.11.05 03:29:09 3: FRM device opened
2013.11.05 03:29:18 1: usb scan end
2013.11.05 03:30:08 1: Including fhem.cfg
2013.11.05 03:30:08 3: telnetPort: port 7072 opened
2013.11.05 03:30:08 3: WEB: port 8083 opened
2013.11.05 03:30:08 3: WEBphone: port 8084 opened
2013.11.05 03:30:08 3: WEBtablet: port 8085 opened
2013.11.05 03:30:08 2: eventTypes: loaded 0 events from ./log/eventTypes.txt
2013.11.05 03:30:08 3: Opening FRM_0 device /dev/ttyACM0
2013.11.05 03:30:08 3: Can't open /dev/ttyACM0: No such file or directory
2013.11.05 03:30:08 1: Including ./log/fhem.save
2013.11.05 03:30:18 1: Including fhem.cfg
2013.11.05 03:30:18 3: telnetPort: port 7072 opened
2013.11.05 03:30:18 3: WEB: port 8083 opened
2013.11.05 03:30:18 3: WEBphone: port 8084 opened
2013.11.05 03:30:18 3: WEBtablet: port 8085 opened
2013.11.05 03:30:18 2: eventTypes: loaded 0 events from ./log/eventTypes.txt
2013.11.05 03:30:18 3: Opening FRM_0 device /dev/ttyACM0
2013.11.05 03:30:18 3: Can't open /dev/ttyACM0: No such file or directory
2013.11.05 03:30:18 1: Including ./log/fhem.save
2013.11.05 03:30:32 1: Including fhem.cfg
2013.11.05 03:30:32 3: telnetPort: port 7072 opened
2013.11.05 03:30:32 3: WEB: port 8083 opened
2013.11.05 03:30:32 3: WEBphone: port 8084 opened
2013.11.05 03:30:32 3: WEBtablet: port 8085 opened
2013.11.05 03:30:32 2: eventTypes: loaded 0 events from ./log/eventTypes.txt
2013.11.05 03:30:32 3: Opening FRM_0 device /dev/ttyACM0
2013.11.05 03:30:32 3: Can't open /dev/ttyACM0: No such file or directory
2013.11.05 03:30:32 3: Opening FRM_1 device /dev/ttyUSB0
2013.11.05 03:30:32 3: Setting FRM_1 baudrate to 57600
2013.11.05 03:30:32 3: FRM_1 device opened
2013.11.05 03:30:35 3: querying Firmata Firmware Version
2013.11.05 03:30:35 3: Firmata Firmware Version: StandardFirmata.ino V_2_03
2013.11.05 03:30:35 1: Including ./log/fhem.save
2013.11.05 03:33:35 1: /dev/ttyUSB0 disconnected, waiting to reappear
2013.11.05 03:34:16 3: Setting FRM_0 baudrate to 57600
2013.11.05 03:34:16 1: /dev/ttyACM0 reappeared (FRM_0)
2013.11.05 03:34:19 3: querying Firmata Firmware Version
2013.11.05 03:34:20 3: querying Firmata Firmware Version
2013.11.05 03:34:21 3: querying Firmata Firmware Version
2013.11.05 03:34:21 3: no response from Firmata, closing DevIO
2013.11.05 03:34:21 1: /dev/ttyACM0 disconnected, waiting to reappear
2013.11.05 03:34:21 1: Cannot init /dev/ttyACM0, ignoring it
2013.11.05 03:35:33 3: Opening FRM_0 device /dev/ttyACM0
2013.11.05 03:35:33 3: Setting FRM_0 baudrate to 57600
2013.11.05 03:35:33 3: FRM_0 device opened
2013.11.05 03:35:36 3: querying Firmata Firmware Version
2013.11.05 03:35:37 3: querying Firmata Firmware Version
2013.11.05 03:35:38 3: querying Firmata Firmware Version
2013.11.05 03:35:38 3: no response from Firmata, closing DevIO
2013.11.05 03:35:38 1: /dev/ttyACM0 disconnected, waiting to reappear
2013.11.05 03:35:38 1: Cannot init /dev/ttyACM0, ignoring it
2013.11.05 03:36:21 1: usb scan starting
2013.11.05 03:36:22 3: Opening CUL device /dev/ttyACM0
2013.11.05 03:36:22 3: Setting CUL baudrate to 9600
2013.11.05 03:36:22 3: CUL device opened
2013.11.05 03:36:22 3: Opening TCM310 device /dev/ttyACM0
2013.11.05 03:36:22 3: Setting TCM310 baudrate to 57600
2013.11.05 03:36:22 3: TCM310 device opened
2013.11.05 03:36:23 3: Opening FRM device /dev/ttyACM0
2013.11.05 03:36:23 3: Setting FRM baudrate to 57600
2013.11.05 03:36:23 3: FRM device opened
2013.11.05 03:36:28 1: usb scan end
2013.11.05 03:37:19 1: Including fhem.cfg
2013.11.05 03:37:19 3: telnetPort: port 7072 opened
2013.11.05 03:37:19 3: WEB: port 8083 opened
2013.11.05 03:37:19 3: WEBphone: port 8084 opened
2013.11.05 03:37:19 3: WEBtablet: port 8085 opened
2013.11.05 03:37:19 2: eventTypes: loaded 0 events from ./log/eventTypes.txt
2013.11.05 03:37:19 3: Opening FRM_0 device /dev/ttyACM0
2013.11.05 03:37:19 3: Setting FRM_0 baudrate to 57600
2013.11.05 03:37:19 3: FRM_0 device opened
2013.11.05 03:37:22 3: querying Firmata Firmware Version
2013.11.05 03:37:23 3: querying Firmata Firmware Version
2013.11.05 03:37:24 3: querying Firmata Firmware Version
2013.11.05 03:37:24 3: no response from Firmata, closing DevIO
2013.11.05 03:37:24 1: /dev/ttyACM0 disconnected, waiting to reappear
2013.11.05 03:37:24 1: Cannot init /dev/ttyACM0, ignoring it
2013.11.05 03:37:24 1: Including ./log/fhem.save
2013.11.05 03:37:33 1: Including fhem.cfg
2013.11.05 03:37:33 3: telnetPort: port 7072 opened
2013.11.05 03:37:33 3: WEB: port 8083 opened
2013.11.05 03:37:33 3: WEBphone: port 8084 opened
2013.11.05 03:37:33 3: WEBtablet: port 8085 opened
2013.11.05 03:37:33 2: eventTypes: loaded 0 events from ./log/eventTypes.txt
2013.11.05 03:37:33 3: Opening FRM_0 device /dev/ttyACM0
2013.11.05 03:37:33 3: Setting FRM_0 baudrate to 57600
2013.11.05 03:37:33 3: FRM_0 device opened
2013.11.05 03:37:36 3: querying Firmata Firmware Version
2013.11.05 03:37:37 3: querying Firmata Firmware Version
2013.11.05 03:37:38 3: querying Firmata Firmware Version
2013.11.05 03:37:38 3: no response from Firmata, closing DevIO
2013.11.05 03:37:38 1: /dev/ttyACM0 disconnected, waiting to reappear
2013.11.05 03:37:38 1: Cannot init /dev/ttyACM0, ignoring it
2013.11.05 03:37:38 1: Including ./log/fhem.save
2013.11.05 03:38:37 1: usb scan starting
2013.11.05 03:38:38 3: Opening CUL device /dev/ttyACM0
2013.11.05 03:38:38 3: Setting CUL baudrate to 9600
2013.11.05 03:38:38 3: CUL device opened
2013.11.05 03:38:38 3: Opening TCM310 device /dev/ttyACM0
2013.11.05 03:38:38 3: Setting TCM310 baudrate to 57600
2013.11.05 03:38:39 3: TCM310 device opened
2013.11.05 03:38:39 3: Opening FRM device /dev/ttyACM0
2013.11.05 03:38:39 3: Setting FRM baudrate to 57600
2013.11.05 03:38:39 3: FRM device opened
2013.11.05 03:38:44 1: usb scan end
2013.11.05 03:39:17 3: Opening FRM_0 device /dev/ttyACM0
2013.11.05 03:39:17 3: Setting FRM_0 baudrate to 57600
2013.11.05 03:39:17 3: FRM_0 device opened
2013.11.05 03:39:20 3: querying Firmata Firmware Version
2013.11.05 03:39:21 3: querying Firmata Firmware Version
2013.11.05 03:39:22 3: querying Firmata Firmware Version
2013.11.05 03:39:22 3: no response from Firmata, closing DevIO
2013.11.05 03:39:22 1: /dev/ttyACM0 disconnected, waiting to reappear
2013.11.05 03:39:22 1: Cannot init /dev/ttyACM0, ignoring it
2013.11.05 03:41:24 3: Opening FRM_0 device /dev/ttyACM0
2013.11.05 03:41:24 3: Setting FRM_0 baudrate to 57600
2013.11.05 03:41:24 3: FRM_0 device opened
2013.11.05 03:41:27 3: querying Firmata Firmware Version
2013.11.05 03:41:27 3: Firmata Firmware Version: StandardFirmata.ino V_2_05
2013.11.05 03:41:54 3: Opening FRM_0 device /dev/ttyACM0
2013.11.05 03:41:54 3: Setting FRM_0 baudrate to 57600
2013.11.05 03:41:54 3: FRM_0 device opened
2013.11.05 03:41:57 3: querying Firmata Firmware Version
2013.11.05 03:41:57 3: Firmata Firmware Version: StandardFirmata.ino V_2_05
2013.11.05 03:42:05 3: Opening FRM_0 device /dev/ttyACM0
2013.11.05 03:42:05 3: Setting FRM_0 baudrate to 57600
2013.11.05 03:42:05 3: FRM_0 device opened
2013.11.05 03:42:08 3: querying Firmata Firmware Version
2013.11.05 03:42:08 3: Firmata Firmware Version: StandardFirmata.ino V_2_05
2013.11.05 03:42:22 1: /dev/ttyACM0 disconnected, waiting to reappear
2013.11.05 03:43:09 3: Setting FRM_0 baudrate to 57600
2013.11.05 03:43:09 1: /dev/ttyACM0 reappeared (FRM_0)
2013.11.05 03:43:12 3: querying Firmata Firmware Version
2013.11.05 03:43:13 3: querying Firmata Firmware Version
2013.11.05 03:43:14 3: querying Firmata Firmware Version
2013.11.05 03:43:14 3: no response from Firmata, closing DevIO
2013.11.05 03:43:14 1: /dev/ttyACM0 disconnected, waiting to reappear
2013.11.05 03:43:14 1: Cannot init /dev/ttyACM0, ignoring it
2013.11.05 03:43:21 3: Opening FRM_0 device /dev/ttyACM0
2013.11.05 03:43:21 3: Setting FRM_0 baudrate to 57600
2013.11.05 03:43:21 3: FRM_0 device opened
2013.11.05 03:43:24 3: querying Firmata Firmware Version
2013.11.05 03:43:25 3: querying Firmata Firmware Version
2013.11.05 03:43:26 3: querying Firmata Firmware Version
2013.11.05 03:43:26 3: no response from Firmata, closing DevIO
2013.11.05 03:43:26 1: /dev/ttyACM0 disconnected, waiting to reappear
2013.11.05 03:43:26 1: Cannot init /dev/ttyACM0, ignoring it
2013.11.05 03:43:41 3: Opening FRM_0 device /dev/ttyACM0
2013.11.05 03:43:41 3: Setting FRM_0 baudrate to 57600
2013.11.05 03:43:41 3: FRM_0 device opened
2013.11.05 03:43:44 3: querying Firmata Firmware Version
2013.11.05 03:43:45 3: querying Firmata Firmware Version
2013.11.05 03:43:46 3: querying Firmata Firmware Version
2013.11.05 03:43:46 3: no response from Firmata, closing DevIO
2013.11.05 03:43:46 1: /dev/ttyACM0 disconnected, waiting to reappear
2013.11.05 03:43:46 1: Cannot init /dev/ttyACM0, ignoring it
2013.11.05 03:44:35 1: Including fhem.cfg
2013.11.05 03:44:35 3: telnetPort: port 7072 opened
2013.11.05 03:44:35 3: WEB: port 8083 opened
2013.11.05 03:44:35 3: WEBphone: port 8084 opened
2013.11.05 03:44:35 3: WEBtablet: port 8085 opened
2013.11.05 03:44:35 2: eventTypes: loaded 0 events from ./log/eventTypes.txt
2013.11.05 03:44:35 3: Opening FRM_0 device /dev/ttyACM0
2013.11.05 03:44:35 3: Setting FRM_0 baudrate to 57600
2013.11.05 03:44:35 3: FRM_0 device opened
2013.11.05 03:44:38 3: querying Firmata Firmware Version
2013.11.05 03:44:39 3: querying Firmata Firmware Version
2013.11.05 03:44:40 3: querying Firmata Firmware Version
2013.11.05 03:44:40 3: no response from Firmata, closing DevIO
2013.11.05 03:44:40 1: /dev/ttyACM0 disconnected, waiting to reappear
2013.11.05 03:44:40 1: Cannot init /dev/ttyACM0, ignoring it
2013.11.05 03:44:40 2: error initializing FRM_0_Pin_13: error initializing 'FRM_0_Pin_13': FRM_0_Pin_13, FRM_0 is not connected
2013.11.05 03:44:40 1: Including ./log/fhem.save
2013.11.05 03:45:15 3: Opening FRM_0 device /dev/ttyACM0
2013.11.05 03:45:15 3: Setting FRM_0 baudrate to 57600
2013.11.05 03:45:15 3: FRM_0 device opened
2013.11.05 03:45:18 3: querying Firmata Firmware Version
2013.11.05 03:45:19 3: querying Firmata Firmware Version
2013.11.05 03:45:20 3: querying Firmata Firmware Version
2013.11.05 03:45:20 3: no response from Firmata, closing DevIO
2013.11.05 03:45:20 1: /dev/ttyACM0 disconnected, waiting to reappear
2013.11.05 03:45:20 1: Cannot init /dev/ttyACM0, ignoring it
2013.11.05 03:46:10 3: Opening FRM_0 device /dev/ttyACM0
2013.11.05 03:46:10 3: Setting FRM_0 baudrate to 57600
2013.11.05 03:46:10 3: FRM_0 device opened
2013.11.05 03:46:13 3: querying Firmata Firmware Version
2013.11.05 03:46:13 3: Firmata Firmware Version: StandardFirmata.ino V_2_05
2013.11.05 03:46:34 1: /dev/ttyACM0 disconnected, waiting to reappear
2013.11.05 03:46:54 3: Setting FRM_0 baudrate to 57600
2013.11.05 03:46:54 1: /dev/ttyACM0 reappeared (FRM_0)
2013.11.05 03:46:57 3: querying Firmata Firmware Version
2013.11.05 03:46:58 3: querying Firmata Firmware Version
2013.11.05 03:46:59 3: querying Firmata Firmware Version
2013.11.05 03:46:59 3: no response from Firmata, closing DevIO
2013.11.05 03:46:59 1: /dev/ttyACM0 disconnected, waiting to reappear
2013.11.05 03:46:59 1: Cannot init /dev/ttyACM0, ignoring it
2013.11.05 03:47:15 3: Opening FRM_0 device /dev/ttyACM0
2013.11.05 03:47:15 3: Setting FRM_0 baudrate to 57600
2013.11.05 03:47:15 3: FRM_0 device opened
2013.11.05 03:47:18 3: querying Firmata Firmware Version
2013.11.05 03:47:19 3: querying Firmata Firmware Version
2013.11.05 03:47:20 3: querying Firmata Firmware Version
2013.11.05 03:47:20 3: no response from Firmata, closing DevIO
2013.11.05 03:47:20 1: /dev/ttyACM0 disconnected, waiting to reappear
2013.11.05 03:47:20 1: Cannot init /dev/ttyACM0, ignoring it
2013.11.05 03:47:36 2: error initializing FRM_0_Pin_13: error initializing 'FRM_0_Pin_13': FRM_0_Pin_13, FRM_0 is not connected
2013.11.05 03:50:09 1: Including fhem.cfg
2013.11.05 03:50:09 3: telnetPort: port 7072 opened
2013.11.05 03:50:09 3: WEB: port 8083 opened
2013.11.05 03:50:09 3: WEBphone: port 8084 opened
2013.11.05 03:50:09 3: WEBtablet: port 8085 opened
2013.11.05 03:50:09 2: eventTypes: loaded 0 events from ./log/eventTypes.txt
2013.11.05 03:50:09 3: Opening FRM_0 device /dev/ttyACM0
2013.11.05 03:50:09 3: Can't open /dev/ttyACM0: No such file or directory
2013.11.05 03:50:09 2: error initializing FRM_0_Pin_13: error initializing 'FRM_0_Pin_13': FRM_0_Pin_13, FRM_0 is not connected
2013.11.05 03:50:09 3: Opening FRM_1 device /dev/ttyUSB0
2013.11.05 03:50:09 3: Setting FRM_1 baudrate to 57600
2013.11.05 03:50:09 3: FRM_1 device opened
2013.11.05 03:50:12 3: querying Firmata Firmware Version
2013.11.05 03:50:12 3: Firmata Firmware Version: StandardFirmata.ino V_2_03
2013.11.05 03:50:12 1: Including ./log/fhem.save
2013.11.05 03:53:28 1: /dev/ttyUSB0 disconnected, waiting to reappear
2013.11.06 02:17:56 3: Setting FRM_0 baudrate to 57600
2013.11.06 02:17:56 1: /dev/ttyACM0 reappeared (FRM_0)
2013.11.06 02:17:56 3: Firmata Firmware Version: StandardFirmata.ino V_2_03
2013.11.06 02:17:57 2: error initializing FRM_0_Pin_13: error initializing 'FRM_0_Pin_13': Device FRM_1_Pin_13 allready defined for pin 13
2013.11.06 02:19:09 1: /dev/ttyACM0 disconnected, waiting to reappear
2013.11.06 02:19:09 1: Including fhem.cfg
2013.11.06 02:19:09 3: telnetPort: port 7072 opened
2013.11.06 02:19:09 3: WEB: port 8083 opened
2013.11.06 02:19:09 3: WEBphone: port 8084 opened
2013.11.06 02:19:09 3: WEBtablet: port 8085 opened
2013.11.06 02:19:09 2: eventTypes: loaded 0 events from ./log/eventTypes.txt
2013.11.06 02:19:09 3: Opening FRM_0 device /dev/ttyACM0
2013.11.06 02:19:09 3: Setting FRM_0 baudrate to 57600
2013.11.06 02:19:09 3: FRM_0 device opened
2013.11.06 02:19:10 3: Firmata Firmware Version: StandardFirmata.ino V_2_03
2013.11.06 02:19:10 3: Opening FRM_1 device /dev/ttyUSB0
2013.11.06 02:19:10 3: Can't open /dev/ttyUSB0: No such file or directory
2013.11.06 02:19:10 2: error initializing FRM_1_Pin_13: error initializing 'FRM_1_Pin_13': FRM_1_Pin_13, FRM_1 is not connected
2013.11.06 02:19:10 1: Including ./log/fhem.save
2013.11.06 02:20:52 1: /dev/ttyACM0 disconnected, waiting to reappear
2013.11.06 02:20:57 3: Setting FRM_0 baudrate to 57600
2013.11.06 02:20:57 1: /dev/ttyACM0 reappeared (FRM_0)
2013.11.06 02:21:00 3: querying Firmata Firmware Version
2013.11.06 02:21:01 3: querying Firmata Firmware Version
2013.11.06 02:21:02 3: querying Firmata Firmware Version
2013.11.06 02:21:02 3: no response from Firmata, closing DevIO
2013.11.06 02:21:02 1: /dev/ttyACM0 disconnected, waiting to reappear
2013.11.06 02:21:02 1: Cannot init /dev/ttyACM0, ignoring it
2013.11.06 02:21:58 3: Opening FRM_0 device /dev/ttyACM0
2013.11.06 02:21:58 3: Setting FRM_0 baudrate to 57600
2013.11.06 02:21:58 3: FRM_0 device opened
2013.11.06 02:21:59 3: Firmata Firmware Version: StandardFirmata.ino V_2_03
2013.11.06 02:21:59 2: error initializing FRM_0_Pin_13: error initializing 'FRM_0_Pin_13': Device FRM_1_Pin_13 allready defined for pin 13
2013.11.06 02:28:53 2: error initializing FRM_0_Pin_13: error initializing 'FRM_0_Pin_13': Device FRM_1_Pin_13 allready defined for pin 13
2013.11.06 02:30:08 1: /dev/ttyACM0 disconnected, waiting to reappear
2013.11.06 02:30:08 1: Including fhem.cfg
2013.11.06 02:30:08 3: telnetPort: port 7072 opened
2013.11.06 02:30:08 3: WEB: port 8083 opened
2013.11.06 02:30:09 3: WEBphone: port 8084 opened
2013.11.06 02:30:09 3: WEBtablet: port 8085 opened
2013.11.06 02:30:09 2: eventTypes: loaded 0 events from ./log/eventTypes.txt
2013.11.06 02:30:09 3: Opening FRM_0 device /dev/ttyACM0
2013.11.06 02:30:09 3: Setting FRM_0 baudrate to 57600
2013.11.06 02:30:09 3: FRM_0 device opened
2013.11.06 02:30:09 3: Firmata Firmware Version: StandardFirmata.ino V_2_03
2013.11.06 02:30:10 3: Opening FRM_1 device /dev/ttyUSB0
2013.11.06 02:30:10 3: Can't open /dev/ttyUSB0: No such file or directory
2013.11.06 02:30:10 2: error initializing FRM_1_Pin_13: error initializing 'FRM_1_Pin_13': FRM_1_Pin_13, FRM_1 is not connected
2013.11.06 02:30:10 1: Including ./log/fhem.save
2013.11.06 02:30:20 1: /dev/ttyACM0 disconnected, waiting to reappear
2013.11.06 02:30:26 3: Setting FRM_0 baudrate to 57600
2013.11.06 02:30:26 1: /dev/ttyACM0 reappeared (FRM_0)
2013.11.06 02:30:27 3: Firmata Firmware Version: StandardFirmata.ino V_2_03
2013.11.06 02:30:27 2: error initializing FRM_0_Pin_13: error initializing 'FRM_0_Pin_13': Device FRM_1_Pin_13 allready defined for pin 13
2013.11.06 02:32:33 0: Server shutdown
2013.11.06 02:32:36 1: Including fhem.cfg
2013.11.06 02:32:36 3: telnetPort: port 7072 opened
2013.11.06 02:32:37 3: WEB: port 8083 opened
2013.11.06 02:32:37 3: WEBphone: port 8084 opened
2013.11.06 02:32:37 3: WEBtablet: port 8085 opened
2013.11.06 02:32:37 2: eventTypes: loaded 10 events from ./log/eventTypes.txt
2013.11.06 02:32:37 3: Opening FRM_0 device /dev/ttyACM0
2013.11.06 02:32:37 3: Setting FRM_0 baudrate to 57600
2013.11.06 02:32:37 3: FRM_0 device opened
2013.11.06 02:32:38 3: Firmata Firmware Version: StandardFirmata.ino V_2_03
2013.11.06 02:32:39 3: Opening FRM_1 device /dev/ttyUSB0
2013.11.06 02:32:39 3: Can't open /dev/ttyUSB0: No such file or directory
2013.11.06 02:32:39 2: error initializing FRM_1_Pin_13: error initializing 'FRM_1_Pin_13': FRM_1_Pin_13, FRM_1 is not connected
2013.11.06 02:32:39 1: Including ./log/fhem.save
2013.11.06 02:32:39 1: usb create starting
2013.11.06 02:32:40 1: usb create end
2013.11.06 02:32:40 2: SecurityCheck:  WEB,WEBphone,WEBtablet has no basicAuth attribute. telnetPort has no password/globalpassword attribute.  Restart fhem for a new check if the problem is fixed, or set the global attribute motd to none to supress this message.
2013.11.06 02:32:40 0: Server started with 13 defined entities (version $Id: fhem.pl 4099 2013-10-22 20:55:35Z rudolfkoenig $, os linux, user fhem, pid 22278)
2013.11.06 02:34:49 1: usb scan starting
2013.11.06 02:34:50 1: usb scan end
2013.11.06 02:35:55 1: /dev/ttyACM0 disconnected, waiting to reappear
2013.11.06 02:36:11 3: Setting FRM_0 baudrate to 57600
2013.11.06 02:36:11 1: /dev/ttyACM0 reappeared (FRM_0)
2013.11.06 02:36:14 3: querying Firmata Firmware Version
2013.11.06 02:36:15 3: querying Firmata Firmware Version
2013.11.06 02:36:16 3: querying Firmata Firmware Version
2013.11.06 02:36:16 3: no response from Firmata, closing DevIO
2013.11.06 02:36:16 1: /dev/ttyACM0 disconnected, waiting to reappear
2013.11.06 02:36:16 1: Cannot init /dev/ttyACM0, ignoring it
2013.11.06 02:37:08 3: Opening FRM_0 device /dev/ttyACM0
2013.11.06 02:37:08 3: Setting FRM_0 baudrate to 57600
2013.11.06 02:37:08 3: FRM_0 device opened
2013.11.06 02:37:08 3: Firmata Firmware Version: ⦃㨀む㜀㈀む㤀㈀⌀㒀㤀㚀む㨀むᜀ㒀㜀㞀 V_121_02
2013.11.06 02:37:13 2: error initializing FRM_0_Pin_13: error initializing 'FRM_0_Pin_13': Device FRM_1_Pin_13 allready defined for pin 13
2013.11.06 02:41:56 1: Including fhem.cfg
2013.11.06 02:41:57 3: telnetPort: port 7072 opened
2013.11.06 02:41:57 3: WEB: port 8083 opened
2013.11.06 02:41:57 3: WEBphone: port 8084 opened
2013.11.06 02:41:57 3: WEBtablet: port 8085 opened
2013.11.06 02:41:57 2: eventTypes: loaded 10 events from ./log/eventTypes.txt
2013.11.06 02:41:57 3: Opening FRM_0 device /dev/ttyACM0
2013.11.06 02:41:58 3: Setting FRM_0 baudrate to 57600
2013.11.06 02:41:58 3: FRM_0 device opened
2013.11.06 02:41:59 3: Firmata Firmware Version: StŹ⦃㨀む㜀㈀む㤀㈀⌀㒀㤀㚀む㨀むᜀ㒀㜀㞀 V_2_03
2013.11.06 02:41:59 3: Opening FRM_1 device /dev/ttyUSB0
2013.11.06 02:41:59 3: Can't open /dev/ttyUSB0: No such file or directory
2013.11.06 02:41:59 2: error initializing FRM_1_Pin_13: error initializing 'FRM_1_Pin_13': FRM_1_Pin_13, FRM_1 is not connected
2013.11.06 02:41:59 1: Including ./log/fhem.save
2013.11.06 02:41:59 1: usb create starting
2013.11.06 02:42:00 1: usb create end
2013.11.06 02:42:00 2: SecurityCheck:  WEB,WEBphone,WEBtablet has no basicAuth attribute. telnetPort has no password/globalpassword attribute.  Restart fhem for a new check if the problem is fixed, or set the global attribute motd to none to supress this message.
2013.11.06 02:42:00 0: Server started with 13 defined entities (version $Id: fhem.pl 4099 2013-10-22 20:55:35Z rudolfkoenig $, os linux, user root, pid 22903)
2013.11.06 02:43:07 0: Server shutdown
2013.11.06 02:44:21 1: Including fhem.cfg
2013.11.06 02:44:22 3: telnetPort: port 7072 opened
2013.11.06 02:44:22 3: WEB: port 8083 opened
2013.11.06 02:44:22 3: WEBphone: port 8084 opened
2013.11.06 02:44:22 3: WEBtablet: port 8085 opened
2013.11.06 02:44:23 2: eventTypes: loaded 10 events from ./log/eventTypes.txt
2013.11.06 02:44:23 3: Opening FRM_0 device /dev/ttyACM0
2013.11.06 02:44:23 3: Setting FRM_0 baudrate to 57600
2013.11.06 02:44:23 3: FRM_0 device opened
2013.11.06 02:44:26 3: querying Firmata Firmware Version
2013.11.06 02:44:27 3: querying Firmata Firmware Version
2013.11.06 02:44:28 3: querying Firmata Firmware Version
2013.11.06 02:44:28 3: no response from Firmata, closing DevIO
2013.11.06 02:44:28 1: /dev/ttyACM0 disconnected, waiting to reappear
2013.11.06 02:44:28 1: Cannot init /dev/ttyACM0, ignoring it
2013.11.06 02:44:28 2: error initializing FRM_0_Pin_13: error initializing 'FRM_0_Pin_13': FRM_0_Pin_13, FRM_0 is not connected
2013.11.06 02:44:28 3: Opening FRM_1 device /dev/ttyUSB0
2013.11.06 02:44:28 3: Can't open /dev/ttyUSB0: No such file or directory
2013.11.06 02:44:28 2: error initializing FRM_1_Pin_13: error initializing 'FRM_1_Pin_13': FRM_1_Pin_13, FRM_1 is not connected
2013.11.06 02:44:28 1: Including ./log/fhem.save
2013.11.06 02:44:28 1: usb create starting
2013.11.06 02:44:29 3: Opening CUL device /dev/ttyACM0
2013.11.06 02:44:30 3: Setting CUL baudrate to 9600
2013.11.06 02:44:30 3: CUL device opened
2013.11.06 02:44:31 3: Opening TCM310 device /dev/ttyACM0
2013.11.06 02:44:31 3: Setting TCM310 baudrate to 57600
2013.11.06 02:44:31 3: TCM310 device opened
2013.11.06 02:44:31 3: Opening FRM device /dev/ttyACM0
2013.11.06 02:44:31 3: Setting FRM baudrate to 57600
2013.11.06 02:44:31 3: FRM device opened
2013.11.06 02:44:37 1: define FRM_0 FRM /dev/ttyACM0@57600
2013.11.06 02:44:37 1: usb create end
2013.11.06 02:44:37 2: SecurityCheck:  WEB,WEBphone,WEBtablet has no basicAuth attribute. telnetPort has no password/globalpassword attribute.  Restart fhem for a new check if the problem is fixed, or set the global attribute motd to none to supress this message.
2013.11.06 02:44:37 0: Server started with 13 defined entities (version $Id: fhem.pl 4099 2013-10-22 20:55:35Z rudolfkoenig $, os linux, user fhem, pid 1457)
2013.11.06 03:26:34 3: Opening FRM_0 device /dev/ttyACM0
2013.11.06 03:26:34 3: Setting FRM_0 baudrate to 57600
2013.11.06 03:26:34 3: FRM_0 device opened
2013.11.06 03:26:35 3: Firmata Firmware Version: StandardFirmata.ino V_2_03
2013.11.06 03:26:35 2: error initializing FRM_0_Pin_13: error initializing 'FRM_0_Pin_13': Device FRM_1_Pin_13 allready defined for pin 13
2013.11.06 03:51:07 3: Opening FRM_1 device /dev/ttyUSB0
2013.11.06 03:51:07 3: Can't open /dev/ttyUSB0: No such file or directory
2013.11.06 04:02:56 3: Opening FRM_0 device /dev/ttyACM0
2013.11.06 04:02:56 3: Setting FRM_0 baudrate to 57600
2013.11.06 04:02:56 3: FRM_0 device opened
2013.11.06 04:02:57 3: Firmata Firmware Version: StandardFirmata.ino V_2_03
2013.11.06 04:04:08 1: /dev/ttyACM0 disconnected, waiting to reappear
2013.11.06 04:04:08 1: Including fhem.cfg
2013.11.06 04:04:08 3: telnetPort: port 7072 opened
2013.11.06 04:04:08 3: WEB: port 8083 opened
2013.11.06 04:04:08 3: WEBphone: port 8084 opened
2013.11.06 04:04:08 3: WEBtablet: port 8085 opened
2013.11.06 04:04:08 2: eventTypes: loaded 10 events from ./log/eventTypes.txt
2013.11.06 04:04:08 3: Opening FRM_0 device /dev/ttyACM0
2013.11.06 04:04:08 3: Setting FRM_0 baudrate to 57600
2013.11.06 04:04:08 3: FRM_0 device opened
2013.11.06 04:04:09 3: Firmata Firmware Version: StandardFirmata.ino V_2_03
2013.11.06 04:04:09 3: Opening FRM_1 device /dev/ttyUSB0
2013.11.06 04:04:09 3: Can't open /dev/ttyUSB0: No such file or directory
2013.11.06 04:04:09 2: error initializing FRM_1_Pin_13: error initializing 'FRM_1_Pin_13': FRM_1_Pin_13, FRM_1 is not connected
2013.11.06 04:04:09 3: FRM_IP: port 3030 opened
2013.11.06 04:04:09 2: error initializing FRM_IP_Pin_13: error initializing 'FRM_IP_Pin_13': FRM_IP_Pin_13, FRM_IP is not connected
2013.11.06 04:04:09 1: Including ./log/fhem.save
2013.11.06 04:08:06 1: /dev/ttyACM0 disconnected, waiting to reappear
2013.11.06 04:11:58 3: Firmata Firmware Version: CBRConfigurableFirmata.ino V_2_05
2013.11.06 14:53:42 3: Setting FRM_0 baudrate to 57600
2013.11.06 14:53:42 1: /dev/ttyACM0 reappeared (FRM_0)
2013.11.06 14:53:42 3: Firmata Firmware Version: StandardFirmata.ino V_2_03
2013.11.06 14:53:43 2: error initializing FRM_0_Pin_13: error initializing 'FRM_0_Pin_13': Device FRM_IP_Pin_13 allready defined for pin 13
2013.11.06 17:28:53 0: Server shutdown
2013.11.06 17:28:55 1: Including fhem.cfg
2013.11.06 17:28:56 3: telnetPort: port 7072 opened
2013.11.06 17:28:56 3: WEB: port 8083 opened
2013.11.06 17:28:56 3: WEBphone: port 8084 opened
2013.11.06 17:28:56 3: WEBtablet: port 8085 opened
2013.11.06 17:28:56 2: eventTypes: loaded 14 events from ./log/eventTypes.txt
2013.11.06 17:28:57 3: Opening FRM_0 device /dev/ttyACM0
2013.11.06 17:28:57 3: Setting FRM_0 baudrate to 57600
2013.11.06 17:28:57 3: FRM_0 device opened
2013.11.06 17:28:57 3: Firmata Firmware Version: Stan V_2_03
2013.11.06 17:29:02 3: Opening FRM_1 device /dev/ttyUSB0
2013.11.06 17:29:02 3: Can't open /dev/ttyUSB0: No such file or directory
2013.11.06 17:29:02 2: error initializing FRM_1_Pin_13: error initializing 'FRM_1_Pin_13': FRM_1_Pin_13, FRM_1 is not connected
2013.11.06 17:29:02 3: FRM_IP: port 3030 opened
2013.11.06 17:29:02 2: error initializing FRM_IP_Pin_13: error initializing 'FRM_IP_Pin_13': FRM_IP_Pin_13, FRM_IP is not connected
2013.11.06 17:29:02 1: Including ./log/fhem.save
2013.11.06 17:29:02 1: usb create starting
2013.11.06 17:29:03 1: usb create end
2013.11.06 17:29:03 2: SecurityCheck:  WEB,WEBphone,WEBtablet has no basicAuth attribute. telnetPort has no password/globalpassword attribute.  Restart fhem for a new check if the problem is fixed, or set the global attribute motd to none to supress this message.
2013.11.06 17:29:03 0: Server started with 15 defined entities (version $Id: fhem.pl 4099 2013-10-22 20:55:35Z rudolfkoenig $, os linux, user fhem, pid 23124)
2013.11.06 17:31:38 1: /dev/ttyACM0 disconnected, waiting to reappear
2013.11.06 17:31:53 3: Setting FRM_0 baudrate to 57600
2013.11.06 17:31:53 1: /dev/ttyACM0 reappeared (FRM_0)
2013.11.06 17:31:54 3: Firmata Firmware Version: StandardFirmata.ino V_2_03
2013.11.06 17:38:26 3: Opening FRM_0 device /dev/ttyACM0
2013.11.06 17:38:26 3: Setting FRM_0 baudrate to 57600
2013.11.06 17:38:26 3: FRM_0 device opened
2013.11.06 17:38:26 3: Firmata Firmware Version: StandardFirmata.ino V_2_03
2013.11.06 17:39:40 1: /dev/ttyACM0 disconnected, waiting to reappear
2013.11.06 17:39:40 1: Including fhem.cfg
2013.11.06 17:39:40 3: telnetPort: port 7072 opened
2013.11.06 17:39:40 3: WEB: port 8083 opened
2013.11.06 17:39:40 3: WEBphone: port 8084 opened
2013.11.06 17:39:40 3: WEBtablet: port 8085 opened
2013.11.06 17:39:40 2: eventTypes: loaded 14 events from ./log/eventTypes.txt
2013.11.06 17:39:40 3: Opening FRM_0 device /dev/ttyACM0
2013.11.06 17:39:40 3: Setting FRM_0 baudrate to 57600
2013.11.06 17:39:40 3: FRM_0 device opened
2013.11.06 17:39:41 3: Firmata Firmware Version: StandardFirmata.ino V_2_03
2013.11.06 17:39:41 3: Opening FRM_1 device /dev/ttyUSB0
2013.11.06 17:39:41 3: Can't open /dev/ttyUSB0: No such file or directory
2013.11.06 17:39:41 2: error initializing FRM_1_Pin_13: error initializing 'FRM_1_Pin_13': FRM_1_Pin_13, FRM_1 is not connected
2013.11.06 17:39:41 3: FRM_IP: port 3030 opened
2013.11.06 17:39:41 2: error initializing FRM_IP_Pin_13: error initializing 'FRM_IP_Pin_13': FRM_IP_Pin_13, FRM_IP is not connected
2013.11.06 17:39:41 1: Including ./log/fhem.save
2013.11.06 17:40:07 3: Opening FRM_0 device /dev/ttyACM0
2013.11.06 17:40:07 3: Setting FRM_0 baudrate to 57600
2013.11.06 17:40:07 3: FRM_0 device opened
2013.11.06 17:40:08 3: Firmata Firmware Version: StandardFirmata.ino V_2_03
2013.11.06 17:40:50 0: Server shutdown
2013.11.06 17:40:52 1: Including fhem.cfg
2013.11.06 17:40:53 3: telnetPort: port 7072 opened
2013.11.06 17:40:53 3: WEB: port 8083 opened
2013.11.06 17:40:53 3: WEBphone: port 8084 opened
2013.11.06 17:40:53 3: WEBtablet: port 8085 opened
2013.11.06 17:40:53 2: eventTypes: loaded 14 events from ./log/eventTypes.txt
2013.11.06 17:40:54 3: Opening FRM_0 device /dev/ttyACM0
2013.11.06 17:40:54 3: Setting FRM_0 baudrate to 57600
2013.11.06 17:40:54 3: FRM_0 device opened
2013.11.06 17:40:54 3: Firmata Firmware Version: St㜀㞀 V_2_03
2013.11.06 17:40:59 3: Opening FRM_1 device /dev/ttyUSB0
2013.11.06 17:40:59 3: Can't open /dev/ttyUSB0: No such file or directory
2013.11.06 17:40:59 2: error initializing FRM_1_Pin_13: error initializing 'FRM_1_Pin_13': FRM_1_Pin_13, FRM_1 is not connected
2013.11.06 17:40:59 3: FRM_IP: port 3030 opened
2013.11.06 17:40:59 2: error initializing FRM_IP_Pin_13: error initializing 'FRM_IP_Pin_13': FRM_IP_Pin_13, FRM_IP is not connected
2013.11.06 17:40:59 1: Including ./log/fhem.save
2013.11.06 17:40:59 1: usb create starting
2013.11.06 17:41:00 1: usb create end
2013.11.06 17:41:00 2: SecurityCheck:  WEB,WEBphone,WEBtablet has no basicAuth attribute. telnetPort has no password/globalpassword attribute.  Restart fhem for a new check if the problem is fixed, or set the global attribute motd to none to supress this message.
2013.11.06 17:41:00 0: Server started with 15 defined entities (version $Id: fhem.pl 4099 2013-10-22 20:55:35Z rudolfkoenig $, os linux, user fhem, pid 23891)
2013.11.06 17:43:14 1: Including fhem.cfg
2013.11.06 17:43:15 3: telnetPort: port 7072 opened
2013.11.06 17:43:16 3: WEB: port 8083 opened
2013.11.06 17:43:16 3: WEBphone: port 8084 opened
2013.11.06 17:43:16 3: WEBtablet: port 8085 opened
2013.11.06 17:43:16 2: eventTypes: loaded 14 events from ./log/eventTypes.txt
2013.11.06 17:43:16 3: Opening FRM_0 device /dev/ttyACM0
2013.11.06 17:43:17 3: Setting FRM_0 baudrate to 57600
2013.11.06 17:43:17 3: FRM_0 device opened
2013.11.06 17:43:17 3: Firmata Firmware Version: StandardFirmata.ino V_2_03
2013.11.06 17:43:18 3: Opening FRM_1 device /dev/ttyUSB0
2013.11.06 17:43:18 3: Can't open /dev/ttyUSB0: No such file or directory
2013.11.06 17:43:18 2: error initializing FRM_1_Pin_13: error initializing 'FRM_1_Pin_13': FRM_1_Pin_13, FRM_1 is not connected
2013.11.06 17:43:18 3: FRM_IP: port 3030 opened
2013.11.06 17:43:18 2: error initializing FRM_IP_Pin_13: error initializing 'FRM_IP_Pin_13': FRM_IP_Pin_13, FRM_IP is not connected
2013.11.06 17:43:18 1: Including ./log/fhem.save
2013.11.06 17:43:18 1: usb create starting
2013.11.06 17:43:19 1: usb create end
2013.11.06 17:43:19 2: SecurityCheck:  WEB,WEBphone,WEBtablet has no basicAuth attribute. telnetPort has no password/globalpassword attribute.  Restart fhem for a new check if the problem is fixed, or set the global attribute motd to none to supress this message.
2013.11.06 17:43:19 0: Server started with 15 defined entities (version $Id: fhem.pl 4099 2013-10-22 20:55:35Z rudolfkoenig $, os linux, user fhem, pid 1497)
2013.11.06 17:54:31 3: Opening FRM_0 device /dev/ttyACM0
2013.11.06 17:54:31 3: Setting FRM_0 baudrate to 57600
2013.11.06 17:54:31 3: FRM_0 device opened
2013.11.06 17:54:31 3: Firmata Firmware Version: StandardFirmata.ino V_2_03
2013.11.06 17:55:05 1: /dev/ttyACM0 disconnected, waiting to reappear
2013.11.06 17:55:16 0: Server shutdown
2013.11.06 17:55:19 1: Including fhem.cfg
2013.11.06 17:55:20 3: telnetPort: port 7072 opened
2013.11.06 17:55:20 3: WEB: port 8083 opened
2013.11.06 17:55:20 3: WEBphone: port 8084 opened
2013.11.06 17:55:20 3: WEBtablet: port 8085 opened
2013.11.06 17:55:20 2: eventTypes: loaded 14 events from ./log/eventTypes.txt
2013.11.06 17:55:20 3: Opening FRM_0 device /dev/ttyACM0
2013.11.06 17:55:21 3: Can't open /dev/ttyACM0: No such file or directory
2013.11.06 17:55:21 2: error initializing FRM_0_Pin_13: error initializing 'FRM_0_Pin_13': FRM_0_Pin_13, FRM_0 is not connected
2013.11.06 17:55:21 3: Opening FRM_1 device /dev/ttyUSB0
2013.11.06 17:55:21 3: Can't open /dev/ttyUSB0: No such file or directory
2013.11.06 17:55:21 2: error initializing FRM_1_Pin_13: error initializing 'FRM_1_Pin_13': FRM_1_Pin_13, FRM_1 is not connected
2013.11.06 17:55:21 3: FRM_IP: port 3030 opened
2013.11.06 17:55:21 2: error initializing FRM_IP_Pin_13: error initializing 'FRM_IP_Pin_13': FRM_IP_Pin_13, FRM_IP is not connected
2013.11.06 17:55:21 1: Including ./log/fhem.save
2013.11.06 17:55:21 1: usb create starting
2013.11.06 17:55:22 1: usb create end
2013.11.06 17:55:22 2: SecurityCheck:  WEB,WEBphone,WEBtablet has no basicAuth attribute. telnetPort has no password/globalpassword attribute.  Restart fhem for a new check if the problem is fixed, or set the global attribute motd to none to supress this message.
2013.11.06 17:55:22 0: Server started with 15 defined entities (version $Id: fhem.pl 4099 2013-10-22 20:55:35Z rudolfkoenig $, os linux, user fhem, pid 2305)
2013.11.06 17:55:53 3: Setting FRM_0 baudrate to 57600
2013.11.06 17:55:53 1: /dev/ttyACM0 reappeared (FRM_0)
2013.11.06 17:55:54 3: Firmata Firmware Version: StandardFirmata.ino V_2_03
2013.11.06 18:00:58 3: Opening FRM_0 device /dev/ttyACM0
2013.11.06 18:00:58 3: Setting FRM_0 baudrate to 57600
2013.11.06 18:00:58 3: FRM_0 device opened
2013.11.06 18:00:59 3: Firmata Firmware Version: StandardFirmata.ino V_2_03
2013.11.06 18:01:24 3: Opening FRM_0 device /dev/ttyACM0
2013.11.06 18:01:24 3: Setting FRM_0 baudrate to 57600
2013.11.06 18:01:24 3: FRM_0 device opened
2013.11.06 18:01:24 3: Firmata Firmware Version: StandardFirmata.ino V_2_03
2013.11.06 18:01:28 3: Opening FRM_0 device /dev/ttyACM0
2013.11.06 18:01:28 3: Setting FRM_0 baudrate to 57600
2013.11.06 18:01:28 3: FRM_0 device opened
2013.11.06 18:01:29 3: Firmata Firmware Version: StandardFirmata.ino V_2_03
2013.11.06 18:01:35 3: Opening FRM_0 device /dev/ttyACM0
2013.11.06 18:01:35 3: Setting FRM_0 baudrate to 57600
2013.11.06 18:01:35 3: FRM_0 device opened
2013.11.06 18:01:36 3: Firmata Firmware Version: StandardFirmata.ino V_2_03
2013.11.06 18:01:39 3: Opening FRM_0 device /dev/ttyACM0
2013.11.06 18:01:39 3: Setting FRM_0 baudrate to 57600
2013.11.06 18:01:39 3: FRM_0 device opened
2013.11.06 18:01:40 3: Firmata Firmware Version: StandardFirmata.ino V_2_03
2013.11.06 18:06:29 0: Server shutdown
2013.11.06 18:06:31 1: Including fhem.cfg
2013.11.06 18:06:32 3: telnetPort: port 7072 opened
2013.11.06 18:06:32 3: WEB: port 8083 opened
2013.11.06 18:06:32 3: WEBphone: port 8084 opened
2013.11.06 18:06:32 3: WEBtablet: port 8085 opened
2013.11.06 18:06:32 2: eventTypes: loaded 14 events from ./log/eventTypes.txt
2013.11.06 18:06:33 3: Opening FRM_0 device /dev/ttyACM0
2013.11.06 18:06:33 3: Setting FRM_0 baudrate to 57600
2013.11.06 18:06:33 3: FRM_0 device opened
2013.11.06 18:06:34 3: Firmata Firmware Version: StandardFirmata.ino V_2_03
2013.11.06 18:06:34 3: Opening FRM_1 device /dev/ttyUSB0
2013.11.06 18:06:34 3: Can't open /dev/ttyUSB0: No such file or directory
2013.11.06 18:06:34 2: error initializing FRM_1_Pin_13: error initializing 'FRM_1_Pin_13': FRM_1_Pin_13, FRM_1 is not connected
2013.11.06 18:06:34 3: FRM_IP: port 3030 opened
2013.11.06 18:06:34 2: error initializing FRM_IP_Pin_13: error initializing 'FRM_IP_Pin_13': FRM_IP_Pin_13, FRM_IP is not connected
2013.11.06 18:06:34 1: Including ./log/fhem.save
2013.11.06 18:06:34 1: usb create starting
2013.11.06 18:06:35 1: usb create end
2013.11.06 18:06:35 2: SecurityCheck:  WEB,WEBphone,WEBtablet has no basicAuth attribute. telnetPort has no password/globalpassword attribute.  Restart fhem for a new check if the problem is fixed, or set the global attribute motd to none to supress this message.
2013.11.06 18:06:35 0: Server started with 15 defined entities (version $Id: fhem.pl 4099 2013-10-22 20:55:35Z rudolfkoenig $, os linux, user fhem, pid 3010)
2013.11.06 18:08:36 3: Opening FRM_0 device /dev/ttyACM0
2013.11.06 18:08:36 3: Setting FRM_0 baudrate to 57600
2013.11.06 18:08:36 3: FRM_0 device opened
2013.11.06 18:08:37 3: Firmata Firmware Version: StandardFirmata.ino V_2_03
2013.11.06 18:08:44 3: Opening FRM_0 device /dev/ttyACM0
2013.11.06 18:08:44 3: Setting FRM_0 baudrate to 57600
2013.11.06 18:08:44 3: FRM_0 device opened
2013.11.06 18:08:45 3: Firmata Firmware Version: StandardFirmata.ino V_2_03
2013.11.06 18:08:51 3: Opening FRM_0 device /dev/ttyACM0
2013.11.06 18:08:51 3: Setting FRM_0 baudrate to 57600
2013.11.06 18:08:51 3: FRM_0 device opened
2013.11.06 18:08:51 3: Firmata Firmware Version: StandardFirmata.ino V_2_03
2013.11.06 18:09:05 3: Opening FRM_0 device /dev/ttyACM0
2013.11.06 18:09:05 3: Setting FRM_0 baudrate to 57600
2013.11.06 18:09:05 3: FRM_0 device opened
2013.11.06 18:09:06 3: Firmata Firmware Version: StandardFirmata.ino V_2_03
2013.11.06 18:19:02 3: Opening FRM_0 device /dev/ttyACM0
2013.11.06 18:19:02 3: Setting FRM_0 baudrate to 57600
2013.11.06 18:19:02 3: FRM_0 device opened
2013.11.06 18:19:03 3: Firmata Firmware Version: StandardFirmata.ino V_2_03
2013.11.06 19:24:12 1: usb scan starting
2013.11.06 19:24:13 1: usb scan end
2013.11.06 20:20:07 3: Setting FRM_1 baudrate to 57600
2013.11.06 20:20:07 1: /dev/ttyUSB0 reappeared (FRM_1)
2013.11.06 20:20:10 3: querying Firmata Firmware Version
2013.11.06 20:20:10 3: Firmata Firmware Version: StandardFirmata.ino V_2_03
2013.11.06 20:20:17 1: usb scan starting
2013.11.06 20:20:18 1: usb scan end
2013.11.06 20:27:21 1: /dev/ttyUSB0 disconnected, waiting to reappear
2013.11.06 20:27:21 1: /dev/ttyACM0 disconnected, waiting to reappear
2013.11.06 20:27:21 1: Including fhem.cfg
2013.11.06 20:27:21 3: telnetPort: port 7072 opened
2013.11.06 20:27:21 3: WEB: port 8083 opened
2013.11.06 20:27:21 3: WEBphone: port 8084 opened
2013.11.06 20:27:21 3: WEBtablet: port 8085 opened
2013.11.06 20:27:21 2: eventTypes: loaded 14 events from ./log/eventTypes.txt
2013.11.06 20:27:21 3: Opening FRM_0 device /dev/ttyACM0
2013.11.06 20:27:21 3: Setting FRM_0 baudrate to 57600
2013.11.06 20:27:21 3: FRM_0 device opened
2013.11.06 20:27:22 3: Firmata Firmware Version: StandardFirmata.ino V_2_03
2013.11.06 20:27:22 3: Opening FRM_1 device /dev/ttyUSB0
2013.11.06 20:27:22 3: Setting FRM_1 baudrate to 57600
2013.11.06 20:27:22 3: FRM_1 device opened
2013.11.06 20:27:25 3: querying Firmata Firmware Version
2013.11.06 20:27:25 3: Firmata Firmware Version: StandardFirmata.ino V_2_03
2013.11.06 20:27:26 3: FRM_IP: port 3030 opened
2013.11.06 20:27:26 2: error initializing FRM_IP_Pin_13: error initializing 'FRM_IP_Pin_13': FRM_IP_Pin_13, FRM_IP is not connected
2013.11.06 20:27:26 1: Including ./log/fhem.save
2013.11.06 20:30:13 1: /dev/ttyUSB0 disconnected, waiting to reappear
2013.11.06 20:30:18 3: Setting FRM_1 baudrate to 57600
2013.11.06 20:30:18 1: /dev/ttyUSB0 reappeared (FRM_1)
2013.11.06 20:30:21 3: querying Firmata Firmware Version
2013.11.06 20:30:21 3: Firmata Firmware Version: StandardFirmata.ino V_2_03
2013.11.06 22:09:01 3: querying Firmata Firmware Version
2013.11.06 22:09:01 3: Firmata Firmware Version: CBRConfigurableFirmata.ino V_2_05
2013.11.06 22:11:23 1: 3030 disconnected, waiting to reappear
2013.11.06 22:11:28 3: Firmata Firmware Version: CBRConfigurableFirmata.ino V_2_05
2013.11.06 22:13:12 1: /dev/ttyUSB0 disconnected, waiting to reappear
2013.11.06 22:13:32 3: querying Firmata Firmware Version
2013.11.06 22:13:32 3: Firmata Firmware Version: CBRConfigurableFirmata.ino V_2_05
2013.11.06 22:20:17 3: Setting FRM_1 baudrate to 57600
2013.11.06 22:20:17 1: /dev/ttyUSB0 reappeared (FRM_1)
2013.11.06 22:20:20 3: querying Firmata Firmware Version
2013.11.06 22:20:20 3: Firmata Firmware Version: StandardFirmata.ino V_2_03
2013.11.06 22:21:34 1: 3030 disconnected, waiting to reappear
2013.11.06 22:21:34 1: /dev/ttyUSB0 disconnected, waiting to reappear
2013.11.06 22:21:34 1: /dev/ttyACM0 disconnected, waiting to reappear
2013.11.06 22:21:34 1: Including fhem.cfg
2013.11.06 22:21:34 3: telnetPort: port 7072 opened
2013.11.06 22:21:34 3: WEB: port 8083 opened
2013.11.06 22:21:34 3: WEBphone: port 8084 opened
2013.11.06 22:21:34 3: WEBtablet: port 8085 opened
2013.11.06 22:21:34 2: eventTypes: loaded 14 events from ./log/eventTypes.txt
2013.11.06 22:21:34 3: Opening FRM_0 device /dev/ttyACM0
2013.11.06 22:21:34 3: Setting FRM_0 baudrate to 57600
2013.11.06 22:21:34 3: FRM_0 device opened
2013.11.06 22:21:35 3: Firmata Firmware Version: StandardFirmata.ino V_2_03
2013.11.06 22:21:35 3: Opening FRM_1 device /dev/ttyUSB0
2013.11.06 22:21:35 3: Setting FRM_1 baudrate to 57600
2013.11.06 22:21:35 3: FRM_1 device opened
2013.11.06 22:21:38 3: querying Firmata Firmware Version
2013.11.06 22:21:38 3: Firmata Firmware Version: StandardFirmata.ino V_2_03
20
Best regards und viele Gruesse,
CaptBlaubaer (CBR)
_________________________________
FHEM 5.5 Raspberry Pi (B), IOMEGA iConnect, Firmata Arduinos USB/LAN, Gembird USB/LAN, ToDo: FHEM auf FritzBox 7390, 7270

ntruchsess

die Fehlerbeschreibung findest Du, indem Du auf das #30 im 'merge pull request #30...' klickst. In der Beschreibung des Pull-request ist der Link auf Firmata Issue #4. Auf Github hängt fast alles irgendwie zusammen ;-)

Ein Blick auf dein Log sagt mir: falls Du nicht zwischendurch die Firmware neu gebrannt hast, dann ist es doch nicht der vorgenannte Fehler (weil die anderen Firmwarenamen-ausgaben ja in Ordnung sind). Da ist der Ram-speicher im Arduino ausgeganen, dann überschreibt es z.B. angelegte Variablen wie z.B. den Firmwarenamen (wenn der Arduino dann überhaupt noch antwortet und nicht unmittelbar abschmiert). Leider hat der µC keinerlei Speicherschutz - wenn da der Stack voll ist oder zu viele mallocs gemacht werden, dann geht's dahin... Dann läßt sich die Firmata beim Reconnect auch nicht initialisieren, dann muss man den Reset-knopf am Arduino drücken (oder den Arduino kurz stromlos machen). Der USB-Port des Arduinos funktioniert unabhängig davon weiter, der ist in Hardware implementiert.
while (!asleep()) {sheep++};

CaptBlaubaer

Hallo Norbert,

vielen Dank für die Info über die Fehlerbeschreibung, ich lerne doch nie aus  :)

Zu dem Arduino Einfluss auf FHEm würde mich noch Deine Meinung interessieren.
Das Verhalten des Arduino, fehlerhafte Versionsstrings auszugeben führte auf meinem FHEM zu einem Crash.
Wenn ich FHEM nicht als Spielzeug sondern als System zur Home Automation ansehe, sollte dann FHEM nicht eine Möglichkeit bieten mit erkennbar fehlerhaften Systemen umzugehen ohne dabei abzuschmieren?

Eine Fehlermeldung mit einem versuchten Geräteneustart oder wenn das nicht fruchtet, das dokumentierte Ausblenden des Gerätes wäre IMHO wünschenswert.

Gibt's denn zu FHEM eine Liste von Vulnerabilitäten, die massiven Einfluss auf das Verhalten und die Stabilität von FHEM haben?

Z.B. ist FHEM nahezu unbedienbar falls mit FRM_IN ein Port abgefragt wird der frei floaten kann und dabei jede Menge Statusänderungen an FHEM übermittelt

Ein' hab' ich noch zu FRM_IN und dem Pullup setzen.
Wie ist der Zustand des Ports nach dem Define eines Pins als FRM_IN und dem Setzen des Attributes internal-pullup on schalten?
Müsste eigentlich, soweit ich das verstanden habe, ohne externen Pullup auch undefiniert sein.
Best regards und viele Gruesse,
CaptBlaubaer (CBR)
_________________________________
FHEM 5.5 Raspberry Pi (B), IOMEGA iConnect, Firmata Arduinos USB/LAN, Gembird USB/LAN, ToDo: FHEM auf FritzBox 7390, 7270

ntruchsess

mich würde ja der Konsolenoutput bei dem crash interessieren, aber der ist ja leider verlorengeganen...
Durch die Perl-firmata sind die Strings ja noch durchgekommen, sonst ständen sie ja nicht im log. Wobei ja nicht mal klar ist, ob es die Strings selber waren, oder irgendwas anderes unerwartetes in den Daten im Anschluss daran zum Absturz geführt hat. (Wobei das schon merkwürdig ist - das Firmata-protokoll ist ja ein Binärprotokoll, das auch auf byte-ebene geparsed wird. Da kann im schlimmsten Fall der Parser nicht weiterparsen, weil keine Daten mehr kommen, aber dann sollte der Aufruf einfach ohne Aktion zurückkehren).
Naja - das eigentliche Stabilitätsproplem sind meiner Meinung nach auch nicht Bugs in Modulen (das Nicht-mit-unvorhergesehenen-Daten-umgehenkönnen ist für mich ein solcher), sondern dass die FHEM-mainloop die Modulfunktionen nicht grundsätzlich in eval-Blöcken eingeschlossen aufruft, so dass ein 'die' im Modul den Perl-prozess aussteigen lässt anstatt nur einen Fehler zu loggen (und ggf. das Modul zu entladen). Das sollte man mal ändern - Ich glaub ich schreibe mal einen Patch dafür und schau was Rudof König dazu sagt...

wenn beim FRM_IN internal-pullup on gesetzt ist, dann ist ein offener Pin im definierten Status 'on' und man braucht keinen externen Pullup-wiederstand mehr. Allerdings sendet die Firmata das beim Einschalten des Pullups nur dann, wenn es auch eine Zustandsänderung ist - deshalb bleibt der state des FRM_IN erst mal auf 'reading' wenn man das Device frisch definiert hat (es sei denn, dass der unbeschaltete - undefinierte - Eingang wie bei Dir zufällig zwischen high und low wechselt). Ich bin mir nicht sicher, ob es sinvoll wäre den Default für internal-pullup auf 'on' zu ändern?

- Norbert
while (!asleep()) {sheep++};