{"id":16241697,"url":"https://github.com/getlarge/node-red-device","last_synced_at":"2026-02-09T11:31:28.409Z","repository":{"id":42332480,"uuid":"201980809","full_name":"getlarge/node-red-device","owner":"getlarge","description":"Node-red running locally, used as a base to create a device using Aloes Light protocol","archived":false,"fork":false,"pushed_at":"2023-01-06T02:04:58.000Z","size":1952,"stargazers_count":0,"open_issues_count":17,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-02T13:11:50.327Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/getlarge.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-08-12T17:48:33.000Z","updated_at":"2020-05-17T16:24:57.000Z","dependencies_parsed_at":"2023-02-05T02:15:48.595Z","dependency_job_id":null,"html_url":"https://github.com/getlarge/node-red-device","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/getlarge/node-red-device","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/getlarge%2Fnode-red-device","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/getlarge%2Fnode-red-device/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/getlarge%2Fnode-red-device/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/getlarge%2Fnode-red-device/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/getlarge","download_url":"https://codeload.github.com/getlarge/node-red-device/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/getlarge%2Fnode-red-device/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264506989,"owners_count":23619116,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-10T14:08:21.740Z","updated_at":"2026-02-09T11:31:28.354Z","avatar_url":"https://github.com/getlarge.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# node-red-device\n\nNode-RED project running in local mode, acting as [Aloes-light](https://framagit.org/aloes/aloes-light-handlers) device and served by Express\n\n## Settings\n\nNODE_RED_USERNAME : used for dashboard HTTP basic auth ( optional )\nNODE_RED_USERPASS : used for dashboard HTTP basic auth ( optional )\nNODE_RED_HTTP_AUTH : false/true, used to activate dashboard HTTP basic auth\nNODE_RED_CREDENTIAL_SECRET : used to save node-red flow credentials ( optional )\nNODE_RED_SESSION_SECRET : used for express session\nNODE_RED_STORE_TYPE : used to select default storage method ( can be \"memoryOnly\" or \"file\" )\nALOES_HTTP_HOST : Aloes HTTP server host\nALOES_HTTP_PORT : Aloes HTTP server port\nALOES_HTTP_SECURE : empty or true Aloes HTTP/HTTPS\nALOES_MQTT_HOST : Aloes MQTT / WS server host\nALOES_MQTT_PORT : Aloes MQTT / WS server port\nALOES_MQTT_SECURE : empty or true Aloes MQTT/MQTTS\nALOES_USER_EMAIL : username to log on Node-red admin interface\nALOES_USER_PASSWORD : password to log on Node-red admin interface\nDEVICE_DEVEUI : Device EUI used for registration\nDEVICE_ID : Device id generated by Aloes\nDEVICE_APPKEY : Device API key generated by Aloes\nDEVICE_TYPE : Device type used for registration ( optional )\nDEVICE_NAME: Device name used for registration\nDEVICE_IN_PREFIX=-in\nDEVICE_OUT_PREFIX=-out\nDEVICE_IN_TOPIC : Used to receive aloes events ${DEVICE_DEVEUI}${DEVICE_IN_PREFIX}/#\n\n## Usage\n\n```\ngit clone https://github.com/getlarge/node-red-device.git\nnpm install\nnpm start\n```\n\nWhen running multiple instances in parallel, you can specify a port:\n\n```\nnpm start -- -p 1885\n```\n\nTo run a specific flow file:\n\n```\nnpm start -- testFlow.json\n```\n\nTo run via Express ( create .env file first ):\n\n```\nnpm run start:dev\n```\n\n## Starting with PM2\n\n```\nnpm install -g pm2\n```\n\nEdit ecosystem.config.js, then\n\n```\nnpm run deploy:local\n```\n\nIf you want autorestart\n\n```\npm2 startup\npm2 save\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgetlarge%2Fnode-red-device","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgetlarge%2Fnode-red-device","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgetlarge%2Fnode-red-device/lists"}