{"id":19189998,"url":"https://github.com/ixoncloud/edge-app-node-red-influxdb-grafana","last_synced_at":"2026-06-24T09:33:00.084Z","repository":{"id":254136875,"uuid":"845572191","full_name":"ixoncloud/edge-app-node-red-influxdb-grafana","owner":"ixoncloud","description":"Edge App - Node-RED with InfluxDB and Grafana for local data visualization","archived":false,"fork":false,"pushed_at":"2025-05-21T09:16:08.000Z","size":1079,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-05-21T10:31:17.073Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://marketplace.ixon.cloud/en/apps/grafana-edge","language":"Python","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ixoncloud.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2024-08-21T14:02:48.000Z","updated_at":"2025-05-21T09:16:12.000Z","dependencies_parsed_at":"2024-08-21T17:11:58.272Z","dependency_job_id":"51b080d1-cd7f-441b-82d3-5bb0bf0af275","html_url":"https://github.com/ixoncloud/edge-app-node-red-influxdb-grafana","commit_stats":null,"previous_names":["ixoncloud/edge-app-node-red-influxdb-grafana"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ixoncloud/edge-app-node-red-influxdb-grafana","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ixoncloud%2Fedge-app-node-red-influxdb-grafana","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ixoncloud%2Fedge-app-node-red-influxdb-grafana/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ixoncloud%2Fedge-app-node-red-influxdb-grafana/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ixoncloud%2Fedge-app-node-red-influxdb-grafana/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ixoncloud","download_url":"https://codeload.github.com/ixoncloud/edge-app-node-red-influxdb-grafana/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ixoncloud%2Fedge-app-node-red-influxdb-grafana/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34724746,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-24T02:00:07.484Z","response_time":106,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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-11-09T11:32:33.805Z","updated_at":"2026-06-24T09:33:00.078Z","avatar_url":"https://github.com/ixoncloud.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Edge App - Node-RED with InfluxDB and Grafana for local data visualization\n\nThis project provides a comprehensive solution for collecting, storing, and visualizing data on the IXON SecureEdge Pro gateway. It leverages Node-RED for data collection and processing, InfluxDB for efficient time-series data storage, and Grafana for creating powerful visualizations. This setup allows for local data handling and visualization, reducing latency and enabling real-time monitoring and analysis of industrial processes directly on the edge gateway.\n\n## Local Development\n\ndocker-compose.yml in combination with configuration.env are provided for local development.\n\n## Application Overview\n\nThis application consists of three or four containers:\n\n1. InfluxDB: A time-series database to store the data.\n2. Node-RED: A flow-based development tool for visual programming.\n3. Grafana: A visualization tool for the data stored in InfluxDB.\n4. Download InfluxDB Backup (optional): A web interface to download the InfluxDB backup.\n\n**Note**\nDownloading the backup may take some time, especially if done remotely. To avoid potential connection timeouts, it is strongly recommended to perform the backup download directly near the SecureEdge Pro using a LAN connection, rather than through web access.\n\n## Steps to Deploy\n\n### Prerequisites\n\nEnsure your environment is properly set up by following this guide: [Running custom Docker applications on the SecureEdge Pro](https://support.ixon.cloud/hc/en-us/articles/14231117531420-Running-custom-Docker-applications-on-the-SecureEdge-Pro).\n\n### 1. Download and adjust to your SecureEdge Pro\n\nDownload the code of this project and change the IP address in the following files to the LAN IP address of your SecureEge Pro:\n\n- buildkitd-secure-edge-pro.toml\n- build_and_push_containers.sh\n- build_and_push_containers.cmd\n\n### 2. Build and Push the containers\n\nRun the `build_and_push_containers.sh` script to build and push the containers to the SecureEdge Pro:\n\nFor Unix-based systems:\n\n```bash\n./build_and_push_containers.sh\n```\n\nFor Windows:\n\n```cmd\nbuild_and_push_containers.cmd\n```\n\n### 3. Set Up the Containers on SecureEdge Pro\n\n- Access the local web interface of the SecureEdge Pro.\n\n#### InfluxDB\n\n- Create an `influxdb` container using the `influxdb` image with the following port mappings:\n\n  ```\n  Port Mapping: 8086:8086\n  ```\n\n- Create a volume with the following settings:\n\n  ```\n  Volume: influxdb-data -\u003e /var/lib/influxdb2\n  ```\n\n- Overwrite the default environment variables, for security overwrite at least:\n\n  ```\n  DOCKER_INFLUXDB_INIT_USERNAME\n  DOCKER_INFLUXDB_INIT_PASSWORD\n  DOCKER_INFLUXDB_INIT_ADMIN_TOKEN\n  ```\n\n- Start the container\n\nRefer to the screenshot for configuration details:\n\n![Create Container](influxdb/create_container.png)\n\n#### Node-RED\n\n- Create a `node-red-influxdb` container using the `node-red-influxdb` image with the following port mappings:\n\n  ```\n  Port Mapping: 1880:1880\n  ```\n\n- Create a volume with the following settings:\n\n  ```\n  Volume: node-red-data -\u003e /data\n  ```\n\n- Start the container\n\n- Refer to the screenshot for configuration details:\n  ![Create Container](node-red-influxdb/create_container.png)\n\n#### Access Node-RED Web Interface to configure the InfluxDB connection\n\n- In IXON Cloud, create an HTTP Web Server to easily access the Node-RED web interface on the SecureEdge Pro.\n\n- Refer to the screenshot for configuration details:  \n  ![HTTP Server](node-red-influxdb/http_server_node_red.png)\n\n- You can now access the Node-RED web interface on the SecureEdge Pro via the HTTP Web Server you created in IXON Cloud.\n\n- Configure the InfluxDB out node in Node-RED by adding the DOCKER_INFLUXDB_INIT_ADMIN_TOKEN value as this can not be auto populated:\n\n- Refer to the screenshot for configuration details:  \n  ![InfluxDB Out Node 1](node-red-influxdb/setup_influxdb_out_node_1.png) \u0026 ![InfluxDB out Node 2](node-red-influxdb/setup_influxdb_out_node_2.png)\n\n- Click on Update and Deploy to save the changes.\n\n#### Grafana\n\n- Create a `grafana` container using the `grafana` image with the following port mappings:\n\n  ```\n  Port Mapping: 3000:3000\n  ```\n\n- Create a volume with the following settings:\n\n  ```\n  Volume: grafana-data -\u003e /var/lib/grafana\n  ```\n\n- Overwrite the default environment variables, for security overwrite at least:\n\n  ```\n  GF_SECURITY_ADMIN_USER\n  GF_SECURITY_ADMIN_PASSWORD\n  DOCKER_INFLUXDB_INIT_ADMIN_TOKEN\n  ```\n\n  if you have changed any of your influxdb variables you also have to overwrite the following:\n\n  ```\n    DOCKER_INFLUXDB_INIT_ORG\n    DOCKER_INFLUXDB_INIT_BUCKET\n  ```\n\n- Start the container\n\nRefer to the screenshot for configuration details:\n\n![Create Container](grafana/create_container.png)\n\n#### Access Grafana Web Interface\n\n- In IXON Cloud, create an HTTP Web Server to easily access the Grafana web interface on the SecureEdge Pro.\n\n- By adding a landing page and username and password you can automatically open a dashboard\n\n- Refer to the screenshot for configuration details:  \n  ![HTTP Server](grafana/http_server_grafana.png)\n\n- You can now access the Grafana web interface on the SecureEdge Pro via the HTTP Web Server you created in IXON Cloud.\n\n#### Download InfluxDB backup (optional)\n\n- Create a `download-influxdb-backup` container using the `download-influxdb-backup` image with the following port mappings:\n\n  ```\n  Port\n  Mapping: 80:3001\n  ```\n\n- Create a volume with the following settings:\n\n  ```\n  Volume: influxdb-data -\u003e /var/lib/influxdb2\n  ```\n\n- Overwrite the default environment variables, for security overwrite at least:\n\n  ```\n  DOCKER_INFLUXDB_INIT_ADMIN_TOKEN\n  ```\n\n- Start the container\n\n- Refer to the screenshot for configuration details:\n  ![Create Container](download-influxdb-backup/create_container.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fixoncloud%2Fedge-app-node-red-influxdb-grafana","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fixoncloud%2Fedge-app-node-red-influxdb-grafana","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fixoncloud%2Fedge-app-node-red-influxdb-grafana/lists"}