cancel
Showing results for 
Search instead for 
Did you mean: 

Bypassing/ acknowledging issues when using appliances

borockobobo
Community Member

I recently bought a smart toaster oven (COSORI CS130-AO) so that I could set it up with a voice assistant, however, when trying to create a script to start the oven it says there is an error due to a privacy concern.

"[Cook] applied to [smart toaster oven - Kitchen] could impact the safety, security, and/or privacy of your household"

This happens when creating an automation on my desktop however when creating an automation on my smartphone it is able to start albeit with limited control on the device itself.

My guess is the section in the app under "configuration" which lists "play on the device you speak to" somehow allows this check to be bypassed or that another action is being used but am not sure.

 

Does anyone know what I could do to see how I could get around this?

 

 

 

# ------------------------------------------------------------------------------------------ #
# Lines starting with “#” are comments and will be ignored by the automation.
# Indentation determines hierarchy within the script.
# Visit g.co/home/script-editor-docs for full documentation.
# ------------------------------------------------------------------------------------------ #

metadata:
  name: Start Smart oven # Choose a short name that summarizes important starters and actions, like “Sunset lights”.
  description: Scripted automation 2 # Write a detailed description that includes everything the automation does, like “At sunset, on weekdays, close blinds, turn on lights to 50%, and play the sunset playlist on certain speakers.”

automations:
  # “starters” and “actions” are required; “conditions” are optional.
  # Use Ctrl + Space to see autocomplete suggestions.

  # ---- STARTERS ---- #
  # Starters describe events that will start the automation.
  # To add more than one starter, duplicate the "- type" section under "starters".
  # If you add multiple starter events, any one of them happening will start the automation.
  starters:
    - type: assistant.event.OkGoogle
      eventData: query
      is: "Ok Google, start the smart oven"

  # ---- CONDITIONS ---- #
  # Conditions are optional. Delete this section if it’s empty.
  # Conditions will prevent an automation from starting if the conditions aren’t met.
  # See g.co/home/script-editor-docs for documentation about how to use logical operators like “and”, “or”, and “not”.
  condition:
    type: device.state.OnOff # The basic on and off functionality for any device that has binary on and off, including plugs and switches as well as many future devices.
    state: on
    # Whether a device with an on/off switch is on or off. <code>true</code> if the device is on, <code>false</code> if the device is off. [available operators: is, isNot]
    is: true
    device: British WIFI socket&plug - Kitchen

  # ---- ACTIONS ---- #
  # Actions will start when a starter event takes place and all conditions are met.
  # Actions will start in the order they appear in the script and with any delay specified.
  # To add more than one action, duplicate the "- type" section under "actions".
  actions:
    - type: device.command.Cook # Start or stop cooking.
      # <code>true</code> to start cooking, <code>false</code> to stop current cooking mode. [Available parameter options: start, cookingMode, foodPreset, quantity, unit]
      start: true
      devices: smart toaster oven - Kitchen
      foodPreset: pizza
    - type: device.command.TimerAdjust # Adjust the timer duration.
      # The specified duration, which may be positive or negative, that is added to the duration currently on the timer. To extend the time on the timer, provide a positive duration. To reduce the time on the timer, provide a negative duration.
      duration: 10 minutes
      devices: smart toaster oven - Kitchen

 

 

 

1 REPLY 1

borockobobo
Community Member

Ok, this it looks to be a limitation with using vesync, the only available command for the oven is StartStop. Obviously, this isn't as granular as the cook option but it does work when testing on desktop.

At the time of writing (2024-10-19 (mainly for my own reference if I forget)) the only thing which happens when running "startstop" is that the function is set to "airfry" and the timer is set to 25 minutes, with timer adjustment commands not working.

# ------------------------------------------------------------------------------------------ #
# Lines starting with “#” are comments and will be ignored by the automation.
# Indentation determines hierarchy within the script.
# Visit g.co/home/script-editor-docs for full documentation.
# ------------------------------------------------------------------------------------------ #

metadata:
  name: Start oven mk 2 # Choose a short name that summarizes important starters and actions, like “Sunset lights”.
  description: Scripted automation # Write a detailed description that includes everything the automation does, like “At sunset, on weekdays, close blinds, turn on lights to 50%, and play the sunset playlist on certain speakers.”

automations:
  # “starters” and “actions” are required; “conditions” are optional.
  # Use Ctrl + Space to see autocomplete suggestions.

  # ---- STARTERS ---- #
  # Starters describe events that will start the automation.
  # To add more than one starter, duplicate the "- type" section under "starters".
  # If you add multiple starter events, any one of them happening will start the automation.
  starters:
    - type: assistant.event.OkGoogle
      eventData: query
      is: "Ok Google, start the oven today"

  # ---- CONDITIONS ---- #
  # Conditions are optional. Delete this section if it’s empty.
  # Conditions will prevent an automation from starting if the conditions aren’t met.
  # See g.co/home/script-editor-docs for documentation about how to use logical operators like “and”, “or”, and “not”.
  condition:
    type: device.state.OnOff # The basic on and off functionality for any device that has binary on and off, including plugs and switches as well as many future devices.
    state: on
    # Whether a device with an on/off switch is on or off. <code>true</code> if the device is on, <code>false</code> if the device is off. [available operators: is, isNot]
    is: true
    device: British WIFI socket&plug - Kitchen

  # ---- ACTIONS ---- #
  # Actions will start when a starter event takes place and all conditions are met.
  # Actions will start in the order they appear in the script and with any delay specified.
  # To add more than one action, duplicate the "- type" section under "actions".
  actions:
    - type: device.command.StartStop # Start or stop the device.
      # <code>true</code> to start device operation, <code>false</code> to stop.
      start: true
      devices: smart toaster oven - Kitchen
    - type: device.command.TimerStart # Start a new timer.
      # The starting duration from which the timer will count down to zero.
      duration: 10 minutes
      devices: smart toaster oven - Kitchen