{"id":47323621,"url":"https://github.com/anedyaio/anedya-streamlit-dashboard-example","last_synced_at":"2026-03-17T18:35:31.314Z","repository":{"id":242875337,"uuid":"810697597","full_name":"anedyaio/anedya-streamlit-dashboard-example","owner":"anedyaio","description":"An example dashboard developed in streamlit.","archived":false,"fork":false,"pushed_at":"2025-01-07T14:07:46.000Z","size":1158,"stargazers_count":4,"open_issues_count":0,"forks_count":6,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-01-07T15:20:46.635Z","etag":null,"topics":["anedya","anedya-example","anedya-iot-dashboard","streamlit","streamlit-dashboard"],"latest_commit_sha":null,"homepage":"https://anedya.io","language":"Python","has_issues":true,"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/anedyaio.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-06-05T07:38:29.000Z","updated_at":"2024-12-25T07:22:16.000Z","dependencies_parsed_at":"2024-07-10T16:44:23.624Z","dependency_job_id":"7640ac5c-99e3-41a5-bbcc-fc16f8a8360d","html_url":"https://github.com/anedyaio/anedya-streamlit-dashboard-example","commit_stats":null,"previous_names":["anedyaio/anedya-streamlit-dashboard-example"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/anedyaio/anedya-streamlit-dashboard-example","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anedyaio%2Fanedya-streamlit-dashboard-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anedyaio%2Fanedya-streamlit-dashboard-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anedyaio%2Fanedya-streamlit-dashboard-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anedyaio%2Fanedya-streamlit-dashboard-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/anedyaio","download_url":"https://codeload.github.com/anedyaio/anedya-streamlit-dashboard-example/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anedyaio%2Fanedya-streamlit-dashboard-example/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30628417,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-17T17:32:55.572Z","status":"ssl_error","status_checked_at":"2026-03-17T17:32:38.732Z","response_time":56,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["anedya","anedya-example","anedya-iot-dashboard","streamlit","streamlit-dashboard"],"created_at":"2026-03-17T18:35:30.745Z","updated_at":"2026-03-17T18:35:31.301Z","avatar_url":"https://github.com/anedyaio.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"[\u003cimg src=\"https://img.shields.io/badge/Anedya-Documentation-blue?style=for-the-badge\"\u003e](https://docs.anedya.io?utm_source=github\u0026utm_medium=link\u0026utm_campaign=github-examples\u0026utm_content=streamlit-dashboard)\n\n# anedya-streamlit-dashboard-example\nAn example dashboard developed in streamlit\n\n\u003cp align=\"center\"\u003e\n    \u003cimg src=\"https://cdn.anedya.io/anedya_black_banner.png\" alt=\"Logo\"\u003e\n\u003c/p\u003e\nThe Anedya IoT cloud enables users to monitor and control IoT devices remotely. The dashboard displays real-time data on humidity and temperature, as well as providing control buttons to operate a fan and a light. The control buttons sync with real-time changes, reflecting the current state of the devices. \n\n![Demo Dashboard](./docs/1_main_dash.png)\n![Gauge-Image](./docs/2_graph.png)\n\n## Features\n- **User Authentication:** Basic login functionality.\n- **Live Data Visualization**: Real-time humidity and temperature charts using Altair.\n- **Device Control:** Buttons to turn the fan and light on and off, syncing with real-time changes.\n- **Automatic Data Refresh:** Auto-refresh functionality for live updates.\n\n## Setup and Configuration\n- **Node ID:** Obtain the Node ID from the Anedya dashboard by navigating to the project section and selecting the node.\n- **API Key:** Obtain the API key from the Anedya dashboard by navigating to the project -\u003e APIKEY.\n\n## Integration with hardware\nConnect your Nodemcu with a DHT sensor and a relay module as per the [basic-home-automation with nodeMcu](https://github.com/anedyaio/anedya-example-nodemcu/tree/main/basic-home-automation), [basic-home-automation with pico](https://github.com/anedyaio/anedya-example-pico/tree/main/Thonny/basic-home-automation/pico) example. Upload the provided sketch from the repo to read sensor data and control devices.Follow the detailed instructions in the README.\n\n## Usage\n\n### Running Locally\n1. Clone the Repository:\nClone anedya-streamlit-dashboard-example repo from anedya github.\n```\ngit clone https://github.com/anedyaio/anedya-streamlit-dashboard-example.git\ncd anedya-streamlit-dashboard-example\n```\n2. Install Dependencies:\nTo ensure the application has all the necessary libraries, you'll need to install the dependencies listed in the requirements.txt file. This file contains a list of all the packages along with their versions that the app depends on.\nHere's how to install these dependencies:\n- Open a terminal or command prompt.\n- Navigate to the directory where you cloned the repository.\n- Run the following command to install the dependencies using pip:\n```\npip install -r requirements.txt\n```\nThis command reads the `requirements.txt` file and installs all the listed packages.\n\n3. Run the Streamlit App:\nStart the Streamlit server:\n```\nstreamlit run Home.py\n```\nThis will launch the dashboard in your default web browser.\n\n### Hosting on Streamlit Cloud\n\n1. Fork the Repository:\nFork this repository to your own GitHub account.\n2. Sign Up / Log In to Streamlit Cloud:\nGo to [Streamlit Cloud](https://streamlit.io/cloud) and sign in with your GitHub account.\n3. Create a New App:\n- Click on \"New app\".\n- Select your forked repository.\n- Set the branch to main (or the branch you want to deploy from).\n- Set the main file path to Home.py.\n4. Deploy:\nClick \"Deploy\" to launch your app on Streamlit Cloud.\n\n\n\n## License\n\nThis project is licensed under the [MIT License](https://github.com/anedyaio/anedya-example-nodemcu/blob/main/LICENSE).\n\n\u003e[!TIP]\n\u003eFor Anedya documentation, click [here](https://docs.anedya.io/?utm_source=github\u0026utm_medium=link\u0026utm_campaign=github-examples\u0026utm_content=streamlit-dashboard).\n\u003e[!TIP]\n\u003e For more information, visit [anedya.io](https://anedya.io/?utm_source=github\u0026utm_medium=link\u0026utm_campaign=github-examples\u0026utm_content=streamlit-dashboard)\n ","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanedyaio%2Fanedya-streamlit-dashboard-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fanedyaio%2Fanedya-streamlit-dashboard-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanedyaio%2Fanedya-streamlit-dashboard-example/lists"}