Zendure / developer-device-data-report

Subscribe to device data for Zendure products. To receive information from the device, Developers can obtain the same device information as the official App by subscribing to Zendure MQTT Broker
79 stars 3 forks source link

Control Hyper 2000 Charge / Discharge via MQTT #54

Open Soon5 opened 1 month ago

Soon5 commented 1 month ago

Hello,

I think about purchasing a Hyper 2000. If I do, it will be used as a AC coupled storage, therefore no solar panels connected. I want to use the internal charger to charge via AC and obviously discharge into the grid.

Is it possible to control both the charge / discharge rate via MQTT? My assumption is that setting outputLimit to 0 will stop discharging and gridInputPower to change the AC charge rate.

Is there someone who tried this? Does this work or is the API not yet capable to do this?

Regards

timofischer81 commented 1 month ago

I am also thinking about buying a Hyper 2000 and had exactly the same question wether charging/discharging can be controlled via API. This would be so cool. Anybody who already owns one has tested this?

Raudi1 commented 1 month ago

As far as I know it's currently not possible to control Zendure devices through MQTT. But the built in Shelly integration works great for using the Hyper 2000 as an AC storage. The only stupid thing is it tries to keep a 150W buffer while charging to prolong the life of the relay. But this doesn't help in any way because it will just turn off the relay when you hit below 150W going into the grid and turn back on when 150W is reached again. So it doesn't work as a buffer at all, doesn't prolong the life of the relay and wastes energy going into the grid. A correct implementation would just try to lower the charging power to hit as close to 0W as possible. And only if the charging power of the zendure goes below a certain threshold, it should turn off. This would actually prolong the life of the relay and waste less energy.

Soon5 commented 1 month ago

The problem is that I have an environment here where the simple 3EM Integration wont work. Anyway, thanks for the answer.

iroc-fabi commented 1 month ago

Ich möchte den Hyper Aufsatz auch als Speicher für meine große PV-Anlage nutzen. Ich könnte die Werte vom SMA Energymeter aus iobroker oder HomeAssistent an den Hyper senden. Wird das per mqtt möglich sein?

michije commented 1 month ago

Ich möchte den Hyper Aufsatz auch als Speicher für meine große PV-Anlage nutzen. Ich könnte die Werte vom SMA Energymeter aus iobroker oder HomeAssistent an den Hyper senden. Wird das per mqtt möglich sein?

The problem is that I have an environment here where the simple 3EM Integration wont work. Anyway, thanks for the answer.

As far as I know it's currently not possible to control Zendure devices through MQTT. But the built in Shelly integration works great for using the Hyper 2000 as an AC storage. The only stupid thing is it tries to keep a 150W buffer while charging to prolong the life of the relay. But this doesn't help in any way because it will just turn off the relay when you hit below 150W going into the grid and turn back on when 150W is reached again. So it doesn't work as a buffer at all, doesn't prolong the life of the relay and wastes energy going into the grid. A correct implementation would just try to lower the charging power to hit as close to 0W as possible. And only if the charging power of the zendure goes below a certain threshold, it should turn off. This would actually prolong the life of the relay and waste less energy.

While it's true that Zendure does not Support writing values via MQTT, there is a working and actively updated ioBroker Adapter which can update the output: https://github.com/nograx/ioBroker.zendure-solarflow @iroc-fabi wenn du also den aktuellen Strombedarf vom Energymeter im ioBroker hast, kannst du diese Werte via ioBroker Skript an den Hyper schicken. Wichtig dabei: Einen zweiten Zendure User erstellen und dem das Gerät freigeben und dessen Logindaten in ioBroker nutzen, denn ansonsten wird man jedes mal aus der Handyapp ausgeloggt.