Skip to content

HomeAssistant AddOn - Error nach Update auf 1.5.0 - ERROR: No MQTT URI provided in config and MQTT service is not available. #151

@thowiegit

Description

@thowiegit

Device Model

HMJ-2

Firmware Version

v110.9

Installation Method

Home Assistant

Issue Description

Nach dem Update auf Version 1.5.0 beendete sich hm2mqtt nach dem start direkt wieder mit der Meldung:

[18:24:02] ERROR: No MQTT URI provided in config and MQTT service is not available.

Um das AddOn erfolgreich starten zu können musste ich per Hand eine MQTT URI nach dem folgenden Muster, welches ich mir hier aus einem Issue zu einem ganz anderen Problem herausfinden konnte - in die YAML Config von hm2mqtt einfügen.

mqtt_uri: mqtt://username:password@192.168.2.3:1883

Bis zur vorherigen Version war dies nicht nötig, da hm2mqtt sich die nötigen Informationen selbst vom Home Assistant beschafft hat.

Der MQTT Broker läuft hier in Form des Mosquitto broker AddOns im Home Assistant

hm2mqtt Configuration

pollingInterval: 15
responseTimeout: 30
enableCellData: true
enableCalibrationData: true
enableExtraBatteryData: true
allowedConsecutiveTimeouts: 3
topicPrefix: hm2mqtt
mqttProxyEnabled: false
devices:
  - deviceType: HMJ-2
    deviceId: [MAC-ID-1]
  - deviceType: HMJ-2
    deviceId: [MAC-ID-2]
  - deviceType: HMJ-2
    deviceId: [MAC-ID-3]
  - deviceType: HMJ-2
    deviceId: [MAC-ID-4]

hm2mqtt Logs

-----------------------------------------------------------
 Add-on: hm2mqtt
 Connect Hame energy storage devices to Home Assistant via MQTT
-----------------------------------------------------------
 Add-on version: 1.5.0
 You are running the latest version of this add-on.
 System: Home Assistant OS 16.0  (amd64 / qemux86-64)
 Home Assistant Core: 2025.7.4
 Home Assistant Supervisor: 2025.07.3
-----------------------------------------------------------
 Please, share the above information when looking for help
 or support in, e.g., GitHub, forums or the Discord chat.
-----------------------------------------------------------
s6-rc: info: service base-addon-banner successfully started
s6-rc: info: service fix-attrs: starting
s6-rc: info: service base-addon-log-level: starting
s6-rc: info: service fix-attrs successfully started
s6-rc: info: service base-addon-log-level successfully started
s6-rc: info: service legacy-cont-init: starting
s6-rc: info: service legacy-cont-init successfully started
s6-rc: info: service legacy-services: starting
s6-rc: info: service legacy-services successfully started
[18:24:02] DEBUG: Debug logging enabled by default
[18:24:02] ERROR: No MQTT URI provided in config and MQTT service is not available.
s6-rc: info: service legacy-services: stopping
s6-rc: info: service legacy-services successfully stopped
s6-rc: info: service legacy-cont-init: stopping
s6-rc: info: service legacy-cont-init successfully stopped
s6-rc: info: service fix-attrs: stopping
s6-rc: info: service base-addon-log-level: stopping
s6-rc: info: service fix-attrs successfully stopped
s6-rc: info: service base-addon-log-level successfully stopped
s6-rc: info: service base-addon-banner: stopping
s6-rc: info: service base-addon-banner successfully stopped
s6-rc: info: service s6rc-oneshot-runner: stopping
s6-rc: info: service s6rc-oneshot-runner successfully stopped
s6-rc: info: service s6rc-oneshot-runner: starting
s6-rc: info: service s6rc-oneshot-runner successfully started
s6-rc: info: service base-addon-banner: starting

Hame Relay Configuration


Hame Relay Logs


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