Replies: 3 comments 2 replies
-
Hi! First of all thank you! That is a great idea! Even it's kinda hard to predict how good that gonna work I don't see a reason why we should not try it! Also even the serial of the device itself is in a lot of devices on similar registers... It just gonna be a lot of data gathering at first before it's going to be somewhat useful (meaning in terms of serial matching). And we will have to first set some validation checks in place to some crucial registers so they don't get all messed up when the matching fails as I for example when I accidentally load for deye_hybrid profile it fs up my "Total" sensors. |
Beta Was this translation helpful? Give feedback.
-
and if #21 was there, the user base would probably grow and more people could contribute :) I certainly would. |
Beta Was this translation helpful? Give feedback.
-
Guess you proly already noticed but partial autodetection for inverters compatible w/ Deye is there already. ;) |
Beta Was this translation helpful? Give feedback.
-
Hi @davidrapan
I finally got to test your integration and it works wonderfully. Thanks a lot!
I posted an idea on the other repository, but I think you are more open to new features. As you already have a discovery feature, it could be extended to make this extension even more user friendly.
It would be possible to automatically select one of the inverter definitions based on the serial number. From what I've read on many discussions, each serial inverter definition works only for a subset of serial numbers, so auto selecting an adequate definition would be just a matter of adding a list of supported serial number ranges to each definition file, and some code to match them against the configured one. If we add some info to the definition about which request we need to perform to get the SN, we can even make it completely automatic, as now even the IP/port can be auto-discovered too.
Also, inverters are usually rebranded with different names, but under the hood they are the same. So, another improvement could be to add the different inverter brands/models that are known to work with a definition file, and show them to the user when selecting a definition file. Something like "This definition file is known to work with the following inverters: ...". And again, sometimes the actual inverter name can be retrieved with another request: "This inverter references itself as ..."
So, the inverter file would have something like the following:
Beta Was this translation helpful? Give feedback.
All reactions