{"id":27048534,"url":"https://github.com/pochemuto/orvibo","last_synced_at":"2026-05-02T06:43:20.499Z","repository":{"id":57726944,"uuid":"74054292","full_name":"pochemuto/orvibo","owner":"pochemuto","description":"Orvibo Java API","archived":false,"fork":false,"pushed_at":"2016-11-24T20:09:08.000Z","size":107,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-11-16T17:19:42.838Z","etag":null,"topics":["java","netty"],"latest_commit_sha":null,"homepage":"http://pochemuto.com/2016-11-19-orvibo-java-sdk/","language":"Java","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/pochemuto.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}},"created_at":"2016-11-17T18:12:48.000Z","updated_at":"2024-01-09T21:39:07.000Z","dependencies_parsed_at":"2022-09-11T17:13:42.755Z","dependency_job_id":null,"html_url":"https://github.com/pochemuto/orvibo","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/pochemuto%2Forvibo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pochemuto%2Forvibo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pochemuto%2Forvibo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pochemuto%2Forvibo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pochemuto","download_url":"https://codeload.github.com/pochemuto/orvibo/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247299850,"owners_count":20916193,"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":["java","netty"],"created_at":"2025-04-05T07:15:07.193Z","updated_at":"2026-05-02T06:43:20.411Z","avatar_url":"https://github.com/pochemuto.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"Orvibo Java API [![Build Status](https://travis-ci.org/pochemuto/orvibo.svg?branch=master)](https://travis-ci.org/pochemuto/orvibo)\n===============\n\nAllow control your sockets from java code, terminal, or via http.  \n[Project blog](http://pochemuto.com/2016-11-19-orvibo-java-sdk/)\n\nUsing in code\n-------------\n\nAdd dependency to your project: \n\n```groovy\ncompile group: 'com.pochemuto', name: 'orvibo', version: '0.9.0'\n```\n\nBasic example:\n\n```java\nOrvibo orvibo = new Orvibo();\nThread.sleep(250); // wait for discovery responses\n\nList\u003cDevice\u003e devices = orvibo.getDevices();\nfor (Device device : devices) {\n    System.out.println(device.getMacAddress() + \" : \" + (device.isOn() ? \"ON\" : \"OFF\"));\n}\n\nif (!devices.isEmpty()) {\n    Device mySocket = devices.get(0);\n    orvibo.toggle(mySocket.getMacAddress());\n    Thread.sleep(5000); // just for example\n    orvibo.setPower(mySocket.getMacAddress(), false);\n}\n```\n\nBasic terminal control\n----------------------\n```\njava -cp orvibo-1.0-SNAPSHOT-all.jar com.pochemuto.orvibo.Orvibo\n\u003e list\n0: ac cf 23 8d 9b 70: OFF\n\u003e toggle 0\ndone\n\u003e exit\n```\n\nHttp interface\n--------------\n\nFor using http interface run:\n```bash\n$ java -jar orvibo-1.0-SNAPSHOT-all.jar \u003e /dev/null \u0026\n$ curl http://localhost:4352/list\n0 accf238d9b70 OFF\n$ curl http://localhost:4352/on/0\n$ curl http://localhost:4352/state/0 -s | grep 1 -q \u0026\u0026 echo ON || echo OFF\nON\n$ curl http://localhost:4352/toggle/0\n$ curl http://localhost:4352/state/0 -s | grep 1 -q \u0026\u0026 echo ON || echo OFF\nOFF\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpochemuto%2Forvibo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpochemuto%2Forvibo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpochemuto%2Forvibo/lists"}