Sketch Names in Home Assistant - Resolved



  • I moved my MySensors nodes from Domoticz to Home Assistant. Domoticz didn't really do anything with the sketch name. Home Assistant uses it in the device names.
    I had named my sketches by processor and function, BT8_BME280 for example. This makes sense when programming, but makes the device names in Home Assistant seem rather random.
    I can have the sketch present anything want for a sketch name. Maybe using just the node function would be better?
    Anyone have a naming system that makes sense in Home Assistant?

    Update. There is a lot of thinking about this online. For example: https://github.com/Trikos/Home-Assistant-Naming-Convention
    But also, I can rename in home assistant, so doing it in the sketch isn't that important.



  • @nagelc I find that naming is a personal thing, though it should be consistent. For example, I had 9 devices, one of which was primary, and a controller. they were named, Rudolph, Dasher, Dancer, Prancer, Vixen, Comet, Cupid, Donner, Blitzen, and the controller, Reins.

    While there is quite a discussion, names are what works for you. If your design is for someone else, then names that easily documented, while descriptive, are appropriate.

    Reminds me of a joke. This woman had 13 children, 6 boys and 7 girls. All the boys' name were Bob, and the girls, Jill. When asked, "Why?", she responded, "At dinner time I only have to call two names." "But what if you want a specific one?" "Oh, then I call them by their last name."

    If you give careful thought to your naming system, it will be easier for you to remember. Otherwise you have to review someone else's naming system regularly.

    -OSD


Log in to reply
 

Suggested Topics

  • 1
  • 1
  • 6
  • 5
  • 8

28
Online

11.6k
Users

11.2k
Topics

113.0k
Posts