Skip to content

victron_mqtt: send the Venus MQTT keep-alive #256

Open

Description

@frahlg

Venus OS publishes its MQTT values only while some client keeps the broker awake with a periodic keep-alive (R/<portal id>/keepalive). victron_mqtt sends none, so on a GX with no other MQTT client its values stop arriving after the keep-alive window, and the driver goes stale.

Expected: the driver sends the keep-alive itself at the interval Victron documents, and reports stale data when the broker goes quiet.

Found while adding battery limits in #254. Not checked on hardware.

🤖 Generated with Claude Code

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions