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

[Device request]: Vibration Sensor #233

Open
feeloor opened this issue Sep 16, 2024 · 0 comments · Fixed by #259
Open

[Device request]: Vibration Sensor #233

feeloor opened this issue Sep 16, 2024 · 0 comments · Fixed by #259
Labels
confirmed Indicates that there is an issue which has been confirmed device request Indicates a device request
Milestone

Comments

@feeloor
Copy link

feeloor commented Sep 16, 2024

Device information

Vibration sensor, not completely sure which one it is, but it looks just like this one:

https://vi.aliexpress.com/item/1005006907529059.html?spm=a2g0o.productlist.main.7.24966a71NxOKQd&algo_pvid=1bd213e6-afa0-41bc-af10-00f7c3bd1803&algo_exp_id=1bd213e6-afa0-41bc-af10-00f7c3bd1803-3&pdp_npi=4%40dis%21SEK%21242.81%21121.40%21%21%21164.34%2182.17%21%40211b8f9a17264953467004662e98cc%2112000038678647718%21sea%21SE%21894806254%21X&curPageLogUid=BLnBrQGl0SEW&utparam-url=scene%3Asearch%7Cquery_from%3A

Device specification

{
  "device": {
    "active_time": 1724700240,
    "biz_type": 0,
    "category": "zd",
    "create_time": 1724410500,
    "icon": "smart/icon/ay1576116878587LZIVo/7ff3f556d76980ac3c197b62ffcc742b.png",
    "id": "bf77974f98a56a0567ptsa",
    "ip": "<redacted>",
    "lat": "<redacted>",
    "local_key": "<redacted>",
    "lon": "<redacted>",
    "model": "vibrate",
    "name": "Postlåda",
    "online": true,
    "owner_id": "<redacted>",
    "product_id": "koxpjd1znlbdacnf",
    "product_name": "震动传感器",
    "status": [
      {
        "code": "shock_state",
        "value": "normal"
      },
      {
        "code": "battery_state",
        "value": "high"
      },
      {
        "code": "battery_percentage",
        "value": 100
      },
      {
        "code": "sensitivity",
        "value": 7
      }
    ],
    "sub": false,
    "time_zone": "+02:00",
    "uid": "<redacted>",
    "update_time": 1726291318,
    "uuid": "<redacted>"
  },
  "specifications": {
    "category": "zd",
    "functions": [
      {
        "code": "sensitivity",
        "type": "Integer",
        "values": "{\"unit\":\"\",\"min\":0,\"max\":9,\"scale\":0,\"step\":1}"
      }
    ],
    "status": [
      {
        "code": "shock_state",
        "type": "Enum",
        "values": "{\"range\":[\"normal\",\"vibration\",\"drop\"]}"
      },
      {
        "code": "battery_state",
        "type": "Enum",
        "values": "{\"range\":[\"low\",\"middle\",\"high\"]}"
      },
      {
        "code": "battery_percentage",
        "type": "Integer",
        "values": "{\"unit\":\"%\",\"min\":0,\"max\":100,\"scale\":0,\"step\":1}"
      },
      {
        "code": "sensitivity",
        "type": "Integer",
        "values": "{\"unit\":\"\",\"min\":0,\"max\":9,\"scale\":0,\"step\":1}"
      }
    ]
  },
  "data_points": "<not available>"
}
@feeloor feeloor added the device request Indicates a device request label Sep 16, 2024
@bobvandevijver bobvandevijver mentioned this issue Sep 16, 2024
34 tasks
@bobvandevijver bobvandevijver added the confirmed Indicates that there is an issue which has been confirmed label Sep 16, 2024
@bobvandevijver bobvandevijver added this to the Release 1.5.0 milestone Sep 24, 2024
@bobvandevijver bobvandevijver linked a pull request Oct 7, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
confirmed Indicates that there is an issue which has been confirmed device request Indicates a device request
Development

Successfully merging a pull request may close this issue.

2 participants