this post was submitted on 21 Jan 2024
20 points (100.0% liked)

homeassistant

12008 readers
138 users here now

Home Assistant is open source home automation that puts local control and privacy first. Powered by a worldwide community of tinkerers and DIY enthusiasts. Perfect to run on a Raspberry Pi or a local server. Available for free at home-assistant.io

founded 1 year ago
MODERATORS
 

I have a concoction of devices from all kind of manufacturers with cryptic codes in their names. Each device exposes multitude of sensors which makes the dashboard look like a mess.

  1. Is there a best practice for renaming devices ? Do you name them by their location ? By their utility ? manufacturer ?
  2. How do you identify the devices later in case there's a problem and one needs to be replaced / battery need to be replaced ?
you are viewing a single comment's thread
view the rest of the comments
[–] mhzawadi@lemmy.horwood.cloud 8 points 9 months ago (2 children)

For my Zigbee things I use this

example:

  • 00 - Sensor - Hall - PIR - Motion
  • 01 - Switch - Bedroom 01 - Main Light

So to break it down:

  • First 2 numbers represent the floor, 00 = Ground, 01 First Floor and so on.
  • Describes the type of device.
  • Room Name.
  • Describes the Function of Device, eg PIR, Temperature Sensor, Contact Sensor….
  • Used to describe the entities of the device.
[–] shnizmuffin@lemmy.inbutts.lol 1 points 9 months ago

10 floors, 0 basements.

[–] barbarosa@lemmy.world 1 points 9 months ago (1 children)

So if a device has multiple entities, you rename each one ? i.e. a hygrometer that measures humidity and temperature, you name each one separately ?

[–] mhzawadi@lemmy.horwood.cloud 1 points 9 months ago

No, if a device has multiple entities I leave the names as they are. HA will append them to the name of the device