{"id":25979290,"url":"https://github.com/bjorg/radiantpi.telnet","last_synced_at":"2025-09-10T05:14:29.406Z","repository":{"id":43828994,"uuid":"421632344","full_name":"bjorg/RadiantPi.Telnet","owner":"bjorg","description":"Client for Telnet connections","archived":false,"fork":false,"pushed_at":"2023-09-25T17:37:50.000Z","size":51,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-08T04:47:27.594Z","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-10-27T01:02:05.000Z","updated_at":"2021-10-28T05:37:12.000Z","dependencies_parsed_at":"2023-09-25T23:07:15.663Z","dependency_job_id":null,"html_url":"https://github.com/bjorg/RadiantPi.Telnet","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/bjorg/RadiantPi.Telnet","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bjorg%2FRadiantPi.Telnet","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bjorg%2FRadiantPi.Telnet/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bjorg%2FRadiantPi.Telnet/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bjorg%2FRadiantPi.Telnet/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bjorg","download_url":"https://codeload.github.com/bjorg/RadiantPi.Telnet/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bjorg%2FRadiantPi.Telnet/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260166309,"owners_count":22968635,"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","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:28.676Z","updated_at":"2025-06-16T13:11:16.005Z","avatar_url":"https://github.com/bjorg.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# RadiantPi.Telnet\n\n`TelnetClient` simplifies working with Telnet connections. 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.Telnet` assembly:\n```\ndotnet add package RadiantPi.Telnet\n```\n\nFind a description of the latest changes in the [release notes](ReleaseNotes.md).\n\n## Sample: Hello Trinnov\n\nUse `TelnetClient` to connect to an Trinnov Altitude processor.\n\n```csharp\nusing System;\nusing RadiantPi.Telnet;\n\n// initialize client\nusing TelnetClient client = new(\"192.168.1.180\", 44100);\n\n// register server connection validation\nclient.ValidateConnectionAsync = async (client, reader, writer) =\u003e {\n    var handshake = await reader.ReadLineAsync() ?? \"\";\n\n    // the Trinnov Altitude sends a welcome text to identify itself\n    if(!handshake.StartsWith(\"Welcome on Trinnov Optimizer (\", StringComparison.Ordinal)) {\n        throw new NotSupportedException(\"Unrecognized device\");\n    }\n\n    // announce client\n    await writer.WriteLineAsync(\"id radiant_pi_telnet\");\n};\n\nclient.MessageReceived += delegate (object? sender, TelnetMessageReceivedEventArgs args) {\n    Console.WriteLine($\"Received: {args.Message}\");\n};\n\nConsole.WriteLine(\"Open connection\");\nawait client.ConnectAsync();\n\nConsole.WriteLine(\"Press ENTER to exit.\");\nConsole.ReadLine();\n```\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.telnet","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbjorg%2Fradiantpi.telnet","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbjorg%2Fradiantpi.telnet/lists"}