Fröling: [ANNOUNCE] p4d - Visualisierung und Einstellung der S-3200 via COM1

Es gibt 4.961 Antworten in diesem Thema, welches 1.510.379 mal aufgerufen wurde. Der letzte Beitrag () ist von ranseyer.

  • Keine Fehlermeldung damit auch prima!
    Nein der eingestellte Heizungstyp spiel keine Rolle der wird nur für Titel und Auswahl von Logos herangezogen.

    Fangen wir doch nochmal mit dem Fehler an, was genau fehlt wo (lass uns dabei erst mal auf den mit dem Service-Menü konzentrieren)?

    Seit Oktober 2009:
    Fröling P4 mit 1000l Pufferspeicher

  • Ok, Klicke auf den Button Service Menü, bekomme ich folgende Ansicht.


    Klicke ich auf zb Heizen bekomme ich



    Klicke ich jetzt auf Heizkreis 01


    bei einem weiteren Klick bin wieder eins zurück.

  • und du hast mal unter Setup -> Commands auf ' Init Service Menu' geklickt und gewartet bis er fertig ist?

    Das er fertig ist sieht man im Zweifel mit tail aufs log.


    Lass während dem klick ein tail -f auf das log laufen und schau auch ob da Fehler kommen.

    Seit Oktober 2009:
    Fröling P4 mit 1000l Pufferspeicher

  • Das Servicemenu init habe ich schon zigmal ausgeführt, wenn ich was geändert habe.

    In systemlog sieht es grün aus, tail -f auf welches log?

  • Wenn du die Logs auf dem Host system verfügbar haben willst musst du die logdatei nach extern mounten.

    in der compose file gibt es ja den abschnitt volumes. Da musst du das hier hinzufügen:

    - /linux_p4d/logs/p4d.log:/var/log/p4d.log


    vorher muss allerdings die p4d.log datei auf dem hostsystem angelegt werden.

    das machst du mit:

    touch /linux_p4d/logs/p4d.log

  • Die meldungen landen im container über rsyslogd in /var/log/p4d.log


    mimoe454 kannst du mir die möglichkeit geben da einmal draufzuschauen?


    Ich vermute, dass der container nicht neu deployed wurde nach dem anpassen der compose datei.

    kannst auch mal das hier versuchen:

    Code
    docker-compose up --force-recreate -d
    docker image prune -f
  • Jetzt sieht es besser aus,

    ich hatte den Eintrag - /linux_p4d/logs/p4d.log:/var/log/p4d.log an die falsche Stelle im Docker-Compose.yml

    eingetragen.


    Und das seht in Log wenn ich den init system menue mache

    Feb 8 15:09:06 e0803c43cf5c p4d: Store samples ..

    Feb 8 15:09:06 e0803c43cf5c p4d: Stored 12 samples

    Feb 8 15:09:06 e0803c43cf5c p4d: Updating error list

    Feb 8 15:09:08 e0803c43cf5c p4d: Updating error list done in 1631ms

    Feb 8 15:09:08 e0803c43cf5c p4d: Info: Found (4) pending errors

    Feb 8 15:09:08 e0803c43cf5c p4d: total: 0 minutes

    Feb 8 15:09:36 e0803c43cf5c p4d: Checking state ...

    Feb 8 15:09:36 e0803c43cf5c p4d: ... got (72) 'SH Heizen'

    Feb 8 15:09:36 e0803c43cf5c p4d: -> (node-red) (p4d2mqtt/changes) [{"id": "UD:0x01", "type": "UD", "name": "Heizungsstatus", "unit": "txt", "state": "off", "value": 72.0, "action": "CHANGE"}]

    Feb 8 15:09:36 e0803c43cf5c p4d: -> (p4d2mqtt/changes)[{"id": "UD:0x01", "type": "UD", "name": "Heizungsstatus", "unit": "txt", "state": "off", "value": 72.0, "action": "CHANGE"}]

    Feb 8 15:10:05 e0803c43cf5c p4d: Got wrong communication id fd00 expected 02fd

    Feb 8 15:10:05 e0803c43cf5c p4d: Read 236 menu items

    Feb 8 15:10:06 e0803c43cf5c p4d: Checking state ...

    Feb 8 15:10:06 e0803c43cf5c p4d: Got wrong communication id e202 expected 02fd

    Feb 8 15:10:06 e0803c43cf5c p4d: Got 18 unexpected bytes

    Feb 8 15:10:06 e0803c43cf5c p4d: Closing io device

    Feb 8 15:10:06 e0803c43cf5c p4d: Error reading serial interface, reopen now!

    Feb 8 15:10:06 e0803c43cf5c p4d: Opening '/dev/ttyUSB0' succeeded!

    Feb 8 15:10:06 e0803c43cf5c p4d: Checking state ...

    Feb 8 15:10:06 e0803c43cf5c p4d: ... got (72) 'SH Heizen'

    Feb 8 15:10:06 e0803c43cf5c p4d: -> (node-red) (p4d2mqtt/changes) [{"id": "UD:0x01", "type": "UD", "name": "Heizungsstatus", "unit": "txt", "state": "off", "value": 72.0, "action": "CHANGE"}]

    Feb 8 15:10:06 e0803c43cf5c p4d: -> (p4d2mqtt/changes)[{"id": "UD:0x01", "type": "UD", "name": "Heizungsstatus", "unit": "txt", "state": "off", "value": 72.0, "action": "CHANGE"}]

    Feb 8 15:10:06 e0803c43cf5c p4d: State changed to 'SH Heizen'

    Feb 8 15:10:06 e0803c43cf5c p4d: -> (node-red) (p4d2mqtt/changes) [{"id": "UD:0x01", "type": "UD", "name": "Heizungsstatus", "unit": "txt", "state": "off", "value": 72.0, "action": "CHANGE"}]

    Feb 8 15:10:06 e0803c43cf5c p4d: -> (p4d2mqtt/changes)[{"id": "UD:0x01", "type": "UD", "name": "Heizungsstatus", "unit": "txt", "state": "off", "value": 72.0, "action": "CHANGE"}]

    Feb 8 15:10:06 e0803c43cf5c p4d: -> (node-red) (p4d2mqtt/changes) [{"id": "UD:0x02", "type": "UD", "name": "Betriebsart Kessel", "unit": "zst", "state": "off", "value": 5.0, "action": "CHANGE"}]

    Feb 8 15:10:06 e0803c43cf5c p4d: -> (p4d2mqtt/changes)[{"id": "UD:0x02", "type": "UD", "name": "Betriebsart Kessel", "unit": "zst", "state": "off", "value": 5.0, "action": "CHANGE"}]

    Feb 8 15:10:06 e0803c43cf5c p4d: -> (node-red) (p4d2mqtt/changes) [{"id": "VA:0x01", "type": "VA", "name": "AGT", "unit": "°C", "state": "off", "value": 145.0, "action": "CHANGE"}]

    Feb 8 15:10:06 e0803c43cf5c p4d: -> (p4d2mqtt/changes)[{"id": "VA:0x01", "type": "VA", "name": "AGT", "unit": "°C", "state": "off", "value": 145.0, "action": "CHANGE"}]

    Feb 8 15:10:06 e0803c43cf5c p4d: -> (node-red) (p4d2mqtt/changes) [{"id": "VA:0x03", "type": "VA", "name": "Rest %", "unit": "%", "state": "off", "value": 17.5, "action": "CHANGE"}]

    Feb 8 15:10:06 e0803c43cf5c p4d: -> (p4d2mqtt/changes)[{"id": "VA:0x03", "type": "VA", "name": "Rest %", "unit": "%", "state": "off", "value": 17.5, "action": "CHANGE"}]

    Feb 8 15:10:06 e0803c43cf5c p4d: -> (node-red) (p4d2mqtt/changes) [{"id": "VA:0x07", "type": "VA", "name": "Saugzugdrehzahl", "unit": "U", "state": "off", "value": 2841.0, "action": "CHANGE"}]

    Feb 8 15:10:06 e0803c43cf5c p4d: -> (p4d2mqtt/changes)[{"id": "VA:0x07", "type": "VA", "name": "Saugzugdrehzahl", "unit": "U", "state": "off", "value": 2841.0, "action": "CHANGE"}]

    Feb 8 15:10:06 e0803c43cf5c p4d: -> (node-red) (p4d2mqtt/changes) [{"id": "VA:0x8b", "type": "VA", "name": "Solarfühler Pufferunten", "unit": "°C", "state": "off", "value": 59.0, "action": "CHANGE"}]

    Feb 8 15:10:06 e0803c43cf5c p4d: -> (p4d2mqtt/changes)[{"id": "VA:0x8b", "type": "VA", "name": "Solarfühler Pufferunten", "unit": "°C", "state": "off", "value": 59.0, "action": "CHANGE"}]

    Feb 8 15:10:06 e0803c43cf5c p4d: Update script sensors

    Feb 8 15:10:06 e0803c43cf5c p4d: Store samples ..

    Feb 8 15:10:06 e0803c43cf5c p4d: Stored 12 samples

    Feb 8 15:10:06 e0803c43cf5c p4d: Updating error list

    Feb 8 15:10:08 e0803c43cf5c p4d: Updating error list done in 1617ms

    Feb 8 15:10:08 e0803c43cf5c p4d: Info: Found (4) pending errors

    Feb 8 15:10:08 e0803c43cf5c p4d: total: 0 minutes

    Feb 8 15:10:08 e0803c43cf5c p4d: Info: No update from MQTT since '08.02.2022 15:05:05', disconnect from MQTT to force recover

    Feb 8 15:10:08 e0803c43cf5c p4d: Disconnected from MQTT

    Feb 8 15:10:08 e0803c43cf5c p4d: Error: MQTT connection broken, trying reconnect

    Feb 8 15:10:08 e0803c43cf5c p4d: MQTT: Connecting publisher to 'tcp://localhost:1883' succeeded

    Feb 8 15:10:08 e0803c43cf5c p4d: MQTT: Connecting subscriber to 'tcp://localhost:1883' succeeded

    Feb 8 15:10:08 e0803c43cf5c p4d: MQTT: Connecting subscriber to 'tcp://localhost:1883' - 'p4d2mqtt/w1/#' succeeded

    Feb 8 15:10:08 e0803c43cf5c p4d: MQTT: Connecting subscriber to 'tcp://localhost:1883' - 'p4d2mqtt/arduino/out' succeeded

    Feb 8 15:10:08 e0803c43cf5c p4d: MQTT: Connecting subscriber to 'tcp://localhost:1883' - 'p4d2mqtt/light/+/set/#' succeeded

    Feb 8 15:10:09 e0803c43cf5c p4d: MQTT: Connecting subscriber to 'tcp://localhost:1883' - 'p4d2mqtt/command/#' succeeded

    Feb 8 15:10:09 e0803c43cf5c p4d: MQTT: Connecting subscriber to 'tcp://localhost:1883' - 'p4d2mqtt/nodered/#' succeeded

  • das schaut sehr nach Seriellen Problemen aus

    Code
    Feb  8 15:10:05 e0803c43cf5c p4d: Got wrong communication id fd00 expected 02fd
    Feb  8 15:10:05 e0803c43cf5c p4d: Read 236 menu items
    Feb  8 15:10:06 e0803c43cf5c p4d: Checking state ...
    Feb  8 15:10:06 e0803c43cf5c p4d: Got wrong communication id e202 expected 02fd
    Feb  8 15:10:06 e0803c43cf5c p4d: Got 18 unexpected bytes
    Feb  8 15:10:06 e0803c43cf5c p4d: Closing io device
    Feb  8 15:10:06 e0803c43cf5c p4d: Error reading serial interface, reopen now!
    Feb  8 15:10:06 e0803c43cf5c p4d: Opening '/dev/ttyUSB0' succeeded!

    geht läuft p4 menu ohne Fehler durch?

    Hier sind es 1276 Menu Items, das unterscheidet sich vom Heizungs-Type zu Heizungs-Type und auch mit der Firmware Version aber 236 wie in deinem Log oben gemeldet sind definitiv zu wenige das bricht durch die Probleme mit der seriellen Verbindung

    Seit Oktober 2009:
    Fröling P4 mit 1000l Pufferspeicher

  • Ich hatte das auch ab und zu schon mal beim testen. Egal ob Docker oder nativ. Nach ein paar mal hintereinander ausgeführtem Init hatte er dann aber alle Werte. (Natürlich dazwischen immer warten, dass das Init zuende läuft.) Sollte es natürloch nie zu ende laufen gibts da ein schwereres Problem mit der Kommunikation.

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!