Sensor naming problem
-
I have an issue in expanding my MySensors network in HA.
My desired sensor naming convention follows the following:
temperature_livingroom
temperature_kitchen
motion_bathroom
… and so on.But in MySensors the sensors take the node name (from the Arduino sketch name) and the child ID (NODENAME_CHILDID). If I’m running a DHT22 temp/humidity sensor I’ll have two child IDs under one node. But this means they are named:
bathroom_1
bathroom_2
Hardly descriptive and very easy to mix up.In the sketch I have defined the child sensor names to be what I want and you can see them come out in the description field:
But it isn’t using them for the sensor name. Is this possible or something that could be changed? Something like try to use the child sensor description if available otherwise fall back to the child ID. Any thoughts?
(Also posted on HA dev forum, not sure where is best!)
-
@nick-willis I have the same problem.
Up till now I was doing a simple hack that changed the naming of the sensors to the description field. Would be good to have an option to use just the description for sensors that have them meaningful and usable. I guess that would be a good topic for HA forum of this extension...
-
This is on my todo list. I hope to get to it soon.
Suggested Topics
-
Forum Theme Problems
Announcements • 8 Apr 2014, 07:05 • hek 8 Apr 2014, 07:05 -
Where to change settings?
Home Assistant • 15 Mar 2023, 14:58 • eiten 25 Jul 2024, 19:19 -
Node 2 is unknown warning in Homeassistant.
Home Assistant • 10 Mar 2019, 19:27 • badisensors 15 Oct 2024, 20:33 -
Home Assistant update changed USB port name
Home Assistant • 14 Jan 2024, 17:25 • therik 15 Jan 2024, 10:26 -
Hi,
Home Assistant • 1 Sept 2024, 20:57 • diltech 1 Sept 2024, 20:57