{"id":18613,"library":"node-red-contrib-v2-test","title":"node-red-contrib-ewelink-cube","description":"Node-RED nodes to control eWeLink Cube devices. This package provides nodes for integrating eWeLink Cube smart home controllers with Node-RED, enabling automation of eWeLink-compatible devices. The current version is 0.0.1, and it is in early development. It differs from generic eWeLink Node-RED packages by specifically targeting the Cube hardware offering dedicated nodes for its commands and events. Release cadence is uncertain due to pre-release status. Requires Node-RED as a runtime environment.","status":"active","version":"0.0.1","language":"javascript","source_language":"en","source_url":null,"tags":["javascript","node-red"],"install":[{"cmd":"npm install node-red-contrib-v2-test","lang":"bash","label":"npm"},{"cmd":"yarn add node-red-contrib-v2-test","lang":"bash","label":"yarn"},{"cmd":"pnpm add node-red-contrib-v2-test","lang":"bash","label":"pnpm"}],"dependencies":[{"reason":"Runtime dependency for Node-RED node execution.","package":"node-red","optional":false}],"imports":[{"note":"Node-RED nodes are CommonJS modules; ESM import is not supported.","wrong":"import nodes from 'node-red-contrib-ewelink-cube';","symbol":"all","correct":"const nodes = require('node-red-contrib-ewelink-cube');"},{"note":"Nodes are auto-loaded by Node-RED; explicit import not needed.","symbol":"nodes","correct":"// No direct import; nodes are registered via package.json's 'node-red' field"},{"note":"No exported configuration object; configure via Node-RED UI.","symbol":"config","correct":"// Use Node-RED's global config or env variables"}],"quickstart":{"code":"// Install in Node-RED user directory\ncd ~/.node-red\nnpm install node-red-contrib-ewelink-cube\n\n// Then restart Node-RED and find the nodes in the palette.\n// Example flow (JSON): flow.example.json is not provided; manual creation via editor.","lang":"javascript","description":"Shows installation steps and activation of the nodes in Node-RED."},"warnings":[{"fix":"Lock version to 0.0.1 and monitor for updates.","message":"Unstable API: nodes and their properties may change without notice in early development.","severity":"breaking","affected_versions":"0.0.1"},{"fix":"Verify hardware compatibility before installation.","message":"Requires eWeLink Cube hardware; cannot be used with other eWeLink hubs.","severity":"gotcha","affected_versions":"*"},{"fix":"Install Node-RED via npm install -g node-red and check Node.js version.","message":"Node-RED must be installed globally or locally; ensure Node.js version >=12.","severity":"gotcha","affected_versions":"*"}],"env_vars":null,"last_verified":"2026-04-25T00:00:00.000Z","next_check":"2026-07-24T00:00:00.000Z","problems":[{"fix":"Install in ~/.node-red directory using npm install node-red-contrib-ewelink-cube","cause":"Package not installed in the correct Node-RED user directory.","error":"Error: Cannot find module 'node-red-contrib-ewelink-cube'"},{"fix":"Check that the package is correctly installed and Node-RED was restarted.","cause":"The node might not be registered due to a missing or incorrect package.json.","error":"Error: Node not found: ewelink-cube"}],"ecosystem":"npm","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}