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.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login