Problems with sensors in "Configuration" and "Diagnostic" in Home Assistant #1459
Replies: 8 comments 14 replies
-
which version did you upgrade from? Those are new entities which I think were added a few weeks ago. Diagnostic sensors in EMS-ESP are required now (see #1382 (comment)) |
Beta Was this translation helpful? Give feedback.
-
On Nov 13th I upgraded to EMS-ESP-3_6_3-test_7a-ESP32. Not sure if at that time we already had that Diagnostic. Is this Diagnostic the same what this help document refers to? As that more sounds like diagnostic data of the ems-esp gateway itself and not about the sensors it's reading. The diagnostics integration |
Beta Was this translation helpful? Give feedback.
-
To me it's not consistent that I see 20 EMS-ESP temperatures in "sensors" and 2 in "diagnostic". |
Beta Was this translation helpful? Give feedback.
-
OMG... I upgrade from HA 2023.11.2 to HA 2023.11.3 And now almost all the ems-esp entities are part of Configuration and Diagnostic. So using History -> Choose device -> ems-esp Boiler is only showing now a few entities... Not happy. Is this a defect in HA or is this a configuration issue in EMS-ESP? For now I have rolled back release by release, and in between I rebooted HA. |
Beta Was this translation helpful? Give feedback.
-
I can't reproduce. Take for example on my system 'Boiler Actual boiler temperature'. The MQTT Discovery payload shows the HA Entity Category as Diagnostics (i.e. not a writeable sensor): And I can see it as Diagnostics in HA under Devices & Sensors/MQTT: And I can see all the History in HA: Do you have use-case you can share? |
Beta Was this translation helpful? Give feedback.
-
I have to say that the help is not very clear... but they give as example for diagnostics the RSSI or MAC address of the device and for configuration the background illumination of the device. So more related to the status and the settings of the EMS-ESP32 device itself. https://developers.home-assistant.io/docs/core/entity/ Classification of a non-primary entity. Set to EntityCategory.CONFIG for an entity which allows changing the configuration of a device, for example a switch entity making it possible to turn the background illumination of a switch on and off. Set to EntityCategory.DIAGNOSTIC for an entity exposing some configuration parameter or diagnostics of a device but does not allow changing it, for example a sensor showing RSSI or MAC-address. |
Beta Was this translation helpful? Give feedback.
-
The screenshot below is what I see when I rollback to 3.6.2. When you select in the history the device you see all the entities that exist for the device, all the 135+ entities. All the temperatures and settings of the boiler etc. Compare that with your screenshot, there you don't see anything. Showing all the entities for a device is a lot of information but it's useful if you do not know for what you are looking. E.g. you see something strange and you try to explain it. By looking at all the entities you might see a kind of pattern.
This is also my understanding. More the entities of the device itself. Typically what we have in ems-esp device itself like the Free memory, MQTT, uptime... |
Beta Was this translation helpful? Give feedback.
-
emsesp_info (3).json
PROBLEM DESCRIPTION
I noticed in the EMS-ESP the sensor VR4 and TW1 since I implemented EMS-ESP-3_6_4-dev_2-ESP32.
Normally after a firmware upgrade I go to Home Assistant, open the History tab and add the devices ems-esp Boiler and ems-esp Thermostat to see if there are new sensors added or some sensors not there anymore. I was surprise to see that the VR4 and TW1 where not shown. I then then checked in the History tab if I could add the VR4 and TW1 directly as entity, and that worked.
So somehow the VR4 and TW1 are not considered, in the history tab, to be part of the device ems-esp Boiler.
I then went to the Settings -> Devices & Services -> Devices -> ems-esp Boiler. In there I see 4 groups;
In that block Diagnostic I see 5 sensor values. And all those 5 sensor values I do not see in History -> Choose device -> ems-esp Boiler...
EXPECTED BEHAVIOUR
I would expect to see all the values from the ems-esp Boiler in History -> Choose device -> ems-esp Boiler.
So also the values from the group Diagnostic.
Not sure why some sensor values are part of Diagnostic and not part of Sensors. Maybe there is somehow the root cause...? Maybe that Diagnostic is reserved for something else in Home Assistant?
SCREENSHOTS
Beta Was this translation helpful? Give feedback.
All reactions