Rohnson R-2838 WIFI Air Fryer (use Tuya App and then Localtuya to access)

image
image

Please note you will need to add your Airfryer Via Tuya Android App, then get the ip and local key to do this localtuya, I will provide the screen shots of how it should be added as a device with screen shots, listing the entities, and the final yaml for the controls, you will need to download other cards e.g. chips, css mod, mushroom, etc to use this.

Add device with localtuya using IP and local Key.

image

image

You should end up with something that looks like this.

image

Once done you can copy paste this yaml into a card

you will need

custom:button-card
custom:mushroom-chips-card
custom:numberbox-card
custom:card-mod

I think thats them all

type: vertical-stack
cards:
  - type: horizontal-stack
    cards:
      - show_name: true
        show_icon: true
        type: custom:button-card
        show_entity_picture: true
        name: Power
        state:
          - value: 'on'
            icon: mdi:power
            color: green
          - value: 'off'
            icon: mdi:power
            color: red
        entity: switch.power
      - show_name: true
        show_icon: true
        type: custom:button-card
        show_entity_picture: true
        name: Start/Stop
        state:
          - value: 'on'
            icon: mdi:fan
            color: green
            styles:
              icon:
                - animation:
                    - rotating 1s linear infinite
          - value: 'off'
            icon: mdi:fan
            color: gray
        entity: switch.start_stop
      - show_name: true
        show_icon: true
        type: custom:button-card
        show_entity_picture: true
        name: Lamp
        state:
          - value: 'on'
            icon: mdi:lightbulb
            color: yellow
          - value: 'off'
            icon: mdi:lightbulb-off
            color: gray
        entity: switch.start_stop
  - type: custom:mushroom-chips-card
    chips:
      - type: template
        entity: select.mode
        icon: mdi:french-fries
        tap_action:
          action: call-service
          service: select.select_option
          data:
            option: Chips
          target:
            entity_id: select.mode
        content_info: none
        icon_color: |-
          {% set state=states('select.mode') %}
          {% if state=='Chips' %}
          green
          {% else %}
          gray
          {% endif %}  
      - type: template
        entity: select.mode
        content_info: none
        icon: mdi:cupcake
        tap_action:
          action: call-service
          service: select.select_option
          data:
            option: Cake
          target:
            entity_id: select.mode
        icon_color: |-
          {% set state=states('select.mode') %}
          {% if state=='Cake' %}
          green
          {% else %}
          gray
          {% endif %}  
      - type: template
        entity: select.mode
        content_info: none
        icon: mdi:pizza
        tap_action:
          action: call-service
          service: select.select_option
          data:
            option: Pizza
          target:
            entity_id: select.mode
        icon_color: |-
          {% set state=states('select.mode') %}
          {% if state=='Pizza' %}
          green
          {% else %}
          gray
          {% endif %}  
      - type: template
        entity: select.mode
        content_info: none
        icon: mdi:fishbowl
        tap_action:
          action: call-service
          service: select.select_option
          data:
            option: Shrimp
          target:
            entity_id: select.mode
        icon_color: |-
          {% set state=states('select.mode') %}
          {% if state=='Shrimp' %}
          green
          {% else %}
          gray
          {% endif %}  
      - type: template
        entity: select.mode
        content_info: none
        icon: mdi:food-steak
        tap_action:
          action: call-service
          service: select.select_option
          data:
            option: Steak
          target:
            entity_id: select.mode
        icon_color: |-
          {% set state=states('select.mode') %}
          {% if state=='Steak' %}
          green
          {% else %}
          gray
          {% endif %}  
      - type: template
        entity: select.mode
        content_info: none
        icon: mdi:fish
        tap_action:
          action: call-service
          service: select.select_option
          data:
            option: Fish
          target:
            entity_id: select.mode
        icon_color: |-
          {% set state=states('select.mode') %}
          {% if state=='Fish' %}
          green
          {% else %}
          gray
          {% endif %}  
      - type: template
        entity: select.mode
        content_info: none
        icon: mdi:food-steak
        tap_action:
          action: call-service
          service: select.select_option
          data:
            option: Ribs
          target:
            entity_id: select.mode
        icon_color: |-
          {% set state=states('select.mode') %}
          {% if state=='Ribs' %}
          green
          {% else %}
          gray
          {% endif %}  
      - type: template
        entity: select.mode
        content_info: none
        icon: mdi:food-drumstick
        tap_action:
          action: call-service
          service: select.select_option
          data:
            option: Drumsticks
          target:
            entity_id: select.mode
        icon_color: |-
          {% set state=states('select.mode') %}
          {% if state=='Drumsticks' %}
          green
          {% else %}
          gray
          {% endif %}  
    alignment: justify
  - type: horizontal-stack
    cards:
      - type: vertical-stack
        cards:
          - type: custom:numberbox-card
            border: true
            entity: number.cook_time
            icon: mdi:clock
            name: Cooking Time
          - type: custom:numberbox-card
            border: true
            entity: number.cooking_tempreture
            icon: mdi:thermometer
            unit: c
            name: Cooking Temperature
  - type: horizontal-stack
    cards:
      - type: entity
        unit: min
        entity: number.time_remaning
        icon: mdi:clock-outline
        name: Time Remaing
        state_color: false
      - type: custom:button-card
        show_name: true
        show_icon: true
        show_entity_picture: true
        name: Food
        state:
          - value: unknown
            icon: mdi:food-fork-drink
            color: white
            name: Make your Selection
          - value: Pizza
            icon: mdi:pizza
            color: white
            name: Pizza
          - value: Chips
            icon: mdi:french-fries
            color: white
            name: Chips
          - value: Cake
            icon: mdi:cake-variant
            color: white
            name: Cake
          - value: Shrimp
            icon: mdi:fishbowl
            color: white
            name: Shrimp
          - value: Steak
            icon: mdi:food-steak
            color: white
            name: Steak
          - value: Fish
            icon: mdi:fish
            color: white
            name: Fish
          - value: Drumsticks
            icon: mdi:food-drumstick
            color: white
            name: Drumsticks
          - value: Ribs
            icon: mdi:food-steak
            color: white
            name: Ribs
        entity: select.mode

Enjoy, if you can make a better looking one, please share as personally it looks dull to me, I aint that good at making it look flashy, but at least it works.

3 Likes

Thank you for sharing. It works perfectly with my Rohnson R-2834 SmartChef XL

image

1 Like

I was just wondering. Did you change any of the values? Could you share? Because 2834 has some different features and limits from the 2838 which this post was originally about.

Namely temperature min is 80 and the default is 185. On top of that the food selections are a bit different. For example we don’t have shrimp. Or ribs.

For us there is also no 1 (value: False). The first data point has (value: True) by default and seems to do nothing by playing with it in the Tuya Debugging. It seems like our air fryer is controled by the status_mode enum , which has possible values ["wait_mode","set_mode","run_mode","stop_mode","pause_mode","time_out"]

I myself have the 2834 as well.

If you have tampered successfully with values, could you share?
Thanks!

For 2834

type: vertical-stack
cards:
  - type: horizontal-stack
    cards:
      - show_name: true
        show_icon: true
        type: custom:button-card
        show_entity_picture: true
        name: Power
        state:
          - value: 'on'
            icon: mdi:power
            color: green
          - value: 'off'
            icon: mdi:power
            color: red
        entity: switch.power
      - show_name: true
        show_icon: true
        type: custom:button-card
        show_entity_picture: true
        name: Start/Stop
        state:
          - value: 'on'
            icon: mdi:fan
            color: green
            styles:
              icon:
                - animation:
                    - rotating 1s linear infinite
          - value: 'off'
            icon: mdi:fan
            color: gray
        entity: switch.start_stop
      - show_name: true
        show_icon: true
        type: custom:button-card
        show_entity_picture: true
        name: Lamp
        state:
          - value: 'on'
            icon: mdi:lightbulb
            color: yellow
          - value: 'off'
            icon: mdi:lightbulb-off
            color: gray
        entity: switch.start_stop
  - type: custom:mushroom-chips-card
    chips:
      - type: template
        entity: select.mode
        icon: mdi:french-fries
        tap_action:
          action: call-service
          service: select.select_option
          data:
            option: Fries
          target:
            entity_id: select.mode
        content_info: none
        icon_color: |-
          {% set state=states('select.mode') %}
          {% if state=='Fries' %}
          green
          {% else %}
          gray
          {% endif %}  
      - type: template
        entity: select.mode
        content_info: none
        icon: mdi:cake-variant
        tap_action:
          action: call-service
          service: select.select_option
          data:
            option: Bake
          target:
            entity_id: select.mode
        icon_color: |-
          {% set state=states('select.mode') %}
          {% if state=='Bake' %}
          green
          {% else %}
          gray
          {% endif %}  
      - type: template
        entity: select.mode
        content_info: none
        icon: mdi:pizza
        tap_action:
          action: call-service
          service: select.select_option
          data:
            option: Pizza
          target:
            entity_id: select.mode
        icon_color: |-
          {% set state=states('select.mode') %}
          {% if state=='Pizza' %}
          green
          {% else %}
          gray
          {% endif %}  
      - type: template
        entity: select.mode
        content_info: none
        icon: mdi:food-steak
        tap_action:
          action: call-service
          service: select.select_option
          data:
            option: Steak
          target:
            entity_id: select.mode
        icon_color: |-
          {% set state=states('select.mode') %}
          {% if state=='Steak' %}
          green
          {% else %}
          gray
          {% endif %}  
      - type: template
        entity: select.mode
        content_info: none
        icon: mdi:fish
        tap_action:
          action: call-service
          service: select.select_option
          data:
            option: Fish
          target:
            entity_id: select.mode
        icon_color: |-
          {% set state=states('select.mode') %}
          {% if state=='Fish' %}
          green
          {% else %}
          gray
          {% endif %}  
      - type: template
        entity: select.mode
        content_info: none
        icon: mdi:food-drumstick
        tap_action:
          action: call-service
          service: select.select_option
          data:
            option: Chicken
          target:
            entity_id: select.mode
        icon_color: |-
          {% set state=states('select.mode') %}
          {% if state=='Chicken' %}
          green
          {% else %}
          gray
          {% endif %}  
    alignment: justify
  - type: horizontal-stack
    cards:
      - type: vertical-stack
        cards:
          - type: custom:numberbox-card
            border: true
            entity: number.cook_time
            icon: mdi:clock
            name: Cooking Time
          - type: custom:numberbox-card
            border: true
            entity: number.cooking_temperature
            icon: mdi:thermometer
            unit: c
            name: Cooking Temperature
  - type: horizontal-stack
    cards:
      - type: entity
        unit: min
        entity: number.time_remaining
        icon: mdi:clock-outline
        name: Time Remaing
        state_color: false
      - type: custom:button-card
        show_name: true
        show_icon: true
        show_entity_picture: true
        name: Food
        state:
          - value: unknown
            icon: mdi:food-fork-drink
            color: white
            name: Make your Selection
          - value: Bake
            icon: mdi:cake-variant
            color: white
            name: Bake
          - value: Fries
            icon: mdi:french-fries
            color: white
            name: Fries
          - value: Pizza
            icon: mdi:pizza
            color: white
            name: Pizza
          - value: Chicken
            icon: mdi:food-drumstick
            color: white
            name: Chicken
          - value: Steak
            icon: mdi:food-steak
            color: white
            name: Steak
          - value: Fish
            icon: mdi:fish
            color: white
            name: Fish
        entity: select.mode

and mode (ID3):
“cake;chips;pizza;drumsticks;steak;fish”

name:
“Bake;Fries;Pizza;Chicken;Steak;Fish”

and lamp2 is lamp (ID101)

missing “Shake mode/notify” :frowning:

1 Like