Aktuelle Updates

Einrichtung, Nutzung und Hilfe zu YAHM

Moderator: Co-Administratoren

jp112sdl
Beiträge: 12144
Registriert: 20.11.2016, 20:01
Hat sich bedankt: 854 Mal
Danksagung erhalten: 2156 Mal
Kontaktdaten:

Re: Aktuelle Updates

Beitrag von jp112sdl » 20.07.2017, 22:55

Naja... ich sag mal so: Ich bin davon ausgegangen, dass mein Pull Request noch mal verifiziert und nicht 1...2...fix durchgewunken wird (4-Augen Prinzip).
Daimler hat geschrieben:Unterlasse also bitte in Zukunft die 'falschen Informationen' bzw. stimme dich mit Leo ab und alle sind verm. glücklicher.
Passiert... Ohne jegliche böse Absicht und es ist ja jetzt wie es ist. Leo hat auch geschrieben, dass er momentan noch andere Probleme hat.
Und überhaupt... hier hat letztendlich niemand einen Vertrag mit jemandem.

Ich finde es toll, welche Arbeit sich Leo macht! Und das for free...

Es steht ja auch jedem frei, sich einen eigenen Fork zu ziehen und seine eigenen Anpassungen zu machen.

VG,
Jérôme ☕️

---
Support for my Homebrew-Devices: Download JP-HB-Devices Addon

leonsio
Beiträge: 1107
Registriert: 07.01.2012, 14:06
Danksagung erhalten: 6 Mal

Re: Aktuelle Updates

Beitrag von leonsio » 22.07.2017, 20:22

@Daimler
habe die quickinstall routine auf frischen raspbian angepasst (dev branch)
werde mir gleich das homematic-ip auf darauf ansehen, lasse die installation durchlaufen kann wahrscheinlich erst morgen früh sagen was da geht und was nicht

jp112sdl
Beiträge: 12144
Registriert: 20.11.2016, 20:01
Hat sich bedankt: 854 Mal
Danksagung erhalten: 2156 Mal
Kontaktdaten:

Re: Aktuelle Updates

Beitrag von jp112sdl » 22.07.2017, 20:31

...und ich halte mich in Zukunft lieber raus.

Ich war wohl etwas übereifrig. Hab ja nun die 2.29.18 zu laufen.

VG,
Jérôme ☕️

---
Support for my Homebrew-Devices: Download JP-HB-Devices Addon

leonsio
Beiträge: 1107
Registriert: 07.01.2012, 14:06
Danksagung erhalten: 6 Mal

Re: Aktuelle Updates

Beitrag von leonsio » 23.07.2017, 09:23

ich habe aktuell die Installation auf einem frischen Rpi3 getestet, zwar ohne Modul ist aber irrelevant (version des Moduls kann nicht ermittelt werden)
Frische Installation aus dem DEV branch läuft nun rund, auch homematic-ip Modul scheint zu funktionieren

übrigens es kann passieren, dass die Download-Links nicht gefunden werden, dies hat aber nichts mit YAHM zu tun, sondern sind von Gegenseite abhängig, einfach zweites mal starten, bzw mit -v dann siehst du was genau nicht geht

ich habe übrigens in der Doku angegeben, dass es zwischen 1 und 4 Stunden dauern kann ;)

Code: Alles auswählen

root@raspberrypi:/var/log/yahm# yahm-module -m homematic-ip enable

!!! You are using develop branch, this branch is unstable. Using at your own risk !!!!

Executing homematic-ip module_install()
Stopping rfd and multimac services, to detect module firmware
Stopping multimacd: OK
Stopping rfd: start-stop-daemon: warning: killing process 333: No such process
OK
Updating sources
Installing dependencies
Selecting previously unselected package libapr1:armhf.
(Reading database ... 34475 files and directories currently installed.)
Preparing to unpack .../libapr1_1.5.1-3_armhf.deb ...
Unpacking libapr1:armhf (1.5.1-3) ...
Selecting previously unselected package libaprutil1:armhf.
Preparing to unpack .../libaprutil1_1.5.4-1_armhf.deb ...
Unpacking libaprutil1:armhf (1.5.4-1) ...
Selecting previously unselected package libserf-1-1:armhf.
Preparing to unpack .../libserf-1-1_1.3.8-1_armhf.deb ...
Unpacking libserf-1-1:armhf (1.3.8-1) ...
Selecting previously unselected package libsvn1:armhf.
Preparing to unpack .../libsvn1_1.8.10-6+deb8u4_armhf.deb ...
Unpacking libsvn1:armhf (1.8.10-6+deb8u4) ...
Selecting previously unselected package bc.
Preparing to unpack .../bc_1.06.95-9_armhf.deb ...
Unpacking bc (1.06.95-9) ...
Selecting previously unselected package libtinfo-dev:armhf.
Preparing to unpack .../libtinfo-dev_5.9+20140913-1_armhf.deb ...
Unpacking libtinfo-dev:armhf (5.9+20140913-1) ...
Selecting previously unselected package libncurses5-dev:armhf.
Preparing to unpack .../libncurses5-dev_5.9+20140913-1_armhf.deb ...
Unpacking libncurses5-dev:armhf (5.9+20140913-1) ...
Selecting previously unselected package subversion.
Preparing to unpack .../subversion_1.8.10-6+deb8u4_armhf.deb ...
Unpacking subversion (1.8.10-6+deb8u4) ...
Processing triggers for man-db (2.7.5-1~bpo8+1) ...
Processing triggers for install-info (5.2.0.dfsg.1-6) ...
Setting up libapr1:armhf (1.5.1-3) ...
Setting up libaprutil1:armhf (1.5.4-1) ...
Setting up libserf-1-1:armhf (1.3.8-1) ...
Setting up libsvn1:armhf (1.8.10-6+deb8u4) ...
Setting up bc (1.06.95-9) ...
Setting up libtinfo-dev:armhf (5.9+20140913-1) ...
Setting up libncurses5-dev:armhf (5.9+20140913-1) ...
Setting up subversion (1.8.10-6+deb8u4) ...
Processing triggers for libc-bin (2.19-18+deb8u10) ...
Build new kernel without PL011 UART driver
Found kernel 4.9.35-v7+ downloading sources...

 *** Updating rpi-source
--2017-07-22 20:30:40--  https://raw.githubusercontent.com/notro/rpi-source/master/rpi-source
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 151.101.0.133, 151.101.64.133, 151.101.128.133, ...
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|151.101.0.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 12670 (12K) [text/plain]
Saving to: ‘/opt/YAHM/share/tools/rpi-source/rpi-source’

/opt/YAHM/share/tools/rpi-source/rpi-sourc 100%[========================================================================================>]  12.37K  --.-KB/s   in 0.004s 

2017-07-22 20:30:40 (3.42 MB/s) - ‘/opt/YAHM/share/tools/rpi-source/rpi-source’ saved [12670/12670]


 *** Set update tag: 1caa816d834e7d4105826bf7463909568912b411

 *** Restarting rpi-source

 *** gcc version check: OK

 *** Using: /usr/share/doc/raspberrypi-bootloader/changelog.Debian.gz

 *** Latest firmware revision: 6ba0dabbe76ce02d261cc4658c3484fa12b10385

 *** Linux source commit: be2540e540f5442d7b372208787fb64100af0c54

 *** Download kernel source
--2017-07-22 20:30:41--  https://github.com/raspberrypi/linux/archive/be2540e540f5442d7b372208787fb64100af0c54.tar.gz
Resolving github.com (github.com)... 192.30.253.112, 192.30.253.113
Connecting to github.com (github.com)|192.30.253.112|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://codeload.github.com/raspberrypi/linux/tar.gz/be2540e540f5442d7b372208787fb64100af0c54 [following]
--2017-07-22 20:30:42--  https://codeload.github.com/raspberrypi/linux/tar.gz/be2540e540f5442d7b372208787fb64100af0c54
Resolving codeload.github.com (codeload.github.com)... 192.30.253.120, 192.30.253.121
Connecting to codeload.github.com (codeload.github.com)|192.30.253.120|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [application/x-gzip]
Saving to: ‘/usr/src/linux-be2540e540f5442d7b372208787fb64100af0c54.tar.gz’

/usr/src/linux-be2540e540f5442d7b372208787     [                                                                      <=>                ] 138.30M  9.42MB/s   in 27s    

2017-07-22 20:31:10 (5.19 MB/s) - ‘/usr/src/linux-be2540e540f5442d7b372208787fb64100af0c54.tar.gz’ saved [145022360]


 *** Unpack kernel source
......................................................................

 *** Add '+' to kernel release string

 *** Create symlink: /usr/src/linux

 *** Create /lib/modules/<ver>/{build,source} symlinks

 *** .config

 *** Module.symvers

 *** Help: https://github.com/notro/rpi-source/wiki
Preparing raspberry kernel configuration
  HOSTCC  scripts/basic/fixdep
  HOSTCC  scripts/kconfig/conf.o
  SHIPPED scripts/kconfig/zconf.tab.c
  SHIPPED scripts/kconfig/zconf.lex.c
  SHIPPED scripts/kconfig/zconf.hash.c
  HOSTCC  scripts/kconfig/zconf.tab.o
  HOSTLD  scripts/kconfig/conf
#
# configuration written to .config
#
Building kernel (can take some time... 1 hour on RPi 3)
scripts/kconfig/conf  --silentoldconfig Kconfig
#
# configuration written to .config
#
  CHK     include/config/kernel.release
  WRAP    arch/arm/include/generated/asm/bitsperlong.h
  WRAP    arch/arm/include/generated/asm/clkdev.h
  WRAP    arch/arm/include/generated/asm/current.h
  WRAP    arch/arm/include/generated/asm/cputime.h
  WRAP    arch/arm/include/generated/asm/emergency-restart.h
....
  DEPMOD  4.9.35-v7+
Building Homematic-IP modules
Building eq3_loop kernel module
make -C /lib/modules/4.9.35-v7+/build M=/opt/YAHM/share/tools/kernel-modules/eq3_char_loop modules
make[1]: Entering directory '/usr/src/linux-be2540e540f5442d7b372208787fb64100af0c54'
  CC [M]  /opt/YAHM/share/tools/kernel-modules/eq3_char_loop/eq3_char_loop.o
  Building modules, stage 2.
  MODPOST 1 modules
  CC      /opt/YAHM/share/tools/kernel-modules/eq3_char_loop/eq3_char_loop.mod.o
  LD [M]  /opt/YAHM/share/tools/kernel-modules/eq3_char_loop/eq3_char_loop.ko
make[1]: Leaving directory '/usr/src/linux-be2540e540f5442d7b372208787fb64100af0c54'
Building new UART kernel module
make -C /lib/modules/4.9.35-v7+/build M=/opt/YAHM/share/tools/kernel-modules/bcm2835_raw_uart modules
make[1]: Entering directory '/usr/src/linux-be2540e540f5442d7b372208787fb64100af0c54'
  CC [M]  /opt/YAHM/share/tools/kernel-modules/bcm2835_raw_uart/bcm2835_raw_uart.o
  Building modules, stage 2.
  MODPOST 1 modules
  CC      /opt/YAHM/share/tools/kernel-modules/bcm2835_raw_uart/bcm2835_raw_uart.mod.o
  LD [M]  /opt/YAHM/share/tools/kernel-modules/bcm2835_raw_uart/bcm2835_raw_uart.ko
make[1]: Leaving directory '/usr/src/linux-be2540e540f5442d7b372208787fb64100af0c54'
Changing Host and LXC configuration and installing modules
Removing old ttyS0 device in YAHM
Removing mmd_bidcos symlink in YAHM
Generate modules.dep and map files
Changing YAHM configuration
Changing multimacd files
/opt/YAHM/share/modules/homematic-ip: line 369: /var/lib/lxc/yahm/root/etc/config/hmip_networkkey.conf: No such file or directory
Updating firmware for DualCoPro configuration
Downloading actual firmware from repository
A    HM-MOD-UART
A    HM-MOD-UART/coprocessor_update.eq3
A    HM-MOD-UART/dualcopro_si1002_update_blhm.eq3
A    HM-MOD-UART/fwmap
Exported revision 103.
Flashing firmware
2017/07/22 22:10:29.834 <Info> CCU2CommControllerMod::sendSystemCommand(): failed
2017/07/22 22:10:29.834 <Error> CCU2CommControllerMod::performIdentify(): Unable to determine coprocessor state.
2017/07/22 22:10:31.845 <Info> CCU2CommControllerMod::sendSystemCommand(): failed
2017/07/22 22:10:31.845 <Error> CCU2CommControllerMod::performIdentify(): Unable to determine coprocessor state.
2017/07/22 22:10:33.846 <Info> CCU2CommControllerMod::sendSystemCommand(): failed
2017/07/22 22:10:33.846 <Error> CCU2CommControllerMod::performIdentify(): Unable to determine coprocessor state.
2017/07/22 22:10:34.845 <Error> CoprocessorUpdate::startApplication():Could not start Coprocessor application.

2017/07/22 22:10:34.846 <Error> Could not start Application, maybe no application on device, do update with dummy Version: 0.0.0

2017/07/22 22:10:34.846 <Info> Update necessary, installed: 0.0.0, avaiable 2.8.5

2017/07/22 22:10:35.857 <Info> CCU2CommControllerMod::sendSystemCommand(): failed
2017/07/22 22:10:35.857 <Error> CCU2CommControllerMod::performIdentify(): Unable to determine coprocessor state.
2017/07/22 22:10:38.347 <Info> CCU2CommControllerMod::sendSystemCommand(): failed
Blocking new kernel updates, please do not use rpi-update anymore
======================================
Rebooting in 60 seconds to apply settings (to chancel reboot type 'shutdown -c')...
======================================
Shutdown scheduled for Sat 2017-07-22 22:11:38 UTC, use 'shutdown -c' to cancel.
STATUS: Module homematic-ip was successfully installed

jp112sdl
Beiträge: 12144
Registriert: 20.11.2016, 20:01
Hat sich bedankt: 854 Mal
Danksagung erhalten: 2156 Mal
Kontaktdaten:

Re: Aktuelle Updates

Beitrag von jp112sdl » 23.07.2017, 09:26

Ich habe gestern Abend auch auf einem "frischen" Pi 3B aus dem DEV Branch alles installiert und über Nacht kompiliert.

Läuft - auch mit Funkmodul.

Auf dem Pi2 will es nicht so recht. Aber ist obsolet - ich nutze den 3B.

VG,
Jérôme ☕️

---
Support for my Homebrew-Devices: Download JP-HB-Devices Addon

leonsio
Beiträge: 1107
Registriert: 07.01.2012, 14:06
Danksagung erhalten: 6 Mal

Re: Aktuelle Updates

Beitrag von leonsio » 23.07.2017, 09:28

was genau geht da nicht, bzw wo steigt er aus?
an sich gibt es da keine unterschiede. probiere es mit einer frischen SD-Karte aus

jp112sdl
Beiträge: 12144
Registriert: 20.11.2016, 20:01
Hat sich bedankt: 854 Mal
Danksagung erhalten: 2156 Mal
Kontaktdaten:

Re: Aktuelle Updates

Beitrag von jp112sdl » 23.07.2017, 09:32

Ärger mit ttyS0.

Wenn ich manuell in der multimacd.conf das Device als ttyS1 anlegen lasse und auch in der crRFD.conf tyyS0 -> ttyS1 ändere, geht es.

Habe jedoch schon viel auf dem System rumgespielt... Ich werde deinen Rat annehmen, mir ein Backup von der SD machen und noch mal auf einer sauberen Kiste testen.

VG,
Jérôme ☕️

---
Support for my Homebrew-Devices: Download JP-HB-Devices Addon

Daimler
Beiträge: 9118
Registriert: 17.11.2012, 10:47
System: Alternative CCU (auf Basis OCCU)
Wohnort: Köln
Hat sich bedankt: 37 Mal
Danksagung erhalten: 286 Mal

Re: Aktuelle Updates

Beitrag von Daimler » 23.07.2017, 09:55

Hi Leo,
leonsio hat geschrieben:habe die quickinstall routine auf frischen raspbian angepasst (dev branch)
OK - danke!
Ich hatte nach meinem Beitrag in einer kleinen Nachtschicht dann doch irgendwie die Dev 2.27.8 incl. IP als Update auf meine 2.25.5 Master ans Laufen bekommen.
Und gestern abend auch in Betrieb genommen - läuft. :D

Werde deine Anpassungen bei Gelegenheit einmal auf dem Test-Yahmi angehen.
jp112sdl hat geschrieben:Passiert... Ohne jegliche böse Absicht
Schwamm drüber - Schnee von gestern. 8)

P.S.
Kleine Rand-Erkenntnis:
Ich war bisher immer davon ausgegangen, dass Yahm das lokal installierte Funkmodul anspricht und nach einem Restore von einem anderen System mit anderem Funkmodul zuerst in der Konfig Systemsteuerung --> Lan.Gateways das lokale über die Auswahl 'Standard' gesetzt werden muss, damit das System später funktioniert.

Wie geschrieben, liefen meine Versuche ja in einem abgekapselten Netz (so das die Lan- und RS-Gateways nicht erreichbar waren), unter Lan-Gateways stand das Funkmodul mit der - korrekten - SN des aufgesteckten Moduls, aber halt nicht wie eigentlich normal 'Standard'.
Also ging ich davon aus: Kommuniziert nicht mit meiner Produktiv-HM.
Und habe den 'Neuen' zum Dauertest eingeschaltet gelassen.

BÖSE Falle :!:
Als dann vorgestern plötzlich meine Brunnen, Rollos etc, von Geisterhand willkürlich geschaltet wurden, habe ich einen Blick auf die Ui des Neuen und in die Logs geworfen.
Regelmäßiger Traffic von und zu Sensoren und Aktoren - obwohl die ja eigentlich nichts von dem neuen Funkmodul wissen dürften und diesem auch nicht zugeordnet waren. :shock:
Gruß Günter

pivccx mit 3.xx in Produktiv und Testsystem mit HM-, HM-W, HMIP- und HMIP-W Geräten, HPCx Studio 4.1,
L-Gateways, RS-L-Gateways, HAP, Drap, FHZ200x, vereinzelt noch FS2x-Komponenten.
HM / HM-IP: Zur Zeit knapp 300 Komponenten mit ??? Kanälen .

Ich übernehme für alle von mir gegebenen Hinweise, Tipps und Links keine Haftung! Das Befolgen meiner Tipps ist nur für Fachkundige gedacht und erfolgt auf eigene Gefahr!

Antworten

Zurück zu „YAHM“