ricott / homey-no.easee

Easee app for Homey
GNU General Public License v3.0
5 stars 5 forks source link

flow card to set max amp #34

Closed kmengvik closed 1 year ago

kmengvik commented 2 years ago

Any possibillity to change this value from the homey app?

image

dooniem commented 2 years ago

Isn’t this it? 69400DBD-F063-40DF-A9AE-9B139BBD930C

kmengvik commented 2 years ago

Isn’t this it? 69400DBD-F063-40DF-A9AE-9B139BBD930C

No, with this card you can set any amp. at any time. I use this card to deliver calculated charge current every 2 minutes to the charger. This value can be way high, but with the max setting the carger is limited to that value regardless what the dynamic circuit current is set as. There is no card for that. I do not know if it is possible to set it in the API. Awaiting @ricott to conclude :)

dooniem commented 2 years ago

I thought that card more or less changed that exact setting, but with bigger interval? If the easy app is set to 13A and you set that card to 25A, output is 25. But you want to check if the output of that card exceeds a max you have set “somewhere”? Or am I missing something?

Can’t you use logic and calculate so that card never returns a value higher than a variable you create in Homey you name “max amp”? Then you can use some flow and logic to control that max amp variable outside the 2 minute flow you already have going?

I guess having the developer create a max is easier than creating that logic yourself though 😅

kmengvik commented 2 years ago

Good idea, if the card cannot be established, I will try to make a workaround as you suggested 👍

ricott commented 2 years ago

Lots of options to change the charge current :) I add a new action named Set max charger current, there is a new test version Try it out and see if this is what you were after.

ricott commented 2 years ago

Now I found some docs for this setting, sounds like we shouldn't abuse this setting, https://developer.easee.cloud/docs/current-limits-and-control#max-charger-current. No comment of using flash to persist the setting but I would guess it is stored in flash on the charger...

kmengvik commented 2 years ago

Lots of options to change the charge current :) I add a new action named Set max charger current, there is a new test version Try it out and see if this is what you were after.

Thank you Richard, perfect! You are the best 👍