I might be going too fast, but have you already looked into switching the battery between the different modes like AI / manual, etc.?
My homey is not finding any new devices. The “add undetected device possibility“ is not there anymore?
Hello,
The setup with the new version 0.4.0 worked perfectly.
However, the power display is incorrect.
Marstek Venus C: Test with BLE tool: Battery Power: 0 W, Work Mode: 1 (Standby) manual
Homey display: -24.4 W
Marstek Venus E: Test with BLE tool: Battery Power: 0 W, Work Mode: 1 (Standby) auto
Homey display: -18.4 W
Marstek firmware version 153
What am I doing wrong?
If the values are displayed, then these are received from the battery. I will update the app so that you can enable a log setting for a device. After that, perhaps you are willing to send a diagnostics report? I will ping here when the app has this features added…
If the battery is not found, something is wrong with the LAN config. Since the new setup only uses broadcast messages, no IP is needed anymore. If discovery doesn’t work, then readings will also not work… Furthermore, IP addresses tend to change over time (due to DHCP leases), so that was not reliable for the long run.
Please check if the batteries have Local API on port 30000 enabled, and try to reset them if possible. Both can be done using the BLE Test Tool (v2).
Yes, a bit too fast
I’m still struggling to get the communication with the battery on a descent level.
ok, I will send a diagnostic report when you have provided it
A new version (0.4.1) has just been released. It introduces a debug setting for each device. When enabled, the communication from/to device is also logged. Can you please enable it for a few minutes and then transmit a diagnostics report? Thank you!
799b6df9-4700-473a-9212-7375451cc989
here the requested report
Thank you for the report!
The value for the ‘Power’ in Homey are taken from the ‘bat_power’ property of the ‘ES.GetStatus’ message (see API documentation). This value is the total input/output amount of power the Battery Energy System. When charging it is a positive number, discharge is negative. Note that the value in the message itself needs to be divided by 10. I don’t see an equivalent value in the BLE tool…
This value seemed best, because it also takes the power needed by the inverter into account during output. I see values of around -533.3 W (output) in the log. Is that expected?
at that time the power was -460 w
Now : in BLE -307 W
in Battery Connector -396W
Hmmm… It seems to vary a lot depending on the tool used…
I will try to add other power readings coming from the battery as well in Homey so you can keep an any on all of them! And perhaps a setting so you can choose what to see in Homey Energy functionality…
To be continued, and thank you for the feedback!
I was able to add the battery after resetting. After the update, or maybe just before according to the timeline communication was lost again.
This seems to be a common problem with the Marstek battery local API… I also lost connection tonight. The day before I did a 24h test with messages every second without problems.
There is not much more I can do here… If these communication problems with the local API keep happening; I don’t see why I should continue with this App ![]()
Reset this morning did the trick again, values showed again. Unfortunately, now they stick.
Just stay a bit confident. We are early adopters, the api is not officially and widespread rolled out. I’m glad with what you did so far. Have patience, I’m afraid.
Do you want a diagnostic report or log from me?
I’ve released a new version that shows additional readings from the battery and energy systems.
just discovered this app, and works great!
And now… find interesting ways of using it ![]()
What are others using this app for?
Personally, I’m using a Homey advanced flow to determine if the battery State of Charge does not below 20%, if so, I start charging by enabling a smart power plug. This is done in the same flow that enables the smart power plug during the lowest cost hours of the day. Note that I’m using the backup port of the battery.
So you use a smart plug to “power on” the Marstek? And in what state is it? AI, manual, self initiated?
There was an update of the app today. And now Homey lost connection to the Marstek ![]()
I’m sorry the connection is lost, please try to delete and add the battery device again or restart Homey. If the battery is not autoatically recognized, then the battery has stopped communicating (probably a while ago, but Homey keeps displaying last received values). This is a common problem with the local API. The only remedy seems a ‘System Reset’ using the BLE Tool (under advanced)…
I use the smart plug with a maximum rating of 2200W. The battery is in Manual mode and configured with maximum of 1500W to load at any hour.