tuya-local icon indicating copy to clipboard operation
tuya-local copied to clipboard

Request support for [Sirena Outdoor Strobe Siren WS-902 Plus(Wi-Fi)]

Open Drummingman opened this issue 1 year ago • 3 comments

Log Message

Device matches loratap_curtain_switch with quality of 14%. DPS: {"updated_at": 1716368756.03335, "1": "normal", "5": "low", "6": true, "7": 30, "14": "high", "16": true, "18": false}

Information about DPS mappings

Please paste the output here.
Product id bf983bcc6cde47e6f4twru
{
  "result": {
    "category": "sgbj",
    "functions": [
      {
        "code": "alarm_state",
        "dp_id": 1,
        "type": "Enum",
        "values": "{\"range\":[\"alarm_sound\",\"alarm_light\",\"alarm_sound_light\",\"normal\"]}"
      },
      {
        "code": "alarm_volume",
        "dp_id": 5,
        "type": "Enum",
        "values": "{\"range\":[\"low\",\"middle\",\"high\",\"mute\"]}"
      },
      {
        "code": "alarm_time",
        "dp_id": 7,
        "type": "Integer",
        "values": "{\"unit\":\"min\",\"min\":1,\"max\":59,\"scale\":0,\"step\":1}"
      },
      {
        "code": "muffling",
        "dp_id": 16,
        "type": "Boolean",
        "values": "{}"
      }
    ],
    "status": [
      {
        "code": "alarm_state",
        "dp_id": 1,
        "type": "Enum",
        "values": "{\"range\":[\"alarm_sound\",\"alarm_light\",\"alarm_sound_light\",\"normal\"]}"
      },
      {
        "code": "alarm_volume",
        "dp_id": 5,
        "type": "Enum",
        "values": "{\"range\":[\"low\",\"middle\",\"high\",\"mute\"]}"
      },
      {
        "code": "charge_state",
        "dp_id": 6,
        "type": "Boolean",
        "values": "{}"
      },
      {
        "code": "alarm_time",
        "dp_id": 7,
        "type": "Integer",
        "values": "{\"unit\":\"min\",\"min\":1,\"max\":59,\"scale\":0,\"step\":1}"
      },
      {
        "code": "battery_state",
        "dp_id": 14,
        "type": "Enum",
        "values": "{\"range\":[\"low\",\"middle\",\"high\"]}"
      },
      {
        "code": "muffling",
        "dp_id": 16,
        "type": "Boolean",
        "values": "{}"
      },
      {
        "code": "temper_alarm",
        "dp_id": 18,
        "type": "Boolean",
        "values": "{}"
      }
    ]
  },
  "success": true,


<!--
If you do not have access to iot.tuya.com, please try to identify as
many DPs as possible, by experimenting with your device.  Please also
note any ranges and scale factors for input numbers, and possible
values and their meanings for any input strings (enums).
-->



# Product ID

<!--
If you have access to the IoT portal, please paste just the product_id
line from API Explorer: "Devices Management" / "Query Device Details in Bulk".
You will also find the local_key in here, please take care not to post that
publicly.  If you do, then re-pairing the device with the mobile app will
refresh the local key.

Alternatively, tools that do local discovery, such as tinytuya, may be able
to show the product id without needing access to the developer portal.

Although this information is optional and not required, it will be
used in future to identify matching devices.
-->


# Information about how the device functions

<!--
If there is a manual or other explanation available online, please
link to it (even if not in English) Otherwise if it is not obvious
what all the functions do, please give a brief description.
-->

Drummingman avatar May 15 '24 18:05 Drummingman

Hi could you tell me when this will be planned and added to the config? This is the first time i have made a request Regards Mark

Drummingman avatar May 22 '24 07:05 Drummingman

It won't, as you didn't include logs.

make-all avatar May 22 '24 08:05 make-all

OK I have tried to edit but it does not let me add to log message so i have pasted it below. This what i get when trying to add device but i guess thats because its not supported yet only gives me this option to add but it is a alarm siren This error originated from a custom integration.

Logger: custom_components.tuya_local.helpers.device_config Source: custom_components/tuya_local/helpers/device_config.py:987 integration: Tuya Local (documentation, issues) First occurred: 11:05:56 (1 occurrences) Last logged: 11:05:56

Parse error in WS-902(Wi-Fi)_outdoor_siren.yaml This error originated from a custom integration.

Logger: custom_components.tuya_local.config_flow Source: custom_components/tuya_local/config_flow.py:103 integration: Tuya Local (documentation, issues) First occurred: 11:05:59 (1 occurrences) Last logged: 11:05:59

Report this to https://github.com/make-all/tuya-local/issues/ This error originated from a custom integration.

Logger: custom_components.tuya_local.config_flow Source: custom_components/tuya_local/config_flow.py:97 integration: Tuya Local (documentation, issues) First occurred: 11:05:59 (1 occurrences) Last logged: 11:05:59

Device matches loratap_curtain_switch with quality of 14%. DPS: {"updated_at": 1716368756.03335, "1": "normal", "5": "low", "6": true, "7": 30, "14": "high", "16": true, "18": false}

Drummingman avatar May 22 '24 09:05 Drummingman