OWX Installation

Begonnen von Jewe, 04 November 2017, 07:53:32

Vorheriges Thema - Nächstes Thema

Prof. Dr. Peter Henning

Erstens: verbose=5 natürlich nur für OWX !!

Zweitens: Bitte mal das Attribut timeout auf 3 setzen.

LG

pah

Bernhard

Zitat von: Prof. Dr. Peter Henning am 07 November 2017, 08:32:48
Erstens: verbose=5 natürlich nur für OWX !!

Zweitens: Bitte mal das Attribut timeout auf 3 setzen.

LG

pah

Hi,
wer war gemeint? Ich oder jensweber?

Zitat von: pah
Zitat von: bernhard
    was ist verkehrt bei mir?

Die Frage war nicht ernst gemeint, hoffe ich.

natürlich war das ernst gemeint. tierisch ernst  8)


Jewe

Zitat von: Prof. Dr. Peter Henning am 07 November 2017, 08:32:48
Erstens: verbose=5 natürlich nur für OWX !!

Zweitens: Bitte mal das Attribut timeout auf 3 setzen.

LG

pah

Ok, klar das geht ja auch  :)

2017.11.07 17:17:06 1: Including fhem.cfg
2017.11.07 17:17:06 3: telnetPort: port 7072 opened
2017.11.07 17:17:07 3: WEB: port 8083 opened
2017.11.07 17:17:07 3: WEBphone: port 8084 opened
2017.11.07 17:17:07 3: WEBtablet: port 8085 opened
2017.11.07 17:17:07 2: eventTypes: loaded 1 events from ./log/eventTypes.txt
2017.11.07 17:17:08 3: Opening 1W_WIFI device 192.168.6.27:9000
2017.11.07 17:17:11 3: Can't connect to 192.168.6.27:9000: Die Wartezeit für die Verbindung ist abgelaufen
2017.11.07 17:17:11 1: Including ./log/fhem.save
2017.11.07 17:17:11 1: usb create starting
2017.11.07 17:17:11 3: Probing CUL device /dev/ttyAMA0
2017.11.07 17:17:11 3: Can't open /dev/ttyAMA0: Keine Berechtigung
2017.11.07 17:17:11 1: usb create end
2017.11.07 17:17:11 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.11.07 17:17:11 0: Featurelevel: 5.8
2017.11.07 17:17:11 0: Server started with 10 defined entities (fhem.pl:15377/2017-11-01 perl:5.020002 os:linux user:fhem pid:816)
2017.11.07 17:21:32 3: Opening 1W_WIFI device 192.168.6.27:9000
2017.11.07 17:21:32 3: 1W_WIFI device opened
2017.11.07 17:22:32 1: OWX_Init called for bus 1W_WIFI with interface state opened, now going for detect
2017.11.07 17:22:32 1: OWX_TCP::Query 1W_WIFI: Sending out0xc1
2017.11.07 17:22:32 5: SW: c1
2017.11.07 17:22:33 4: OWX_TCP::Query timed out in first attempt - maybe one byte missing
2017.11.07 17:22:33 1: OWX_TCP::Query 1W_WIFI: Sending out0x17 0x45 0x5b 0x0f 0x91
2017.11.07 17:22:33 5: SW: 17455b0f91
2017.11.07 17:22:34 4: OWX_TCP::Query timed out in first attempt
2017.11.07 17:22:36 4: OWX_TCP::Query timed out in loop attempt no. 0
2017.11.07 17:22:38 4: OWX_TCP::Query timed out in loop attempt no. 1
2017.11.07 17:22:40 4: OWX_TCP::Query timed out in loop attempt no. 2
2017.11.07 17:22:40 5: OWX_TCP::Query 1W_WIFI: 0 of 5 bytes in loop 3 and state opened
2017.11.07 17:22:40 1: OWX_TCP::Query 1W_WIFI: 0 of 5 bytes in last attempt and state opened.
2017.11.07 17:22:40 1: 192.168.6.27:9000 disconnected, waiting to reappear (1W_WIFI)
2017.11.07 17:22:40 1: OWX_TCP::Detect 1-Wire bus 1W_WIFI: interface not found, answer was
2017.11.07 17:22:40 1: OWX_TCP::Query attempted to write to disconnected device 1W_WIFI
2017.11.07 17:22:40 1: OWX_TCP::Detect 1-Wire bus 1W_WIFI: interface not found, answer was
2017.11.07 17:22:40 1: OWX_TCP::Query attempted to write to disconnected device 1W_WIFI
2017.11.07 17:22:40 1: OWX_TCP::Detect 1-Wire bus 1W_WIFI: interface not found, answer was
2017.11.07 17:22:40 1: OWX_TCP::Query attempted to write to disconnected device 1W_WIFI
2017.11.07 17:22:40 1: OWX_TCP::Detect 1-Wire bus 1W_WIFI: interface not found, answer was
2017.11.07 17:22:40 1: OWX_TCP::Detect 1-Wire bus 1W_WIFI: interface not detected, answer was
2017.11.07 17:22:40 4: OWX_Init: Detection failed
2017.11.07 17:22:40 5: OWX_TCP: Ready function called for bus 1W_WIFI. STATE=disconnected
2017.11.07 17:22:40 1: OWX_Init called for bus 1W_WIFI with interface state opened, now going for detect
2017.11.07 17:22:40 1: OWX_TCP::Query 1W_WIFI: Sending out0xc1
2017.11.07 17:22:40 5: SW: c1
2017.11.07 17:22:41 4: OWX_TCP::Query timed out in first attempt - maybe one byte missing
2017.11.07 17:22:41 1: OWX_TCP::Query 1W_WIFI: Sending out0x17 0x45 0x5b 0x0f 0x91
2017.11.07 17:22:41 5: SW: 17455b0f91
2017.11.07 17:22:43 4: OWX_TCP::Query timed out in loop attempt no. 0
2017.11.07 17:22:45 4: OWX_TCP::Query timed out in loop attempt no. 1
2017.11.07 17:22:47 4: OWX_TCP::Query timed out in loop attempt no. 2
2017.11.07 17:22:47 5: OWX_TCP::Query 1W_WIFI: 2 of 5 bytes in loop 3 and state opened
2017.11.07 17:22:47 1: OWX_TCP::Query 1W_WIFI: 2 of 5 bytes - something wrong with the 1-Wire device ???
2017.11.07 17:22:47 1: OWX_TCP::Detect 1-Wire bus 1W_WIFI: interface not found, answer was 0x00 0xc0
2017.11.07 17:22:47 1: OWX_TCP::Query 1W_WIFI: Sending out0x17 0x45 0x5b 0x0f 0x91
2017.11.07 17:22:47 5: SW: 17455b0f91
2017.11.07 17:22:49 4: OWX_TCP::Query timed out in loop attempt no. 0
2017.11.07 17:22:51 4: OWX_TCP::Query timed out in loop attempt no. 1
2017.11.07 17:22:53 4: OWX_TCP::Query timed out in loop attempt no. 2
2017.11.07 17:22:53 5: OWX_TCP::Query 1W_WIFI: 2 of 5 bytes in loop 3 and state opened
2017.11.07 17:22:53 1: OWX_TCP::Query 1W_WIFI: 2 of 5 bytes - something wrong with the 1-Wire device ???
2017.11.07 17:22:53 1: OWX_TCP::Detect 1-Wire bus 1W_WIFI: interface not found, answer was 0x00 0xc0
2017.11.07 17:22:53 1: OWX_TCP::Query 1W_WIFI: Sending out0x17 0x45 0x5b 0x0f 0x91
2017.11.07 17:22:53 5: SW: 17455b0f91
2017.11.07 17:22:55 4: OWX_TCP::Query timed out in loop attempt no. 0
2017.11.07 17:22:57 4: OWX_TCP::Query timed out in loop attempt no. 1
2017.11.07 17:22:59 4: OWX_TCP::Query timed out in loop attempt no. 2
2017.11.07 17:22:59 5: OWX_TCP::Query 1W_WIFI: 2 of 5 bytes in loop 3 and state opened
2017.11.07 17:22:59 1: OWX_TCP::Query 1W_WIFI: 2 of 5 bytes - something wrong with the 1-Wire device ???
2017.11.07 17:22:59 1: OWX_TCP::Detect 1-Wire bus 1W_WIFI: interface not found, answer was 0x00 0xc0
2017.11.07 17:22:59 1: OWX_TCP::Query 1W_WIFI: Sending out0x17 0x45 0x5b 0x0f 0x91
2017.11.07 17:22:59 5: SW: 17455b0f91
2017.11.07 17:23:01 4: OWX_TCP::Query timed out in loop attempt no. 0
2017.11.07 17:23:03 4: OWX_TCP::Query timed out in loop attempt no. 1
2017.11.07 17:23:05 4: OWX_TCP::Query timed out in loop attempt no. 2
2017.11.07 17:23:05 5: OWX_TCP::Query 1W_WIFI: 2 of 5 bytes in loop 3 and state opened
2017.11.07 17:23:05 1: OWX_TCP::Query 1W_WIFI: 2 of 5 bytes - something wrong with the 1-Wire device ???
2017.11.07 17:23:05 1: OWX_TCP::Detect 1-Wire bus 1W_WIFI: interface not found, answer was 0x00 0xc0
2017.11.07 17:23:05 1: OWX_TCP::Detect 1-Wire bus 1W_WIFI: interface not detected, answer was 0x00 0xc0
2017.11.07 17:23:05 4: OWX_Init: Detection failed
2017.11.07 17:23:05 1: Cannot init 192.168.6.27:9000, ignoring it (1W_WIFI)
2017.11.07 17:29:14 1: OWX_TCP::Query 1W_WIFI: Sending out0xe3 0xc5
2017.11.07 17:29:14 5: SW: e3c5
2017.11.07 17:29:14 1: PERL WARNING: Use of uninitialized value in concatenation (.) or string at ./FHEM/11_OWX_TCP.pm line 468.
2017.11.07 17:29:14 5: OWX_TCP::Query 1W_WIFI: 0 of 1 bytes in loop 3 and state opened
2017.11.07 17:29:14 1: OWX_TCP::Query 1W_WIFI: 0 of 1 bytes - something wrong with the 1-Wire device ???
2017.11.07 17:29:14 1: OWX_TCP::Reset_TCP failure on bus 1W_WIFI
2017.11.07 17:29:14 1: OWX_TCP::Search reset failed on bus 1W_WIFI
2017.11.07 17:29:14 1: OWX_Discover: 1-Wire devices found on bus 1W_WIFI ()




Prof. Dr. Peter Henning

Bitte timeout noch sehr viel höher setzen - jemand anders hatte mit 9 Erfolg.

LG

pah

Jewe

Moin,
Das habe ich versucht bringt aber auch keinen Erfolg. Komisch ist ja aber dass die Meldung kommt, dass Sensoren gefunden werden?


Gesendet von meinem F5121 mit Tapatalk


Prof. Dr. Peter Henning

Äh - ja ? Welche Meldung ?

LG

pah

Jewe

Hier :
2017.11.07 17:29:14 1: OWX_Discover: 1-Wire devices found on bus 1W_WIFI ()

Und hier :
Zitat von: jensweber am 03 November 2017, 17:39:29
So. Habe es geschafft, dass ich die Module aktuell habe. Dann habe ich wie eigentlich immer die Commandref gelesen.

Das Gateway habe ich definiert
define 1W_USB OWX /dev/ttyUSB1

Aber wie bekomme ich nun Fhem bzw. das Gateway dazu auch die Sensoren zu finden ?

get 1W_USB devices
OWX_Discover: 1-Wire devices found on bus 1W_USB


Prof. Dr. Peter Henning

#22
Nein, das findet eben keine Devices - sonst wären diese in der Klammer gelistet.

Offenbar kriegt OWX hier GAR NICHTS vom Interface zurück, und detektiert (=identifiziert) es nicht einmal.

Bei der Initialisierung schickt OWX ein \xC1, Rückgabewert sollte ein \xC0 sein. Aber schon das trifft verspätet ein

Danach sendet OWX ein \x17\x45\x5B\x0F\x91 und erwartet ein \x16\x44\x5A\x00\x90 oder einen ähnlichen String.

Aber da kommt auch nichts => Kein Interface gefunden...

LG

pah

Beta-User

Zitat von: Prof. Dr. Peter Henning am 09 November 2017, 12:17:51
Aber da kommt auch nichts => Kein Interface gefunden...
Zitat von: jensweber am 09 November 2017, 09:17:07
define 1W_USB OWX /dev/ttyUSB1
Könnte mal wieder so ein Fall von "USB-Verwirrung" sein...

Vielleicht schaust du mal in's Wiki zum Thema "by-id" (Tipp der Woche) ;) .

Gruß, Beta-User
Server: HP-elitedesk@Debian 12, aktuelles FHEM@ConfigDB | CUL_HM (VCCU) | MQTT2: MiLight@ESP-GW, BT@OpenMQTTGw | MySensors: seriell, v.a. 2.3.1@RS485 | ZWave | ZigBee@deCONZ | SIGNALduino | MapleCUN | RHASSPY
svn: u.a MySensors, Weekday-&RandomTimer, Twilight,  div. attrTemplate-files

Prof. Dr. Peter Henning

Glaub ich nicht, das \xC0 kommt ja. Aber ewig spät.

LG

pah

CryptMan66

Hallo,

hab ein ähnliches Problem. Nach einem Update (SVN) füllt sich auch mein Log. Hardware ist ein Raspberry Pi 1 und ein COC.


2017.11.30 22:27:19 1: OWX_CCC::Read from CUNO with error=: 0x0f 0x0f
2017.11.30 22:27:24 1: OWX_CCC::Read from CUNO with error=: 0x0f 0x0f
2017.11.30 22:27:29 1: OWX_CCC::Read from CUNO with error=: 0x0f 0x0f
2017.11.30 22:27:34 1: OWX_CCC::Read from CUNO with error=: 0x0f 0x0f
2017.11.30 22:27:39 1: OWX_CCC::Read from CUNO with error=: 0x0f 0x0f
2017.11.30 22:27:44 1: OWX_CCC::Read from CUNO with error=: 0x0f 0x0f
2017.11.30 22:27:49 1: OWX_CCC::Read from CUNO with error=: 0x0f 0x0f
2017.11.30 22:27:54 1: OWX_CCC::Read from CUNO with error=: 0x0f 0x0f
2017.11.30 22:27:59 1: OWX_CCC::Read from CUNO with error=: 0x0f 0x0f
2017.11.30 22:28:04 1: OWX_CCC::Read from CUNO with error=: 0x0f 0x0f

Prof. Dr. Peter Henning

Bitte das alte 00_OWX.pm wieder installieren, muss ich mir erst ansehen.

LG

pah

CryptMan66

Die r15057 vom 00_OWX.pm läuft ohne Probleme, vielen Dank für den Tip.  :) 8)