Skip to content

[Bug] Sporadic incoherent values #296

@fmartinou

Description

@fmartinou

Before you submit

  • I have read the README and my question is not answered there.
  • I have searched existing issues and this is not a duplicate.

Battery / device models

Marstek Venus

Version

1.3.5

Deployment

Docker Compose

B2500 MQTT configuration

Not applicable — I don't have a B2500

Are you using hm2mqtt?

Yes

What's happening?

Hi,

I've deployed both hame-relay and hm2mqtt using Docker-Compose:

    # Hame-relay
    hame-relay:
        image: ghcr.io/tomquist/hame-relay:1.3.5
        restart: always
        volumes:
            - /var/lib/services/hame-relay/config:/app/config
            - /etc/localtime:/etc/localtime:ro
        environment:
            - TZ=Europe/Paris
            - LOG_LEVEL=info

    # Hm2mqtt
    hm2mqtt:
        image: ghcr.io/tomquist/hm2mqtt:1.6.0
        restart: always
        volumes:
            - /etc/localtime:/etc/localtime:ro
        environment:
            - TZ=Europe/Paris
            - LOG_LEVEL=info
            - MQTT_BROKER_URL=mqtt://mosquitto:1883
            - DEVICE_0=VNSE3-0:xxxxxxxxxxxx
            - MQTT_POLLING_INTERVAL=300

Several times a day the battery reports incoherent values.
The values are so extreme that it totally breaks Home-Assistant energy charts.

Image Image

As you can see, for example, today, only 2 values were incoherent but these 2 single values break the whole statistics.

295kwh or 32kwh are clearly impossible for a Venus E 3.0.

Please also notice that with the default polling interval on hm2mqtt (60s), the battery crashed within 24 hours.
After having increased the polling interval to (300s), the system is stable.

Thank you very much for your support.

Configuration

{
  "log_level": "info",
  "username": "xxx@xxx.com",
  "password": "xxxxxx",
  "broker_url": "mqtt://mosquitto:1883",
  "devices": [
    {
      "device_id": "xxxx",
      "mac": "xxxx",
      "type": "VNSE3-0",
      "version": 148
    }
  ]
}

Logs

[2026-05-22 08:01:39] INFO: Fetching devices from Hame API...
[2026-05-22 08:01:39] INFO: Fetching device token for xxx@xxx.com...
[2026-05-22 08:01:40] INFO: Fetching device list...
[2026-05-22 08:01:40] INFO: Successfully fetched 1 devices from Hame API
[2026-05-22 08:01:40] INFO: Successfully retrieved 1 devices from API
[2026-05-22 08:01:40] INFO: Auto-selected broker hame-2025 for device 7a5a0134373259565011xxxx
[2026-05-22 08:01:40] INFO: 
Configured devices: 1 total
[2026-05-22 08:01:40] INFO: ------------------
[2026-05-22 08:01:40] INFO: Device 1:
[2026-05-22 08:01:40] INFO:   Name: MST_VNSE3_ffa1
[2026-05-22 08:01:40] INFO:   Device ID: 7a5a01343732595650xxxxxx
[2026-05-22 08:01:40] INFO:   Remote ID: nVy0y0BVM0M0bVw0y0xxxxxx
[2026-05-22 08:01:40] INFO:   MAC: 009b08xxxxxx
[2026-05-22 08:01:40] INFO:   Type: VNSE3-0
[2026-05-22 08:01:40] INFO:   Version: 148
[2026-05-22 08:01:40] INFO:   Broker: hame-2025
[2026-05-22 08:01:40] INFO:   Inverse Forwarding: true
[2026-05-22 08:01:40] INFO:   Use Remote Topic ID: false
[2026-05-22 08:01:40] INFO: ------------------
[2026-05-22 08:01:40] INFO: 
[2026-05-22 08:01:40] INFO: Health server listening on port 8080
[2026-05-22 08:01:40] INFO: [hame-2025] Connected to config broker
[2026-05-22 08:01:40] INFO: [hame-2025] Subscribed to local broker topics
[2026-05-22 08:01:40] INFO: [hame-2025] Connected to remote broker
[2026-05-22 08:01:40] INFO: [hame-2025] Subscribed to remote broker topics
[2026-05-22 08:11:39] INFO: [hame-2025] Forwarded message from local to remote: hame_energy/VNSE3-0/App/009b0805ffa1/ctrl -> marstek_energy/VNSE3-0/App/nVy0y0BVM0M0bVw0y0xxxxxx/ctrl
[2026-05-22 08:11:39] INFO: [hame-2025] Forwarded message from remote to local: marstek_energy/VNSE3-0/device/nVy0y0BVM0M0bVw0y0xxxxxx/ctrl -> hame_energy/VNSE3-0/device/009b08xxxxxx/ctrl
[2026-05-22 08:21:39] INFO: [hame-2025] Forwarded message from local to remote: hame_energy/VNSE3-0/App/009b08xxxxxx/ctrl -> marstek_energy/VNSE3-0/App/nVy0y0BVM0M0bVw0y0xxxxxx/ctrl
[2026-05-22 08:21:39] INFO: [hame-2025] Forwarded message from remote to local: marstek_energy/VNSE3-0/device/nVy0y0BVM0M0bVw0y0xxxxxx/ctrl -> hame_energy/VNSE3-0/device/009b08xxxxxx/ctrl
[2026-05-22 08:31:39] INFO: [hame-2025] Forwarded message from local to remote: hame_energy/VNSE3-0/App/009b08xxxxxx/ctrl -> marstek_energy/VNSE3-0/App/nVy0y0BVM0M0bVw0y0xxxxxx/ctrl

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions