{"id":19211503,"url":"https://github.com/thebentern/sparkfi","last_synced_at":"2026-05-09T07:02:14.405Z","repository":{"id":115793176,"uuid":"128479175","full_name":"thebentern/sparkfi","owner":"thebentern","description":"8 channel relay based firework igniter for Wemos D1 mini ESP8266 platform","archived":false,"fork":false,"pushed_at":"2018-06-30T14:09:45.000Z","size":1019,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-03T01:38:49.492Z","etag":null,"topics":["arduino","esp8266","firework-igniter","http","platformio","relay","wemos"],"latest_commit_sha":null,"homepage":null,"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/thebentern.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":"2018-04-06T23:15:26.000Z","updated_at":"2023-08-20T05:20:29.000Z","dependencies_parsed_at":null,"dependency_job_id":"a36ffcb8-a9df-408d-8690-64dea87068fc","html_url":"https://github.com/thebentern/sparkfi","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/thebentern/sparkfi","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thebentern%2Fsparkfi","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thebentern%2Fsparkfi/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thebentern%2Fsparkfi/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thebentern%2Fsparkfi/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thebentern","download_url":"https://codeload.github.com/thebentern/sparkfi/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thebentern%2Fsparkfi/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32810381,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-08T08:22:46.396Z","status":"online","status_checked_at":"2026-05-09T02:00:06.633Z","response_time":123,"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":["arduino","esp8266","firework-igniter","http","platformio","relay","wemos"],"created_at":"2024-11-09T13:42:35.954Z","updated_at":"2026-05-09T07:02:14.366Z","avatar_url":"https://github.com/thebentern.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# sparkfi\n\n[![Build Status](https://travis-ci.org/thebentern/sparkfi.svg?branch=master)](https://travis-ci.org/thebentern/sparkfi)\n\n8 channel relay based firework igniter for Wemos D1 mini ESP8266 platform\n\n![Web interface](interface.png)\n\n## Basic installation\n\n* Clone repository\n\n* Install [Platform IO](http://platformio.org/)\n\n* Modify the definitions in main.ino to match your target environment\n\nWifi connection settings:\n\n```cpp\n#define WIFI_SSID \"MyWifiAp\"\n#define WIFI_PASSWORD \"MyPassword\"\n```\n\n* Change default pin mappings (optional). In `main.ino` the channels are mapped to pins in the following array by index. This can be changed to suit whichever pins that support 5v digital write on the board.\n\n```cpp\nconst int PIN_MAPPINGS[] = { 0, D1, D2, D3, D4, D5, D6, D7, D8 };\n```\n\n* Run Platform IO build scripts:\n\n```cmd\nplatformio run --target upload\nplatformio device monitor --baud 9600\n```\n\n## Basic example of wiring\n\n![Fritzing diagram](example_sketch_bb.png)\n\n### Troubleshooting\n\n#### Serial logging\n\nSome basic diagnostic logging is written to the serial log. Start there if you are having network issues.\n\n![Serial logging](serial.PNG)\n\n## Changing the web interface\n\nAs a convenience when I started developing the html for this project. I created it in the `src/index.html` fle. Because copying and serving a hefty file from SPIFFS file system on the ESP8266 is a somewhat unnecessary complication, I chose to generate a method in `html.ino` to serve up the html. In order to get any changes in the html into the `html.ino`, I wrote a very crude NodeJs solution to generate the `html.ino` from `index.html`. All of that being said, if you wish to make any changes to the interface, simply change the `index.html` file and execute \n```cmd\nnode index.js\n``` \nin the root directory of the repository. That will regenerate the html in `html.ino`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthebentern%2Fsparkfi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthebentern%2Fsparkfi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthebentern%2Fsparkfi/lists"}