{"id":28108781,"url":"https://github.com/manelix2000/docker-electricity-spain-pvpc-chart","last_synced_at":"2026-04-29T08:35:30.962Z","repository":{"id":292837772,"uuid":"978844669","full_name":"manelix2000/docker-electricity-spain-pvpc-chart","owner":"manelix2000","description":"Docker image to show Spain Electricity price in HomeKit","archived":false,"fork":false,"pushed_at":"2025-05-12T11:27:00.000Z","size":366,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-09-13T16:11:40.617Z","etag":null,"topics":["docker","docker-compose","homebridge","homekit","pvpc","spain"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"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/manelix2000.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":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-05-06T15:39:23.000Z","updated_at":"2025-05-12T11:27:04.000Z","dependencies_parsed_at":"2025-05-12T12:47:42.231Z","dependency_job_id":null,"html_url":"https://github.com/manelix2000/docker-electricity-spain-pvpc-chart","commit_stats":null,"previous_names":["manelix2000/docker-electricity-spain-pvpc-chart"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/manelix2000/docker-electricity-spain-pvpc-chart","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/manelix2000%2Fdocker-electricity-spain-pvpc-chart","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/manelix2000%2Fdocker-electricity-spain-pvpc-chart/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/manelix2000%2Fdocker-electricity-spain-pvpc-chart/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/manelix2000%2Fdocker-electricity-spain-pvpc-chart/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/manelix2000","download_url":"https://codeload.github.com/manelix2000/docker-electricity-spain-pvpc-chart/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/manelix2000%2Fdocker-electricity-spain-pvpc-chart/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32418150,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-29T06:29:02.080Z","status":"ssl_error","status_checked_at":"2026-04-29T06:29:00.631Z","response_time":110,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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":["docker","docker-compose","homebridge","homekit","pvpc","spain"],"created_at":"2025-05-14T02:15:57.679Z","updated_at":"2026-04-29T08:35:30.957Z","avatar_url":"https://github.com/manelix2000.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Spain Electricity Price Graph\n\n## 📘 Introduction\n\nDocker image to broadcast Spain electricity prices as a camara feed to use with [Homebridge Camera FFmpeg](https://github.com/homebridge-plugins/homebridge-camera-ffmpeg) and integrate it into HomeKit.\n\nPrices are loaded from **Red Eléctrica** [ESIOS API](https://api.esios.ree.es/). You will need a *personal token* (you can request it [here](https://api.esios.ree.es/)).\n\n\u003ctable\u003e\n\u003ctr\u003e\n\u003ctd valign=\"top\"\u003e\n\u003ci\u003eHome App\u003c/i\u003e\u003cbr\u003e\n\u003cimg src=\"sample1.jpeg\" alt=\"Sample widget 1\" width=\"300\"\u003e\n\u003c/td\u003e\n\u003ctd valign=\"top\"\u003e\n\u003ci\u003eCamera Widget\u003c/i\u003e\u003cbr\u003e\n\u003cimg src=\"sample2.jpeg\" alt=\"Sample widget 2\" width=\"300\"\u003e\n\u003c/td\u003e\n\u003c/tr\u003e\n\u003c/table\u003e\n\n\n\n## ✅ Project structure\n\n```\nproject-root/\n├── docker-compose.yml\n├── README.md\n└── prices/\n    ├── Dockerfile\n    ├── requirements.txt\n    ├── prices_server.py\n    ├── prices_generator.py\n    └── images/  # Directory to hold price png's\n```\n\n## 🔍 Explanation\n\n- ```docker-compose.yml```: docker compose configuration\n- ```prices/Dockerfile```: docker build configuration\n\n## 🛠️ Installation\n\n1.  Copy files into your docker installation \n2.  Execute\n```\ndocker compose up --build -d\n```\n\n## 🧪 Test Installation\n\nOpen your favourite browser to:\n1. *Camera feed*\n```\nhttp://\u003cyour-ip\u003e:8080/prices \n````\n2. *Camera snapshot*\n```\nhttp://\u003cyour-ip\u003e:8080/prices.png\n````\n\n## 🛠️ Docker compose environment values\n\nChange values as your needs:\n```\nversion: '3.8'\n\nservices:\n  pvpc_prices_server:\n    build: ./prices\n    container_name: pvpc-prices-server\n    restart: unless-stopped\n    ports:\n      - \"8080:8080\"\n    environment:\n      - TZ=Europe/Madrid\n      - ESIOS_API_TOKEN=_your_esios_token_here_\n\n```\n\n## 🛠️ Integration with your homebridge-camera-ffmpeg plugin\n\nOnce you have your docker image up, install the homebridge plugin [Homebridge Camera FFmpeg](https://github.com/homebridge-plugins/homebridge-camera-ffmpeg) and configure it as follows:\n\n- ```source```: \n  -f mjpeg -i http://\u003cyour-ip\u003e:8080/prices\n- ```stillImageSource```: -i http://\u003cyour-ip\u003e:8080/prices.png\n- ```maxStreams```: 2\n- ```maxWidth```: 800\n- ```maxHeight```: 600\n- ```maxFPS```: 1","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmanelix2000%2Fdocker-electricity-spain-pvpc-chart","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmanelix2000%2Fdocker-electricity-spain-pvpc-chart","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmanelix2000%2Fdocker-electricity-spain-pvpc-chart/lists"}