athombv / com.tuya

Tuya app for Homey
https://homey.app/a/com.tuya
17 stars 12 forks source link

[Device request]: Wifi door chime #155

Open SimonKai22 opened 2 months ago

SimonKai22 commented 2 months ago

Device information

https://edelstahl-tuerklingel.de/smarte-tuerklingel-weiterleitung-universal-set-mit-smartphone-app-alexa-kompatibel

https://edelstahl-tuerklingel.de/mediafiles/Sonstiges/Steinel/Betriebsanleitung/Betriebsanleitung.pdf

Device specification

```json { "device": ..., "specifications": ...} ```
bobvandevijver commented 2 months ago

Without the device specification there isn't anything we can do, so can you please retrieve it by adding your device as other/unknown?

SimonKai22 commented 2 months ago

Where can I find the device information? Can I find it in the Smart Life app?

bobvandevijver commented 2 months ago

From the issue template you saw when creating this issue:

The value will look like { "device": ..., "specifications": ... }

SimonKai22 commented 2 months ago

Thanks for the tip, unfortunately it doesn't say here. Is there another option?
IMG_4556

bobvandevijver commented 2 months ago

It's there, it just doesn't show everything in this view. Using https://my.homey.app generally works better.

SimonKai22 commented 2 months ago

Thank you very much. That worked:

{
  "device": {
    "active_time": 1695644116,
    "biz_type": 18,
    "category": "wxml",
    "create_time": 1695644116,
    "icon": "smart/icon/ay1513061730920i97zP/8fbc973129b051a2319d0e25d58e775e.png",
    "id": "bfef3967127d5f0123c3f7",
    "ip": "<redacted>",
    "lat": "<redacted>",
    "local_key": "<redacted>",
    "lon": "<redacted>",
    "model": "D1W-MET",
    "name": "Türklingel",
    "online": true,
    "owner_id": "<redacted>",
    "product_id": "bnjvn6prbxdr5nbe",
    "product_name": "Smart Doorbell",
    "status": [
      {
        "code": "doorbell_ring_value",
        "value": 8
      },
      {
        "code": "doorbell_volume_value",
        "value": 5
      },
      {
        "code": "switch_night_light",
        "value": false
      },
      {
        "code": "alarm_propel_switch",
        "value": true
      },
      {
        "code": "doorbell_call",
        "value": 1
      }
    ],
    "sub": false,
    "time_zone": "+02:00",
    "uid": "<redacted>",
    "update_time": 1723772854,
    "uuid": "<redacted>"
  },
  "specifications": {
    "category": "wxml",
    "functions": [
      {
        "code": "doorbell_ring_value",
        "type": "Integer",
        "values": "{\"unit\":\"\",\"min\":0,\"max\":32,\"scale\":0,\"step\":1}"
      },
      {
        "code": "doorbell_volume_value",
        "type": "Integer",
        "values": "{\"min\":0,\"max\":100,\"scale\":0,\"step\":1}"
      },
      {
        "code": "switch_night_light",
        "type": "Boolean",
        "values": "{}"
      },
      {
        "code": "alarm_propel_switch",
        "type": "Boolean",
        "values": "{}"
      }
    ],
    "status": [
      {
        "code": "doorbell_ring_value",
        "type": "Integer",
        "values": "{\"unit\":\"\",\"min\":0,\"max\":32,\"scale\":0,\"step\":1}"
      },
      {
        "code": "doorbell_volume_value",
        "type": "Integer",
        "values": "{\"min\":0,\"max\":100,\"scale\":0,\"step\":1}"
      },
      {
        "code": "switch_night_light",
        "type": "Boolean",
        "values": "{}"
      },
      {
        "code": "alarm_propel_switch",
        "type": "Boolean",
        "values": "{}"
      },
      {
        "code": "doorbell_call",
        "type": "Integer",
        "values": "{\"min\":1,\"max\":255,\"scale\":0,\"step\":1}"
      }
    ]
  }
}