{"id":25979267,"url":"https://github.com/bjorg/radiantpi.sony.cledis","last_synced_at":"2025-07-22T01:32:49.289Z","repository":{"id":40504559,"uuid":"436067345","full_name":"bjorg/RadiantPi.Sony.Cledis","owner":"bjorg","description":"Client for controlling Sony C-LED (Cledis) controller","archived":false,"fork":false,"pushed_at":"2023-09-25T17:37:17.000Z","size":523,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-13T05:23:42.000Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C#","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/bjorg.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-12-08T00:31:43.000Z","updated_at":"2021-12-08T00:55:26.000Z","dependencies_parsed_at":"2022-08-09T22:21:44.771Z","dependency_job_id":"7197d011-da2f-4e8d-85b9-4e5422c642bf","html_url":"https://github.com/bjorg/RadiantPi.Sony.Cledis","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/bjorg/RadiantPi.Sony.Cledis","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bjorg%2FRadiantPi.Sony.Cledis","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bjorg%2FRadiantPi.Sony.Cledis/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bjorg%2FRadiantPi.Sony.Cledis/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bjorg%2FRadiantPi.Sony.Cledis/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bjorg","download_url":"https://codeload.github.com/bjorg/RadiantPi.Sony.Cledis/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bjorg%2FRadiantPi.Sony.Cledis/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266409562,"owners_count":23924286,"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-07-21T11:47:31.412Z","response_time":64,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"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-03-05T06:29:10.084Z","updated_at":"2025-07-22T01:32:49.268Z","avatar_url":"https://github.com/bjorg.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# RadiantPi.Sony.Cledis\n\n`SonyCledisClient` enables control of a Sony C-LED (Cledis)) controller over Telnet. The library is platform agnostic and works on Windows or Linux, including on a Raspberry Pi.\n\nRun the `dotnet` command from your project folder to add the `RadiantPi.Sony.Cledis` assembly:\n```\ndotnet add package RadiantPi.Sony.Cledis\n```\n\nFind a description of the latest changes in the [release notes](ReleaseNotes.md).\n\n## Sample: Show Module Temperatures\n\nUse `SonyCledisClient` to connect to an Sony C-LED and the module temperatures.\n\n```csharp\nusing System;\nusing System.Linq;\nusing RadiantPi.Sony.Cledis;\nusing Spectre.Console;\n\n// initialize client\nusing var client = new SonyCledisClient(new() {\n    Host = \"192.168.1.190\",\n    Port = 53595\n});\n\n// connect to device and fetch module temperatures\nvar temperatures = await AnsiConsole.Status()\n    .Spinner(Spinner.Known.Dots)\n    .StartAsync(\"Fetching Sony C-LED Module Temperatures\", _ =\u003e client.GetTemperatureAsync());\n\n// render module temperatures as a table\nvar table = new Table();\ntable.AddColumn(\"°C\");\nfor(var column = 0; column \u003c temperatures.ColumnCount; ++column) {\n    table.AddColumn(new TableColumn($\"C{column + 1}\").Centered());\n}\nfor(var row = 0; row \u003c temperatures.RowCount; ++row) {\n    var line = new string[temperatures.ColumnCount + 1];\n    line[0] = $\"\\nR{row + 1}\\n\";\n    for(var column = 0; column \u003c temperatures.ColumnCount; ++column) {\n\n        // find the highest temperature reading for each module\n        var temperature = temperatures.Modules[column, row]\n            .CellTemperatures\n            .Append(temperatures.Modules[column, row].BoardTemperature)\n            .Append(temperatures.Modules[column, row].AmbientTemperature)\n            .Max();\n\n        // render temperature with color coding\n        var cell = $\"\\n{temperature:0.00}\";\n        line[column + 1] = cell;\n    }\n    table.AddRow(line);\n}\ntable.Caption(\"Sony C-LED Module Temperatures\");\nAnsiConsole.Write(table);\n```\n\n\n## Output\n\n![Screenshot](Docs/ShowModuleTemperatures.png)\n\n## License\n\nThis application is distributed under the GNU Affero General Public License v3.0 or later.\n\nCopyright (C) 2020-2022 - Steve G. Bjorg","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbjorg%2Fradiantpi.sony.cledis","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbjorg%2Fradiantpi.sony.cledis","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbjorg%2Fradiantpi.sony.cledis/lists"}