Tuya - Jya Fjord Air Purifier status entities

Hi,

Via the Tuya - Home Assistant (home-assistant.io) integration, I’ve been able to add my Jya Fjord Air Purifier to my Home Assistant integrations.

It’s exposing the below 5 entities to Home Assistant:

If I query the Get Device Specification Attribute from the Tuya IoT Platform portal, I see the following attributes:

"functions": [
      {
        "code": "switch",
        "dp_id": 1,
        "type": "Boolean",
        "values": "{}"
      },
      {
        "code": "mode",
        "dp_id": 3,
        "type": "Enum",
        "values": "{\"range\":[\"auto\",\"manual\",\"strong\",\"sleep\"]}"
      },
      {
        "code": "lock",
        "dp_id": 7,
        "type": "Boolean",
        "values": "{}"
      },
      {
        "code": "uv",
        "dp_id": 9,
        "type": "Boolean",
        "values": "{}"
      },
      {
        "code": "filter_reset",
        "dp_id": 11,
        "type": "Boolean",
        "values": "{}"
      }
    ],
    "status": [
      {
        "code": "switch",
        "dp_id": 1,
        "type": "Boolean",
        "values": "{}"
      },
      {
        "code": "pm25",
        "dp_id": 2,
        "type": "Integer",
        "values": "{\"unit\":\"ug/m3\",\"min\":0,\"max\":600,\"scale\":0}"
      },
      {
        "code": "mode",
        "dp_id": 3,
        "type": "Enum",
        "values": "{\"range\":[\"auto\",\"manual\",\"strong\",\"sleep\"]}"
      },
      {
        "code": "filter",
        "dp_id": 5,
        "type": "Integer",
        "values": "{\"unit\":\"%\",\"min\":0,\"max\":100,\"scale\":0,\"step\":1}"
      },
      {
        "code": "lock",
        "dp_id": 7,
        "type": "Boolean",
        "values": "{}"
      },
      {
        "code": "uv",
        "dp_id": 9,
        "type": "Boolean",
        "values": "{}"
      },
      {
        "code": "filter_reset",
        "dp_id": 11,
        "type": "Boolean",
        "values": "{}"
      },
      {
        "code": "temp",
        "dp_id": 12,
        "type": "Integer",
        "values": "{\"unit\":\"℃\",\"min\":-40,\"max\":125,\"scale\":0,\"step\":1}"
      },
      {
        "code": "humidity",
        "dp_id": 13,
        "type": "Integer",
        "values": "{\"unit\":\"%RH\",\"min\":0,\"max\":100,\"scale\":0,\"step\":1}"
      },
      {
        "code": "tvoc",
        "dp_id": 14,
        "type": "Integer",
        "values": "{\"unit\":\"\",\"min\":0,\"max\":500,\"scale\":0,\"step\":1}"
      },
      {
        "code": "filter_days",
        "dp_id": 16,
        "type": "Integer",
        "values": "{\"unit\":\"day\",\"min\":0,\"max\":1000,\"scale\":0,\"step\":1}"
      },
      {
        "code": "total_time",
        "dp_id": 17,
        "type": "Integer",
        "values": "{\"unit\":\"min\",\"min\":0,\"max\":5256000,\"scale\":0,\"step\":1}"
      },
      {
        "code": "air_quality",
        "dp_id": 21,
        "type": "Enum",
        "values": "{\"range\":[\"great\",\"mild\",\"good\",\"medium\",\"severe\"]}"
      }
    ]
  },

If I look under State in Developer Tools, all I can find connected to this air purifier is the following:


So it seems like I’m getting everything from inside of the "functions": [] block, but nothing from the "status": [] block.

With that context, the question here would be; How would I go on about retreiving the information from the "status": [] block to my Home Assistant?

I should perhaps also mention that I’m completely new to Home Assistant/Tuya (and its IoT Platform), and perhaps I’m missing something obvious here. It might perhaps be as easy as me looking in the wrong place. :grinning_face_with_smiling_eyes:

1 Like

Does anyone have any input? :slightly_smiling_face:

FYI, same model but works in different platfrom, not sure if this will help tho

while I am stumbling upon this I have integrated my 2 Fjords via the HomeKit integration. Not totally happy but it works