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]: Air purifier with light capabilities #147

Open
cyrilhendriks opened this issue Aug 14, 2024 · 0 comments · Fixed by #249
Open

[Device request]: Air purifier with light capabilities #147

cyrilhendriks opened this issue Aug 14, 2024 · 0 comments · Fixed by #249
Labels
confirmed Indicates that there is an issue which has been confirmed device request Indicates a device request in progress Is already being worked on
Milestone

Comments

@cyrilhendriks
Copy link

cyrilhendriks commented Aug 14, 2024

Device information

https://www.bol.com/be/nl/p/smart-aroma-diffuser-luchtbevochtiger-met-bluetooth-en-wifi-vernevelaar-met-led-verlichting-werkt-met-google-home-500ml/9200000115945716/?s2a=

It's basically a purifier with light capabilities.
Purifier has three modes: off/ light/heavy
Light can be turned on/off, dimmed and you can select any color

Device specification

  {"device": {
    "active_time": 1723217568,
    "biz_type": 18,
    "category": "jsq",
    "create_time": 1723217568,
    "icon": "smart/icon/ay1525833075368tsInS/77f0736b8c453f712f88b6d048ee4fa6.png",
    "id": "bfd217364f46d91928ujwu",
    "ip": "<redacted>",
    "lat": "<redacted>",
    "local_key": "<redacted>",
    "lon": "<redacted>",
    "model": "",
    "name": "Smart diffuser",
    "online": true,
    "owner_id": "<redacted>",
    "product_id": "venoaj75waptukdf",
    "product_name": "Smart diffuser",
    "status": [
      {
        "code": "switch",
        "value": false
      },
      {
        "code": "switch_led",
        "value": false
      },
      {
        "code": "fault",
        "value": 1
      },
      {
        "code": "countdown_set",
        "value": "cancel"
      },
      {
        "code": "countdown_left",
        "value": 0
      },
      {
        "code": "mode",
        "value": "small"
      },
      {
        "code": "colour_data",
        "value": "000"
      },
      {
        "code": "work_mode",
        "value": "white"
      },
      {
        "code": "bright_value",
        "value": 255
      }
    ],
    "sub": false,
    "time_zone": "+02:00",
    "uid": "<redacted>",
    "update_time": 1723217570,
    "uuid": "<redacted>"
  },
  "specifications": {
    "category": "jsq",
    "functions": [
      {
        "code": "switch",
        "type": "Boolean",
        "values": "{}"
      },
      {
        "code": "switch_led",
        "type": "Boolean",
        "values": "{}"
      },
      {
        "code": "countdown_set",
        "type": "Enum",
        "values": "{\"range\":[\"cancel\",\"1h\",\"3h\",\"6h\"]}"
      },
      {
        "code": "mode",
        "type": "Enum",
        "values": "{\"range\":[\"small\",\"large\"]}"
      },
      {
        "code": "work_mode",
        "type": "Enum",
        "values": "{\"range\":[\"white\",\"colour\"]}"
      },
      {
        "code": "bright_value",
        "type": "Integer",
        "values": "{\"unit\":\"\",\"min\":0,\"max\":255,\"scale\":0,\"step\":1}"
      },
      {
        "code": "colour_data",
        "type": "Integer",
        "values": "{\"min\":0,\"unit\":\"\",\"scale\":0,\"max\":255,\"step\":1}"
      }
    ],
    "status": [
      {
        "code": "switch",
        "type": "Boolean",
        "values": "{}"
      },
      {
        "code": "switch_led",
        "type": "Boolean",
        "values": "{}"
      },
      {
        "code": "fault",
        "type": "Bitmap",
        "values": "{\"label\":[\"1\"]}"
      },
      {
        "code": "countdown_set",
        "type": "Enum",
        "values": "{\"range\":[\"cancel\",\"1h\",\"3h\",\"6h\"]}"
      },
      {
        "code": "countdown_left",
        "type": "Integer",
        "values": "{\"unit\":\"分钟\",\"min\":0,\"max\":360,\"scale\":0,\"step\":1}"
      },
      {
        "code": "mode",
        "type": "Enum",
        "values": "{\"range\":[\"small\",\"large\"]}"
      },
      {
        "code": "work_mode",
        "type": "Enum",
        "values": "{\"range\":[\"white\",\"colour\"]}"
      },
      {
        "code": "bright_value",
        "type": "Integer",
        "values": "{\"unit\":\"\",\"min\":0,\"max\":255,\"scale\":0,\"step\":1}"
      },
      {
        "code": "colour_data",
        "type": "Integer",
        "values": "{\"min\":0,\"unit\":\"\",\"scale\":0,\"max\":255,\"step\":1}"
      }
    ]
  }
@cyrilhendriks cyrilhendriks added the device request Indicates a device request label Aug 14, 2024
@bobvandevijver bobvandevijver mentioned this issue Aug 14, 2024
34 tasks
@bobvandevijver bobvandevijver added the confirmed Indicates that there is an issue which has been confirmed label Aug 14, 2024
@bobvandevijver bobvandevijver added this to the Release 1.5.0 milestone Sep 16, 2024
@bobvandevijver bobvandevijver linked a pull request Sep 23, 2024 that will close this issue
@bobvandevijver bobvandevijver added the in progress Is already being worked on label Sep 24, 2024
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 in progress Is already being worked on
Development

Successfully merging a pull request may close this issue.

2 participants