New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
support s0 on raspberry pi GPIOs #110
Comments
pls take a look at https://github.com/mbehr1/vzlogger/tree/s0_gpio as well. Was tested already ok by Udo. Quite a simple change to enable gpio support. But needs external configuration of gpio ports before start of vzlogger. |
department of redundancy department?
|
Yes, I agree. I’d prefer a more complete solution as well. Basically I thought that the current meterS0 code would already work with gpios. During test I noticed that gpios need blocking reads so I quickly changed it… Waiting for your changes for review.
Gruß |
Tried to test S0-support on Udos Addon-board from https://github.com/mbehr1/vzlogger/tree/s0_gpio for local HTTP-support, but don't get a result or error-message. |
Ist das mit vollem Loglevel? Conf Datei? Gruß Sent from a mobile device.
|
Hi,
/etc/rclocal : Gruß |
Innerhalb einer Min. 35MB? Was steht denn da drin? Kannst du kurzen Auszug schicken?
Gruß Matthias Behr |
Wie kann ich prüfen, ob die Impulse wirklich auf GIO17/value ankommen? |
"device": "sys/class/gpio/gpio17/value“, da fehlt ein „/„ -> „/sys/class/gpio/…“
Gruß Matthias |
Moin, Ist es evtl sinnvoll eine regex zur Prüfung des Devices einzubauen die bei Bedarf zumindest eine Warnung ausgibt? Viele Grüße, Andreas
|
Ja, macht Sinn. Kann ich hinzufügen. Allerdings soll der Code eigentlich eh nicht aufgenommen werden. Ich warte noch auf die eigentliche Lösung von r00t- mit generischem Ansatz.
Gruß Matthias Behr |
Anscheinend ist in meinen Einstellungen noch etwas falsch - ich erhalte In der Kombination sollte vzlogger im Vordergrund laufen. Hier erhalte ich folgende Meldung: OK- Es läuft nur dann ohne Fehler, wenn für "middleware" etwas Trotzdem noch keine readings |
i suggest to keep the structure part in the other thread:
(please note that the code in my raspis0 branch is still working as-is, |
Eine Prüfung auf Existenz des Files gibt es eigentlich schon: bekommst du die Warnung? (mit dem alten „sys/…“)? Wie konfigurierst du den Pin bevor du vzlogger startest? @Udo: kannst du die Settings noch mal schicken?
Gruß Matthias |
In welchem Zweig wird nun weiterentwickelt - mbehr oder root? |
die '/etc/vzlogger_gpio.conf' sollte folgendes beinhalten: und die '/etc/rc.local' für den dazu gehörigen GPIO-Pin: Gruß |
gpio is generic and not raspi specific, meter should be named accordingly. |
see #169 with a solution for this topic. |
can we close this issue? |
WIP here: https://github.com/r00t-/vzlogger/tree/raspis0
see also: "request for comments: s0 meter, supporting different interfaces" #85
The text was updated successfully, but these errors were encountered: