{"id":22140568,"url":"https://github.com/supercomputer7/relay-module-countdown-timer","last_synced_at":"2026-04-30T17:31:59.207Z","repository":{"id":265378741,"uuid":"874353290","full_name":"supercomputer7/relay-module-countdown-timer","owner":"supercomputer7","description":"A replacement for your mechanical \u0026 manaul switch","archived":false,"fork":false,"pushed_at":"2025-02-15T17:56:17.000Z","size":10,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-24T11:17:56.990Z","etag":null,"topics":["automation","countdown-timer","iot","mqtt","timer"],"latest_commit_sha":null,"homepage":"","language":"Go","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/supercomputer7.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-10-17T17:13:26.000Z","updated_at":"2025-02-15T17:56:20.000Z","dependencies_parsed_at":"2025-02-15T18:28:28.758Z","dependency_job_id":"60267bd4-7091-4d9e-a581-18a25ac524c3","html_url":"https://github.com/supercomputer7/relay-module-countdown-timer","commit_stats":null,"previous_names":["supercomputer7/relay-module-countdown-timer"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/supercomputer7/relay-module-countdown-timer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/supercomputer7%2Frelay-module-countdown-timer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/supercomputer7%2Frelay-module-countdown-timer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/supercomputer7%2Frelay-module-countdown-timer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/supercomputer7%2Frelay-module-countdown-timer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/supercomputer7","download_url":"https://codeload.github.com/supercomputer7/relay-module-countdown-timer/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/supercomputer7%2Frelay-module-countdown-timer/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32472396,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-30T13:12:12.517Z","status":"ssl_error","status_checked_at":"2026-04-30T13:12:06.837Z","response_time":57,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["automation","countdown-timer","iot","mqtt","timer"],"created_at":"2024-12-01T21:06:30.399Z","updated_at":"2026-04-30T17:31:59.191Z","avatar_url":"https://github.com/supercomputer7.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# What is MQTT Relay Module Timer?\n\nThis is a simple program that responds to MQTT requests by adding more seconds to a countdown timer.\nIn its concept, it's just replacing a mechanical countdown timer (found in old and cheap ovens, for example).\n\nAlone though, it's not very useful, unless you setup an MQTT app to send requests to this program.\n\n# Why did I wrote this?\n\nTogether with a [time table automation](https://github.com/supercomputer7/timetable-automation), I can use this project as replacement for manual \u0026 mechanical timing solutions for automating various tasks.\n\n# Simple build instructions\n\nYou would want to build this for a Raspberry Pi or some platform that support GPIO devices.\nIf you just want to test this, run:\n```sh\ngo build .\n```\n\n## Statically cross-compiling for ARM64\n\nFor a Raspberry Pi or other ARM64 platform you can run this line so you have a statically-compiled binary:\n```sh\nCGO_ENABLED=0 GOARCH=arm64 go build -ldflags=\"-extldflags=-static\" .\n```\n\n# Limitations\n\nThere are some limitations which are probably OK for most people:\n- No backup MQTT broker, which means that if you don't have a connection to a MQTT broker anymore, you simply have a \"dead\" switch.\n- Although there's a limit on the max amount of seconds to wait before setting the latch off, it's technically possible to spam the MQTT channel indefinitely, hanging the timer ON forever.\n- When running from the terminal, you need to supply credentials to the MQTT broker in order to connect. Otherwise empty ones will be sent.\n- If you stop the program before it sets the latch off, the latch will stay on until next run!\n\n# License, dependencies \u0026 derived works\n\nAs usual with my projects, this project is licensed under the MIT license which I think fits\nthis project in the best way being possible.\n\nBe sure to check the dependencies' licenses if you want to use them in your project, as not all of\nthem are under the MIT license.\n\nSuggestions or derived works from this are more than welcome!\nIf this helped you in any way, I'd be very happy to hear about this :)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsupercomputer7%2Frelay-module-countdown-timer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsupercomputer7%2Frelay-module-countdown-timer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsupercomputer7%2Frelay-module-countdown-timer/lists"}