{"id":23302243,"url":"https://github.com/gabe-zhang/dawg","last_synced_at":"2026-02-13T02:02:53.548Z","repository":{"id":266412856,"uuid":"898262299","full_name":"gabe-zhang/dawg","owner":"gabe-zhang","description":"A voice-controlled smart home assistant","archived":false,"fork":false,"pushed_at":"2024-12-10T10:28:54.000Z","size":1788,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-31T14:32:50.181Z","etag":null,"topics":["azure","iot","text2speech"],"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/gabe-zhang.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":"2024-12-04T04:41:59.000Z","updated_at":"2025-01-12T00:03:35.000Z","dependencies_parsed_at":"2024-12-10T11:33:23.789Z","dependency_job_id":null,"html_url":"https://github.com/gabe-zhang/dawg","commit_stats":null,"previous_names":["yuanzzhang/dawg","gabe-zhang/dawg"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/gabe-zhang/dawg","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gabe-zhang%2Fdawg","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gabe-zhang%2Fdawg/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gabe-zhang%2Fdawg/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gabe-zhang%2Fdawg/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gabe-zhang","download_url":"https://codeload.github.com/gabe-zhang/dawg/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gabe-zhang%2Fdawg/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274308413,"owners_count":25261251,"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-09T02:00:10.223Z","response_time":80,"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":["azure","iot","text2speech"],"created_at":"2024-12-20T10:19:32.452Z","updated_at":"2026-02-13T02:02:48.526Z","avatar_url":"https://github.com/gabe-zhang.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Dawg: Your AI-Powered Home Buddy\n\nDawg is a voice-controlled smart home assistant that combines edge and cloud computing to provide real-time environmental monitoring and natural voice interactions. Built on the DE10-Nano platform with Azure cloud services integration.\n\n## Features\n\n- Voice-controlled environmental monitoring\n- Real-time sensor data collection (temperature, humidity, brightness)\n- Natural language processing for voice commands\n- Edge computing capabilities with cloud AI integration\n\n![System Diagram](./imgs/Diagram.png)\n\n## Project Structure\n\n```\ndawg/\n├── pyproject.toml\n├── README.md   \n└── src/\n    ├── __init__.py\n    ├── keyword_search.py  # Intent classification from voice input\n    ├── main.py\n    ├── sensor/        # Sensor interface package\n    ├── speech2text.py\n    ├── text2speech.py\n    └── utils.py\n```\n\n### Component Description\n\n- `keyword_search.py`: Analyzes transcribed text to detect user intent and categories\n- `main.py`: Orchestrates the complete pipeline from audio input to response\n- `sensor/`: Package handling RSF2 sensor array interactions\n- `speech2text.py`: Handles audio transcription using Azure services\n- `text2speech.py`: Converts text responses to speech output\n- `utils.py`: Common utilities and helper functions\n\n## Hardware Requirements\n\n- DE10-Nano development board\n- RSF2 Sensor Array\n  - Temperature sensor\n  - Humidity sensor\n  - Brightness sensor\n- WiFi dongle\n- Microphone\n- Speaker\n\n![Hardwares](./imgs/Hardwares.jpeg)\n\n## Software\n\n- Python 3.x\n\n## Installation\n\n1\\. Clone the repository:\n```bash\ngit clone https://github.com/gabe-zhang/dawg.git\ncd dawg\n```\n\n2\\. Install dependencies:\n```bash\npip install --upgrade pip\npip install -e .\n```\n\n## Configuration\n\n### 1. Environment Variables\n\nSet up the required Azure credentials in your environment:\n\n```bash\nexport AZURE_SPEECH_API_KEY=\u003cyour_azure_speech_api_key\u003e\n```\n\nFor persistent configuration, add this to your `~/.bashrc` or `~/.zshrc`:\n\n```bash\necho 'export AZURE_SPEECH_API_KEY=\u003cyour_azure_speech_api_key\u003e' \u003e\u003e ~/.bashrc\nsource ~/.bashrc\n```\n\n### 2. Hardware Setup\n\nSet up the DE10-Nano hardware configuration according to the provided system diagram:\n- Connect the RSF2 Sensor Array\n- Attach the WiFi dongle\n- Connect microphone and speaker to appropriate ports\n\n\n## Usage\n\nRun the main application with an audio file input:\n\n```bash\npython -m src.main audio_input.wav\n```\n\n### Voice Commands\n\nThe system responds to natural language queries about:\n- Temperature readings\n- Humidity levels\n- Light conditions\n- Combined environmental status\n\nExample commands:\n- \"What's the temperature?\"\n- \"How humid is it?\"\n- \"How bright is the room?\"\n\n## System Architecture\n\nThe system consists of three main components:\n\n1. **Hardware Components**\n   - RSF2 Sensor Array for environmental monitoring\n   - DE10-Nano for local processing\n   - Audio I/O devices\n\n2. **Edge Processing**\n   - Analog-to-Digital conversion\n   - Central Processing Unit\n   - Script execution\n   - Command classification\n\n3. **Cloud Services**\n   - Azure Speech-to-Text\n   - Azure Text-to-Speech\n\n## Potential Improvements\n\n- Audio kernel installation for on-device speakers and microphones\n- Continuous audio interaction support\n- Additional sensor integration (camera, accelerometer)\n- Enhanced natural language processing capabilities\n\n## Contributors\n\n- [Gabriel Zhang](https://github.com/gabe-zhang)\n- Zhenghao Wang\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgabe-zhang%2Fdawg","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgabe-zhang%2Fdawg","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgabe-zhang%2Fdawg/lists"}