zerocode matter devices

Matter gateway, Matter bridge, Matter over Wi-Fi, and Matter over thread development.


Post Reply
Vamp
Posts: 34

Hello there,

I make a 4 relay ESP32 module with zerocode.espressif.com (put the json code below) two roller shutter matter device.

My problem is that in Tuya app i only see these:

Image

If i add these device with google home , it generate two roller shutter device.

It also working in apple home:

Image

Also talking about these with espressif devs, and he said that my code is OK, the problem propably on Tuya side:

https://github.com/espressif/esp-matter/issues/1469

Here the ID in tuya app that is generate: bfa5258l0lsnhzej

Code: Select all

{
  "config_version": 3,
  "driver": [
    {
      "gpio_config": {
        "active_level": 0,
        "gpio_num": 14,
        "long_press_time": 5
      },
      "id": 1000,
      "name": "gpio",
      "type": "ezc.driver.button"
    },
    {
      "gpio_config": {
        "active_level": 0,
        "gpio_num": 13,
        "long_press_time": 5
      },
      "id": 1001,
      "name": "gpio",
      "type": "ezc.driver.button"
    },
    {
      "gpio_config": {
        "active_level": 0,
        "gpio_num": 18,
        "long_press_time": 5
      },
      "id": 1002,
      "name": "gpio",
      "type": "ezc.driver.button"
    },
    {
      "gpio_config": {
        "active_level": 0,
        "gpio_num": 17,
        "long_press_time": 5
      },
      "id": 1003,
      "name": "gpio",
      "type": "ezc.driver.button"
    },
    {
      "calibration_config": {
        "calibration_type": 2
      },
      "gpio_config": {
        "down_relay_gpio": 33,
        "up_relay_gpio": 32
      },
      "id": 1004,
      "name": "gpio",
      "roller_blind_config": {
        "allow_reverse_in_moving": false,
        "default_max_move_time_ms": 10000,
        "delay_time_between_moves_ms": 500,
        "pause_between_moves": true,
        "relay_control_delay_time_ms": 0
      },
      "type": "ezc.driver.roller_blind"
    },
    {
      "calibration_config": {
        "calibration_type": 2
      },
      "gpio_config": {
        "down_relay_gpio": 26,
        "up_relay_gpio": 25
      },
      "id": 1005,
      "name": "gpio",
      "roller_blind_config": {
        "allow_reverse_in_moving": false,
        "default_max_move_time_ms": 10000,
        "delay_time_between_moves_ms": 500,
        "pause_between_moves": true,
        "relay_control_delay_time_ms": 0
      },
      "type": "ezc.driver.roller_blind"
    },
    {
      "gamma_config": {
        "curve_coe": 1,
        "enable_gamma_adjust": true,
        "gamma_blue": 100,
        "gamma_cold": 100,
        "gamma_green": 100,
        "gamma_red": 100,
        "gamma_warm": 100
      },
      "hardware_config": {
        "rgb_max": 100,
        "rgb_min": 10,
        "rgb_power_max": 300,
        "white_max": 100,
        "white_min": 10,
        "white_power_max": 100
      },
      "id": 1006,
      "lighting_config": {
        "beads_comb": 4,
        "disable_auto_on": true,
        "enable_gradient": true,
        "enable_lowpower": false,
        "enable_memory": false,
        "fades_ms": 800,
        "sync_change_brightness": true
      },
      "name": "ws2812",
      "type": "ezc.driver.led",
      "ws2812_config": {
        "ctrl_io": 16,
        "led_num": 1
      }
    }
  ],
  "product": [
    {
      "data_model": {
        "window_covering_type": 4
      },
      "driver": {
        "input_down": 1001,
        "input_up": 1000,
        "output": 1004
      },
      "id": 1,
      "subtype": 1,
      "type": "ezc.product.window_covering"
    },
    {
      "data_model": {
        "window_covering_type": 4
      },
      "driver": {
        "input_down": 1002,
        "input_up": 1003,
        "output": 1005
      },
      "id": 2,
      "subtype": 1,
      "type": "ezc.product.window_covering"
    }
  ],
  "product_common": [
    {
      "driver": {
        "output": 1006
      },
      "events": [
        {
          "b": 0,
          "color_select": 1,
          "g": 255,
          "interrupt_forbidden": true,
          "max_brightness": 100,
          "min_brightness": 20,
          "mode": "breathe",
          "name": "setup_mode_start",
          "r": 0,
          "speed": 2000,
          "total_ms": 0
        },
        {
          "b": 0,
          "color_select": 1,
          "g": 255,
          "max_brightness": 100,
          "min_brightness": 20,
          "mode": "breathe",
          "name": "setup_started",
          "r": 255,
          "speed": 1000,
          "total_ms": 0
        },
        {
          "mode": "restore",
          "name": "setup_successful"
        },
        {
          "b": 0,
          "color_select": 1,
          "g": 0,
          "max_brightness": 100,
          "mode": "solid",
          "name": "setup_failed",
          "r": 255
        },
        {
          "b": 0,
          "color_select": 1,
          "g": 0,
          "max_brightness": 100,
          "min_brightness": 20,
          "mode": "blink",
          "name": "identification_start",
          "r": 255,
          "speed": 1000,
          "total_ms": 0
        },
        {
          "mode": "restore",
          "name": "identification_stop"
        },
        {
          "b": 255,
          "color_select": 1,
          "g": 255,
          "max_brightness": 100,
          "min_brightness": 20,
          "mode": "blink",
          "name": "identification_blink",
          "r": 255,
          "speed": 1000,
          "total_ms": 1000
        },
        {
          "b": 255,
          "color_select": 1,
          "g": 255,
          "max_brightness": 100,
          "min_brightness": 20,
          "mode": "breathe",
          "name": "identification_breathe",
          "r": 255,
          "speed": 1000,
          "total_ms": 15000
        },
        {
          "b": 0,
          "color_select": 1,
          "g": 255,
          "max_brightness": 100,
          "min_brightness": 20,
          "mode": "blink",
          "name": "identification_okay",
          "r": 0,
          "speed": 2000,
          "total_ms": 1000
        },
        {
          "b": 0,
          "color_select": 1,
          "g": 165,
          "max_brightness": 100,
          "min_brightness": 20,
          "mode": "blink",
          "name": "identification_channel_change",
          "r": 255,
          "speed": 16000,
          "total_ms": 8000
        },
        {
          "mode": "restore",
          "name": "identification_finish_effect"
        },
        {
          "mode": "restore",
          "name": "identification_stop_effect"
        }
      ],
      "subtype": 0,
      "type": "ezc.product_common.indicator"
    },
    {
      "auto_trigger": true,
      "driver": {
        "input": 1000
      },
      "subtype": 2,
      "type": "ezc.product_common.factory_reset"
    }
  ],
  "test_mode": [
    {
      "subtype": 1,
      "type": "ezc.test_mode.common"
    },
    {
      "subtype": 1,
      "type": "ezc.test_mode.ble"
    },
    {
      "subtype": 1,
      "type": "ezc.test_mode.window_covering"
    }
  ]
}
huangxh
Posts: 99

Re: zerocode matter devices

this is a general panel. Since there is no official panel yet. Thank you!

Vamp
Posts: 34

Re: zerocode matter devices

It possible that support zerocode in the future?

Post Reply