{"id":15533984,"url":"https://github.com/khanguslee/esp32-spike-code","last_synced_at":"2025-11-11T22:34:03.573Z","repository":{"id":106156576,"uuid":"241788029","full_name":"khanguslee/esp32-spike-code","owner":"khanguslee","description":"Random ESP32 code to test things out","archived":false,"fork":false,"pushed_at":"2020-02-20T04:51:10.000Z","size":2,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-03T09:16:51.737Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/khanguslee.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2020-02-20T03:53:52.000Z","updated_at":"2020-02-20T04:51:12.000Z","dependencies_parsed_at":"2024-05-03T11:18:32.303Z","dependency_job_id":null,"html_url":"https://github.com/khanguslee/esp32-spike-code","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/khanguslee%2Fesp32-spike-code","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/khanguslee%2Fesp32-spike-code/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/khanguslee%2Fesp32-spike-code/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/khanguslee%2Fesp32-spike-code/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/khanguslee","download_url":"https://codeload.github.com/khanguslee/esp32-spike-code/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246112638,"owners_count":20725300,"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":[],"created_at":"2024-10-02T11:40:35.863Z","updated_at":"2025-11-11T22:33:58.550Z","avatar_url":"https://github.com/khanguslee.png","language":"C++","readme":"# ESP32 Spike Code\n\nRandom ESP32 code to test things out.\n\n## Contents\n\n### Last Will and Testament\n\nTests out how the Last Will and Testament feature works. \n\nOn connection to the broker, the ESP32 device will publish to a `sensor/1/status` topic with the message `Online`. If the ESP32 disconnects from the broker, the broker will send a last will message to all subscribers to this topic. This last will message is set so that it updates the `sensor/1/status` topic with an `Offline` message. When the ESP32 client is online, it will send the message `Hello World` every 5 seconds to the topic `sensor/1/data`.\n\n#### Requirements\n\nNeeds to have the `PubSubClient` library installed. This can be added using the Arduino Library Manager.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkhanguslee%2Fesp32-spike-code","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkhanguslee%2Fesp32-spike-code","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkhanguslee%2Fesp32-spike-code/lists"}