{"id":24758511,"url":"https://github.com/rubixdev/pixoo","last_synced_at":"2026-02-06T06:32:48.301Z","repository":{"id":274640189,"uuid":"923592301","full_name":"RubixDev/pixoo","owner":"RubixDev","description":"A Rust crate for interacting with Divoom Pixoo devices.","archived":false,"fork":false,"pushed_at":"2025-01-28T14:27:54.000Z","size":2720,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-02T03:52:51.404Z","etag":null,"topics":["bluetooth","divoom","pixoo","rust"],"latest_commit_sha":null,"homepage":"https://crates.io/crates/pixoo","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/RubixDev.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":"2025-01-28T14:26:16.000Z","updated_at":"2025-02-25T15:47:17.000Z","dependencies_parsed_at":"2025-01-28T14:45:16.015Z","dependency_job_id":"2682e586-e3eb-4959-9703-99ad0fb36ea3","html_url":"https://github.com/RubixDev/pixoo","commit_stats":null,"previous_names":["rubixdev/pixoo"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RubixDev%2Fpixoo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RubixDev%2Fpixoo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RubixDev%2Fpixoo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RubixDev%2Fpixoo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RubixDev","download_url":"https://codeload.github.com/RubixDev/pixoo/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245084610,"owners_count":20558248,"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":["bluetooth","divoom","pixoo","rust"],"created_at":"2025-01-28T16:20:43.812Z","updated_at":"2026-02-06T06:32:48.269Z","avatar_url":"https://github.com/RubixDev.png","language":"Rust","readme":"# Pixoo\n\nA Rust crate for interacting with\n[Divoom Pixoo](https://divoom.com/products/divoom-pixoo/) devices.\n\nThe crate is pretty basic in its functionality and does not support all features\nby far, but I think the most important ones are covered.\n\nTested only on Linux. I have no idea whether this works on Windows or Mac, and\nif it doesn't and you need it to, go fix it yourself.\n\n## Examples\n\nBefore running any code, make sure you have the Pixoo device paired in your\nBluetooth settings.\n\nMore extensive examples can be found in the\n[`examples`](https://github.com/RubixDev/pixoo/tree/main/examples) directory.\nRun them with:\n\n```bash\ncargo run --release --examples=\u003cname\u003e \u003cMAC-address\u003e\n```\n\n### Displaying an Image\n\n```rust\n# use std::str::FromStr;\n# use bluetooth_serial_port::BtAddr;\n# use pixoo::Pixoo;\n// you can either connect to a specific MAC address or try to find the device automatically\n//let mut pixoo = Pixoo::find(Duration::from_millis(100)).unwrap();\nlet mut pixoo = Pixoo::connect(BtAddr::from_str(\"11:75:58:35:2B:35\").unwrap()).unwrap();\nlet img = image::open(\"examples/rubix.png\").unwrap();\npixoo.set_image(\u0026img).unwrap();\n```\n\n### Adjusting the Brightness\n\n```rust\n# use std::str::FromStr;\n# use bluetooth_serial_port::BtAddr;\n# use pixoo::{Pixoo, Brightness};\nlet mut pixoo = Pixoo::connect(BtAddr::from_str(\"11:75:58:35:2B:35\").unwrap()).unwrap();\npixoo.set_brightness(Brightness::MAX).unwrap();\n```\n\n### Display the Time\n\n```rust\n# use std::str::FromStr;\n# use bluetooth_serial_port::BtAddr;\n# use pixoo::{Pixoo, Brightness, mode::{LightMode, TimeFormat, ClockDesign}};\nlet mut pixoo = Pixoo::connect(BtAddr::from_str(\"11:75:58:35:2B:35\").unwrap()).unwrap();\npixoo.set_brightness(Brightness::new(30).unwrap()).unwrap();\npixoo.set_mode(LightMode::Env {\n    time_format: TimeFormat::TwelveHour,\n    clock_design: ClockDesign::Digital,\n    show_divoom: false,\n    show_weather: false,\n    show_temp: false,\n    show_date: true,\n    color: [255, 120, 0],\n}).unwrap();\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frubixdev%2Fpixoo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frubixdev%2Fpixoo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frubixdev%2Fpixoo/lists"}