Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Request support for Brilliant Smart Security Motion Lights #2672

Open
rackxp opened this issue Dec 21, 2024 · 1 comment
Open

Request support for Brilliant Smart Security Motion Lights #2672

rackxp opened this issue Dec 21, 2024 · 1 comment
Labels
awaiting confirmation Wating for confirmation the issue is solved new device Unsupported device unreleased Will be in next release

Comments

@rackxp
Copy link

rackxp commented Dec 21, 2024

Log message

Device matches af3w_petfeeder with quality of 62%. DPS: {"updated_at": 1734739433.6908798, "101": 255, "102": 10, "103": 300, "104": "1", "105": 1, "106": "1", "107": true, "108": false}

Product ID

WdI9bsgv2MKAhzxe

Product Name

Brilliant 22W Frontier Smart LED Twin Flood Light With Sensor

DPS information

{
  "result": {
    "model": "{\"modelId\":\"0000001902\",\"services\":[{\"actions\":[],\"code\":\"\",\"description\":\"\",\"events\":[],\"name\":\"默认服务\",\"properties\":[
{\"abilityId\":101,\"accessMode\":\"rw\",\"code\":\"SetBright\",\"description\":\"亮度设置\",\"name\":\"Brightness\",\"typeSpec\":{\"type\":\"value\",\"max\":255,\"min\":25,\"scale\":0,\"step\":1,\"unit\":\"\"}},
{\"abilityId\":102,\"accessMode\":\"rw\",\"code\":\"SetLux\",\"description\":\"设置产品白天黑夜转换的lux值\",\"name\":\"Lux\",\"typeSpec\":{\"type\":\"value\",\"max\":2000,\"min\":0,\"scale\":0,\"step\":1,\"unit\":\"\"}},
{\"abilityId\":103,\"accessMode\":\"rw\",\"code\":\"SetTime\",\"description\":\"设置感应时间,从10秒到600秒\",\"name\":\"Duration\",\"typeSpec\":{\"type\":\"value\",\"max\":600,\"min\":10,\"scale\":0,\"step\":1,\"unit\":\"s\"}},
{\"abilityId\":104,\"accessMode\":\"rw\",\"code\":\"SetMode\",\"description\":\"设置感应器状态,0:自动;1:Override;2:Flash\",\"name\":\"Mode\",\"typeSpec\":{\"type\":\"enum\",\"range\":[\"0\",\"1\",\"2\"]}},
{\"abilityId\":105,\"accessMode\":\"rw\",\"code\":\"SetCct\",\"description\":\"设置设备的色温\",\"name\":\"Color Temp\",\"typeSpec\":{\"type\":\"value\",\"max\":255,\"min\":0,\"scale\":0,\"step\":1,\"unit\":\"\"}},
{\"abilityId\":106,\"accessMode\":\"rw\",\"code\":\"SetSens\",\"description\":\"设置灵敏度0:低:1:中;2:高\",\"name\":\"Sens\",\"typeSpec\":{\"type\":\"enum\",\"range\":[\"0\",\"1\",\"2\"]}},
{\"abilityId\":107,\"accessMode\":\"rw\",\"code\":\"SetOnOff\",\"description\":\"设置亮灭灯\",\"extensions\":{\"attribute\":\"17\"},\"name\":\"OnOff\",\"typeSpec\":{\"type\":\"bool\"}},
{\"abilityId\":108,\"accessMode\":\"ro\",\"code\":\"PIR\",\"description\":\"PIR感应状态上报\",\"extensions\":{\"trigger\":\"direct\"},\"name\":\"Person Detected\",\"typeSpec\":{\"type\":\"bool\"}}]}]}"
  },
  "success": true,
  "t": 1734740912169,
  "tid": "81f15400bf3211efaf84fe4c51833753"
}

Information about how the device functions

Is a sensor light with colour control for lights.

Some infoimation on this is below for configuration in Tuya Local

https://community.home-assistant.io/t/australia-electrically-certified-hardware/32074/5075?u=rackxp

@rackxp rackxp added the new device Unsupported device label Dec 21, 2024
@rackxp rackxp changed the title Request support for Brillant Smart Security Motion Lights Request support for Brilliant Smart Security Motion Lights Dec 21, 2024
@make-all make-all moved this to 🔖 Ready in Tuya Local Dec 21, 2024
@make-all make-all added the full_info All info needed was provided label Dec 21, 2024
@rackxp
Copy link
Author

rackxp commented Dec 22, 2024

I have tried to modify the exisiting motion light template to work with this light but not sure how to test?

`name: Motion Sensor Light
products:

  • id: WdI9bsgv2MKAhzxe
    name: Brilliant 22W Frontier Smart LED Twin Flood Light With Sensor
    primary_entity:
    entity: light
    dps:
    • id: 104
      type: string
      name: effect
      mapping:
      • dps_val: mode_off
        value: off
      • dps_val: mode_au
        value: auto
      • dps_val: mode_on
        value: on
    • id: 101
      name: brightness
      type: integer
      range:
      min: 0
      max: 255
    • id: 23
      name: color_temp
      type: integer
      range:
      min: 0
      max: 1000
      mapping:
      • target_range:
        min: 3000
        max: 6000
    • id: 107
      type: boolean
      name: switch
      readonly: true
      secondary_entities:
  • entity: switch
    name: Auto mode
    icon: "mdi:motion-sensor"
    dps:
    • id: 104
      type: string
      name: switch
      mapping:
      • dps_val: mode_auto
        value: true
      • dps_val: mode_on
        constraint: relay
        conditions:
        • dps_val: true
          value: false
      • dps_val: mode_off
        constraint: relay
        conditions:
        • dps_val: false
          value: false
  • entity: select
    name: Sensitivity
    icon: "mdi:human-greeting-proximity"
    category: config
    dps:
    • id: 106
      name: option
      type: string
      mapping:
      • dps_val: “0”
        value: "Low"
      • dps_val: “1”
        value: "Medium"
      • dps_val: “2”
        value: "High"
  • entity: number
    name: Duration
    icon: "mdi:camera-timer"
    category: config
    dps:
    • id: 103
      type: integer
      name: value
      unit: s
      range:
      min: 10
      max: 600
      mapping:
      • step: 11
  • entity: number
    name: Light level
    icon: "mdi:theme-light-dark"
    category: config
    class: illuminance
    dps:
    • id: 102
      type: integer
      name: value
      unit: lx
      range:
      min: 0
      max: 2000
      mapping:
      • invert: true`

@make-all make-all added awaiting confirmation Wating for confirmation the issue is solved unreleased Will be in next release and removed full_info All info needed was provided labels Jan 12, 2025
@make-all make-all moved this from 🔖 Ready to ✅ Done in Tuya Local Jan 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
awaiting confirmation Wating for confirmation the issue is solved new device Unsupported device unreleased Will be in next release
Projects
Status: ✅ Done
Development

No branches or pull requests

2 participants