Replies: 7 comments 11 replies
-
I'm not on facebook so can't really join the group, but interesting to see what inverters different people have. One theme several of us came up with was 'better UI and easier control'. So as a starter, should we agree what we think we have today and where we want to get to? In terms of today and positives (+) and negatives (-) I'd say:
My desires: |
Beta Was this translation helpful? Give feedback.
-
Not ignoring this, I'll reply later in the week |
Beta Was this translation helpful? Give feedback.
-
OK, I'm lagging behind a bit as I've been away, and everything seems to have got very complicated while I was away with AppDaemon etc. so I'm not even on the most recent version to comment properly on that. However, I'll try and sum up my thoughts on going forward. I think much of this is similar to what others have said at different times too, so I think we're on similar lines. User experienceIn an ideal world, I'd like new users to be able to get going without needing to edit any YAML anywhere. Some integrations offer a configuration screen when they're set up (e.g. the Octopus one), and that could ask questions to get some of the key info that's needed. Also, I'd like to see custom cards being set up that can be used to add specific chunks of UI, again without needing to edit YAML. I've done some hacking around here, and there are some issues currently with it. HA simply doesn't seem to support distributing some types of cards e.g. an Entities card with specific entities that you want to see. However, I did get an Apex Chart working. In terms of settings, I'm keen on simple config wherever possible, I know this has now been done although I've not seen it. Being able to select a tariff then get all the complicated stuff set for you is what many people will want to have, I think. Hopefully this aspect is either done, or at least the direction of travel is set and we can keep improving as we go. Some people have a fairly simple use case - for example, they're on Intelligent, and want to keep their battery charged when they charge their car (including additional slots). I'd like Predbat to feel like a good solution for that use case, but to do that, it needs to be really simple - plug and play, click a few drop-downs, type a bit of text and it's good to go. I'd love it if it were simple for people in that sort of situation, as well as for those people who want fine grained control and don't mind hacking around to get it. Feature developmentPersonally I would lean towards turning down more feature requests, at least for a while. My concern is that Predbat becomes more and more complex, and because of the current structure, it becomes harder and harder to maintain. I'd rather freeze the feature set, to get time to improve both the UI and also code quality. And in fact, I'd potentially consider dropping some features to make it more simple, both for the number of parameters, and also for the sake of the code. Code qualityAt the moment, the code seems to me to be typical of code that's evolved rapidly, from something relatively simple, to something huge. It's gone from 350 lines in v1.0 to over 9,000 lines in v7.13.4. Also, some of the methods have become really long (and therefore really complicated), and I still find I haven't properly got my head round how big parts of it work. Also, we don't have automated tests, which makes it easy for tweaks to algorithms to introduce issues. And having so many parameters makes setting up automated tests even harder too. I'd be keen on:
I think that's it for now, but I'll update this if I think of more. |
Beta Was this translation helpful? Give feedback.
-
I'd agree on simplification. It's a great solution that potentially misses a potential user base due to complexity to install and complexity to understand the myriad of settings and the relevant tuning.
|
Beta Was this translation helpful? Give feedback.
-
Personally I feel that some major improvements could be made doing the following:
|
Beta Was this translation helpful? Give feedback.
-
Hi Team! I currently run SolarEdge (Modbus integration) and do a small bit of development (more scripting than coding these days). Is there any way I can help move the SolarEdge module forward, or is this already covered by one of the existing crew? I'm happy to develop or just to test code that someone else has conceived. |
Beta Was this translation helpful? Give feedback.
-
Hi all, before I start I want to say that I am finding batpred to be great so far. However I was trying to debug some problems I was having with batpred setting incorrect times and I found the code fairly hard to follow with all of the inverter login merged into a single file. I noticed that some people mentioned they were looking into splitting inverters out into separate classes, is that still ongoing? I'd be happy to help with this as I think it's going to be important as batpred grows. |
Beta Was this translation helpful? Give feedback.
-
@springfall2008 @iainfogg @gcoan - moving our discussion here as it seems more appropriate.
Couple of things:
If you are on Facebook you might want to join the new Octopus Automation group. Lots of like-minded people.
I posted a quick poll on there to ask what inverters people are using:
Looks like we have got about 40% covered already. Next on my list to look at were Solax and SolarEdge and that would get 80% which seems a good target.
Beta Was this translation helpful? Give feedback.
All reactions