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]: Pet Water Fountain #269

Open
Armyof7 opened this issue Oct 8, 2024 · 0 comments
Open

[Device request]: Pet Water Fountain #269

Armyof7 opened this issue Oct 8, 2024 · 0 comments
Labels
confirmed Indicates that there is an issue which has been confirmed device request Indicates a device request

Comments

@Armyof7
Copy link

Armyof7 commented Oct 8, 2024

Device information

Pet hero 4, cat drink fountain
https://www.bol.com/nl/nl/p/pethero-1-drinkfontein-voor-kat-of-hond-fluisterstil-2-2-liter/9300000099283745/

Device specification

{
  "device": {
    "active_time": 1720367969,
    "biz_type": 0,
    "category": "cwysj",
    "create_time": 1696867009,
    "icon": "smart/icon/ay1537266087379ueEwg/612fb4d2bfcd1ef853c55416ec725a7a.png",
    "id": "bf44457adcf4dc03fbqh3a",
    "ip": "<redacted>",
    "lat": "<redacted>",
    "local_key": "<redacted>",
    "lon": "<redacted>",
    "model": "GN_PW01",
    "name": "Pet Water Fountain",
    "online": true,
    "owner_id": "<redacted>",
    "product_id": "5jdws4vgfzhkq7vs",
    "product_name": "Pet Water Fountain",
    "status": [
      {
        "code": "switch",
        "value": true
      },
      {
        "code": "pump_time",
        "value": 2
      },
      {
        "code": "filter_reset",
        "value": false
      },
      {
        "code": "pump_reset",
        "value": false
      },
      {
        "code": "filter_life",
        "value": 14
      },
      {
        "code": "bright_value",
        "value": 0
      },
      {
        "code": "uv",
        "value": false
      },
      {
        "code": "uv_runtime",
        "value": 2
      },
      {
        "code": "water_time",
        "value": 5
      },
      {
        "code": "water_reset",
        "value": false
      }
    ],
    "sub": false,
    "time_zone": "+02:00",
    "uid": "<redacted>",
    "update_time": 1728399684,
    "uuid": "<redacted>"
  },
  "specifications": {
    "category": "cwysj",
    "functions": [
      {
        "code": "switch",
        "type": "Boolean",
        "values": "{}"
      },
      {
        "code": "filter_reset",
        "type": "Boolean",
        "values": "{}"
      },
      {
        "code": "pump_reset",
        "type": "Boolean",
        "values": "{}"
      },
      {
        "code": "bright_value",
        "type": "Integer",
        "values": "{\"min\":0,\"max\":4,\"scale\":0,\"step\":1}"
      },
      {
        "code": "uv",
        "type": "Boolean",
        "values": "{}"
      },
      {
        "code": "uv_runtime",
        "type": "Integer",
        "values": "{\"unit\":\"min\",\"min\":0,\"max\":180,\"scale\":0,\"step\":1}"
      },
      {
        "code": "water_reset",
        "type": "Boolean",
        "values": "{}"
      }
    ],
    "status": [
      {
        "code": "switch",
        "type": "Boolean",
        "values": "{}"
      },
      {
        "code": "pump_time",
        "type": "Integer",
        "values": "{\"unit\":\"day\",\"min\":0,\"max\":31,\"scale\":0,\"step\":1}"
      },
      {
        "code": "filter_reset",
        "type": "Boolean",
        "values": "{}"
      },
      {
        "code": "pump_reset",
        "type": "Boolean",
        "values": "{}"
      },
      {
        "code": "filter_life",
        "type": "Integer",
        "values": "{\"unit\":\"day\",\"min\":0,\"max\":90,\"scale\":0,\"step\":1}"
      },
      {
        "code": "bright_value",
        "type": "Integer",
        "values": "{\"min\":0,\"max\":4,\"scale\":0,\"step\":1}"
      },
      {
        "code": "uv",
        "type": "Boolean",
        "values": "{}"
      },
      {
        "code": "uv_runtime",
        "type": "Integer",
        "values": "{\"unit\":\"min\",\"min\":0,\"max\":180,\"scale\":0,\"step\":1}"
      },
      {
        "code": "water_time",
        "type": "Integer",
        "values": "{\"unit\":\"day\",\"min\":0,\"max\":3000,\"scale\":0,\"step\":1}"
      },
      {
        "code": "water_reset",
        "type": "Boolean",
        "values": "{}"
      }
    ]
  },
  "data_points": [
    {
      "code": "switch",
      "custom_name": "",
      "dp_id": 1,
      "time": 1728210817591,
      "type": "bool",
      "value": true
    },
    {
      "code": "work_mode",
      "custom_name": "",
      "dp_id": 2,
      "time": 1728210817689,
      "type": "enum",
      "value": "normal"
    },
    {
      "code": "filter_days",
      "custom_name": "",
      "dp_id": 3,
      "time": 1728338394439,
      "type": "value",
      "value": 9
    },
    {
      "code": "pump_time",
      "custom_name": "",
      "dp_id": 4,
      "time": 1728338394460,
      "type": "value",
      "value": 2
    },
    {
      "code": "filter_reset",
      "custom_name": "",
      "dp_id": 5,
      "time": 1720368030334,
      "type": "bool",
      "value": false
    },
    {
      "code": "pump_reset",
      "custom_name": "",
      "dp_id": 6,
      "time": 1720368032791,
      "type": "bool",
      "value": false
    },
    {
      "code": "filter_life",
      "custom_name": "",
      "dp_id": 7,
      "time": 1728210817737,
      "type": "value",
      "value": 14
    },
    {
      "code": "time_clean",
      "custom_name": "",
      "dp_id": 8,
      "time": 1728210817758,
      "type": "value",
      "value": 7
    },
    {
      "code": "water_level",
      "custom_name": "",
      "dp_id": 9,
      "time": 1728210817783,
      "type": "enum",
      "value": "high"
    },
    {
      "code": "water_control",
      "custom_name": "",
      "dp_id": 11,
      "time": 1728210817799,
      "type": "enum",
      "value": "middle"
    },
    {
      "code": "bright_value",
      "custom_name": "",
      "dp_id": 12,
      "time": 1728210817999,
      "type": "value",
      "value": 0
    },
    {
      "code": "uv",
      "custom_name": "",
      "dp_id": 14,
      "time": 1728210817840,
      "type": "bool",
      "value": false
    },
    {
      "code": "uv_runtime",
      "custom_name": "",
      "dp_id": 15,
      "time": 1728210817859,
      "type": "value",
      "value": 2
    },
    {
      "code": "fault",
      "custom_name": "",
      "dp_id": 23,
      "time": 1728210817880,
      "type": "bitmap",
      "value": 0
    },
    {
      "code": "water_time",
      "custom_name": "",
      "dp_id": 24,
      "time": 1728338394491,
      "type": "value",
      "value": 5
    },
    {
      "code": "water_reset",
      "custom_name": "",
      "dp_id": 25,
      "time": 1696867009399,
      "type": "bool",
      "value": false
    }
  ]
}
@Armyof7 Armyof7 added the device request Indicates a device request label Oct 8, 2024
@bobvandevijver bobvandevijver mentioned this issue Oct 9, 2024
34 tasks
@bobvandevijver bobvandevijver added the confirmed Indicates that there is an issue which has been confirmed label Oct 9, 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
Development

No branches or pull requests

2 participants