Replies: 3 comments 4 replies
-
Hey, first off it's nice to see someone taking the initiative on this standardization as it's not something where many see immediate value, haha. 😆 What I was doing so far was let's say mapping "the wide area" when comes to the sensors and find those which fulfills the same purpose, but have different naming. Your idea seems reasonable. When I was thinking about it initially I thought of having the scheme hardcoded and then in the files just say what's there and what's not and in which registers +-. Both implementation are great next stepping stone. But in the long run I would even try to do some sort of a register scanning to identify the device as you suggested in the #48 and then even locate registers but that would be very hard as the Solarman protocol, the Sticks and even modbus are real cr*p in my opinion and I' starting to hate this trio with every day more and more. 😆 But if that would be somewhat successful my end goal would be to satisfy requirements to be added as component of the HA but current implementation which is using those standalone files is everything but suitable for that. That being said I'm currently writing small tools (scripts) for browsing the definition profiles all of them at once and looking for sensors with common names or even same registers to give us overview of the whole thing so when I'll be done it can be used to finish the design you started. 👍 |
Beta Was this translation helpful? Give feedback.
-
I don't think they are set in stone or anything like that but I think that our "profile files" are what would not be accepted.
Yes. In fact I know for sure. For example as far as I know all Deye inverters have Serial Numbers or some other static parameters of the device in the same registers. So some are the same at least within single brand.
Yeah, realtime was predecessor to the update_interval, so... As during the early development the update_interval: 5 was not yet set in stone constant. But at the end I would somehow like to avoid setting that number anyway as it would still be very redundant, imo.
There is a lot of thinks which can be done about that one. So let's not rush this one yet.
Both still works. My thougths were that mb_fuction_code contained too much information for no reason. And it's also prepared for construction like this:
Those are HA terms. Except
At the end I have strong feeling that there should be a way how to get rid of setting the code all together.
That's for sure. But I think better will be to have the default profile hardcoded in the code instead in yamls. |
Beta Was this translation helpful? Give feedback.
-
Hey @frsantos cause you are so eager into this don't you want to start making some sort of a graph of common sensors (it can also involve the less common just be stated as such) so it can be used for planning of the v2? 🎉 |
Beta Was this translation helpful? Give feedback.
-
Hi @davidrapan
I've been following the recent changes for name standardization, and as I've already created a profile myself for my inverter, I know how hard and repetitive task is to do it. Also, as you said in #73
So, I've been thinking in a
V2
profile that is easier to fill. We know we all have more or less the same sensors/entities, some profiles have more, some have less, some have unique ones but most have the same and we can standardize most of the attributes of the common ones.For example, we all have
PV Power
that is composed of 1 or more "PVn Power", so we can predefine some entities for all profiles and let the profile just fill in the gaps:And then each profile would just fill in from and how the data is retrieved:
So, each profile would deep merge with the default profile to get the final profile, resulting in a very powerful profile definition while retaining a very standard list of entities for all profiles. Also, the default profile serves as documentation about what info is needed for a new profile.
Of course, this can integrate my other suggestion #48 about the inverter information to allow auto selecting the profile
What do you think?
Beta Was this translation helpful? Give feedback.
All reactions