question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

StromPI 2 daemon gibt Fehler aus / startet nicht

See original GitHub issue

Describe the bug RM kann den StromPI2 daemon nicht starten, da dieser beim Start einen Fehler meldet.

Steps to reproduce the behavior Trigger-File erstellen mittels

touch /etc/config/strompi2

Ein manueller des StromPI2 daemons Start scheint erfolgreich:

/etc/init.d/S51strompi2d start
Starting StromPi2 UPS daemon: OK

Doch lässt sich der Daemon danach nicht ermitteln:

ps aux | grep strom
 2483 root      0:00 grep strom

Nutzt man das init.d Script zum Stoppen des Daemons, erhält man eine Fehlermeldung:

/etc/init.d/S51strompi2d stop
Stopping StromPi2 UPS daemon: start-stop-daemon: warning: killing process 2464: No such process
FAIL

Auch beim Versuch, das Script manuell zu starten, erhält man eine Fehlermeldung:

/opt/strompi2d# ./strompi2d.sh
sh: write error: Device or resource busy

Auch, wenn man das ganze Sytem neu startet und RM durch den Triggerfile den Daemon laden sollte, ist dieser nach dem Neustart nicht in der Prozessliste zu finden. Getestet mit der produktiven RM sowie einer blanken RM.

Expected behavior StromPI2 daemon bricht den Start nicht mit einer Fehlermeldung ab

System information:

  • RaspberryMatic Version: 3.59.6.20210911
  • Used Hardware: Raspi 3b + StromPI 2
  • Used HomeMatic RF-Module: HM-MOD-RPI-PCB

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
jens-mauscommented, Sep 22, 2021

So, ich denke ich hab den daemon nun so angepasst das er mit der nächsten Version bzw. nächsten nightly snapshot funktionieren sollte. Zusätzlich kann man jetzt im /etc/config/strompi2 File z.B. GPIO_POWER=20 angeben und dann wird GPIO20 verwendet.

0reactions
RalphPungaKronbergscommented, Sep 22, 2021

Perfekt! Vielen Dank für den schnellen Fix!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Helpdesk | StromPi - Joy-IT
StromPi3 Konfigurator v1.2 DE-EN-FR - Online für FW1.6CLI und 1.7-1.72cMain ... Verschiedene Fehler (StromPi Konsole startet nicht, Python-Skript-Fehler).
Read more >
Probleme: Strompi3 mit HM-MOD-RPI-PCB - HomeMatic-Forum
Sobald ich den Strompi entferne sind alle Probleme weg. Hat jemand eine Idee? Das habe ich ja. Der StromPi3 ist einfach nicht supported!...
Read more >
Beiträge von Roogy - Deutsches Raspberry Pi Forum
Es hat mir jetzt zumindest keine Fehlermeldung angezeigt. Ich soll jetzt laut Anleitung die serielle Kommunikation aktivieren und dann ein GUI ...
Read more >
Stromzähler mit S0-Schnittstelle vom Raspberry Pi auswerten
Somit gibt es keine Probleme mit der Stromabrechnung. Mit einer Standard Telefon-Doppelader (oben rechts im Bild, gelb und weiß aus dem ...
Read more >
Raspberry Pi - EDV-Buchversand
Schwieriger wird es, wenn es Hardware-Probleme gibt, d. h., wenn Sie z. ... Strom Pi 2 gibt Ihnen die Möglichkeit eine unterbrechungsfreie Stromversorgung....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found