{"id":32473970,"url":"https://github.com/openremote/service-ml-forecast","last_synced_at":"2025-10-26T19:52:12.470Z","repository":{"id":319993899,"uuid":"944414875","full_name":"openremote/service-ml-forecast","owner":"openremote","description":"Machine Learning Forecast Service","archived":false,"fork":false,"pushed_at":"2025-10-21T11:23:15.000Z","size":4492,"stargazers_count":2,"open_issues_count":19,"forks_count":1,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-10-21T11:36:49.694Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/openremote.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-03-07T09:59:13.000Z","updated_at":"2025-10-06T14:30:03.000Z","dependencies_parsed_at":"2025-10-21T11:39:08.127Z","dependency_job_id":null,"html_url":"https://github.com/openremote/service-ml-forecast","commit_stats":null,"previous_names":["openremote/service-ml-forecast"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/openremote/service-ml-forecast","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openremote%2Fservice-ml-forecast","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openremote%2Fservice-ml-forecast/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openremote%2Fservice-ml-forecast/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openremote%2Fservice-ml-forecast/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/openremote","download_url":"https://codeload.github.com/openremote/service-ml-forecast/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openremote%2Fservice-ml-forecast/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":281163792,"owners_count":26454252,"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","status":"online","status_checked_at":"2025-10-26T02:00:06.575Z","response_time":61,"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":"2025-10-26T19:52:08.069Z","updated_at":"2025-10-26T19:52:12.463Z","avatar_url":"https://github.com/openremote.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# service-ml-forecast\n[![Lint and Test](https://github.com/openremote/service-ml-forecast/actions/workflows/ci.yml/badge.svg)](https://github.com/openremote/service-ml-forecast/actions/workflows/ci.yml?query=branch%3Amain)\n[![Open Source? Yes!](https://badgen.net/badge/Open%20Source%20%3F/Yes%21/blue?icon=github)](https://github.com/Naereen/badges/)\n\n## Installation\nFollow the steps below to run the project.\n\n### Prerequisites\n[uv](https://docs.astral.sh/uv/) - Python package and project manager\n- Install with curl (macOS/Linux): `curl -LsSf https://astral.sh/uv/install.sh | sh`\n- Install with PowerShell (Windows): `powershell -ExecutionPolicy ByPass -c \"irm https://astral.sh/uv/install.ps1 | iex\"`\n- Or install with pip: `pip install uv`\n- Or with Homebrew (macOS): `brew install uv`\n\n[node](https://nodejs.org/en/download/) - JavaScript runtime + npm (node package manager)\n- Install with Homebrew (macOS): `brew install node`\n- Install directly (Windows): https://nodejs.org/en/download/\n- Install via apt (Linux): `sudo apt install nodejs npm`\n- Install via dnf (Linux): `sudo dnf install nodejs npm`\n- Install via pacman (Linux): `sudo pacman -S nodejs npm`\n\n***\n\n### Run the back-end (Python)\n\nCreate a virtual environment\n```bash\n# In project root\nuv venv\nsource .venv/bin/activate # On Windows: .venv\\Scripts\\activate\n\nuv sync\n```\n\nSet the required environment variables -- See [config.py](https://github.com/openremote/service-ml-forecast/blob/main/src/service_ml_forecast/config.py) for all configuration options.\n```bash\nML_OR_SERVICE_USER=serviceuser\nML_OR_SERVICE_SECRET=secret\n```\n\nStart the back-end application\n```bash\nuv run start\n\n# Exposes the back-end on http://localhost:8000\n```\n\n***\n\n### Run the front-end (JavaScript)\nServe the front-end\n```bash\ncd frontend\nnpm run serve  # Automatically installs dependencies\n\n# Exposes the front-end on http://localhost:8001\n```\n\n***\n\n### UV Helper Scripts\nIn project root\n- Run linting - `uv run lint`\n- Format code - `uv run format`\n- Run tests - `uv run test`\n- Run the application - `uv run start`\n\n### NPM Helper Scripts\nin `/frontend`\n- Run linting - `npm run lint`\n- Format code - `npm run format`\n- Run the application - `npm run serve`\n\n## License\n\nThe OpenRemote Machine Learning Forecast Service is distributed under [AGPL-3.0-or-later](LICENSE.txt).\n\n```\nCopyright 2025, OpenRemote Inc.\n\nThis program is free software: you can redistribute it and/or modify\nit under the terms of the GNU Affero General Public License as\npublished by the Free Software Foundation, either version 3 of the\nLicense, or (at your option) any later version.\n\nThis program is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\nGNU Affero General Public License for more details.\n\nYou should have received a copy of the GNU Affero General Public License\nalong with this program. If not, see \u003chttps://www.gnu.org/licenses/\u003e.\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopenremote%2Fservice-ml-forecast","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fopenremote%2Fservice-ml-forecast","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopenremote%2Fservice-ml-forecast/lists"}