Naming Scheme standardization #45
Replies: 12 comments 21 replies
-
I understand your reasoning and don't have a problem. The entity names for my inverter were based solely on the terms used by the manufacturer but Working Status or Working State means the same things and I can get used to any changes for benefits down the line. |
Beta Was this translation helpful? Give feedback.
-
Now I know how to change new sensor names to old entityID’s I haven’t got a problem with your idea. 😄 |
Beta Was this translation helpful? Give feedback.
-
I was just having a look at the first batch of naming changes, realised that this is much harder than it seems... As a sensor name I'm not convinced today_production makes sense when the friendly name is today's production, shouldn't it be todays_production? A second observation is that if your database stores say 14 days worth of data then todays production is only correct for today. When you look at archive data then daily production makes more sense as it works for everyday including today? I'm also wondering whether the destination/source of the data should be included to be 100% clear. For instance what is Load; house load, grid load? Leads to perhaps PV Production I"m not trying to be a pedant just an observation and wondered if a set of proposed naming and their meaning could be discussed here and hopefully owners can confirm that the naming makes sense for their inverter/battery setup? |
Beta Was this translation helpful? Give feedback.
-
I guess it depends totally on the inverter/battery manufacturer and even your native language. Some terms translate better than others. I've been looking at my Tesla Powerwall Battery and the official HA integration to see what terms they use. Interestingly it does not use the term today or daily, it just identifies the value. I can see the logic here as whether it's today, daily, weekly or monthly depends on how you query and present the data. If you ask for the data from 00:00 to now then it's todays, otherwise it's yesterdays, or last weeks! The HA Energy does all this for you so why name the sensor today at all? As for terms:- and then import/export is added depending on the direction, obviously some combinations make no sense e.g. Solar Import My Solis inverter uses the term grid rather than site and PV rather than Solar otherwise similar. However, if you ask 10 cooks how to make an omelette you'll probably get 10 answers but they all taste great 😆 |
Beta Was this translation helpful? Give feedback.
-
I wonder what will happen after 120V people will join the convo... 😆 |
Beta Was this translation helpful? Give feedback.
-
I have to address one thing again. I thought that it's obvious that not all terms are relevant with all inverters. Cause you @gedger said that for example grid import/export or battery charged/discharged has no meaning in the setup of your device and I thought that it's obvious if your device doesn't even have those sensors is meaningless to discuss naming of those in regards to your device. Or am I missing something? 😆 |
Beta Was this translation helpful? Give feedback.
-
Version 24.08.14 will proly also contain renames of bought/sold sensors to import/export sensors for your device, but there is very simple way how to do it properly. Before you will update to that version, do the renaming and then update. It will affects 4 sensors and it should be the last pain the ass for you. 😆 I'll give you more info when it will be actual! 😉 |
Beta Was this translation helpful? Give feedback.
-
Before updating from Was that the proper way of updating? |
Beta Was this translation helpful? Give feedback.
-
This probably happened because the entityID already existed with history data in the database. Home Assistant added a _2 to it to prevent overwriting. As far as I know you can delete entityID's only by deleting them directly in the database but don't ask me how to do that. |
Beta Was this translation helpful? Give feedback.
-
Hi! |
Beta Was this translation helpful? Give feedback.
-
Renaming the new entityIDs from batch nine for ha-solarman version 24.09.26 worked like a charm and kept history data from previous entityIDs 😄 Before update:
Update to new version and everything is fine. Thanks for your continuous hard work to make this integration the best and easiest way to implement a variety of different hardware into Home Assistant. Great job! 💜 |
Beta Was this translation helpful? Give feedback.
-
Hello!
I know that some folks here gonna hate me for it but I'm preparing to change some additional entity names in the name of standardization and also for coming feature of register scanning (custom profiles of yours won't be affected ofc).
But I wanted to let you know before hand.
Some of the changes:
And why? It maybe does not look like it at first but to make it more easily customizable in the future from the HA UI. We first need to define some sort of a scheme across all profiles.
Any objections are more than welcomed (as well as suggestions for said standard names).
Cheers!
Beta Was this translation helpful? Give feedback.
All reactions