Set the name of the 'main' Device #3055
Labels
improvement
User value
theme:c8y
Theme: Cumulocity related topics
theme:registration
Theme: Device registration and device certificate related topics
Is your feature improvement request related to a problem? Please describe.
I would like to use a serial-number as my technical device-id, but use a different/more meaningful name for the Device in Cumulocity.
For child-devices and services this works perfectly fine with specifying different
@id
andname
fields in the registration messages. But I can't find a way to do the same for the main-device - here it always uses the CN of the certificate.Once registered, thin-edge.io disallows to set the name via the
tedge mqtt pub "te/device/main///twin/name"
or the/etc/tedge/device/inventory.json
(as documented here)Describe the solution you'd like
I would like to be able to set a different name than ID for a main device, e.g. via a new tedge config field
device.name
in same manner as done withdevice.type
.Describe alternatives you've considered
Tried setting the name via:
tedge mqtt pub "te/device/main///twin/name" '"my-name"'
/etc/tedge/device/inventory.json
The text was updated successfully, but these errors were encountered: