{"id":15088979,"url":"https://github.com/dangreco/threedy","last_synced_at":"2025-10-05T20:31:08.791Z","repository":{"id":44090417,"uuid":"332883685","full_name":"dangreco/threedy","owner":"dangreco","description":"Home Assistant card to display 3D printer status and progress","archived":true,"fork":false,"pushed_at":"2024-04-16T13:58:56.000Z","size":593,"stargazers_count":205,"open_issues_count":32,"forks_count":58,"subscribers_count":17,"default_branch":"master","last_synced_at":"2025-09-24T04:35:49.891Z","etag":null,"topics":["3d-printing","homeassistant","homeassistant-components","octoprint","react"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/dangreco.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":"2021-01-25T21:06:55.000Z","updated_at":"2025-07-08T22:14:52.000Z","dependencies_parsed_at":"2024-11-15T21:31:18.510Z","dependency_job_id":"d9226c57-c085-400d-a7b6-14a2af74ce30","html_url":"https://github.com/dangreco/threedy","commit_stats":{"total_commits":61,"total_committers":5,"mean_commits":12.2,"dds":"0.11475409836065575","last_synced_commit":"58180185b5406abe2e3bb28ab1ac4165be413dba"},"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"purl":"pkg:github/dangreco/threedy","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dangreco%2Fthreedy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dangreco%2Fthreedy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dangreco%2Fthreedy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dangreco%2Fthreedy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dangreco","download_url":"https://codeload.github.com/dangreco/threedy/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dangreco%2Fthreedy/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278513237,"owners_count":25999430,"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-10-05T02:00:06.059Z","response_time":54,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","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","homeassistant","homeassistant-components","octoprint","react"],"created_at":"2024-09-25T08:38:23.008Z","updated_at":"2025-10-05T20:31:08.487Z","avatar_url":"https://github.com/dangreco.png","language":"TypeScript","funding_links":["https://www.buymeacoffee.com/dangreco"],"categories":["TypeScript"],"sub_categories":[],"readme":"___\n# **IMPORTANT: threedy v2.0**\n### I am currently working on a rewrite for this card with `preact` instead of `react`. \n\nThis will yield a lighter-weight card. I will also be tackling the bugs opened as issues in this rewrite -- using TypeScript from the get-go will help this (versus when I switched mid-development). Thank you for your support and patience!!!\n\n### [View the development branch for threedy v2.0 here!](https://github.com/dangreco/threedy/tree/threedy2.0)\n\n\n___\n\n\n\u003cbr /\u003e\n\u003cbr /\u003e\n\n# threedy\n## Home Asssistant card for 3D printers (via OctoPrint integration)\n\n\n![Featured](https://github.com/dangreco/threedy/raw/master/screenshots/active.png)\n\n\u003ca href=\"https://www.buymeacoffee.com/dangreco\" target=\"_blank\"\u003e\u003cimg src=\"https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png\" alt=\"Buy Me A Coffee\" style=\"height: 41px !important;width: 174px !important;box-shadow: 0px 3px 2px 0px rgba(190, 190, 190, 0.5) !important;-webkit-box-shadow: 0px 3px 2px 0px rgba(190, 190, 190, 0.5) !important;\" \u003e\u003c/a\u003e\n\n\n# Table of Contents\n- [Features](#-features)\n- [Prerequisites](#-prerequisites)\n- [Installation](#-installation)\n  - [Method 1: HACS](#method-1-hacs)\n  - [Method 2: Manual](#method-2-manual)\n- [Config](#-config)\n  - [Graphical](#-Graphical)\n  - [Manual](#manual)\n    - [Required](#required)\n    - [Optional](#optional)\n- [Example Config](#-example-config)\n- [Custom Theming](#-custom-theming)\n- [Screenshots](#-screenshots)\n  - [Active Print](#active-print)\n  - [Idle](#idle)\n  - [Printer Offline](#printer-offline)\n  - [Show/Hide Animation](#showhide-animation)\n\n## Features\n---\n\n- Live animation of 3D printer\n- Live camera view\n- Current states of various OctoPrint sensors\n- Tap to show/hide when printer is idle\n- Power button for a switch entity\n- Light button for a switch entity\n- Adjustable 3D printer graphic scale\n- Themes\n\n\n## Prerequisites\n---\n- [OctoPrint](https://octoprint.org/)-enabled 3D printer\n- [Home Assistant](https://www.home-assistant.io/) instance\n- Home Assistant [OctoPrint integration](https://www.home-assistant.io/integrations/octoprint/)\n  - *** Make sure to expose all available data entities for your printer! ***\n\n\n## Installation\n---\n### Method 1: HACS\n1. Open _HACS_ and navigate to _Frontend_ Section\n2. Open the Overflow Menu (⋮) in the top right corner and click on _Custom repositories_\n3. Paste `https://github.com/dangreco/threedy` into the input field and select `Lovelace` from the dropdown\n4. Click the Install Button on the highlighted Card titled _threedy_\n\n### Method 2: Manual\n\n1. Download ```threedy-card.js``` from the releases section.\n2. Either:\n  * Move to the ```www``` folder of your Home Assistant instance\n  * Or copy the ffle's contents via the file editor.\n3. In the Resources section of Lovelace (```Configuration -\u003e Lovelace Dashboards -\u003e Resources```), add ```/local/threedy-card.js``` as a ```JavaScript Module```.\n4. Save\n5. Add a manual card to your lovelace dashboard using the configuration instructions below.\n6. Restart Server management\n7. Reload Browser\n\n\n## Config\n---\n\n### Graphical (Recommended)\n\n![graphical](https://github.com/dangreco/threedy/raw/master/screenshots/graphical.png)\n\n\n### Manual\n\n#### Required\n\n- ```type``` \u0026mdash; Always ```'custom:threedy-card'```\n- ```base_entity``` \u0026mdash; Take the beginning of one of the OctoPrint sensors of your printer. Example: for ```sensor.ender_3_v2_current_state``` it would be ```sensor_ender_3_v2```.\n- ```name``` \u0026mdash; Can be whatever you want!\n- ```printer_type``` \u0026mdash; Use a  printer style: ```'I3' | 'Cantilever' ```\n- ```monitored``` \u0026mdash; A list of values to monitor throughout the print; gets displayed to the right of the printer.\n\n#### Optional\n\n- ```theme``` \u0026mdash; Theme of the card: ```'Default' | 'Neumorphic' ```. Screenshots listed below.\n- ```font``` \u0026mdash; Specify the font used in the card. By default it is ```sans-serif```.\n- ```scale``` \u0026mdash; The scale factor of the animated 3D printer view. Try different values until you find one you like.\n- ```round_time``` \u0026mdash; Specify whether to round durations of time. Defaults to false. ```true | false```\n- ```round_temperature``` \u0026mdash; Specify whether to round decimal numbers for temperatures. Defaults to false. ```true | false```\n- ```temperature_unit``` \u0026mdash; Specify which unit of temperature measurement to convert to. ```'F' | 'C' ```\n- ```use_24hr``` \u0026mdash; Use 24 hour time format instead of 12 hour.\n- ```use_mqtt``` \u0026mdash; Use [MQTT integration](https://plugins.octoprint.org/plugins/homeassistant/) instead of OctoPrint API.\n- ```printer_config``` \u0026mdash; Use in with ```printer_type``` to set a custom printer style. If omitted, the default for the type will be used. Use [this tool](https://google.com) to create a custom value.\n- ```camera_entity``` \u0026mdash; Specify the entity ID of the camera entity you want to display **when the printer graphic is clicked**.\n- ```light_entity``` \u0026mdash; Specify the entity ID of a light you want to toggle for the printer.\n- ```power_entity``` \u0026mdash; Specify the entity ID of a power switch you want to toggle for the printer.\n\n## Example Config\n---\n\n```yaml\n# required\ntype: 'custom:threedy-card'\nbase_entity: 'sensor.ender_3_v2'\nname: 'Ender 3 v2'\nprinter_type: I3\nmonitored:\n  - Status\n  - ETA\n  - Elapsed\n  - Remaining\n  - Hotend\n  - Bed\n# optionals  \ntheme: 'Default'\nfont: 'Roboto'\nscale: 1.0\nround: false \n```\n\n## Custom Theming\n---\n\nCustom theming can be accomplished using [lovelace-card-mod](https://github.com/thomasloven/lovelace-card-mod#mod-card)'s ```mod-card```.\nSome styles may require the css keyword ``` !important``` to override the inline style.\nExample usage as follows:\n\n```yaml\ntype: 'custom:mod-card'\nstyle: |\n  threedy-card \u003e div {\n    box-shadow: none !important;\n  }\ncard:\n  type: 'custom:threedy-card'\n    .\n    .\n    .\n    \u003ccard config\u003e\n```\n\n\n## Screenshots\n---\n\n### Active Print\n\n![Active](https://github.com/dangreco/threedy/raw/master/screenshots/active.png)\n\n### Idle\n\n![Idle](https://github.com/dangreco/threedy/raw/master/screenshots/idle.png)\n\n### Printer Offline\n\n![Offline](https://github.com/dangreco/threedy/raw/master/screenshots/offline.png)\n\n### Show/Hide Animation\n\n![ShowHide](https://media.giphy.com/media/14VgtFSulJkOaRiZFo/giphy.gif)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdangreco%2Fthreedy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdangreco%2Fthreedy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdangreco%2Fthreedy/lists"}