Skip to content

Subscribe Fehler: EcoFlow erlaubt Topic /app/device/property/<serial> nicht mehr (SUBACK 128) #456

Description

@Tigerlilly28

Folgender Fehler aufgetreten:

warn: EF could not subscribe to topics ErrorWithSubackPacket: Subscribe error: Unspecified error

Nach Analyse hat sich herausgestellt, dass EcoFlow stillschweigend den Zugriff
auf folgendes Topic gesperrt hat:

/app/device/property/

Dieses Topic wird in createSubscribeTopics() (ecoflow_utils.js) zusammen mit den
4 anderen gerätespezifischen Topics in einem einzigen subscribe()-Aufruf gesendet.
Da EcoFlow dieses eine Topic verweigert (SUBACK 128), schlägt der gesamte
Subscribe-Vorgang fehl — es kommen gar keine Daten mehr rein.

Verifiziert mit mosquitto_sub direkt vom ioBroker-Host:
- /app/device/property/+ → SUBACK 128 (verweigert)
- /app///thing/property/set_reply → SUBACK 0 (OK)

Fix: Die Zeile mit /app/device/property/${key} in createSubscribeTopics()
auskommentieren oder entfernen. Danach funktioniert der Subscribe wieder
einwandfrei und alle Datenpunkte werden aktualisiert.

Hinweis: In ecoflow_utils.js (Zeilen 2622-2624) gibt es noch Code der eingehende
Nachrichten von diesem Topic parsed — falls EcoFlow das Topic dauerhaft entfernt
hat, kann dieser Code ebenfalls bereinigt werden.

+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

warn: EF could not subscribe to topics ErrorWithSubackPacket: Subscribe error: Unspecified error

Investigation showed that EcoFlow has silently revoked access to the topic:

/app/device/property/

This topic is pushed via createSubscribeTopics() in ecoflow_utils.js along with the 4 other per-device topics. Since all topics are sent in a single subscribe() call, the one denied topic causes the entire subscribe to fail (SUBACK 128 for this topic), meaning no data is received at all.

Verified with mosquitto_sub:

  • /app/device/property/+ → SUBACK 128 (denied)
  • /app///thing/property/set_reply → SUBACK 0 (OK)

Fix: comment out or remove the /app/device/property/${key} line in createSubscribeTopics(). After doing so, the subscribe succeeds and data flows normally again.

Note: lines 2622-2624 in ecoflow_utils.js still reference this topic for parsing incoming messages - if the topic is permanently removed by EcoFlow, this parsing code can also be cleaned up.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions