Fragen zu piVCCU und HM-MOD-RPI-PCB Modul in Openhabian.

Virtualisierte CCU für Raspberry Pi und Clones

Moderator: Co-Administratoren

Benutzeravatar
deimos
Beiträge: 5396
Registriert: 20.06.2017, 10:38
System: Alternative CCU (auf Basis OCCU)
Wohnort: Leimersheim
Hat sich bedankt: 121 Mal
Danksagung erhalten: 957 Mal
Kontaktdaten:

Re: Fragen zu piVCCU und HM-MOD-RPI-PCB Modul in Openhabian.

Beitrag von deimos » 15.03.2019, 06:01

Hi,
Knut1963 hat geschrieben:
14.03.2019, 22:13
In der WebUI heißt das Funkmodul jetzt auch nicht mehr HM-MOD-RPI-PCB sondern HM-RCV-50 BidCoS-RF und HmIP-RCV-50 61A7D3C9A63E14,
ist das so richtig?
ist das so ok?
Ja.
Knut1963 hat geschrieben:
14.03.2019, 22:13
Die Anbindung mit/zu OpenHab über die Homematic Bridge bekomme ich auch nicht hin
OFFLINE - COMMUNICATION_ERROR
Wie sieht den deine Config in OpenHab aus? Welche IP nutzt du, die vom Raspberry oder die vom Container? Welche OpenHab Version hast du? Welche Sicherheitseinstellungen hast du in der CCU gewählt?

Viele Grüße
Alex

Knut1963
Beiträge: 26
Registriert: 06.03.2019, 16:59

Re: Fragen zu piVCCU und HM-MOD-RPI-PCB Modul in Openhabian.

Beitrag von Knut1963 » 15.03.2019, 07:51

Guten Morgen,

Der erneute Anlernversuch hat auch nicht geklappt.

also ich nutze die openHAB 2.4.0-1 (Release Build). Der Raspberry (openHABianPi LAN 4 mit 1 Gbit/s 192.168.178.40) und die piVCCU
(ccu3-webui LAN 4 mit 1 Gbit/s 192.168.178.31). In OpenHab für die Bridge Einstellungen habe ich die ......31 angegeben,
eQ3-HmIP-CCU3-App - 192.168.178.31 OFFLINE - COMMUNICATION_ERROR Homematic Bridge homematic:bridge:3014F711A061A7D3C9A63E14
in der runtime.cfg ist keine angabe von der IP notwendig. Ansonsten weiß ich nicht was Du mit Config in OH meinst.
Bei den Sicherheitseinstellungen habe ich erstmal alles offen, um über mal eine Verbindung zu bekommen.

Gruß
Knut

Benutzeravatar
deimos
Beiträge: 5396
Registriert: 20.06.2017, 10:38
System: Alternative CCU (auf Basis OCCU)
Wohnort: Leimersheim
Hat sich bedankt: 121 Mal
Danksagung erhalten: 957 Mal
Kontaktdaten:

Re: Fragen zu piVCCU und HM-MOD-RPI-PCB Modul in Openhabian.

Beitrag von deimos » 15.03.2019, 08:13

Hi,

mit der CCU3 Firmware 3.43.x haben sich einige Änderungen ergeben, welche erst ab OpenHab 2.5 unterstützt werden.

Wegen dem Anlernen: Welchen Pi hast du genau? Welches Netzteil hast du? Ist der Ferrit in der Anschlussleitung? Hast du eine externe Antenne? Wie weit ist der Dimmer vom Raspberry entfernt?

Viele Grüße
Alex

Knut1963
Beiträge: 26
Registriert: 06.03.2019, 16:59

Re: Fragen zu piVCCU und HM-MOD-RPI-PCB Modul in Openhabian.

Beitrag von Knut1963 » 15.03.2019, 09:43

Hallo,

Zum Pi :

###############################################################################
################# openHABianPi ################################################
###############################################################################
## Ip = 192.168.178.40
## Release = Raspbian GNU/Linux 9 (stretch)
## Kernel = Linux 4.14.98-v7+
## Platform = Raspberry Pi 3 Model B Rev 1.2
## Uptime = 0 day(s). 0:4:55
## CPU Usage = 2.26 % avg over 4 cpu(s) (4 core(s) x 1 socket(s))
## CPU Load = 1m: 0.21, 5m: 0.55, 15m: 0.30
## Memory = Free: 0.30GB (32%), Used: 0.64GB (68%), Total: 0.95GB
## Swap = Free: 0.09GB (100%), Used: 0.00GB (0%), Total: 0.09GB
## Root = Free: 865.47GB (99%), Used: 3.82GB (1%), Total: 915.89GB
## Updates = 0 apt updates available.
## Sessions = 1 sessions
## Processes = 133 running processes of 32768 maximum processes
###############################################################################

Welcome to __ _____ ____ _
____ ____ ___ ____ / / / / | / __ )(_)___ _____
/ __ \/ __ \/ _ \/ __ \/ /_/ / /| | / __ / / __ `/ __ \
/ /_/ / /_/ / __/ / / / __ / ___ |/ /_/ / / /_/ / / / /
\____/ .___/\___/_/ /_/_/ /_/_/ |_/_____/_/\__,_/_/ /_/
/_/
openHAB 2.4.0-1 (Release Build)

Zum Netzteil kann ich Dir leider keine Angaben machen, zusammen mit dem Paspi gekauft, Chinaware vielleicht.
Ferritring : Ja
Externe Antenne : Ja
Entfernung : zwei Räume weiter maximal 8m zwei Kalksandstein Mauern. Bei den "normalen" HM-Aktoren auch kein Problem.

Kann das Problem evtl. mit Berechtigungen (Linux) zu tun haben OpenHab ist in Gruppe openhab und Besitzer openhab
z.B.:
drwxrwxr-x+ 2 openhab openhab 4096 Jan 4 09:54 sitemaps
und piVCCU3 :
-rw-r--r-- 1 root root 1477 Dez 21 09:16 lxc.config
Ich bin kein Linux- Profi eher blutiger Anfänger.

Gruß
Knut

Knut1963
Beiträge: 26
Registriert: 06.03.2019, 16:59

Re: Fragen zu piVCCU und HM-MOD-RPI-PCB Modul in Openhabian.

Beitrag von Knut1963 » 15.03.2019, 09:52

Hallo,

Läuft apt-get update / upgrade so richtig?
[09:14:50] root@openHABianPi:/home/openhabian# apt-get update
Holen:1 http://raspbian.raspberrypi.org/raspbian stretch InRelease [15,0 kB]
OK:2 http://archive.raspberrypi.org/debian stretch InRelease
Ign:3 http://repos.azulsystems.com/debian stable InRelease
OK:4 http://repos.azulsystems.com/debian stable Release
Ign:5 https://dl.bintray.com/openhab/apt-repo2 stable InRelease
Holen:6 https://deb.nodesource.com/node_7.x stretch InRelease [4.635 B]
Holen:7 https://dl.bintray.com/openhab/apt-repo2 stable Release [6.051 B]
OK:8 https://www.pivccu.de/piVCCU stable InRelease
OK:7 https://dl.bintray.com/openhab/apt-repo2 stable Release
Es wurden 19,6 kB in 3 s geholt (5.098 B/s).
Paketlisten werden gelesen... Fertig

[09:15:09] root@openHABianPi:/home/openhabian# apt-get upgrade
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut.
Statusinformationen werden eingelesen.... Fertig
Paketaktualisierung (Upgrade) wird berechnet... Fertig
Die folgenden Pakete werden aktualisiert (Upgrade):
pivccu-modules-dkms raspi-copies-and-fills
2 aktualisiert, 0 neu installiert, 0 zu entfernen und 0 nicht aktualisiert.
Es müssen 37,0 kB an Archiven heruntergeladen werden.
Nach dieser Operation werden 6.144 B Plattenplatz freigegeben.
Möchten Sie fortfahren? [J/n] j
Holen:1 http://archive.raspberrypi.org/debian stretch/main armhf raspi-copies-and-fills armhf 0.11 [7.274 B]
Holen:2 https://www.pivccu.de/piVCCU stable/main armhf pivccu-modules-dkms all 1.0.27 [29,7 kB]
Es wurden 37,0 kB in 0 s geholt (58,2 kB/s).
Lese Changelogs... Fertig
Vorkonfiguration der Pakete ...
(Lese Datenbank ... 106047 Dateien und Verzeichnisse sind derzeit installiert.)
Vorbereitung zum Entpacken von .../pivccu-modules-dkms_1.0.27_all.deb ...
Removed /etc/systemd/system/pivccu.service.requires/pivccu-dkms.service.
Removed /etc/systemd/system/debmatic.service.wants/pivccu-dkms.service.
Removed /etc/systemd/system/multi-user.target.wants/pivccu-dkms.service.

-------- Uninstall Beginning --------
Module: pivccu
Version: 1.0.25
Kernel: 4.14.98-v7+ (armv7l)
-------------------------------------

Status: Before uninstall, this module version was ACTIVE on this kernel.

dummy_rx8130.ko:
- Uninstallation
- Deleting from: /lib/modules/4.14.98-v7+/kernel/drivers/pivccu/
- Original module
- No original module was found for this module on this kernel.
- Use the dkms install command to reinstall any previous module version.


dw_apb_raw_uart.ko:
- Uninstallation
- Deleting from: /lib/modules/4.14.98-v7+/kernel/drivers/pivccu/
- Original module
- No original module was found for this module on this kernel.
- Use the dkms install command to reinstall any previous module version.


eq3_char_loop.ko:
- Uninstallation
- Deleting from: /lib/modules/4.14.98-v7+/kernel/drivers/pivccu/
- Original module
- No original module was found for this module on this kernel.
- Use the dkms install command to reinstall any previous module version.


fake_hmrf.ko:
- Uninstallation
- Deleting from: /lib/modules/4.14.98-v7+/kernel/drivers/pivccu/
- Original module
- No original module was found for this module on this kernel.
- Use the dkms install command to reinstall any previous module version.


generic_raw_uart.ko:
- Uninstallation
- Deleting from: /lib/modules/4.14.98-v7+/kernel/drivers/pivccu/
- Original module
- No original module was found for this module on this kernel.
- Use the dkms install command to reinstall any previous module version.


hb_rf_usb.ko:
- Uninstallation
- Deleting from: /lib/modules/4.14.98-v7+/kernel/drivers/pivccu/
- Original module
- No original module was found for this module on this kernel.
- Use the dkms install command to reinstall any previous module version.


led_trigger_timer.ko:
- Uninstallation
- Deleting from: /lib/modules/4.14.98-v7+/kernel/drivers/pivccu/
- Original module
- No original module was found for this module on this kernel.
- Use the dkms install command to reinstall any previous module version.


meson_raw_uart.ko:
- Uninstallation
- Deleting from: /lib/modules/4.14.98-v7+/kernel/drivers/pivccu/
- Original module
- No original module was found for this module on this kernel.
- Use the dkms install command to reinstall any previous module version.


pl011_raw_uart.ko:
- Uninstallation
- Deleting from: /lib/modules/4.14.98-v7+/kernel/drivers/pivccu/
- Original module
- No original module was found for this module on this kernel.
- Use the dkms install command to reinstall any previous module version.


plat_eq3ccu2.ko:
- Uninstallation
- Deleting from: /lib/modules/4.14.98-v7+/kernel/drivers/pivccu/
- Original module
- No original module was found for this module on this kernel.
- Use the dkms install command to reinstall any previous module version.


rpi_rf_mod_led.ko:
- Uninstallation
- Deleting from: /lib/modules/4.14.98-v7+/kernel/drivers/pivccu/
- Original module
- No original module was found for this module on this kernel.
- Use the dkms install command to reinstall any previous module version.


rtc-rx8130.ko:
- Uninstallation
- Deleting from: /lib/modules/4.14.98-v7+/kernel/drivers/pivccu/
- Original module
- No original module was found for this module on this kernel.
- Use the dkms install command to reinstall any previous module version.

depmod....

DKMS: uninstall completed.

------------------------------
Deleting module version: 1.0.25
completely from the DKMS tree.
------------------------------
Done.
Entpacken von pivccu-modules-dkms (1.0.27) über (1.0.25) ...
Vorbereitung zum Entpacken von .../raspi-copies-and-fills_0.11_armhf.deb ...
Entpacken von raspi-copies-and-fills (0.11) über (0.10) ...
raspi-copies-and-fills (0.11) wird eingerichtet ...
pivccu-modules-dkms (1.0.27) wird eingerichtet ...

Creating symlink /var/lib/dkms/pivccu/1.0.27/source ->
/usr/src/pivccu-1.0.27

DKMS: add completed.

Kernel preparation unnecessary for this kernel. Skipping...

Building module:
cleaning build area....
make -j4 KERNELRELEASE=4.14.98-v7+ ARCH=arm all........
cleaning build area....

DKMS: build completed.

dummy_rx8130.ko:
Running module version sanity check.
- Original module
- No original module exists within this kernel
- Installation
- Installing to /lib/modules/4.14.98-v7+/kernel/drivers/pivccu/

dw_apb_raw_uart.ko:
Running module version sanity check.
- Original module
- No original module exists within this kernel
- Installation
- Installing to /lib/modules/4.14.98-v7+/kernel/drivers/pivccu/

eq3_char_loop.ko:
Running module version sanity check.
- Original module
- No original module exists within this kernel
- Installation
- Installing to /lib/modules/4.14.98-v7+/kernel/drivers/pivccu/

fake_hmrf.ko:
Running module version sanity check.
- Original module
- No original module exists within this kernel
- Installation
- Installing to /lib/modules/4.14.98-v7+/kernel/drivers/pivccu/

generic_raw_uart.ko:
Running module version sanity check.
- Original module
- No original module exists within this kernel
- Installation
- Installing to /lib/modules/4.14.98-v7+/kernel/drivers/pivccu/

hb_rf_usb.ko:
Running module version sanity check.
- Original module
- No original module exists within this kernel
- Installation
- Installing to /lib/modules/4.14.98-v7+/kernel/drivers/pivccu/

led_trigger_timer.ko:
Running module version sanity check.
- Original module
- No original module exists within this kernel
- Installation
- Installing to /lib/modules/4.14.98-v7+/kernel/drivers/pivccu/

meson_raw_uart.ko:
Running module version sanity check.
- Original module
- No original module exists within this kernel
- Installation
- Installing to /lib/modules/4.14.98-v7+/kernel/drivers/pivccu/

pl011_raw_uart.ko:
Running module version sanity check.
- Original module
- No original module exists within this kernel
- Installation
- Installing to /lib/modules/4.14.98-v7+/kernel/drivers/pivccu/

plat_eq3ccu2.ko:
Running module version sanity check.
- Original module
- No original module exists within this kernel
- Installation
- Installing to /lib/modules/4.14.98-v7+/kernel/drivers/pivccu/

rpi_rf_mod_led.ko:
Running module version sanity check.
- Original module
- No original module exists within this kernel
- Installation
- Installing to /lib/modules/4.14.98-v7+/kernel/drivers/pivccu/

rtc-rx8130.ko:
Running module version sanity check.
- Original module
- No original module exists within this kernel
- Installation
- Installing to /lib/modules/4.14.98-v7+/kernel/drivers/pivccu/

depmod...

DKMS: install completed.
Created symlink /etc/systemd/system/multi-user.target.wants/pivccu-dkms.service → /lib/systemd/system/pivccu-dkms.service.
Created symlink /etc/systemd/system/debmatic.service.wants/pivccu-dkms.service → /lib/systemd/system/pivccu-dkms.service.
Created symlink /etc/systemd/system/pivccu.service.requires/pivccu-dkms.service → /lib/systemd/system/pivccu-dkms.service.
Updating FireMotD available updates count ...
[09:16:51] root@openHABianPi:/home/openhabian# reboot
Kannst Du da was mit anfangen?

Und Danke für Deine scheinbar unbegrenzte Hilfe und Leidensfähigkeit.

Knut

rbeudel
Beiträge: 277
Registriert: 29.06.2018, 17:37
System: Alternative CCU (auf Basis OCCU)
Wohnort: Essen
Hat sich bedankt: 27 Mal
Danksagung erhalten: 14 Mal

Re: Fragen zu piVCCU und HM-MOD-RPI-PCB Modul in Openhabian.

Beitrag von rbeudel » 15.03.2019, 10:10

Hallo,
zu openhab, bei mir haben unter ähnlichen Umständen folgende Schritte geholfen:
1. Cache und temp leeren wie hier https://community.openhab.org/t/clear-the-cache/36424 beschrieben (2 Methoden möglich)
2. Homematic Binding deinstallieren und wieder neu installieren mit Suche nach neuen Things.
3. Wenn die Bridge dann 2 mal auftaucht, die mit Error löschen und eventuell noch einmal Punkt 1 ausführen.



Viele Grüße,
Ralf
Viele Grüße,
Ralf


Debmatic und Openhab 4 in Proxmox 8 VM debian x86_64 auf Intel NUC mit influxdb und Grafana zur Visualisierung

Benutzeravatar
deimos
Beiträge: 5396
Registriert: 20.06.2017, 10:38
System: Alternative CCU (auf Basis OCCU)
Wohnort: Leimersheim
Hat sich bedankt: 121 Mal
Danksagung erhalten: 957 Mal
Kontaktdaten:

Re: Fragen zu piVCCU und HM-MOD-RPI-PCB Modul in Openhabian.

Beitrag von deimos » 15.03.2019, 10:22

Hi,

wenn du den HmIP im Anmeldedialog siehst, dann ist softwareseitig alles in Ordnung. Dann gibt es an sich nur noch 3 Möglichkeiten: Funktechnisch klappt es nicht (z.B. auch wegen Interferenzen durch Netzteil), Benutzerfehler oder die eQ-3 Server können keinen Key liefern (weil entweder nicht erreichbar, fehlender Internet Connectivity, Server bei eQ-3 kaputt, ...). Den letzten Punkt kann man durch manuelle Eingabe von SGTIN und Key ausschließen. Alles andere kann man aus der Ferne leider nur eingeschränkt prüfen. Die typischen Probleme habe ich im letzten Post genannt.

Die Verwendung von apt-get solltest du durch apt ersetzen. apt (ohne das -get) löst manche Abhängigkeiten deutlich besser auf. Und man hat einen Fortschrittsbalken. :)

Die 2.5 Version von OpenHab ist leider noch nicht offiziell released/als stable markiert. Wenn du in der Datei /etc/apt/sources.list.d/openhab2.list von stable auf testing wechselst, dann kannst du die aber bereits mit apt installieren. Ich war in der falschen Annahme, dass die schon draußen wäre.

Viele Grüße
Alex

Knut1963
Beiträge: 26
Registriert: 06.03.2019, 16:59

Re: Fragen zu piVCCU und HM-MOD-RPI-PCB Modul in Openhabian.

Beitrag von Knut1963 » 15.03.2019, 13:37

Hallo Ralf,
es tauchen zwei Bridges auf und gehen beide auf Fehler.
Aber trotzdem Danke

Hallo Alex,
das die eQ-3 Server kaputt sind ist wohl eher unwahrscheinlich, dann bin ich wohl einfach zu blöd.

Das mit der Version 2.5 werde ich nochmal ausprobieren.

Danke und einen schönen Gruß
Knut

Benutzeravatar
deimos
Beiträge: 5396
Registriert: 20.06.2017, 10:38
System: Alternative CCU (auf Basis OCCU)
Wohnort: Leimersheim
Hat sich bedankt: 121 Mal
Danksagung erhalten: 957 Mal
Kontaktdaten:

Re: Fragen zu piVCCU und HM-MOD-RPI-PCB Modul in Openhabian.

Beitrag von deimos » 15.03.2019, 13:42

Hi,
Knut1963 hat geschrieben:
15.03.2019, 13:37
das die eQ-3 Server kaputt sind ist wohl eher unwahrscheinlich
Die Erfahrung zeigt, dass das leider nicht so unwahrscheinlich ist. Teilweise wurde auch schon für Funkmodule vergessen, diese in den Servern einzutragen.
Und HmIP ist grade beim Anlernen manchmal etwas zickig, vor allem mit dem HM-MOD-RPI-PCB, das ist leider hinlänglich bekannt. Ich würde daher nicht zwingend davon ausgehen, dass es ein Benutzerfehler ist. (Gut, am Anfang schon, beim HmIP ist das keine echte Anlerntaste)

Viele Grüße
Alex

Knut1963
Beiträge: 26
Registriert: 06.03.2019, 16:59

Re: Fragen zu piVCCU und HM-MOD-RPI-PCB Modul in Openhabian.

Beitrag von Knut1963 » 15.03.2019, 14:48

Hi,
auch in der Version 2.5 geht die Homematic Bridge auf Fehler
OFFLINE - COMMUNICATION_ERROR Unknown XML-RPC tag: title
Gruß
Knut

Antworten

Zurück zu „piVCCU“