Homematic Konfigurations-Adapter USB 2

Begonnen von zaberwolfi, 30 Dezember 2014, 15:21:10

Vorheriges Thema - Nächstes Thema

zaberwolfi

Hallo

Nachdem ich auf den HM-USB 2 Adapter  umgestiegen bin und alles wie beschrieben gemacht habe bekomme dieses Teil nicht zum laufen. Start-script geändert usw. Der Log zeigt:

HMLAN_Parse: hmusb new condition disconnected
Opening hmusb device 127.0.0.1:1000
Can't connect to 127.0.0.1:1000: Connection timed out

FHEM :

DEF    127.0.0.1:1000
DeviceName 127.0.0.1:1000
NAME hmusb
NEXT_OPEN 1419949134.02216
NR 20
NTFY_ORDER 50-hmusb
PARTIAL   
STATE disconnected
TYPE HMLAN
XmitOpen 0
assignedIDsCnt 0
msgKeepAlive   
msgLoadEst 1hour:0% 10min steps: 0/0/0/0/0/0

Der Adapter ist Grün.
Ich habe im gesamten Forum gesucht und alle was beschrieben ist ausprobiert. Kein Erfolg.
Über eine Lösung würde ich mich Freuen. Sollte noch was gebraucht werden laßt es mich wissen.
Wolfgang


juppzupp

läuft der hmland den ? fhem kann ja nicht connecten.
linux ? was zeigt die ausgabe von
ps uax |grep hmland
in einer shell ?

zaberwolfi

Das wird angezeigt

root      2432  0.0  0.0   1832   248 ?  S  15:39   0:00 /opt/hmcfgusb/hmland -d -p 1000
root      4239  0.0  0.1   3596   852 pts/0    S+   15:40   0:00 grep hmland
Wolfgang

juppzupp

sieht aus als ob der daemon läuft.
was zeigt ein telnet localhost 1000
aus der shell heraus ?

MadMax-FHEM

sudo netstat -p

evtl. anderer Port

Bei mir läuft er auf 1234

(nicht dass Port 1000 schon benutzt wird etc.)
FHEM PI3B+ Bullseye: HM-CFG-USB, 40x HM, ZWave-USB, 13x ZWave, EnOcean-PI, 15x EnOcean, HUE/deCONZ, CO2, ESP-Multisensor, Shelly, alexa-fhem, ...
FHEM PI2 Buster: HM-CFG-USB, 25x HM, ZWave-USB, 4x ZWave, EnOcean-PI, 3x EnOcean, Shelly, ha-bridge, ...
FHEM PI3 Buster (Test)

zaberwolfi

Hallo  Telnet

Zu Antwort 1:

root@raspberrypi:~# sudo telnet localhost 1000
                      Trying 127.0.0.1...
und hängt.

Telnet war nicht installiert mußte erst "apt-get install telnet" ausführen.



Zu Antwort 2:

root@raspberrypi:~# sudo netstat -p
Aktive Internetverbindungen (ohne Server)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name
tcp        0      0 raspberrypi.fritz.:8083 WolfgangDesktop.f:62934 VERBUNDEN   2528/perl
tcp        0      0 raspberrypi.fritz.:8083 WolfgangDesktop.f:62933 VERBUNDEN   2528/perl
tcp        0    232 raspberrypi.fritz.b:ssh WolfgangDesktop.f:62849 VERBUNDEN   4506/0
tcp        0      0 raspberrypi.fritz.:8083 WolfgangDesktop.f:62937 VERBUNDEN   2528/perl
Aktive Sockets in der UNIX-Domäne (ohne Server)
Proto RefCnt Flags       Type       State         I-Node   PID/Program name    Pfad
unix  2      [ ]         DGRAM                    3440     2803/thd            /var/run/thd.socket
unix  2      [ ]         DGRAM                    2284     1649/wpa_supplicant /var/run/wpa_supplicant/wlan0
unix  7      [ ]         DGRAM                    3065     2391/rsyslogd       /dev/log
unix  2      [ ]         DGRAM                    4779     6489/sudo
unix  3      [ ]         STREAM     VERBUNDEN     3128     2494/dbus-daemon
unix  3      [ ]         STREAM     VERBUNDEN     3169     2534/avahi-daemon:
unix  2      [ ]         DGRAM                    4776     6489/sudo
unix  3      [ ]         STREAM     VERBUNDEN     3162     2534/avahi-daemon:
unix  3      [ ]         STREAM     VERBUNDEN     3330     2494/dbus-daemon    /var/run/dbus/system_bus_socket
unix  3      [ ]         STREAM     VERBUNDEN     3127     2494/dbus-daemon
unix  3      [ ]         STREAM     VERBUNDEN     3163     2538/avahi-daemon:
unix  3      [ ]         STREAM     VERBUNDEN     3329     2634/cupsd
unix  3      [ ]         STREAM     VERBUNDEN     3223     2557/bluetoothd
unix  2      [ ]         DGRAM                    4127     4506/0
unix  2      [ ]         DGRAM                    3160     2534/avahi-daemon:
unix  2      [ ]         DGRAM                    3370     2707/ntpd
unix  3      [ ]         STREAM     VERBUNDEN     3170     2494/dbus-daemon    /var/run/dbus/system_bus_socket
unix  3      [ ]         STREAM     VERBUNDEN     3224     2494/dbus-daemon    /var/run/dbus/system_bus_socket
unix  3      [ ]         DGRAM                    538      158/udevd
unix  3      [ ]         DGRAM                    539      158/udevd
unix  2      [ ]         DGRAM                    3222     2557/bluetoothd

Wolfgang




zaberwolfi

Hallo

Habe nun genug. Da ich mehrere 16GB SD Karten habe und von jedem Step ein Backup erstellt
habe werde ich nocheinmal ab Grundinstallation Rasbpian + WLAN + Bluetooth FHEM neu
installieren und den Adapter Enocean PI  (TCM 310_0) nicht Installieren sondern nur den
HM USB 2 Adapter.

Wolfgang

juppzupp

dann antwortet dein hmland nicht.
kill den process, und starte ihn aus der shell mit -D nicht -d
fehlermeldungen beachten.

MadMax-FHEM

Hallo,

sieht so aus als würde der hmland wohl laufen aber der Port den du vorgesehen hast 1000 wurde nicht geöffnet...

Und wie juppzupp schrieb mal manuell starten und schauen, ob er ohne Fehler hochläuft...
FHEM PI3B+ Bullseye: HM-CFG-USB, 40x HM, ZWave-USB, 13x ZWave, EnOcean-PI, 15x EnOcean, HUE/deCONZ, CO2, ESP-Multisensor, Shelly, alexa-fhem, ...
FHEM PI2 Buster: HM-CFG-USB, 25x HM, ZWave-USB, 4x ZWave, EnOcean-PI, 3x EnOcean, Shelly, ha-bridge, ...
FHEM PI3 Buster (Test)

zaberwolfi

Hallo

bleibt mit
root@raspberrypi:/opt/hmcfgusb# ./hmland -D -p 1000
hängen.

Mein FHEM LOG:
2014.12.31 12:45:08 1: Including fhem.cfg
2014.12.31 12:45:09 3: telnetPort: port 7072 opened
2014.12.31 12:45:11 3: WEB: port 8083 opened
2014.12.31 12:45:11 3: WEBphone: port 8084 opened
2014.12.31 12:45:11 3: WEBtablet: port 8085 opened
2014.12.31 12:45:12 2: eventTypes: loaded 1 events from ./log/eventTypes.txt
2014.12.31 12:45:13 1: HMLAN_Parse: hmusb new condition disconnected
2014.12.31 12:45:13 3: Opening hmusb device 127.0.0.1:1234
2014.12.31 12:45:16 3: Can't connect to 127.0.0.1:1234: Connection timed out
2014.12.31 12:45:16 1: Including ./log/fhem.save
2014.12.31 12:45:16 1: usb create starting
2014.12.31 12:45:18 3: Probing CUL device /dev/ttyAMA0
2014.12.31 12:45:18 3: Can't open /dev/ttyAMA0: Permission denied
2014.12.31 12:45:18 1: usb create end
2014.12.31 12:45:18 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.

Wolfgang

zaberwolfi

Hallo

Man glaubt an alles.... darum habe ich den HM USB2 Adapter an den PC gehängt um zu testen
ob er Defekt ist. Ich konnte einen Kontakt pairen und habe den Konakt in der Software von HOMEMATIC gesehen. Das zeigt der HM USB2 Adapter ist OK.
Auch mit einem neuen Image auf der SD-Karte kein zugriff , habt Ihr noch eine IDEE.
Wolfgang.

frank

bei dir gibt es ein notify "initialUsbCheck". entweder "delete initialUsbCheck", oder "attr initialUsbCheck disable 1".
FHEM: 6.0(SVN) => Pi3(buster)
IO: CUL433|CUL868|HMLAN|HMUSB2|HMUART
CUL_HM: CC-TC|CC-VD|SEC-SD|SEC-SC|SEC-RHS|Sw1PBU-FM|Sw1-FM|Dim1TPBU-FM|Dim1T-FM|ES-PMSw1-Pl
IT: ITZ500|ITT1500|ITR1500|GRR3500
WebUI [HMdeviceTools.js (hm.js)]: https://forum.fhem.de/index.php/topic,106959.0.html

Puschel74

Hallo,

zur Not hat es im HM-Bereich noch einen angepinnten Beitrag dazu:
http://forum.fhem.de/index.php/topic,13071.0.html

Grüße
Zotac BI323 als Server mit DBLog
CUNO für FHT80B, 3 HM-Lan per vCCU, RasPi mit CUL433 für Somfy-Rollo (F2F), RasPi mit I2C(LM75) (F2F), RasPi für Panstamp+Vegetronix +SONOS(F2F)
Ich beantworte keine Supportanfragen per PM! Bitte im Forum suchen oder einen Beitrag erstellen.

zaberwolfi

Hallo
Schluß für Heute Silvester .Allen einen Guten Rutsch ins neue Jahr.
Morgen geht es weiter. Ich gebe nicht auf.
Wolfgang

juppzupp

du startest den hmland auf port 1000
sagst fhem es soll 1234 benutzen

Zitat von: zaberwolfi am 31 Dezember 2014, 13:00:57
Hallo

bleibt mit
root@raspberrypi:/opt/hmcfgusb# ./hmland -D -p 1000
hängen.

Mein FHEM LOG:
2014.12.31 12:45:08 1: Including fhem.cfg
2014.12.31 12:45:09 3: telnetPort: port 7072 opened
2014.12.31 12:45:11 3: WEB: port 8083 opened
2014.12.31 12:45:11 3: WEBphone: port 8084 opened
2014.12.31 12:45:11 3: WEBtablet: port 8085 opened
2014.12.31 12:45:12 2: eventTypes: loaded 1 events from ./log/eventTypes.txt
2014.12.31 12:45:13 1: HMLAN_Parse: hmusb new condition disconnected
2014.12.31 12:45:13 3: Opening hmusb device 127.0.0.1:1234
2014.12.31 12:45:16 3: Can't connect to 127.0.0.1:1234: Connection timed out
2014.12.31 12:45:16 1: Including ./log/fhem.save
2014.12.31 12:45:16 1: usb create starting
2014.12.31 12:45:18 3: Probing CUL device /dev/ttyAMA0
2014.12.31 12:45:18 3: Can't open /dev/ttyAMA0: Permission denied
2014.12.31 12:45:18 1: usb create end
2014.12.31 12:45:18 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.

Wolfgang