{"id":26367429,"url":"https://github.com/iloveandlikepizza/sunrisesiren3000","last_synced_at":"2025-03-16T21:16:56.540Z","repository":{"id":275121088,"uuid":"924854608","full_name":"ILoveAndLikePizza/SunriseSiren3000","owner":"ILoveAndLikePizza","description":"The most epic NeoPixel based alarm clock","archived":false,"fork":false,"pushed_at":"2025-02-16T19:17:14.000Z","size":277,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-16T20:25:01.699Z","etag":null,"topics":["alarm","alarm-clock","clock","digital-clock","neopixel"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ILoveAndLikePizza.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":"2025-01-30T19:09:54.000Z","updated_at":"2025-02-16T19:17:17.000Z","dependencies_parsed_at":"2025-02-16T20:21:49.483Z","dependency_job_id":"378946e9-9836-404b-b0cd-083b3f3ef403","html_url":"https://github.com/ILoveAndLikePizza/SunriseSiren3000","commit_stats":null,"previous_names":["iloveandlikepizza/sunrisesiren3000"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ILoveAndLikePizza%2FSunriseSiren3000","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ILoveAndLikePizza%2FSunriseSiren3000/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ILoveAndLikePizza%2FSunriseSiren3000/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ILoveAndLikePizza%2FSunriseSiren3000/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ILoveAndLikePizza","download_url":"https://codeload.github.com/ILoveAndLikePizza/SunriseSiren3000/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243933457,"owners_count":20370988,"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","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":["alarm","alarm-clock","clock","digital-clock","neopixel"],"created_at":"2025-03-16T21:16:56.031Z","updated_at":"2025-03-16T21:16:56.533Z","avatar_url":"https://github.com/ILoveAndLikePizza.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Sunrise Siren 3000\n### The most epic NeoPixel based alarm clock\n\u003cbr\u003e\n\n## Introduction\nThe Sunrise Siren 3000 is the clock I have in front of my bed. Its job is to display time, temperature and humidity, but most importantly, wake me up whenever I have to wake up. I realize that you may not own a Sunrise Siren 3000 yourself, but I still like to make this project open-source :P  \nThis repository consists of two relevant parts of the clock:  \n- the firmware of the clock, located in the `SunriseSirenFirmware` directory. It is flashed onto the ESP32 inside it by using the [Arduino IDE](https://www.arduino.cc/en/software);\n- the control program, **Sunrise Siren Studio**, located in the `SunriseSirenStudio` directory. It is made with the [Gimp ToolKit](https://gtk.org/) (GTK) in C, making it only available to Linux (and WSL2) users. The program has to be compiled from source.\n\n## Firmware setup\n1. Navigate to the `SunriseSirenFirmware` directory.\n2. Copy `Authentication.h.example` to `Authentication.h` and change the values in that file to whatever you like. (Note that values over 32 characters are very difficult to enter into Sunrise Siren Studio.)\n\u003e **WARNING:** Sunrise Siren 3000 passwords are NOT encrypted or hashed anywhere. **DO NOT USE A PASSWORD THAT YOU ALREADY USE SOMEWHERE ELSE!**\n3. Launch the Arduino IDE and load the `SunriseSirenFirmware.ino` sketch.\n\u003e **Hint:** you can add the firmware sketch to your Arduino IDE sketchbook with a symlink:\n\u003e ```bash\n\u003e ln -s $(pwd) ~/Arduino\n\u003e ```\n\u003e Note that:\n\u003e - this command assumes you are in the `SunriseSirenFirmware` directory;\n\u003e - the location of your sketchbook may vary.\n\u003e\n\u003e Now, you can load the sketch easier.\n\n4. Ensure that the ESP32 board is installed (if not, check [this tutorial](https://randomnerdtutorials.com/installing-esp32-arduino-ide-2-0/));\n5. Ensure that the required libraries are installed:\n    - **WiFiManager** *(by tzapu)*;\n    - **FastLED** *(by Daniel Garcia)*;\n    - **NTPClient** *(by Fabrice Weinberg)*;\n    - **SHT2x** *(by Rob Tillaart)*.\n6. Go to **Tools** \u003e **Board** and ensure that it is set to \"**ESP32 Dev Module**\";\n7. Click the Upload button.\n\n### Congratulations, the Sunrise Siren 3000 firmware has been flashed successfully!\n\u003cbr\u003e\n\n## Sunrise Siren Studio installation\n1. Ensure that the required libraries are installed.  \nWith `apt`, those can be installed by running:\n    ```bash\n    sudo apt install gcc libgtk-3-dev libcurl4-openssl-dev libjson-c-dev\n    ```\n    And with `dnf`:\n    ```bash\n    sudo dnf install gcc gtk3-devel libcurl-devel json-c-devel\n    ```\n2. Navigate to the `SunriseSirenStudio` directory.\n3. Minify the Glade sketch into a UI header file by running:\n    ```bash\n    ./minify-ui\n    ```\n4. Compile the program by running:\n    ```bash\n    make\n    ```\n5.  If you want to install the program right away, skip to the next step. If you want to test the program first (inside the repository), it is necessary to compile the GSettings schema first, and refer to it by using the `GSETTINGS_SCHEMA_DIR` environment variable when executing the binary:\n    ```bash\n    make gschema\n    GSETTINGS_SCHEMA_DIR=$(pwd)/schema build/sunrise-siren-studio\n    ```\n    \u003e Note that these commands assume you are in the `SunriseSirenStudio` directory.\n6. To install the program on your computer, run:\n    ```bash\n    sudo make install\n    ```\n\n### Congratulations, Sunrise Siren Studio is up and running now!\n\u003cbr\u003e\n\n## Sunrise Siren Studio uninstallation\n1. Simply run:\n    ```bash\n    sudo make uninstall\n    ```\n2. Optionally, you can remove all minified and compiled files from the repository:\n    ```bash\n    make clean\n    ```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Filoveandlikepizza%2Fsunrisesiren3000","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Filoveandlikepizza%2Fsunrisesiren3000","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Filoveandlikepizza%2Fsunrisesiren3000/lists"}