diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json new file mode 100644 index 0000000..abd69b1 --- /dev/null +++ b/.devcontainer/devcontainer.json @@ -0,0 +1,18 @@ +{ + "image": "mcr.microsoft.com/devcontainers/typescript-node:22", + "name": "xiaomi-miio", + "features": { + "ghcr.io/devcontainers-extra/features/claude-code:1": {} + }, + "postCreateCommand": "npm install", + "forwardPorts": [54321], + "portsAttributes": { + "54321": { + "label": "miIO (UDP 54321)", + "onAutoForward": "silent" + } + }, + "hostRequirements": { + "cpus": 2 + } +} \ No newline at end of file