Is there a component for display strings?

As stated in the title, I need a component to display a string (such as the firmware version of a device) on the interface( for Edge driver ). Is there anything available in the existing component library?

Hi, @chenjun
What do you mean by “component”? Like a capability tile to appear in the detail view, to appear in the “information” page, in the driver’s information page?
Would you need it to be dynamic, for example, something gotten from the device?
We have seen some use the capability “firmwareUpdate” and the attribute “currentVersion” and the value appeared in the “information” page but some also reported not being reflected in some cases, so, this is a first suggestion to see if it helps

Thanks!
I just want to show the firmware version in the detail view, or in the “information” page, or in the driver’s information page.
In my profile, I have used the capability “firmwareUpdate”. I guess it should be able to provide the function of displaying firmware version, but I haven’t seen it.

Hi, @chenjun

If you use this capability, you need to initialize it from the driver, for example:

device:emit_event(capabilities.firmwareUpdate.currentVersion("1.2.0"))

Then, when you enter the device’s details, select Menu (three-dot symbol in the upper-right corner), you’ll see the value in the field “software version”:

Thanks!
I have tried your suggestion, and it indeed works.
But why not the firmware version info come from the device? I trace the value of “device.data.firmwareFullVersion” on the console, but it is “nil”.

Is there any other way to get the firmware version information from the device?

Hi, @chenjun

Which kind of device are you working with? I mean Zigbee, Z-Wave, Matter, etc. This is to ask the engineering team why the property “device.data.firmwareFullVersion” might be empty and how we can get the info from the device if possible.

Hi, @nayelyz

  I tried my device with the Edge driver of "zigbee-contact".


Hi, @chenjun

I asked the engineering team, and they mentioned that the value is set by the hub, but the person who can provide further information is OOO until Monday. So, as soon as he comes back, I’ll follow up on this. Thank you for your patience.

Hi, @chenjun

The engineering team mentioned that the object device.data is a legacy property, so it doesn’t populate anymore in regular circumstances.

Currently, there isn’t a way of getting the firmware information from the device itself. Would you like this to be an official feature?

I got a similar response when I asked few months back…

…but didn’t make much sense, I use it to account for the differences in battery reporting in IKEA buttons depending on the firmware version since older versions didn’t follow the standard and new ones do.

Thanks!

Currently, our clients have a requirement to display the firmware versions.
It would be best to display it in the new version app.

Can you clarify what you mean by this statement, please? Do you mean something in a new version of the SmartThings App?

What I mean is that in the upcoming updates, the firmware version of the device can be obtained through " Device.data.firmwareFullVersion " or other variable related with device