{"id":33227728,"url":"https://github.com/kantmn/anker-solix-api","last_synced_at":"2026-04-13T04:23:12.048Z","repository":{"id":276975669,"uuid":"930909172","full_name":"kantmn/anker-solix-api","owner":"kantmn","description":"A docker container for anker-solix-api, inject your script.py to use it","archived":false,"fork":false,"pushed_at":"2026-01-28T02:37:33.000Z","size":315,"stargazers_count":4,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-01-28T18:14:02.799Z","etag":null,"topics":["anker","container","docker","python3"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kantmn.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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-02-11T12:14:26.000Z","updated_at":"2026-01-28T02:30:18.000Z","dependencies_parsed_at":"2025-09-10T21:11:32.141Z","dependency_job_id":"434f85e2-f596-4174-8e6f-33ef2841ab83","html_url":"https://github.com/kantmn/anker-solix-api","commit_stats":null,"previous_names":["kantmn/anker-solix-docker-api","kantmn/anker-solix-api"],"tags_count":105,"template":false,"template_full_name":null,"purl":"pkg:github/kantmn/anker-solix-api","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kantmn%2Fanker-solix-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kantmn%2Fanker-solix-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kantmn%2Fanker-solix-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kantmn%2Fanker-solix-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kantmn","download_url":"https://codeload.github.com/kantmn/anker-solix-api/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kantmn%2Fanker-solix-api/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30096767,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-04T21:59:23.547Z","status":"ssl_error","status_checked_at":"2026-03-04T21:57:50.415Z","response_time":59,"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":["anker","container","docker","python3"],"created_at":"2025-11-16T16:04:02.499Z","updated_at":"2026-03-04T22:32:03.507Z","avatar_url":"https://github.com/kantmn.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Security Scan](https://github.com/kantmn/anker-solix-api/actions/workflows/codacy.yml/badge.svg)](https://github.com/kantmn/anker-solix-api/actions/workflows/codacy.yml)\n[![CodeQL](https://github.com/kantmn/anker-solix-api/actions/workflows/github-code-scanning/codeql/badge.svg)](https://github.com/kantmn/anker-solix-api/actions/workflows/github-code-scanning/codeql)\n[![Dependabot](https://github.com/kantmn/anker-solix-api/actions/workflows/dependabot/dependabot-updates/badge.svg)](https://github.com/kantmn/anker-solix-api/actions/workflows/dependabot/dependabot-updates)\n[![Release building](https://github.com/kantmn/anker-solix-api/actions/workflows/release.yml/badge.svg)](https://github.com/kantmn/anker-solix-api/actions/workflows/release.yml)\n\n# anker-solix-api docker image\nProvides a docker container to run a python 3.13 script with dependencies for \u003chttps://github.com/thomluther/anker-solix-api\u003e\nThis docker provides an http service under port http://ip:5000/metrics\n\n\n# docker container setup\npull the container as needed, there are two plattforms (amd64/arm64) available.\n\n``\ndocker pull ghcr.io/kantmn/anker-solix-api:latest\n``\n\nif you want to use fixed version use\n \n``\ndocker pull ghcr.io/kantmn/anker-solix-api:yyyy.mm\n``\n\nMap path from container \n\u003e /logs\n\nThis will locate the log metrics only\n\n\nAdd and fille the following Docker Env variables as needed\n```\nANKERUSER=YOUR_ANKER_LOGIN_EMAIL\n\nANKERPASSWORD=YOU_ANKER_PASSWORD\n\nANKERCOUNTRY=YOUR_REGION (e.g. DE=Germany)\n\nANKER_SOLIX_DUID=YOUR_ANKER_GUID (this removes the APCGQ80E12344567_ from the requests)\n\nWEATHER_API_URL=YOUR_OPENWEATHERMAP_API_URL\n(contains coords and api key, key is free of charge and can be obtainted https://home.openweathermap.org/users/sign_up\u003e example for api URL \u003chttps://api.openweathermap.org/data/2.5/weather?lat=11.23456\u0026lon=22.123456\u0026appid=API_KEY_FROM_OPENWEATHER\u003e)\n```\nThe Script is running in a loop, with sleep time, so only ending when container is stopped, should recover from crash\n\n# prometheus connection\nThe metrics is compatible for a prometheus crawling job (\u003chttps://github.com/prometheus/prometheus\u003e)\n\nfor example open\n`\n/etc/prometheus.yml\n`\nand add\n````\n- job_name: \"anker-solix-api\"\n    scrape_interval: 5s\n    static_configs:\n      - targets: [\"ip:5000\"]\n````\n\n# grafana dashboard\nafterwards those metrics can be used e.g. in grafana to display graphs etc\nsee an examples here\n\u003cimg width=\"1920\" height=\"1862\" alt=\"Screenshot 2025-07-10 at 16-38-44 Export - Dashboards - Grafana\" src=\"https://github.com/user-attachments/assets/17e585ea-2193-48b6-a61e-f17b984dba42\" /\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkantmn%2Fanker-solix-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkantmn%2Fanker-solix-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkantmn%2Fanker-solix-api/lists"}