DebMatic - CCU auf Debian Systemen

Begonnen von zap, 12 Februar 2019, 12:01:21

Vorheriges Thema - Nächstes Thema

amenomade

Antwort selbst gefunden: bei Firmware - Overview, muss man auf Device firmware klicken, und dann auf New. Da kann man die runtergeladene Firmware in der CCU hochladen, und dann zum Device transferieren.
Pi 3B, Alexa, CUL868+Selbstbau 1/2λ-Dipol-Antenne, USB Optolink / Vitotronic, Debmatic und HM / HmIP Komponenten, Rademacher Duofern Jalousien, Fritz!Dect Thermostaten, Proteus

Steffen

Hallo!

Habe versucht Debmatic auf einem RPI3+b neben Debian(Buster) zu installieren aber bekomme dabei nicht das rpi-rf-mod mit angesprochen. Debmatic startet und kann auf die WebUi zugreifen aber Anlernen geht nicht, da sagt er kannndas nicht starten. Es bleibt auch die Led am rpi-rf-mod bleibt aus.

Wenn ich das ganze mit einem fertigen pivccu Image probiere läuft es sofort und das rpi-rf-mod wird angesprochen.

Den einzigen fehler den ich bei der Installation sehen konnte war bei:

Error! echo
Your kernel headers for kernel 4.19.50-v7+ cannot be found at
/lib/modules/4.19.5-v7+/build or /lib/modules/4.19.50-v7+/source.


Hat hier jemand Erfahrung mit dem gleichen Problem?!?

Mfg Steffen

deimos

Hi,

was kommt bei "sudo debmatic-info"? Passt der installierte und aktive Kernel zu den installierten Kernel Headern?

Viele Grüße
Alex

Steffen

Zitat von: deimos am 25 September 2019, 18:08:28
Hi,

was kommt bei "sudo debmatic-info"? Passt der installierte und aktive Kernel zu den installierten Kernel Headern?

Viele Grüße
Alex

Hallo,

vielen dank für die schnelle Antwort, aber leider nur das hier:


pi@raspberrypi:~ $ sudo debmatic-info
debmatic version: 3.47.15-33
Kernel modules: Not available
Raw UART dev:   Not available
Rasp.Pi3 UART:  Assigned to GPIO pins
HMRF Hardware:  unknown
HMIP Hardware:  unknown
Board serial:   unknown
Radio MAC:      unknown
SGTIN:          unknown
pi@raspberrypi:~ $


Die Installation bei ich aber komplett Schritt für Schritt durch gegangen.

Mfg Steffen

Steffen

Hallo!

Ich habe es jetzt hinbekommen das die Installation sauber durch läuft, aber bekomme das Modul nicht zum laufen:

root@RiessSmartHomeServer:~# uname -r
4.19.66-v7+



root@RiessSmartHomeServer:~# debmatic-info
debmatic version: 3.47.15-33
Kernel modules: Available
Raw UART dev:   Not available
Rasp.Pi3 UART:  Not assigned to GPIO pins
HMRF Hardware:  unknown
HMIP Hardware:  unknown
Board serial:   unknown
Radio MAC:      unknown
SGTIN:          unknown



root@RiessSmartHomeServer:~# service debmatic status
● debmatic.service - debmatic
   Loaded: loaded (/lib/systemd/system/debmatic.service; enabled; vendor preset: enabled)
   Active: active (exited) since Thu 2019-09-26 06:07:17 CEST; 5min ago
  Process: 492 ExecStart=/usr/share/debmatic/bin/initsystem.sh (code=exited, status=0/SUCCESS)
Main PID: 492 (code=exited, status=0/SUCCESS)

Sep 26 06:07:07 RiessSmartHomeServer systemd[1]: Starting debmatic...
Sep 26 06:07:07 RiessSmartHomeServer initsystem.sh[492]: find: '/usr/share/debmatic/lib': No such file or directory
Sep 26 06:07:17 RiessSmartHomeServer systemd[1]: Started debmatic.



ich bin alle schritte mehrmals durch gegangen, aber es will einfach nicht... :-\

Mfg Steffen

carlos

Seit dem letzten upgrade ist das leider bei mir auch so.
Vorher funktionierte alles.
root@raspberrypi:~# debmatic-info
debmatic version: 3.47.15-33
Kernel modules: Available
Raw UART dev:   Available
Rasp.Pi3 UART:  Not assigned to GPIO pins
HMRF Hardware:  unknown
HMIP Hardware:  unknown
Board serial:   unknown
Radio MAC:      unknown
SGTIN:          unknown

gruß

Carlos
FHEM svn auf Intel NUC mit proxmox, 3 Raspberry Pi, signalduino, nanoCUL,  toom Baumarkt Funksteckdosen, einige sonoffs, hue, shelly

deimos

Hi,

das Problem dürfte hier liegen:

Rasp.Pi3 UART:  Not assigned to GPIO pins

Wie sieht eure /boot/config.txt aus? Könnte sein, dass hier irgendein Update von Raspbian reingepfuscht hat und die Änderungen aus Schritt 5 der Anleitung kaputt gemacht hat.

Viele Grüße
Alex

Steffen

Zitat von: deimos am 26 September 2019, 07:48:20
Hi,

das Problem dürfte hier liegen:

Rasp.Pi3 UART:  Not assigned to GPIO pins

Wie sieht eure /boot/config.txt aus? Könnte sein, dass hier irgendein Update von Raspbian reingepfuscht hat und die Änderungen aus Schritt 5 der Anleitung kaputt gemacht hat.

Viele Grüße
Alex

so sieht meine aus:


root@RiessSmartHomeServer:~# cat /boot/config.txt
# IMPORTANT:
# - Modifications to /boot/config.txt will not be preserved on reboot.
# - Please ensure you edit from the DietPi-RAMdisk location: /DietPi/config.txt

#-------Display---------
# If you get no picture, set the following to "1" to apply most compatible HDMI settings.
#hdmi_safe=1

# Uncomment to adjust the HDMI signal strength if you have interferences, blanking, or no display.
# - Values from "0" to "11" are allowed, use values above "7" only if required, e.g. with very long HDMI cable.
# - Default on first RPi1 is "2" and on RPi2 and above: "5"
#config_hdmi_boost=5

# Uncomment if HDMI display is not detected and composite is being outputted.
#hdmi_force_hotplug=1

# Set the following two settings to "1" to disable video output and framebuffer completely.
# NB: This will lead to some error messages on boot, which can be safely ignored.
#hdmi_ignore_hotplug=1
#hdmi_ignore_composite=1

# Uncomment to force a console size. By default it will be display's size minus overscan.
#framebuffer_width=1280
#framebuffer_height=720

# SDTV_MODES
#sdtv_mode=0

# Uncomment to force a specific HDMI mode (this will force VGA).
#hdmi_group=1
#hdmi_mode=1

# Uncomment to force an HDMI mode rather than DVI. This can make audio work in DMT (computer monitor) modes.
#hdmi_drive=2

# Set "hdmi_blanking=1" to allow the display going into standby after 10 minutes without input.
# With default value "0", the display shows a blank screen instead, but will not go into standby.
# NB: With "1" some applications (e.g. Kodi, OMXPlayer) cannot prevent display standby due to missing DPMS signal.
#hdmi_blanking=1

# Set to "1" if your display has a black border of unused pixels visible.
disable_overscan=1

# Uncomment the following to adjust overscan. Use positive numbers if console goes off screen, and negative if there is too much border.
#overscan_left=16
#overscan_right=16
#overscan_top=16
#overscan_bottom=16

# Rotation
display_hdmi_rotate=0
lcd_rotate=0

#-------RPi camera module-------
start_x=0
disable_camera_led=0

#-------GPU memory splits-------
gpu_mem_256=16
gpu_mem_512=16
gpu_mem_1024=16

#-------Max USB current---------
max_usb_current=1

#-------Disable Pi splash screen on boot-----------
disable_splash=1

#-------SoundCard-------
dtparam=audio=off

#-------I²C-------------
dtparam=i2c_arm=on
dtparam=i2c1=on
i2c_arm_baudrate=100000

#-------SPI-------------
dtparam=spi=off

#-------Serial/UART-----
# NB: Enabled for 1st run only, if you want to keep this setting, please set CONFIG_SERIAL_CONSOLE_ENABLE=1 in /DietPi/dietpi.txt.
#core_freq=400
enable_uart=0

#-------Overclock-------
temp_limit=75
# Initial turbo currently leads to CPU not being throttled down by CPU governor: https://github.com/MichaIng/DietPi/issues/1836
#initial_turbo=20
force_turbo=0

#over_voltage=0
#arm_freq=1200
#core_freq=400
#sdram_freq=450

#arm_freq_min=700
#core_freq_min=250
#sdram_freq_min=400

# Note To Self, NEVER enable L2 cache, breaks most X based applications that were not compiled with L2 cache enabled.
root@RiessSmartHomeServer:~# nano /boot/config.txt
root@RiessSmartHomeServer:~# cat /boot/config.txt
# IMPORTANT:
# - Modifications to /boot/config.txt will not be preserved on reboot.
# - Please ensure you edit from the DietPi-RAMdisk location: /DietPi/config.txt

#-------Display---------
# If you get no picture, set the following to "1" to apply most compatible HDMI settings.
#hdmi_safe=1

# Uncomment to adjust the HDMI signal strength if you have interferences, blanking, or no display.
# - Values from "0" to "11" are allowed, use values above "7" only if required, e.g. with very long HDMI cable.
# - Default on first RPi1 is "2" and on RPi2 and above: "5"
#config_hdmi_boost=5

# Uncomment if HDMI display is not detected and composite is being outputted.
#hdmi_force_hotplug=1

# Set the following two settings to "1" to disable video output and framebuffer completely.
# NB: This will lead to some error messages on boot, which can be safely ignored.
#hdmi_ignore_hotplug=1
#hdmi_ignore_composite=1

# Uncomment to force a console size. By default it will be display's size minus overscan.
#framebuffer_width=1280
#framebuffer_height=720

# SDTV_MODES
#sdtv_mode=0

# Uncomment to force a specific HDMI mode (this will force VGA).
#hdmi_group=1
#hdmi_mode=1

# Uncomment to force an HDMI mode rather than DVI. This can make audio work in DMT (computer monitor) modes.
#hdmi_drive=2

# Set "hdmi_blanking=1" to allow the display going into standby after 10 minutes without input.
# With default value "0", the display shows a blank screen instead, but will not go into standby.
# NB: With "1" some applications (e.g. Kodi, OMXPlayer) cannot prevent display standby due to missing DPMS signal.
#hdmi_blanking=1

# Set to "1" if your display has a black border of unused pixels visible.
disable_overscan=1

# Uncomment the following to adjust overscan. Use positive numbers if console goes off screen, and negative if there is too much border.
#overscan_left=16
#overscan_right=16
#overscan_top=16
#overscan_bottom=16

# Rotation
display_hdmi_rotate=0
lcd_rotate=0

#-------RPi camera module-------
start_x=0
disable_camera_led=0

#-------GPU memory splits-------
gpu_mem_256=16
gpu_mem_512=16
gpu_mem_1024=16

#-------Max USB current---------
max_usb_current=1

#-------Disable Pi splash screen on boot-----------
disable_splash=1

#-------SoundCard-------
dtparam=audio=off

#-------I²C-------------
dtparam=i2c_arm=on
dtparam=i2c1=on
i2c_arm_baudrate=100000

#-------SPI-------------
dtparam=spi=off

#-------Serial/UART-----
# NB: Enabled for 1st run only, if you want to keep this setting, please set CONFIG_SERIAL_CONSOLE_ENABLE=1 in /DietPi/dietpi.txt.
#core_freq=400
enable_uart=0

#-------Overclock-------
temp_limit=75
# Initial turbo currently leads to CPU not being throttled down by CPU governor: https://github.com/MichaIng/DietPi/issues/1836
#initial_turbo=20
force_turbo=0

#over_voltage=0
#arm_freq=1200
#core_freq=400
#sdram_freq=450

#arm_freq_min=700
#core_freq_min=250
#sdram_freq_min=400

# Note To Self, NEVER enable L2 cache, breaks most X based applications that were not compiled with L2 cache enabled.

deimos

Hi,

die Anleitung ist für Raspbian und nicht für DietPi. Der Betrieb des Funkmoduls per GPIO wird bei DietPi gar nicht offiziell unterstützt, wobei ich nicht ausschließen will, dass man es zum Laufen bekommt.

Viele Grüße
Alex

carlos

Hi Alex,
Danke für den Tip, da hätte ich auch selbst drauf kommen können. ;)
Aber eigentlich dachte ich dass ein update keine Änderingen in der config.txt macht

Geht wieder:

root@raspberrypi:~# debmatic-info
debmatic version: 3.47.15-33
Kernel modules: Available
Raw UART dev:   Available
Rasp.Pi3 UART:  Assigned to GPIO pins
HMRF Hardware:  RPI-RF-MOD
HMIP Hardware:  RPI-RF-MOD
Board serial:   58A9A71E7E
Radio MAC:      unknown
SGTIN:          3014F711A0001F58A9A71E7E


Gruß

Carlos
FHEM svn auf Intel NUC mit proxmox, 3 Raspberry Pi, signalduino, nanoCUL,  toom Baumarkt Funksteckdosen, einige sonoffs, hue, shelly

Steffen

Hallo,

Ja Dietpi nicht Offiziell aber ich dachte das würde nicht so den unterschied machen.

@carlos könntest du mal deine config.txt hier mal posten, dann könnte ich mal die unterschiede zu meiner vergleichen?!

Mfg Steffen

carlos

Das ist die config mit den Änderungen der Installation.
Ob dir das was hilft bezweifle ich.
Aber hier ist.

Gruß

Carlos
FHEM svn auf Intel NUC mit proxmox, 3 Raspberry Pi, signalduino, nanoCUL,  toom Baumarkt Funksteckdosen, einige sonoffs, hue, shelly

amenomade

#147
@deimos:
Hallo Alex

Wenn ich den Fhem Service abhängig von debmatic starten möchte (also, erst dann Fhem starten, wenn debmatic schon funktioniert, sonst wird der RPC Server nicht erkannt), welcher Dienst bzw. welche Abhängigkeit wäre relevant?
Pi 3B, Alexa, CUL868+Selbstbau 1/2λ-Dipol-Antenne, USB Optolink / Vitotronic, Debmatic und HM / HmIP Komponenten, Rademacher Duofern Jalousien, Fritz!Dect Thermostaten, Proteus

schwatter

Nabend,
sehe ich das richtig, das HM-MOD-RPI-PCB per USB-Adapter (CP2102) nicht funktioniert?

schwatter