Override light timeout on Samsung Oven via SmartThings API

Hi everyone,
I’m trying to integrate my Samsung NV7B42304CK/U1 oven into my Home Assistant setup using the SmartThings API.

I’ve successfully completed the first step and can now turn the oven on and off and apply my own custom cooking presets. However, I’ve encountered an issue related to the oven light.

The oven’s light automatically turns off after 2 minutes, even when I’ve set up an automation in Home Assistant to trigger the setBrightnessLevel command (e.g., to “high”) every 1 minute. While the automation works in theory (the light does turn back on every minute), it seems that the oven’s preset 2-minute timeout overrides my automation. The result is the light turning off after 2 minutes, only to be turned on again by my automation, creating an undesirable on/off cycle.

Does anyone know if there’s a hidden API option to override the light timeout or make the light stay on until I manually turn it off? Any help would be greatly appreciated!

Here’s what I’ve tried and what I’d like to know:

  • The oven light turns off automatically after 2 minutes, even if it’s turned on via the API.
  • I’m using the samsungce.lamp capability and setting the brightness level to “high” via the API.
  • I’d like to know if there’s an undocumented way to override this timeout (e.g., persistent brightness levels, hidden API options, or other workarounds).

Thanks in advance for your help!

For reference, this is what i have:

In HA, i have this REST command to “turn on my oven light”

## Turn on oven light
  turn_on_oven_light:
    url: "https://api.smartthings.com/v1/devices/MyDeviceID/commands"
    method: post
    headers:
      Authorization: "Bearer {{ states('sensor.smartthings_token') }}"
      Content-Type: "application/json"
    payload: >
      {
        "commands": [
          {
            "component": "main",
            "capability": "samsungce.lamp",
            "command": "setBrightnessLevel",
            "arguments": ["high"]
          }
        ]
      }

Then I have a sensor that looks for the state of the oven:

## Sensor for oven state
sensor:
  - platform: rest
    name: Oven Job State
    resource: "https://api.smartthings.com/v1/devices/MyDeviceID/status"
    method: GET
    headers:
      Authorization: "Bearer {{ states('sensor.smartthings_token') }}"
    value_template: >
     {{ value_json['components']['main']['samsungce.ovenOperatingState']['ovenJobState']['value'] 
     if value_json is defined and value_json is not none and 'components' in value_json 
     else 'unknown' }}
    scan_interval: 120  # Poll every 120 seconds

And then in i have an automation.yaml that contains this:

- alias: "Keep oven light on while oven is running"
  trigger:
    - platform: state
      entity_id: sensor.oven_job_state
      to: "preheat"
    - platform: state
      entity_id: sensor.oven_job_state
      to: "cooking"
  action:
    - repeat:
        until:
          - condition: state
            entity_id: sensor.oven_job_state
            state: "ready"
        sequence:
          - service: rest_command.turn_on_oven_light
          - delay: "00:01:00"

@nayelyz
Sorry to tag you in this, but just wanted to ask, do you have any thoughts on this, or any comments?
Best regards.

Hi, @Trust

Sorry, I saw your post and was hoping someone in the community had some thoughts on it.
Because, from our side, we don’t have any information on how to override that timeout since we don’t know how it is configured. Also, capabilities that start with “samsungce” were created by Samsung and we have no details on how they work.
Have you checked if there’s an option in the device’s settings to disable it or change the time?

Hi @nayelyz

Thank you for your feedback.
I have looked into the device settings and cannot find any setting at all to omit the timeout.
I believe the timeout is “hardcoded” into the firmware of the oven, due to some power efficiency measure from Samsung. Even though that this measure results in the oppesite effect, is another story :slight_smile:

Regarding capabilities that start with “samsungce” it could be a possibility that there are other useable capabilities that could work with controlling the oven light. I have not investigated that.
I guess that will be next step.

Still i really hope the someone from the community could have some thoughts on this issue. So, anyone?
Any input would be greatly appreciated.

Post screenshots of all the Attributes and Commands for your device from the ST Advanced Web App here so we can understand what your device supports.

Hi @h0ckeysk8er
Thank you for your interest, and for your reply.
I will try and post screenshots here:

Attributes:




Commands:


Looking at the attributes and commands, I’d play around with the capabilities main:samsungce.lamp:brightnessLevel and main:samsungce:supportedBrightnessLevel and the command samsungce.lamp to see if those have any effect.