Skip to content
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

Cannot open configfile /share/vzlogger.conf: No such file or directory #6

Open
Eddy-Fischer opened this issue Jul 24, 2023 · 5 comments

Comments

@Eddy-Fischer
Copy link

Servus Markus,
vielen herzlichen Dank für dein Add-On. Ich habe es geschafft in HA zu installieren. Da ich ein blutiger Anfänger in Sachen HA und Linux, möchte Dich frage, was ich machen muss, da ich diese Fehlermeldung bekomme:

[12:12:15] INFO: Starting vzlogger
[Jul 24 12:12:15][main] vzlogger v0.8.0 based on heads/master-0-gccb6d8ee49 from Fri, 5 Nov 2021 03:13:34 +0100 started.
[Jul 24 12:12:15] Cannot open configfile /share/vzlogger.conf: No such file or directory
[Jul 24 12:12:15] Failed to parse configuration due to: Cannot open configfile.
[12:12:16] INFO: ==============================================================================

Gibt es ein Beispiel, wie ein vzlogger aussehen soll? Muss ich diese Datei in den Ordner share hochladen? Muss ich irgenetwas in yaml configuration hinfügen?

Vielen Dank vorab für die Hilfe.

Gruss
Ed

@pikim
Copy link

pikim commented Nov 4, 2023

Hallo Ed,
ich habe dasselbe Problem. Hast du eine Lösung gefunden?
Grüße

@Eddy-Fischer
Copy link
Author

Hallo Ed, ich habe dasselbe Problem. Hast du eine Lösung gefunden? Grüße

Leider hat VZLOGGER nie bei mir funktioniert. Ich benutze jetzt tasmota.

@markussiebert
Copy link
Owner

Hach :-) Sorry für die Späte Amntowrt... die Datei müsst ihr erstellen ... z.B. mit dem vscode server plugin. Die ist am Anfang nicht da

@markussiebert
Copy link
Owner

this is the content of my conf file:

{
    "retry": 0,
    "verbosity": 1,
    "log": "/dev/stdout",
    "local": {
        "enabled": false,
        "port": 8088,
        "index": true,
        "timeout": 0,
        "buffer": 0
    },
    "mqtt": {
        "enabled": true,
        "host": "192.168.1.11",
        "port": 1885,
        "id": "vzlogger",
        "cafile": "",
        "capath": "",
        "certfile": "",
        "keyfile": "",
        "keypass": "",
        "keepalive": 30,
        "topic": "vzlogger/data",
        "user": "vz",
        "pass": "vz",
        "retain": false,
        "rawAndAgg": false,
        "qos": 0,
        "timestamp": false
    },
    "meters": [
        {
            "enabled": true,
            "allowskip": false,
            "interval": -1,
            "aggtime": -1,
            "aggfixedinterval": false,
            "pullseq": "2f3F210D0A",
            "parity": "8n1",
            "baudrate": 9600,
            "read_timeout": 60,
            "protocol": "sml",
            "device": "/dev/ttyUSB0",
            "channels": [
                {
                "uuid": "c7af4300-4df3-11eb-9adc-9b4e6f7a5aee",
                "identifier" : "1-0:1.8.0",
                "api": "null"
                },
                {
                "uuid": "c7af4300-4df3-11eb-9adc-9b4e6f7a5aee",
                "identifier" : "1-0:2.8.0",
                "api": "null"
                }
            ]
        }
    ]
}

@SvenMartin81
Copy link

SvenMartin81 commented Oct 13, 2024

Hi Markus.
At the beginning I had the same issue, since I found out that I need to fill into the "configpath: /share/vzlogger/vzlogger.conf" as example. I cerated in the share folder in my homeassistant a vzlogger folder and copied the vzlogger config into it.....and it was running....
But I get this message regarding the logfile: opening logfile "/share/vzlogger/vzlogger.log" failed: Read-only file system

How can I create for this addon the write rouls in this folder?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants