FHEM Forum

FHEM => Anfängerfragen => Thema gestartet von: lucca111 am 26 Januar 2016, 21:16:23

Titel: Baunbridge unter Win8
Beitrag von: lucca111 am 26 Januar 2016, 21:16:23
Hallo erstmal, ich habe ein Problem mit der BauhnBridge. Ich habe FHEM auf einer Z-Box Pico mit Win8 und bin damit sehr zufrieden. Die BauhnBridge ist initialisiert, der Bauhndevice lässt sich auch noch einbinden. Wenn ich eine Aktion (ON/OFF) ausführe schmiert der Komplette Server ab. Ich habe eine frische config mit nur 2 devices erstellt um alles andere auszuschließen. Hier mal mein log, vielleicht kann jemand helfen.

cfg:
define Orvibo BauhnBridge
define S20 BauhnDevice AC:CF:23:4F:07:C4

log:
2016.01.26 21:22:27 1: starting in console mode
2016.01.26 21:22:27 1: Including fhem.cfg
2016.01.26 21:22:27 3: telnetPort: port 7072 opened
2016.01.26 21:22:28 3: WEB: port 8083 opened
2016.01.26 21:22:28 3: WEBphone: port 8084 opened
2016.01.26 21:22:28 3: WEBtablet: port 8085 opened
2016.01.26 21:22:28 2: eventTypes: loaded 0 events from ./log/eventTypes.txt
Subroutine getMacStr redefined at ./FHEM/31_BauhnDevice.pm line 37, <$fh> line 41.
2016.01.26 21:22:28 3: BauhnDevice_Define: S20 at ac:cf:23:4f:07:c4
2016.01.26 21:22:28 1: S20: I/O device is Orvibo
Use of uninitialized value $state in concatenation (.) or string at ./FHEM/30_BauhnBridge.pm line 39, <$fh> line 41.
2016.01.26 21:22:28 3: BauhnBridge_Write: FBK_PREAMBLE ac:cf:23:4f:07:c4
2016.01.26 21:22:28 3: initialUsbCheck return value: This command is not yet supported on windows
2016.01.26 21:22:28 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.
2016.01.26 21:22:28 0: Featurelevel: 5.7
2016.01.26 21:22:28 0: Server started with 11 defined entities (version $Id: fhem.pl 9893 2015-11-15 08:43:05Z rudolfkoenig $, os MSWin32, user Admin, pid 4928)
2016.01.26 21:22:28 1: PERL WARNING: Use of uninitialized value $state in concatenation (.) or string at ./FHEM/30_BauhnBridge.pm line 39.
2016.01.26 21:22:28 3: BauhnBridge_Read: FBK_PREAMBLE ac:cf:23:4f:07:c4
2016.01.26 21:22:28 3: BauhnDevice_Parse: FBK_PREAMBLE ac:cf:23:4f:07:c4
2016.01.26 21:22:28 3: Orvibo: Unknown code HASH(0x1f5f084), help me!
2016.01.26 21:23:25 1: PERL WARNING: Use of uninitialized value $d in hash element at fhem.pl line 3655.
2016.01.26 21:23:25 1: PERL WARNING: Use of uninitialized value $cmd in hash element at FHEM/SetExtensions.pm line 49.
2016.01.26 21:23:25 1: PERL WARNING: Use of uninitialized value $cmd in concatenation (.) or string at FHEM/SetExtensions.pm line 52.
2016.01.26 21:24:16 3: BauhnBridge_Read: UNKNOWN 00:ac:cf:23:4f:07
2016.01.26 21:24:16 3: BauhnDevice_Parse: UNKNOWN 00:ac:cf:23:4f:07
2016.01.26 21:24:16 3: Orvibo: Unknown code HASH(0x22f445c), help me!
2016.01.26 21:24:19 3: BauhnBridge_Read: UNKNOWN 00:ac:cf:23:4f:07
2016.01.26 21:24:19 3: BauhnDevice_Parse: UNKNOWN 00:ac:cf:23:4f:07
2016.01.26 21:24:19 3: Orvibo: Unknown code HASH(0x1f62d8c), help me!
2016.01.26 21:24:22 3: BauhnBridge_Read: UNKNOWN 00:ac:cf:23:4f:07
2016.01.26 21:24:22 3: BauhnDevice_Parse: UNKNOWN 00:ac:cf:23:4f:07
2016.01.26 21:24:22 3: Orvibo: Unknown code HASH(0x214aa34), help me!
2016.01.26 21:24:25 3: BauhnBridge_Read: UNKNOWN 00:ac:cf:23:4f:07
2016.01.26 21:24:25 3: BauhnDevice_Parse: UNKNOWN 00:ac:cf:23:4f:07
2016.01.26 21:24:25 3: Orvibo: Unknown code HASH(0x22f2e84), help me!
2016.01.26 21:24:28 3: BauhnBridge_Write: FBK_PREAMBLE ac:cf:23:4f:07:c4
2016.01.26 21:24:28 3: BauhnBridge_Read: FBK_PREAMBLE ac:cf:23:4f:07:c4
2016.01.26 21:24:28 3: BauhnDevice_Parse: FBK_PREAMBLE ac:cf:23:4f:07:c4
2016.01.26 21:24:28 3: Orvibo: Unknown code HASH(0x213301c), help me!
2016.01.26 21:24:28 3: BauhnBridge_Read: UNKNOWN 00:ac:cf:23:4f:07
2016.01.26 21:24:28 3: BauhnDevice_Parse: UNKNOWN 00:ac:cf:23:4f:07
2016.01.26 21:24:28 3: Orvibo: Unknown code HASH(0x1d8797c), help me!
2016.01.26 21:24:31 3: BauhnBridge_Read: UNKNOWN 00:ac:cf:23:4f:07
2016.01.26 21:24:31 3: BauhnDevice_Parse: UNKNOWN 00:ac:cf:23:4f:07
2016.01.26 21:24:31 3: Orvibo: Unknown code HASH(0x22eb6b4), help me!
2016.01.26 21:24:34 3: BauhnBridge_Read: UNKNOWN 00:ac:cf:23:4f:07
2016.01.26 21:24:34 3: BauhnDevice_Parse: UNKNOWN 00:ac:cf:23:4f:07
2016.01.26 21:24:34 3: Orvibo: Unknown code HASH(0x1d8797c), help me!
2016.01.26 21:24:38 3: BauhnBridge_Read: UNKNOWN 00:ac:cf:23:4f:07
2016.01.26 21:24:38 3: BauhnDevice_Parse: UNKNOWN 00:ac:cf:23:4f:07
2016.01.26 21:24:38 3: Orvibo: Unknown code HASH(0x22f19b4), help me!
2016.01.26 21:24:41 3: BauhnBridge_Read: UNKNOWN 00:ac:cf:23:4f:07
2016.01.26 21:24:41 3: BauhnDevice_Parse: UNKNOWN 00:ac:cf:23:4f:07
2016.01.26 21:24:41 3: Orvibo: Unknown code HASH(0x22f1714), help me!
2016.01.26 21:24:44 3: BauhnBridge_Read: UNKNOWN 00:ac:cf:23:4f:07
2016.01.26 21:24:44 3: BauhnDevice_Parse: UNKNOWN 00:ac:cf:23:4f:07
2016.01.26 21:24:44 3: Orvibo: Unknown code HASH(0x22f1ec4), help me!
2016.01.26 21:24:47 3: BauhnBridge_Read: UNKNOWN 00:ac:cf:23:4f:07
2016.01.26 21:24:47 3: BauhnDevice_Parse: UNKNOWN 00:ac:cf:23:4f:07
2016.01.26 21:24:47 3: Orvibo: Unknown code HASH(0x22f1e64), help me!
2016.01.26 21:24:50 3: BauhnBridge_Read: UNKNOWN 00:ac:cf:23:4f:07
2016.01.26 21:24:50 3: BauhnDevice_Parse: UNKNOWN 00:ac:cf:23:4f:07
2016.01.26 21:24:50 3: Orvibo: Unknown code HASH(0x22f1ad4), help me!
2016.01.26 21:24:53 3: BauhnBridge_Read: UNKNOWN 00:ac:cf:23:4f:07
2016.01.26 21:24:53 3: BauhnDevice_Parse: UNKNOWN 00:ac:cf:23:4f:07
2016.01.26 21:24:53 3: Orvibo: Unknown code HASH(0x21330dc), help me!
2016.01.26 21:24:56 3: BauhnBridge_Read: UNKNOWN 00:ac:cf:23:4f:07
2016.01.26 21:24:56 3: BauhnDevice_Parse: UNKNOWN 00:ac:cf:23:4f:07
2016.01.26 21:24:56 3: Orvibo: Unknown code HASH(0x22f1edc), help me!
2016.01.26 21:24:59 3: BauhnBridge_Read: UNKNOWN 00:ac:cf:23:4f:07
2016.01.26 21:24:59 3: BauhnDevice_Parse: UNKNOWN 00:ac:cf:23:4f:07
2016.01.26 21:24:59 3: Orvibo: Unknown code HASH(0x2132014), help me!
2016.01.26 21:25:02 3: BauhnBridge_Read: UNKNOWN 00:ac:cf:23:4f:07
2016.01.26 21:25:02 3: BauhnDevice_Parse: UNKNOWN 00:ac:cf:23:4f:07
2016.01.26 21:25:02 3: Orvibo: Unknown code HASH(0x22f42dc), help me!
2016.01.26 21:25:05 3: BauhnBridge_Read: UNKNOWN 00:ac:cf:23:4f:07
2016.01.26 21:25:05 3: BauhnDevice_Parse: UNKNOWN 00:ac:cf:23:4f:07
2016.01.26 21:25:05 3: Orvibo: Unknown code HASH(0x22f1d2c), help me!
2016.01.26 21:25:08 3: BauhnBridge_Read: UNKNOWN 00:ac:cf:23:4f:07
2016.01.26 21:25:08 3: BauhnDevice_Parse: UNKNOWN 00:ac:cf:23:4f:07
2016.01.26 21:25:08 3: Orvibo: Unknown code HASH(0x22f4a44), help me!
2016.01.26 21:25:11 3: BauhnBridge_Read: UNKNOWN 00:ac:cf:23:4f:07
2016.01.26 21:25:11 3: BauhnDevice_Parse: UNKNOWN 00:ac:cf:23:4f:07
2016.01.26 21:25:11 3: Orvibo: Unknown code HASH(0x22f1984), help me!
2016.01.26 21:25:15 3: BauhnBridge_Read: UNKNOWN 00:ac:cf:23:4f:07
2016.01.26 21:25:15 3: BauhnDevice_Parse: UNKNOWN 00:ac:cf:23:4f:07
2016.01.26 21:25:15 3: Orvibo: Unknown code HASH(0x22f18dc), help me!
2016.01.26 21:25:18 3: BauhnBridge_Read: UNKNOWN 00:ac:cf:23:4f:07
2016.01.26 21:25:18 3: BauhnDevice_Parse: UNKNOWN 00:ac:cf:23:4f:07
2016.01.26 21:25:18 3: Orvibo: Unknown code HASH(0x22f118c), help me!
Bad arg length for Socket::unpack_sockaddr_in, length is 0, should be 16 at C:/Program Files/Perl/lib/Socket.pm line 831.

Danke Lucca
Titel: Antw:Baunbridge unter Win8
Beitrag von: shady88 am 10 April 2016, 19:58:11
Hallo,

ich kann dir zwar nicht helfen, kann aber das Verhalten fast genau so bestätigen.
Bei mir läuft Fhem auf einem Debian System

Bei mir läuft ebenfalls eine Orvibo Steckdose, die so wie bei dir eingebunden ist. Um 12 und 18 Uhr soll sie On bzw Off schalten, was über ein AT realisiert wurde.
Diese Steckdose ist jetzt seit Monaten im Einsatz und hat das dahinter befindliche Pflanzenlicht immer ein und ausgeschalten. Aufgrund der warmen Temperaturen benötige ich das Licht nicht mehr und daher habe ich auch die Steckdose ausgesteckt. Das AT ist noch weiter gelaufen und seit 5 Tagen ist mir jeden Tag um 12 und 18 Uhr der Server abgeschmiert. Fehlermeldung:
Bad arg length for Socket::unpack_sockaddr_in, length is 0, should be 16 at /usr/lib/perl/5.14/Socket.pm line 257.


Auch die Warnings sind wie bei dir. Leider sind meine Programmierkenntnisse nicht die besten, aber ich versuche mich da mal ein bisschen hineinzuarbeiten.
Titel: Antw:Baunbridge unter Win8
Beitrag von: pipp37 am 02 Mai 2016, 13:43:50
Hallo.
Auch bei mir schmirrt leider FHEM unter Debian 8 bei on/off genau so ab.
Ein heutiges Update von Fhem und Debian mit apt brachte leider keine Abhilfe.

Gruss Armin

Bad arg length for Socket::unpack_sockaddr_in, length is 0, should be 16 at /usr/lib/x86_64-linux-gnu/perl5/5.20/Socket.pm line 830.
Titel: Antw:Baunbridge unter Win8 / Debian
Beitrag von: pipp37 am 02 Mai 2016, 14:20:53
Hallo.

Folgendes ist mir gerade aufgefallen.
Die Wlan-Dose war offline und auch von der Iphone-App aus nicht schaltbar. Dann schmirrte FHEM ab.

Nachdem ich die Dose ab- u. angesteckt hatte war sie wieder online und Fhem schaltet wieder ohne Abstürze.
Gruss Armin