Skip to content
  • MySensors
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo
  1. Home
  2. Controllers
  3. Home Assistant
  4. Sensor naming problem

Sensor naming problem

Scheduled Pinned Locked Moved Home Assistant
3 Posts 3 Posters 1.4k Views 3 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Nick WillisN Offline
    Nick WillisN Offline
    Nick Willis
    wrote on last edited by
    #1

    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:
    0_1518096545790_2018-02-08 10_32_45-Home Assistant.png

    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!)

    1 Reply Last reply
    0
    • BartB Offline
      BartB Offline
      Bart
      wrote on last edited by
      #2

      @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...

      1 Reply Last reply
      0
      • martinhjelmareM Offline
        martinhjelmareM Offline
        martinhjelmare
        Plugin Developer
        wrote on last edited by
        #3

        This is on my todo list. I hope to get to it soon.

        1 Reply Last reply
        2
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        20

        Online

        11.7k

        Users

        11.2k

        Topics

        113.1k

        Posts


        Copyright 2025 TBD   |   Forum Guidelines   |   Privacy Policy   |   Terms of Service
        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • MySensors
        • OpenHardware.io
        • Categories
        • Recent
        • Tags
        • Popular