{"id":15063463,"url":"https://github.com/vindolin/prusa2mqtt","last_synced_at":"2025-07-22T13:34:25.255Z","repository":{"id":57455290,"uuid":"461552267","full_name":"vindolin/prusa2mqtt","owner":"vindolin","description":"Command line tool that parses the USB serial output of a Prusa 3D printer and publishes the sensor values and progress to an MQTT server.","archived":false,"fork":false,"pushed_at":"2024-02-03T09:12:08.000Z","size":23,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-07-01T11:08:13.305Z","etag":null,"topics":["3d-printing","mqtt","prusa"],"latest_commit_sha":null,"homepage":"","language":"Python","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/vindolin.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":"2022-02-20T16:51:09.000Z","updated_at":"2024-11-06T15:34:23.000Z","dependencies_parsed_at":"2024-09-29T08:40:39.795Z","dependency_job_id":"1e37d725-5a8f-4249-a532-a40bf67e9614","html_url":"https://github.com/vindolin/prusa2mqtt","commit_stats":{"total_commits":25,"total_committers":2,"mean_commits":12.5,"dds":0.12,"last_synced_commit":"41af35420db5db0f169bb9aca8df67880eacd7c9"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/vindolin/prusa2mqtt","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vindolin%2Fprusa2mqtt","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vindolin%2Fprusa2mqtt/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vindolin%2Fprusa2mqtt/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vindolin%2Fprusa2mqtt/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vindolin","download_url":"https://codeload.github.com/vindolin/prusa2mqtt/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vindolin%2Fprusa2mqtt/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266506183,"owners_count":23940019,"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","status":"online","status_checked_at":"2025-07-22T02:00:09.085Z","response_time":66,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"robots_txt_url":"https://github.com/robots.txt","online":true,"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":["3d-printing","mqtt","prusa"],"created_at":"2024-09-24T23:57:47.689Z","updated_at":"2025-07-22T13:34:25.232Z","avatar_url":"https://github.com/vindolin.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# prusa2mqtt\n\nCommand line tool that parses the USB serial output of a Prusa 3D printer and publishes the sensor values and progress to an MQTT server.\n\nThe difference between this script and the MQTT plugin for Octoprint is, that this script only connects once to the /dev/ttyACM0 port and the connection doesn't abort if you power down the printer.\n\n\nInstall:\n--------\n```bash\npip install prusa2mqtt\n```\n\n```bash\nprusa2mqtt --help\n```\n\n```\nusage: prusa2mqtt [-h] [--topic TOPIC] [--client_id CLIENT_ID]\n                     [--check_interval CHECK_INTERVAL]\n                     [--serial_port SERIAL_PORT] [--mqtt_address MQTT_ADDRESS]\n                     [--mqtt_port MQTT_PORT] [--mqtt_username MQTT_USERNAME]\n                     [--mqtt_password MQTT_PASSWORD]\n                     [--discrete_topics DISCRETE_TOPICS]\n\nLog temperature data and progress from the USB port of a Prusa printer to an MQTT server.\n\noptional arguments:\n  -h, --help            show this help message and exit\n  --serial_port SERIAL_PORT\n                        Path to the serial port device. (default: /dev/ttyACM0)\n  --topic TOPIC         Topic for the MQTT message. (default: prusa)\n  --client_id CLIENT_ID\n                        Distinct client ID for the MQTT connection. (default: prusa2mqtt)\n  --check_interval CHECK_INTERVAL\n                        Interval in seconds for checking the temperatures. (default: 5)\n  --serial_port SERIAL_PORT\n                        Path to the serial port device.\n  --mqtt_address MQTT_ADDRESS\n                        Address for the MQTT connection. (default: localhost)\n  --mqtt_port MQTT_PORT\n                        Port for the MQTT connection. (default: 1883)\n  --mqtt_username MQTT_USERNAME\n                        User name for the MQTT connection. (default: None)\n  --mqtt_password MQTT_PASSWORD\n                        Password name for the MQTT connection. (default: None)\n  --discrete_topics DISCRETE_TOPICS\n                        Post sensor data to discrete topics instead of one JSON payload. (default: False)\n```\n\nSend GCODE over MQTT:\n--------\n```\nYou can also send GCODE to your printer if you publish something to $TOPIC/gcode\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvindolin%2Fprusa2mqtt","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvindolin%2Fprusa2mqtt","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvindolin%2Fprusa2mqtt/lists"}