Skip to content

Conversation

@nmaupu
Copy link

@nmaupu nmaupu commented Nov 30, 2025

Description:

Add the ability to ForceDeviceName without suffixing the last 6 digits' mac address. Simply compile with -DForceDeviceNameNoSuffix to do so.

Need to be careful that each device has a distinct name so that there is no collision during discovery.

Also added :

  • missing "tempc" and "tempf" (keeping "temp" which is celcius for backward compat).
  • rssi diagnostic value for all connectable devices.

Checklist:

  • The pull request is done against the latest development branch
  • Only one feature/fix was added per PR and the code change compiles without warnings
  • I accept the DCO.

- Simply Add -DForceDeviceNameNoSuffix
If a device name was previously empty, it takes the model name...
@nmaupu nmaupu force-pushed the dev/nma/device-name-without-suffix branch from 023dd54 to 8bb2624 Compare December 6, 2025 16:54
@nmaupu
Copy link
Author

nmaupu commented Jan 5, 2026

Anyone there ?

@1technophile
Copy link
Owner

Hello,

Could you explain the reason/context for this ?

@nmaupu
Copy link
Author

nmaupu commented Jan 7, 2026

Hello!

Customizing the name for the home assistant discovery so that it's literally the one configured from the device. Otherwise, it's using the model name and 6-char mac suffix.
My config is entirely as code and ephemeral. This provides a way to reinstall home assistant without having to rename stuff manually.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants