{"id":22602124,"url":"https://github.com/devducks/pegasus-rs","last_synced_at":"2025-06-14T15:05:23.738Z","repository":{"id":39742925,"uuid":"491252876","full_name":"devDucks/pegasus-rs","owner":"devDucks","description":"Multiplatform drivers for pegasus equipment written in Rust","archived":false,"fork":false,"pushed_at":"2024-04-18T16:31:57.000Z","size":64,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-14T15:05:23.495Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","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/devDucks.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-05-11T19:50:47.000Z","updated_at":"2022-05-11T19:52:59.000Z","dependencies_parsed_at":"2025-03-28T20:37:01.300Z","dependency_job_id":"aa79c102-9410-4687-87a4-640ed47157d9","html_url":"https://github.com/devDucks/pegasus-rs","commit_stats":{"total_commits":21,"total_committers":1,"mean_commits":21.0,"dds":0.0,"last_synced_commit":"9e861381799c78949e8ba2252763d8ddc3d056fb"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/devDucks/pegasus-rs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devDucks%2Fpegasus-rs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devDucks%2Fpegasus-rs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devDucks%2Fpegasus-rs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devDucks%2Fpegasus-rs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/devDucks","download_url":"https://codeload.github.com/devDucks/pegasus-rs/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devDucks%2Fpegasus-rs/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259835391,"owners_count":22918980,"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-12-08T12:18:58.241Z","updated_at":"2025-06-14T15:05:23.722Z","avatar_url":"https://github.com/devDucks.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# pegasus-rs\nMultiplatform drivers for pegasus equipment written in Rust.\n\nThis driver is meant to communicate with all pegasus powerboxes on all major platforms.\n\n# Run locally (UNIX/Windows)\nBe sure to have rust installed (if you don't have rust check [here](https://www.rust-lang.org/tools/install) and\nsimply run on your terminal/cmdshell `cargo run`\n\n# Build a debug version of the program (UNIX/Windows)\nin your terminal type `cargo build`\n\n# Build an optimized version of the program AKA the version that will run for real (UNIX/Windows)\nin your terminal type `cargo build --release`\n\n# Pegasus PPBA protocol instructions\n\n|Command|Description                                                                            |Response           |\n|:-:    |:-:                                                                                    |:-:                |\n|P#|Status|PPBA_OK|\n|PE:bbbb|Set Power Status on boot.\u003cbr\u003eEvery number represents 1-4 power outputs.\u003cbr\u003e(0=OFF, 1=ON).|PE:1               |\n|P2:nn|ON/OFF Power 8V DSLR\u003cbr\u003e(0=OFF, 1=ON)\u003cbr\u003en can also accept values of: 3, 5, 8, 9, 12 (Volts)|P2:nn              |\n|P3:nnn|PWM Duty Cycle Power 5 (DewA)\u003cbr\u003eX=0-255 (0-100%)|P3:nnn|\n|P4:nnn|PWM Duty Cycle Power 6 (DewB)\u003cbr\u003eX=0-255 (0-100%)|P4:nnn|\n|PF|Reboot Device / Reload Firmware|[none]|\n|PA|Print Power and Sensor Readings|[Check table below]|\n|PS|Prints Power Consumption Statistics|PS:averageAmps:ampHours:wattHours:uptime_in_millisec|\n|PC|Print Power Metrics|*Current is represented in Amps and does not require \u003cbr\u003econversion.\u003cbr\u003ePC:total_current:current_12V_outputs:\u003cbr\u003ecurrent_dewA:current_dewB:uptime_in_ millisec|\n|PR|Prints discovered I2C devices plugged to EXT port|PR:HDC:DHT:XS\u003cbr\u003eif there is a discovered device command will output its name\u003cbr\u003eHDC = temp/humidity sensor TI HDC1050\u003cbr\u003eDHT =stock temp/humidity sensor AM2301\u003cbr\u003eXS: eXternal Motor (stepper) Controller\u003cbr\u003e|\n|DA|(Auto) Dew Aggressiveness from 0 to 255 (210 default value)|DA:nnn|\n|PD:b|Enable/Disable Auto Dew Feature (X=0,1)\u003cbr\u003ePD:99 Reports Auto Dew Aggressiveness value|PD:nnn|\n|PV|Firmware Version|n.n|\n|PI|Reset I2C channel|PI:1|\n|PL:b|OF/OFF Led Indicator (0=OFF, 1=ON)|PL:b|\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevducks%2Fpegasus-rs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdevducks%2Fpegasus-rs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevducks%2Fpegasus-rs/lists"}