The following questions are related to accessing device information and managing device firmware.
On a Samsung Smart TV, you can find the DUID by selecting "Menu > Support > Contact Samsung".
To retrieve the DUID from within your application, use the getDuid() method of the ProductInfo API.
getDuid()
#duid #device id #productinfo api
You can retrieve the TV language setting through the JavaScript navigator.language property.
navigator.language
#language #tv setting
The user agent string for Samsung TVs depends on the TV model year.
Table 1. User agent strings for Samsung TVs
For more information, see Retrieving Platform Information.
#user agent
To find the model code on the TV, in the Smart Hub, select "Settings > Support > About This TV". The model code is a string that specifies various TV characteristics.
The following table shows the information contained in the model code, and its sequence:
Table 2. Model code information
For example, the "UN40MU9000" model code defines a TV with the following characteristics:
#model code
To retrieve the MAC address of a Smart TV, use the getPropertyValue() method of the SystemInfo API with the applicable network adapter property:
getPropertyValue()
ETHERNET_NETWORK
WIFI_NETWORK
#ethernet #wifi #network adapter #mac address #systeminfo api
To retrive the Smart Hub country code, use the getSystemConfig() method of the ProductInfo API with the CONFIG_KEY_SERVICE_COUNTRY key.
getSystemConfig()
CONFIG_KEY_SERVICE_COUNTRY
#smart hub #country code #productinfo api
To download the latest TV firmware, on the Samsung Web site, find your TV model. On the TV model page, select "User manual & Downloads". The "Upgrade File" contains the latest TV firmware.
#firmware upgrade #tv model
No, forcing firmware updates is not supported.
#firmware update #force update
No. For security reasons, downgrading the TV firmware is not supported.
#firmware downgrade
Since 2016 models, to reset the TV to original factory settings, in the Smart Hub, select "Settings > Self Diagnosis > Reset". The reset changes the DUID.
#duid #reset smart hub #factory settings #factory reset #original settings
It is not possible to detect when the user has clicked the TV power key. However, you can implement application behavior for the following related scenarios:
window.onUnload()
visibilitychange
#power key #visibility change #close application #hide application
No. While an application is hidden, it is paused and cannot retrieve any information about the foreground application.
#foreground application #hidden #paused #background application
No. Retrieving the currently-active TV tuner is not supported, since it depends on the TV broadcaster.
#tv tuner #cable tv #terrestrial tv #broadcast signal
To retrieve the voice guide status:
On Tizen, check whether the voice guide is enabled using the getMenuValue() method with the TvInfoMenuKey.VOICE_GUIDE_KEY property:
getMenuValue()
TvInfoMenuKey.VOICE_GUIDE_KEY
// Returns "true" if voice guide is enabled webapis.tvinfo.getMenuValue(webapis.tvinfo.TvInfoMenuKey.VOICE_GUIDE_KEY);
On Samsung Legacy Platform, check whether the voice guide is enabled with the IsTTSEngineEnabled property:
IsTTSEngineEnabled
// Returns "true" if voice guide is enabled webapis._plugin("RECOG", "IsTTSEngineEnabled")
#voice guide #samsung legacy platform #tts #text to speech
Since 2013 TV models, to change the Samsung Apps TV region:
#samsung apps tv #region change #app store #store region
TV hardware is based on mobile technology, but for security reasons, the details are confidential.
#hardware #cpu #processor