{"id":21296873,"url":"https://github.com/reddec/go-eiscp","last_synced_at":"2025-03-15T17:27:12.502Z","repository":{"id":35257084,"uuid":"39516977","full_name":"reddec/go-eiscp","owner":"reddec","description":"eISCP protocol for Onkyo","archived":false,"fork":false,"pushed_at":"2015-07-22T20:05:31.000Z","size":140,"stargazers_count":3,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-09T00:06:39.045Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://godoc.org/github.com/reddec/go-eiscp","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/reddec.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}},"created_at":"2015-07-22T16:23:42.000Z","updated_at":"2017-01-03T03:16:38.000Z","dependencies_parsed_at":"2022-09-16T20:00:32.299Z","dependency_job_id":null,"html_url":"https://github.com/reddec/go-eiscp","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reddec%2Fgo-eiscp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reddec%2Fgo-eiscp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reddec%2Fgo-eiscp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reddec%2Fgo-eiscp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/reddec","download_url":"https://codeload.github.com/reddec/go-eiscp/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243764871,"owners_count":20344496,"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":"2024-11-21T14:30:17.873Z","updated_at":"2025-03-15T17:27:12.457Z","avatar_url":"https://github.com/reddec.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# go-eiscp\neISCP protocol for Onkyo\nProvides minimal eISCP protocol\n\n# Example\n\n### Create connection\n\n```go\ndev, err := eiscp.NewReceiver(*host)\nif err != nil {\n  panic(err)\n}\ndefer dev.Close()\n// Do something else.....\n```\n\n### Set volume level to 50%\n\n```go\nerr := dev.SetVolume(uint8(50))\n// Process error....\n```\n\n### Get power state\n\n```go\nenabled, err := dev.GetPower()\n// Process error and state...\n```\n\n### Write Onkyo command\n\n```go\nerr := dev.WriteCommand(\"PWR\", \"01\")\n// Process error...\n// Usually requires wait response\n```\n\n### Write raw eISCP message\n\n```go\nmsg := Message{}\nmsg.Destination = 0x31  // Destination object\nmsg.Version = 0x01      // ISCP version\nmsg.ISCP = []byte(\"SOME-Command\")\nerr := dev.WriteMessage(msg)\n// Process error....\n```\n\n### Read raw eISCP message\n\n```go\nmsg, err := dev.ReadMessage()\n// Process error and message...\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Freddec%2Fgo-eiscp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Freddec%2Fgo-eiscp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Freddec%2Fgo-eiscp/lists"}