{"id":30891184,"url":"https://github.com/zachzion762/teensy41-intercom","last_synced_at":"2026-04-29T22:36:56.708Z","repository":{"id":311664039,"uuid":"1044508684","full_name":"zachzion762/teensy41-intercom","owner":"zachzion762","description":"Teensy 4.1–based intercom system with MQTT + Home Assistant integration. Hardware, firmware, and wiring diagrams for a modular smart-home panel","archived":false,"fork":false,"pushed_at":"2025-08-25T20:25:39.000Z","size":38932,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-08-25T21:32:48.556Z","etag":null,"topics":["3d-printing","arduino","automation","electronics","embedded-systems","hardware-designs","home-assistant","iot","mqtt","smart-home","smarthome","stl-files","teensy41"],"latest_commit_sha":null,"homepage":"https://www.youtube.com/watch?v=SxNvHAskOwU","language":"C++","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/zachzion762.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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,"zenodo":null}},"created_at":"2025-08-25T19:43:11.000Z","updated_at":"2025-08-25T20:50:43.000Z","dependencies_parsed_at":"2025-08-25T21:42:53.346Z","dependency_job_id":null,"html_url":"https://github.com/zachzion762/teensy41-intercom","commit_stats":null,"previous_names":["zachzion762/teensy41-intercom"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/zachzion762/teensy41-intercom","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zachzion762%2Fteensy41-intercom","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zachzion762%2Fteensy41-intercom/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zachzion762%2Fteensy41-intercom/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zachzion762%2Fteensy41-intercom/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zachzion762","download_url":"https://codeload.github.com/zachzion762/teensy41-intercom/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zachzion762%2Fteensy41-intercom/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274225630,"owners_count":25244552,"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-09-08T02:00:09.813Z","response_time":121,"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","arduino","automation","electronics","embedded-systems","hardware-designs","home-assistant","iot","mqtt","smart-home","smarthome","stl-files","teensy41"],"created_at":"2025-09-08T18:03:53.826Z","updated_at":"2026-04-29T22:36:51.684Z","avatar_url":"https://github.com/zachzion762.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"﻿# Teensy 4.1 Intercom – MQTT Button Panel\n\n## Demo Video\n[![Watch the demo](https://img.youtube.com/vi/SxNvHAskOwU/0.jpg)](https://www.youtube.com/watch?v=SxNvHAskOwU)\n\n\nTurns a Teensy 4.1 + Ethernet kit into a **12-button MQTT panel** with Home Assistant discovery.  \nEach button is exposed as a binary sensor in Home Assistant, with \\ON\\/\\OFF\\ state, plus an availability topic.\n\n---\n\n## ✨ Features\n- 12 inputs (using \\INPUT_PULLUP\\, press = LOW)\n- Native Ethernet with **QNEthernet**\n- MQTT via **PubSubClient**\n- Home Assistant auto-discovery\n- Availability + periodic re-announce\n- 3D printed bracket for mounting\n\n---\n\n## 🖼️ System Overview\n![System Overview](hardware/system_overview_diagram.jpg)\n\nThis diagram shows how the Teensy fits into the network:  \nbuttons → Teensy 4.1 → Ethernet → MQTT broker → Home Assistant.\n\n---\n\n## 🔌 Wiring Diagram\n![Wiring](hardware/wiring_diagram.jpg)\n\nEach button is wired from a Teensy pin to **GND**. Pins used are:\n\n\\\\\\\nBTN1..BTN12 → 1, 3, 5, 7, 9, 10, 12, 24, 26, 28, 30, 32\n\\\\\\\n\nAll pins use \\INPUT_PULLUP\\, so pressing pulls the pin LOW.  \n**Other side of every button = GND (shared).**\n\n---\n\n## 📸 Hardware Photos\n\n| Printing Brackets | Empty Enclosure | Wiring | Final Mount |\n|-------------------|-----------------|--------|-------------|\n| ![Brackets](hardware/photos/3d_print_brackets1.jpg) | ![Empty1](hardware/photos/empty1.jpg) | ![Wiring1](hardware/photos/wiring1.jpg) | ![WoodBlock](hardware/photos/3d_print_brackets5.jpg) |\n\n\u003e More photos in [hardware/photos](hardware/photos).  \n\u003e If your exact filenames differ, update the links above (they were sanitized to remove spaces/parentheses).\n\n---\n\n## 🎥 3D Print Timelapse\n[▶ 3D print timelapse video](hardware/photos/3D_print_timelapse.mp4)\n\n---\n\n## 🛠️ 3D Printed Parts\n- [\\Teensy_4.1_Ethernet_Mount.stl\\](hardware/Teensy_4.1_Ethernet_Mount.stl)  \n  Bracket to hold the Teensy with the PJRC Ethernet kit.\n\n---\n\n## 📡 MQTT\nSee [docs/mqtt-topics.md](docs/mqtt-topics.md).\n\n---\n\n## 🏠 Home Assistant Integration\n\nEntities appear automatically under **MQTT → Binary Sensors** (discovery).  \n\n![HA Discovery](docs/screenshots/ha_discovery.png)  \n![HA Entities](docs/screenshots/ha_entities.png)\n\n---\n\n## ⚙️ Build Instructions (Arduino IDE 2.3.6)\n\n1. **Boards Manager**: install “Teensy by PJRC” → select **Teensy 4.1**  \n2. **Library Manager**: install  \n   - **QNEthernet** (Shawn Silverman)  \n   - **PubSubClient** (Nick O’Leary)  \n3. Copy \\f\firmware/TeensyIntercom/secrets_example.h\\ → \\secrets.h\\ and edit with your broker details.  \n   (\\secrets.h\\ is ignored by Git — safe to commit the project without it.)  \n4. Open \\f\firmware/TeensyIntercom/TeensyIntercom.ino\\  \n5. **Verify** → **Upload**\n\nAfter upload, check MQTT:\n\\\\\\\nintercom/availability = online\nintercom/button/N = ON/OFF\n\\\\\\\n\n---\n\n## 📜 License\nMIT — see [LICENSE](LICENSE).\n\n---\n\n## 🙏 Credits\n- **QNEthernet** by Shawn Silverman  \n- **PubSubClient** by Nick O’Leary  \n- Built with Arduino IDE 2.3.6\n\n## Bill of Materials\nSee [hardware/BOM.md](hardware/BOM.md) for the full parts list.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzachzion762%2Fteensy41-intercom","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzachzion762%2Fteensy41-intercom","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzachzion762%2Fteensy41-intercom/lists"}