Hallo FHEM Anwender.
ich experimentiere hier gerade herum und habe ich die FritzBox 7390 Ver.6.30
unter Windows 10 - alle FHEM Updats aktuell - eingebunden.
define FritzBox FRITZBOX
set FritzBox password <Passwort>
attr FritzBox allowTR064Command 1
Die dargestellten Readings sind Top! Auch kann ich z.B: das WLan2.5 on und off setzen - eigentlich Top,
aber ab dem Moment wo die Fritzbox in FHEM installiert ist, kann der CUL V3.2@com4 keine Befehle mehr senden/empfangen.
Im Log hagelt es nun Fehler:
LOG:
2016.02.07 13:44:43 1: starting in console mode
2016.02.07 13:44:43 1: Including fhem.cfg
2016.02.07 13:44:43 3: telnetPort: port 7072 opened
2016.02.07 13:44:44 3: WEB: port 8083 opened
2016.02.07 13:44:44 3: WEBphone: port 8084 opened
2016.02.07 13:44:44 3: WEBtablet: port 8085 opened
2016.02.07 13:44:44 2: eventTypes: loaded 267 events from ./log/eventTypes.txt
2016.02.07 13:44:44 3: Opening CUL device com4
2016.02.07 13:44:44 3: Setting CUL serial parameters to 9600,8,N,1
2016.02.07 13:44:44 3: CUL device opened
2016.02.07 13:44:44 3: CUL: Possible commands: BbCFiAZEGMKUYRTVWXefmltux
2016.02.07 13:44:44 3: TABLETUI: new ext defined infix:ftui/: dir:./www/tablet:
2016.02.07 13:44:44 3: Registering HTTPSRV TABLETUI for URL /ftui and assigned link ftui/ ...
2016.02.07 13:44:46 3: tPortLocal: port 7073 opened
2016.02.07 13:44:46 1: Including ./log/fhem.save
2016.02.07 13:44:46 3: initialUsbCheck return value: This command is not yet supported on windows
2016.02.07 13:44:46 2: SecurityCheck: WEB,WEBphone,WEBtablet has no associated allowed device with basicAuth. tPortLocal,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.
2016.02.07 13:44:46 0: Featurelevel: 5.7
2016.02.07 13:44:46 0: Server started with 30 defined entities (fhem.pl:10727/2016-02-05 perl:5.022001 os:MSWin32 user:Jimly pid:6124)
Test, ob CUL sendet:
2016.02.07 13:44:51 3: FS20 set Steckdose_04 on
2016.02.07 13:44:52 3: FS20 set Steckdose_04 off
OK!
==>> define FritzBox FRITZBOX 192.168.2.1
2016.02.07 13:44:56 1: PERL WARNING: Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/\\x{ <-- HERE [1-9a-f]}/ at ./FHEM/72_FRITZBOX.pm line 4427.
Test, ob CUL sendet:
2016.02.07 13:45:01 3: FS20 set Steckdose_04 on
2016.02.07 13:45:02 3: FS20 set Steckdose_04 off
2016.02.07 13:45:03 3: FS20 set Steckdose_04 on
2016.02.07 13:45:03 3: FS20 set Steckdose_04 off
nicht mehr OK - kein Senden mehr möglich
nach einer Weile stürzt fhem.pl ab!
2016.02.07 13:45:07 1: PERL WARNING: Error in PurgeComm at ./FHEM/DevIo.pm line 394.
Das Handle ist ung�ltig.
2016.02.07 13:45:07 1: PERL WARNING: Error in GetCommTimeouts at ./FHEM/DevIo.pm line 394.
Error Closing handle 384 for \\.\com4
Das Handle ist ung�ltig.
Error closing Read Event handle 392 for \\.\com4
Das Handle ist ung�ltig.
Error closing Write Event handle 396 for \\.\com4
Das Handle ist ung�ltig.
Entferne ich die Fritzbox wieder funktioniert alles bestens!
Hat bitte jemand einen Tipp?
Danke im Voraus.... :)
FEHM jetzt auf Raspberry Pi 2 unter Raspian WHEEZY installiert,
da läuft die Fritzbox Anbindung mit dem CUL zusammen problemlos!
Trotzdem, unter Windows Problem!
P.S.
Verwende beim nächsten Mal bitte die "Code"-Tags (den # im Eingabefenster). Macht Deinen Beitrag etwas lesbarer.
Warum unter Windows ... kann ich Dir nicht sagen, bin ich nicht der Spezialist. Müstest Du auch unter der Rubrik "Windows-Server" nachfragen