{"id":20046055,"url":"https://github.com/johntalton/rotaryencoder","last_synced_at":"2026-04-29T09:32:16.150Z","repository":{"id":22746649,"uuid":"97208112","full_name":"johntalton/RotaryEncoder","owner":"johntalton","description":"Rotary Encoder","archived":false,"fork":false,"pushed_at":"2024-06-20T08:01:16.000Z","size":1957,"stargazers_count":0,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-06T20:41:29.349Z","etag":null,"topics":["24-pulse-encoder","gpio","mqtt","onoff","rotary","statemachine"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/johntalton.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":"2017-07-14T07:50:00.000Z","updated_at":"2024-07-29T21:25:00.000Z","dependencies_parsed_at":"2024-05-01T09:28:00.122Z","dependency_job_id":"40899f6a-edd9-41bc-837f-b08ba93b9204","html_url":"https://github.com/johntalton/RotaryEncoder","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/johntalton/RotaryEncoder","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johntalton%2FRotaryEncoder","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johntalton%2FRotaryEncoder/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johntalton%2FRotaryEncoder/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johntalton%2FRotaryEncoder/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/johntalton","download_url":"https://codeload.github.com/johntalton/RotaryEncoder/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johntalton%2FRotaryEncoder/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32419887,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-29T06:29:02.080Z","status":"ssl_error","status_checked_at":"2026-04-29T06:29:00.631Z","response_time":110,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["24-pulse-encoder","gpio","mqtt","onoff","rotary","statemachine"],"created_at":"2024-11-13T11:20:40.137Z","updated_at":"2026-04-29T09:32:16.128Z","avatar_url":"https://github.com/johntalton.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Rotary Encoder \n\nSimple knob control.  Good for simple step up / step down rotation where center point is reset on power. \n\n[![npm Version](http://img.shields.io/npm/v/@johntalton/RotaryEncoder.svg)](https://www.npmjs.com/package/@johntalton/RotaryEncoder)\n![GitHub package.json version](https://img.shields.io/github/package-json/v/johntalton/RotaryEncoder)\n![CI](https://github.com/johntalton/RotaryEncoder/workflows/CI/badge.svg?branch=master\u0026event=push)\n![GitHub](https://img.shields.io/github/license/johntalton/RotaryEncoder)\n[![Downloads Per Month](http://img.shields.io/npm/dm/@johntalton/RotaryEncoder.svg)](https://www.npmjs.com/package/@johntalton/RotaryEncoder)\n![GitHub last commit](https://img.shields.io/github/last-commit/johntalton/RotaryEncoder)\n[![Package Quality](https://npm.packagequality.com/shield/%40johntalton%2FRotaryEncoder.svg)](https://packagequality.com/#?package=@johntalton/RotaryEncoder)\n\nUses spec defined state machine to validate control and give accurate and consistant output (see bellow).\n\nAlso includes push down / up button functionality (click like events)\n\n[Adafruit Rotary Encoder](https://www.adafruit.com/product/377)\n\n## client\n\nsimple mqtt client to stream a set of encoder event\n\n## dependency\n\n```onoff``` currently used.  \n\n## state machine \n\nimplementation uses a simple state machines as seen below with events of CW CCW RCW and RCCW.\n\n![encoder states](75ED7B44-BD04-46EE-B53A-21901E7E68FD.jpeg)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjohntalton%2Frotaryencoder","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjohntalton%2Frotaryencoder","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjohntalton%2Frotaryencoder/lists"}