Neuinstallation von FHEM mit bestehender config

Begonnen von satprofi, 31 Januar 2020, 12:15:38

Vorheriges Thema - Nächstes Thema

MadMax-FHEM

Zitat von: satprofi am 01 Februar 2020, 12:26:25
Ich installiere jetzt wie https://debian.fhem.de/

Solltest du doch bereits gemacht haben...
...im Wiki wird doch auch auf debian.fhem.de verlinkt...

EDIT: besser mal nach der "Pipe" noch ein sudo
wget -qO - http://debian.fhem.de/archive.key | sudo apt-key add -


Gruß, Joachim
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)

satprofi

Danke, gemacht , "OK"

Habe jetzt neuestes FHEM drauf, nach selbstinstallation des ModbusTCPServer Moduls klappt zumindest dies.
Modbus Modul klappt aber nicht


2020.02.01 12:51:26 1: Including fhem.cfg
2020.02.01 12:51:29 3: WEB: port 8083 opened
2020.02.01 12:51:29 2: eventTypes: loaded 283 events from ./log/eventTypes.txt
2020.02.01 12:51:30 3: solarlog_totalpac: I/O device is SolarLogServer
2020.02.01 12:51:30 3: solarlog_totalpac_cons: I/O device is SolarLogServer
2020.02.01 12:51:32 3: Eastron: defined as /dev/ttyModbus@9600
2020.02.01 12:51:32 1: Including ./log/fhem.save
2020.02.01 12:51:32 3: Opening Eastron device /dev/ttyModbus
2020.02.01 12:51:33 1: Eastron: Can't open /dev/ttyModbus: No such file or directory
2020.02.01 12:51:33 1: usb create starting
2020.02.01 12:51:35 3: Probing CUL device /dev/ttyAMA0
2020.02.01 12:51:36 3: Probing TCM_ESP3 device /dev/ttyAMA0
2020.02.01 12:51:36 3: Probing ZWDongle device /dev/ttyAMA0
2020.02.01 12:51:36 3: Probing SIGNALDuino device /dev/ttyAMA0
2020.02.01 12:51:36 3: Probing MYSENSORS device /dev/ttyAMA0
2020.02.01 12:51:36 3: Probing ArduCounter device /dev/ttyAMA0
2020.02.01 12:51:36 3: Probing ElsnerWS device /dev/ttyAMA0
2020.02.01 12:51:37 3: Probing FRM device /dev/ttyAMA0
2020.02.01 12:51:43 1: usb create end
2020.02.01 12:51:43 0: Featurelevel: 6
2020.02.01 12:51:43 0: Server started with 11 defined entities (fhem.pl:21056/2020-01-26 perl:5.024001 os:linux user:fhem pid:1086)


gruss
-----------------------------------------------------------------------
beelink miniPC - Fhem 6.x CUL 868, FS20, NetIO230 CUL 433
HMLAN, HM-CC-RT-DN,Homematic Actoren,LD382A,Telegram

CoolTux

Zitat von: satprofi am 01 Februar 2020, 12:52:37
Danke, gemacht , "OK"

Habe jetzt neuestes FHEM drauf, nach selbstinstallation des ModbusTCPServer Moduls klappt zumindest dies.
Modbus Modul klappt aber nicht


2020.02.01 12:51:26 1: Including fhem.cfg
2020.02.01 12:51:29 3: WEB: port 8083 opened
2020.02.01 12:51:29 2: eventTypes: loaded 283 events from ./log/eventTypes.txt
2020.02.01 12:51:30 3: solarlog_totalpac: I/O device is SolarLogServer
2020.02.01 12:51:30 3: solarlog_totalpac_cons: I/O device is SolarLogServer
2020.02.01 12:51:32 3: Eastron: defined as /dev/ttyModbus@9600
2020.02.01 12:51:32 1: Including ./log/fhem.save
2020.02.01 12:51:32 3: Opening Eastron device /dev/ttyModbus
2020.02.01 12:51:33 1: Eastron: Can't open /dev/ttyModbus: No such file or directory
2020.02.01 12:51:33 1: usb create starting
2020.02.01 12:51:35 3: Probing CUL device /dev/ttyAMA0
2020.02.01 12:51:36 3: Probing TCM_ESP3 device /dev/ttyAMA0
2020.02.01 12:51:36 3: Probing ZWDongle device /dev/ttyAMA0
2020.02.01 12:51:36 3: Probing SIGNALDuino device /dev/ttyAMA0
2020.02.01 12:51:36 3: Probing MYSENSORS device /dev/ttyAMA0
2020.02.01 12:51:36 3: Probing ArduCounter device /dev/ttyAMA0
2020.02.01 12:51:36 3: Probing ElsnerWS device /dev/ttyAMA0
2020.02.01 12:51:37 3: Probing FRM device /dev/ttyAMA0
2020.02.01 12:51:43 1: usb create end
2020.02.01 12:51:43 0: Featurelevel: 6
2020.02.01 12:51:43 0: Server started with 11 defined entities (fhem.pl:21056/2020-01-26 perl:5.024001 os:linux user:fhem pid:1086)


Zumindest weißte jetzt wieso. Ist ja eine Fehlermeldung da

Eastron: Can't open /dev/ttyModbus: No such file or directory

Nun musste mal schauen wieso die Gerätedatei nicht da ist oder ob sie nur anders heißt.
Du musst nicht wissen wie es geht! Du musst nur wissen wo es steht, wie es geht.
Support me to buy new test hardware for development: https://www.paypal.com/paypalme/MOldenburg
My FHEM Git: https://git.cooltux.net/FHEM/
Das TuxNet Wiki:
https://www.cooltux.net

satprofi

wie finde ich jetzt den exacten USB Port?

Feb  1 14:25:42 raspbi2 kernel: [ 1240.266403] usb 1-1.5: new full-speed USB device number 5 using dwc_otg
Feb  1 14:25:42 raspbi2 kernel: [ 1240.392645] usb 1-1.5: New USB device found, idVendor=0403, idProduct=6001
Feb  1 14:25:42 raspbi2 kernel: [ 1240.392686] usb 1-1.5: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Feb  1 14:25:42 raspbi2 kernel: [ 1240.392706] usb 1-1.5: Product: FT232R USB UART
Feb  1 14:25:42 raspbi2 kernel: [ 1240.392723] usb 1-1.5: Manufacturer: FTDI
Feb  1 14:25:42 raspbi2 kernel: [ 1240.392739] usb 1-1.5: SerialNumber: A600bPTW
Feb  1 14:25:42 raspbi2 mtp-probe: checking bus 1, device 5: "/sys/devices/platform/soc/20980000.usb/usb1/1-1/1-1.5"
Feb  1 14:25:42 raspbi2 mtp-probe: bus: 1, device: 5 was not an MTP device
gruss
-----------------------------------------------------------------------
beelink miniPC - Fhem 6.x CUL 868, FS20, NetIO230 CUL 433
HMLAN, HM-CC-RT-DN,Homematic Actoren,LD382A,Telegram

CoolTux

Du musst nicht wissen wie es geht! Du musst nur wissen wo es steht, wie es geht.
Support me to buy new test hardware for development: https://www.paypal.com/paypalme/MOldenburg
My FHEM Git: https://git.cooltux.net/FHEM/
Das TuxNet Wiki:
https://www.cooltux.net

satprofi

leider nein. irgendwas hat buster.
lsusb

Bus 001 Device 005: ID 0403:6001 Future Technology Devices International, Ltd FT232 Serial (UART) IC
Bus 001 Device 004: ID 0403:6001 Future Technology Devices International, Ltd FT232 Serial (UART) IC
Bus 001 Device 006: ID 152d:0578 JMicron Technology Corp. / JMicron USA Technology Corp. JMS567 SATA 6Gb/s bridge
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp. SMSC9512/9514 Fast Ethernet Adapter
Bus 001 Device 002: ID 0424:9514 Standard Microsystems Corp. SMC9514 Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub


ls -la /dev/serial/by-path
[/code]
ls: Zugriff auf '/dev/serial/by-path' nicht möglich: Datei oder Verzeichnis nicht gefunden
[/code]
gruss
-----------------------------------------------------------------------
beelink miniPC - Fhem 6.x CUL 868, FS20, NetIO230 CUL 433
HMLAN, HM-CC-RT-DN,Homematic Actoren,LD382A,Telegram

CoolTux

Ist das ein Raspi? Eventuell muss man da was machen wegen serial?
Du musst nicht wissen wie es geht! Du musst nur wissen wo es steht, wie es geht.
Support me to buy new test hardware for development: https://www.paypal.com/paypalme/MOldenburg
My FHEM Git: https://git.cooltux.net/FHEM/
Das TuxNet Wiki:
https://www.cooltux.net

CoolTux

Du musst nicht wissen wie es geht! Du musst nur wissen wo es steht, wie es geht.
Support me to buy new test hardware for development: https://www.paypal.com/paypalme/MOldenburg
My FHEM Git: https://git.cooltux.net/FHEM/
Das TuxNet Wiki:
https://www.cooltux.net

satprofi

ja, raspi

crw-rw-rw- 1 root tty    5,  0 Feb  1 15:13 /dev/tty
crw--w---- 1 root tty    4,  0 Feb  1 15:13 /dev/tty0
crw--w---- 1 root tty    4,  1 Feb  1 15:13 /dev/tty1
crw--w---- 1 root tty    4, 10 Feb  1 15:13 /dev/tty10
crw--w---- 1 root tty    4, 11 Feb  1 15:13 /dev/tty11
crw--w---- 1 root tty    4, 12 Feb  1 15:13 /dev/tty12
crw--w---- 1 root tty    4, 13 Feb  1 15:13 /dev/tty13
crw--w---- 1 root tty    4, 14 Feb  1 15:13 /dev/tty14
crw--w---- 1 root tty    4, 15 Feb  1 15:13 /dev/tty15
crw--w---- 1 root tty    4, 16 Feb  1 15:13 /dev/tty16
crw--w---- 1 root tty    4, 17 Feb  1 15:13 /dev/tty17
crw--w---- 1 root tty    4, 18 Feb  1 15:13 /dev/tty18
crw--w---- 1 root tty    4, 19 Feb  1 15:13 /dev/tty19
crw--w---- 1 root tty    4,  2 Feb  1 15:13 /dev/tty2
crw--w---- 1 root tty    4, 20 Feb  1 15:13 /dev/tty20
crw--w---- 1 root tty    4, 21 Feb  1 15:13 /dev/tty21
crw--w---- 1 root tty    4, 22 Feb  1 15:13 /dev/tty22
crw--w---- 1 root tty    4, 23 Feb  1 15:13 /dev/tty23
crw--w---- 1 root tty    4, 24 Feb  1 15:13 /dev/tty24
crw--w---- 1 root tty    4, 25 Feb  1 15:13 /dev/tty25
crw--w---- 1 root tty    4, 26 Feb  1 15:13 /dev/tty26
crw--w---- 1 root tty    4, 27 Feb  1 15:13 /dev/tty27
crw--w---- 1 root tty    4, 28 Feb  1 15:13 /dev/tty28
crw--w---- 1 root tty    4, 29 Feb  1 15:13 /dev/tty29
crw--w---- 1 root tty    4,  3 Feb  1 15:13 /dev/tty3
crw--w---- 1 root tty    4, 30 Feb  1 15:13 /dev/tty30
crw--w---- 1 root tty    4, 31 Feb  1 15:13 /dev/tty31
crw--w---- 1 root tty    4, 32 Feb  1 15:13 /dev/tty32
crw--w---- 1 root tty    4, 33 Feb  1 15:13 /dev/tty33
crw--w---- 1 root tty    4, 34 Feb  1 15:13 /dev/tty34
crw--w---- 1 root tty    4, 35 Feb  1 15:13 /dev/tty35
crw--w---- 1 root tty    4, 36 Feb  1 15:13 /dev/tty36
crw--w---- 1 root tty    4, 37 Feb  1 15:13 /dev/tty37
crw--w---- 1 root tty    4, 38 Feb  1 15:13 /dev/tty38
crw--w---- 1 root tty    4, 39 Feb  1 15:13 /dev/tty39
crw--w---- 1 root tty    4,  4 Feb  1 15:13 /dev/tty4
crw--w---- 1 root tty    4, 40 Feb  1 15:13 /dev/tty40
crw--w---- 1 root tty    4, 41 Feb  1 15:13 /dev/tty41
crw--w---- 1 root tty    4, 42 Feb  1 15:13 /dev/tty42
crw--w---- 1 root tty    4, 43 Feb  1 15:13 /dev/tty43
crw--w---- 1 root tty    4, 44 Feb  1 15:13 /dev/tty44
crw--w---- 1 root tty    4, 45 Feb  1 15:13 /dev/tty45
crw--w---- 1 root tty    4, 46 Feb  1 15:13 /dev/tty46
crw--w---- 1 root tty    4, 47 Feb  1 15:13 /dev/tty47
crw--w---- 1 root tty    4, 48 Feb  1 15:13 /dev/tty48
crw--w---- 1 root tty    4, 49 Feb  1 15:13 /dev/tty49
crw--w---- 1 root tty    4,  5 Feb  1 15:13 /dev/tty5
crw--w---- 1 root tty    4, 50 Feb  1 15:13 /dev/tty50
crw--w---- 1 root tty    4, 51 Feb  1 15:13 /dev/tty51
crw--w---- 1 root tty    4, 52 Feb  1 15:13 /dev/tty52
crw--w---- 1 root tty    4, 53 Feb  1 15:13 /dev/tty53
crw--w---- 1 root tty    4, 54 Feb  1 15:13 /dev/tty54
crw--w---- 1 root tty    4, 55 Feb  1 15:13 /dev/tty55
crw--w---- 1 root tty    4, 56 Feb  1 15:13 /dev/tty56
crw--w---- 1 root tty    4, 57 Feb  1 15:13 /dev/tty57
crw--w---- 1 root tty    4, 58 Feb  1 15:13 /dev/tty58
crw--w---- 1 root tty    4, 59 Feb  1 15:13 /dev/tty59
crw--w---- 1 root tty    4,  6 Feb  1 15:13 /dev/tty6
crw--w---- 1 root tty    4, 60 Feb  1 15:13 /dev/tty60
crw--w---- 1 root tty    4, 61 Feb  1 15:13 /dev/tty61
crw--w---- 1 root tty    4, 62 Feb  1 15:13 /dev/tty62
crw--w---- 1 root tty    4, 63 Feb  1 15:13 /dev/tty63
crw--w---- 1 root tty    4,  7 Feb  1 15:13 /dev/tty7
crw--w---- 1 root tty    4,  8 Feb  1 15:13 /dev/tty8
crw--w---- 1 root tty    4,  9 Feb  1 15:13 /dev/tty9
crw--w---- 1 root tty  204, 64 Feb  1 15:13 /dev/ttyAMA0
crw------- 1 root root   5,  3 Feb  1 15:13 /dev/ttyprintk


verstehe es nicht , hat bis vorgestern einwandfrei gewerkelt, denke die SDcard ist flöten gegangen.
gruss
-----------------------------------------------------------------------
beelink miniPC - Fhem 6.x CUL 868, FS20, NetIO230 CUL 433
HMLAN, HM-CC-RT-DN,Homematic Actoren,LD382A,Telegram

Wernieman

Es gehört alles der Gruppe tty .. da ich hier kein PI habe Frage an die PI Besitzer, Standard?
- Bitte um Input für Output
- When there is a Shell, there is a Way
- Wann war Dein letztes Backup?

Wie man Fragen stellt: https://tty1.net/smart-questions_de.html

MadMax-FHEM

#25
Is bei mir auf Buster auch so.
Bis auf die, die ich in fhem eingebunden hab...
Die gaben dialout...

Hab aber nix "verbogen"...
Max. fhem in entspr. Gruppen aufgenommen...

EDIT: grad geprüft und nix zusätzlich. fhem-Installation "the easy way" und gut... Für HM-CFG-USB mit hmland hab ich eine udev... Und für das Aufsteckmodul halt BT/WLAN deaktiviert (wahrsch. unnötig) und serial aktiviert und Eintrag in cmdline.txt entfernt...

Gruß, Joachim
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)

satprofi

ich versuche jetzt ein stretch-lite zu flashen, und fhem neu aufzusetzen.
gruss
-----------------------------------------------------------------------
beelink miniPC - Fhem 6.x CUL 868, FS20, NetIO230 CUL 433
HMLAN, HM-CC-RT-DN,Homematic Actoren,LD382A,Telegram

CoolTux

Sorry wenn ich fragen muss. Was ist das den für ein Teil was Du da anschließen willst? USB?
Zieh das mal ab und starte neu. Danach tail -f /var/log/syslog und dann das Teil anschließen. Die Ausgabe hier posten.
Du musst nicht wissen wie es geht! Du musst nur wissen wo es steht, wie es geht.
Support me to buy new test hardware for development: https://www.paypal.com/paypalme/MOldenburg
My FHEM Git: https://git.cooltux.net/FHEM/
Das TuxNet Wiki:
https://www.cooltux.net

CoolTux

Zitat von: MadMax-FHEM am 01 Februar 2020, 16:24:55
EDIT: grad geprüft und nix zusätzlich. fhem-Installation "the easy way" und gut... Für HM-CFG-USB mit hmland hab ich eine udev... Und für das Aufsteckmodul halt BT/WLAN deaktiviert (wahrsch. unnötig) und serial aktiviert und Eintrag in cmdline.txt entfernt...

Hast Du serial bei Dir auch aktiviert satprofi?
Du musst nicht wissen wie es geht! Du musst nur wissen wo es steht, wie es geht.
Support me to buy new test hardware for development: https://www.paypal.com/paypalme/MOldenburg
My FHEM Git: https://git.cooltux.net/FHEM/
Das TuxNet Wiki:
https://www.cooltux.net

MadMax-FHEM

Zitat von: satprofi am 01 Februar 2020, 16:30:52
ich versuche jetzt ein stretch-lite zu flashen, und fhem neu aufzusetzen.

Hab auch einiges an USB: HM-CFG-USB und einen ZWave-Stick an Buster und kein Problem...

Irgendwann musst/solltest/willst du eh zu Buster?
Warum jetzt einen "Rückschritt"!?

Gruß, Joachim
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)