{"id":17740611,"url":"https://github.com/rusq/dogbutton-esp32","last_synced_at":"2026-05-02T03:32:58.691Z","repository":{"id":192780511,"uuid":"687398276","full_name":"rusq/dogbutton-esp32","owner":"rusq","description":"Dog button","archived":false,"fork":false,"pushed_at":"2023-09-14T08:50:44.000Z","size":16,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-01-21T23:21:21.888Z","etag":null,"topics":["esp32","m5atom-lite","m5stack","telegram-bot"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"wtfpl","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rusq.png","metadata":{"files":{"readme":"README.txt","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":"2023-09-05T09:22:42.000Z","updated_at":"2023-09-06T05:09:45.000Z","dependencies_parsed_at":"2024-02-06T02:46:17.507Z","dependency_job_id":null,"html_url":"https://github.com/rusq/dogbutton-esp32","commit_stats":null,"previous_names":["rusq/dogbutton-esp32"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/rusq/dogbutton-esp32","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rusq%2Fdogbutton-esp32","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rusq%2Fdogbutton-esp32/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rusq%2Fdogbutton-esp32/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rusq%2Fdogbutton-esp32/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rusq","download_url":"https://codeload.github.com/rusq/dogbutton-esp32/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rusq%2Fdogbutton-esp32/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32522245,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-02T01:12:54.858Z","status":"online","status_checked_at":"2026-05-02T02:00:05.923Z","response_time":132,"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":["esp32","m5atom-lite","m5stack","telegram-bot"],"created_at":"2024-10-26T03:06:45.551Z","updated_at":"2026-05-02T03:32:58.675Z","avatar_url":"https://github.com/rusq.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"===================\n  Dog Button, The  \n===================\n\nPress the button on your ESP32 and receive a telegram bot message.\n\nAfter reading this text, you will understand that the alpha and omega,\nthe beginning and the end, most important thing, and a meaning of life\n\n                          is a button.\n\n\nPrerequisitage\n--------------\nYou need:\n1. A button (or M5AtomLite, it has a couple of those)\n2. A telegram bot (get token from https://t.me/botfather)\n3. Wifi SSID/Password\n4. A neighbour's dog that barks.\n5. OCD on listening to the dog barking.\n\nUsage\n-----\n\n1. Create \"include/secrets.h\" by copying \"include/secrets.h.sample\", and update the values.\n2. Build/Upload to the ESP32.\n3. Press the button.\n4. ...\n5. Receive an message\n\nOptional:\n\n6. Export JSON from the bot chat\n7. Get the timestamps\n8. Record neighbour's dogs barking\n9. Create a program that replays the barks with the time intervals taken from the origial timestamps\n...\n?. PROFIT!!!\n\nFeatures\n--------\nIf the button is not pressed for (roughly) 60 seconds, ESP32 is put to a light sleep mode.\nPress the button to wake it up and send a message.\n\nHow to build the project\n------------------------\n\nOriginally built for M5Atom-Lite S3, but should work with any ESP32,\nas long as you have a button, or two.\n\nGet the PlatformIO: https://docs.platformio.org/en/latest/\n\nIf you don't have a button, get one, now.\n\nLog level is controlled in \"platformio.ini\" through the \"build_flags\"\nvariable.  To enable debug level logs, modify it to:\n\n    build_flags = -DCORE_DEBUG_LEVEL=ARDUHAL_LOG_LEVEL_DEBUG\n\nLicense\n-------\n\nWTFPL.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frusq%2Fdogbutton-esp32","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frusq%2Fdogbutton-esp32","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frusq%2Fdogbutton-esp32/lists"}