Marstek Venus + CT003 devices into Homey

Hi there,

I didn’t really like the current apps that integrate the Marstek battery into Homey, they feel pretty unstable getting data so I created my own.

The CT003 meter is also supported so you can use that as a P1 meter in Homey as well.

It’s currently under review; but you can test it here: Marstek Energy | Homey

Update: it’s not under review. I pulled it, Homey doesn’t think my app is unique enough and wants me to integrate with existing apps. I don’t like the existing apps so I’ll just use my app privately then. You can still install it through my Github page: GitHub - b03tz/HomeyMarstek: I didn't like the available marstek apps for Homey so built my own · GitHub

I uses only local communication, no cloud. So you have to enable local API on your batteries through the app. Every device can auto-discover on your network if all is configured right.

It supports reading data from the batter and meter and also setting the charge mode and depth of discharge through flows.

1 Like

Assuming from the past that the problematic Venus API is causing unstable Homey apps, I am really curious if, and how your app is doing better.

Which Venus are you using, which firmware and communication module is that Venus using?

I’m using V153. It just keeps polling for a succesful state within your set timeframe. If it can’t get it, it will retry every 2 seconds and fail gracefully. For ‘set’ commands I use an exponential back-off strategy: retry up to 5 times with exponential backoff (2s, 5s, 10s, 30s) before giving up.

For a few days now it’s running very stable. The only thing that’s variable is when you get data, the battery is in charge of that because either it fails or succeeds. Which in my case results in fresh data every sub 1-minute, almost every time within 30 seconds, which I have set my polling interval to.

I’m sorry I had to pull my app from the official store. They don’t think it’s unique enough and encourage me to implement the CT003 into the existing app.

I personally don’t like the existing app(s) because of the mentioned unstability, and I don’t really have the time to work together with somebody to get this done. So I pulled my app, you can installed it custom through my Github page: https://github.com/b03tz/HomeyMarstek but Homey doesn’t want me to publish it here in the store.

Can I still test the app? I managed to download and install it, but the P1 isn’t being detected."

Do you have the Marstek CT003? If you can’t auto discover it, perhaps add it by IP.

Are you certain it is a CT003? Is it in the same network as the homey?

Yes Homey connected with Ethernet and de p1 with separated iot ssid (wifi)

Are the ct003 and the homey on the same iot network? Did you disable inter-device communication or have any other restrictions active?

Both devices are in the same network but that’s not a problem I think because difference can find each other because the same sub network?

Strange, it’s the only thing I can think of. What version is your ct003 currently running?

122

That might be it; I’m running 117 and it says “up to date”

1 Like