{
  "id": "arlec/pc191ha",
  "vendor": "Arlec",
  "model": "PC191HA",
  "category": "smart-plug",
  "identifiers": {
    "chips": [
      "BK7231N",
      "CB2S",
      "BK7231T",
      "WB2S",
      "ESP8266"
    ],
    "sku": [
      "tuya:auojpnb4hpc13ftb"
    ]
  },
  "status": "open-firmware",
  "summary": "Advanced energy monitoring smartplug, controlled locally over the Tuya protocol by tuya-local (stock firmware, no cloud).",
  "projects": [
    {
      "name": "tuya-cloudcutter",
      "url": "https://github.com/tuya-cloudcutter/tuya-cloudcutter.github.io/blob/master/devices/arlec-pc191ha-smart-plug-bk7231n-v1.1.8.json",
      "kind": "tool",
      "license": "MIT"
    },
    {
      "name": "tuya-cloudcutter",
      "url": "https://github.com/tuya-cloudcutter/tuya-cloudcutter.github.io/blob/master/devices/arlec-pc191ha-smart-plug-bk7231t-v1.3.5.json",
      "kind": "tool",
      "license": "MIT"
    },
    {
      "name": "Tasmota",
      "url": "https://templates.blakadder.com/arlec_PC191HA.html",
      "kind": "firmware",
      "license": "GPL-3.0"
    },
    {
      "name": "tuya-local",
      "url": "https://github.com/make-all/tuya-local/blob/main/custom_components/tuya_local/devices/smartplugv2_energy.yaml",
      "kind": "integration",
      "license": "MIT"
    }
  ],
  "install": [
    {
      "project": "tuya-cloudcutter",
      "method": "ota-exploit",
      "guide": "https://github.com/tuya-cloudcutter/tuya-cloudcutter/blob/main/INSTRUCTIONS.md",
      "installer": "https://github.com/tuya-cloudcutter/tuya-cloudcutter",
      "difficulty": "medium",
      "tools": [
        "Linux computer (not a VM) with Docker",
        "Spare Wi-Fi adapter that supports AP mode"
      ],
      "opens_device": false,
      "firmware_constraints": "Works only with the Tuya firmware cloudcutter lists for this device: 1.1.8 (SDK 2.3.1-40.00), 1.3.5 (SDK 1.0.2-40.00). Check the \"Main Module\" version in the Tuya or Smart Life app and do not update the device first. Firmware built on Tuya's patched SDK (from February 2022) cannot be flashed over the air: serial flashing is the alternative.",
      "notes": "Command line. The device can no longer use the Tuya apps or cloud afterwards."
    },
    {
      "project": "Tasmota",
      "guide": "https://templates.blakadder.com/arlec_PC191HA.html",
      "difficulty": "hard",
      "opens_device": true,
      "mains_powered": true,
      "notes": "Mains-powered: unplug before opening; for experienced users only. The stock Wi-Fi module is not ESP-based: it must be desoldered and replaced with an ESP module before flashing.",
      "method": "other",
      "tools": [
        "Soldering iron",
        "Replacement ESP module (e.g. ESP-12F)"
      ],
      "brick_risk": "medium",
      "reversible": "partial"
    },
    {
      "project": "tuya-local",
      "method": "host-software",
      "guide": "https://github.com/make-all/tuya-local",
      "difficulty": "medium",
      "tools": [
        "Home Assistant (tuya-local is installed through HACS)",
        "Tuya / Smart Life app account (to get the device's local key)"
      ],
      "brick_risk": "none",
      "reversible": "yes",
      "notes": "No flashing: set the device up in the Tuya or Smart Life app first; tuya-local then controls it on your network with its device id and local key. Re-pairing in the app changes the local key."
    }
  ],
  "provenance": {
    "sources": [
      "cloudcutter",
      "tasmota",
      "tuya-local"
    ]
  },
  "updated": "2026-10-17",
  "aliases": [
    "Arlec PC191HA Smart Plug BK7231N",
    "Arlec PC191HA Smart Plug BK7231T",
    "Arlec Plug In Socket"
  ],
  "interfaces": [],
  "claims": [],
  "verification": []
}