{"id":20095984,"url":"https://github.com/avicted/stock-hue","last_synced_at":"2026-06-08T19:31:59.802Z","repository":{"id":133527580,"uuid":"346079232","full_name":"Avicted/stock-hue","owner":"Avicted","description":"Changes the color of all Philips Hue lights connected to a bridge when the stock price of GME changes.","archived":false,"fork":false,"pushed_at":"2021-03-10T19:04:55.000Z","size":11,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-02T16:28:57.434Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"C#","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/Avicted.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":"2021-03-09T16:56:50.000Z","updated_at":"2022-05-07T20:50:50.000Z","dependencies_parsed_at":null,"dependency_job_id":"7da7c690-9638-4bc8-ace6-562acbfe7733","html_url":"https://github.com/Avicted/stock-hue","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Avicted/stock-hue","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Avicted%2Fstock-hue","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Avicted%2Fstock-hue/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Avicted%2Fstock-hue/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Avicted%2Fstock-hue/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Avicted","download_url":"https://codeload.github.com/Avicted/stock-hue/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Avicted%2Fstock-hue/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34078019,"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-08T02:00:07.615Z","response_time":111,"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-13T16:57:13.654Z","updated_at":"2026-06-08T19:31:59.776Z","avatar_url":"https://github.com/Avicted.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# stock-hue\n\n### Changes the color of all Philips Hue lights connected to a bridge when the stock price of GME changes.\n\nUses the following packages:\n\n-   Q42.HueApi and\n-   YahooFinanceApi.\n\n---\n\n## Color logic\n\n```\nGreen = regularMarketPrice \u003e  regularMarketOpen\nRed   = regularMarketPrice \u003c= regularMarketOpen\n```\n\n---\n\n## Flow\n\n1. stock-hue will search for the first Hue bridge that it can find in the same LAN as the computer running stock-hue.\n\n2. stock-hue will generate a new appKey with the bridge.\n\n3. stock-hue checks the price every 3 seconds and compares it to the opening price (regularMarketOpen).\n\n---\n\n## Production build\n\nRequires the dotnet cli or you could start the VSCode development container and build from there.\n\n```bash\n# Linux\ndotnet publish -r linux-x64 -p:PublishSingleFile=true --self-contained false -c Release\n\n# Windows\ndotnet publish -r win-x64 -p:PublishSingleFile=true --self-contained true -c Release\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Favicted%2Fstock-hue","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Favicted%2Fstock-hue","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Favicted%2Fstock-hue/lists"}