{"id":15102102,"url":"https://github.com/gpbenton/espnow-mqtt","last_synced_at":"2026-02-11T04:05:05.207Z","repository":{"id":237046892,"uuid":"793697961","full_name":"gpbenton/ESPNow-mqtt","owner":"gpbenton","description":"Sends messages from ESPNow to MQTT","archived":false,"fork":false,"pushed_at":"2024-05-20T09:03:44.000Z","size":42,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-05-21T00:00:34.397Z","etag":null,"topics":["esp32","esp8266","espnow","mqtt","mqtt-client","platformio"],"latest_commit_sha":null,"homepage":"","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/gpbenton.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.MIT","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-04-29T17:45:00.000Z","updated_at":"2024-05-31T16:06:38.447Z","dependencies_parsed_at":"2024-05-31T16:06:38.070Z","dependency_job_id":"907ddd4e-8ea6-414d-9575-f3c10f424435","html_url":"https://github.com/gpbenton/ESPNow-mqtt","commit_stats":null,"previous_names":["gpbenton/espnow-mqtt"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gpbenton%2FESPNow-mqtt","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gpbenton%2FESPNow-mqtt/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gpbenton%2FESPNow-mqtt/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gpbenton%2FESPNow-mqtt/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gpbenton","download_url":"https://codeload.github.com/gpbenton/ESPNow-mqtt/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247332521,"owners_count":20921852,"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":["esp32","esp8266","espnow","mqtt","mqtt-client","platformio"],"created_at":"2024-09-25T18:46:54.708Z","updated_at":"2026-02-11T04:05:05.166Z","avatar_url":"https://github.com/gpbenton.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"Sends messages from ESPNow to MQTT.\n\nA powered gateway is defined that receives ESPNow messages and forwards them to the MQTT Broker.  ESPNow is configured to use the same WiFi channel as the configured SSID, so the gateway can interoperate with them.  On powerup, and after failed message sending, the sensors scan the wifi signals to find the correct channel, and then do an ESPNow broadcast to find the gateway.\n\nMQTT Topic is  `espnow/{mac_address_of_sensor_node} `\nMQTT\n\n# Status\nAlpha - basic principle works with `wemos_d1_mini` gateway and `lolin s2 mini` sensor.\n\n## TODO:\n\n- [ ] Battery level detection - use esp32 get vdd?  Is there an internal voltage reference for analog io?  Turn on voltage divider with transistor.\n- [ ] Send JSON message over ESPNow?  Simpler for gateway and more flexible, but increases the size of the ESPNow message.\n- [ ] Light sensor.\n- [ ] Two way communication.\n\n# ACKNOWLEDGEMENTS\nBuilding on the shoulders of giants\n\n[QuickEspNow](https://github.com/gmag11/QuickESPNow)\n\n[async-mqtt-client](https://github.com/HeMan/async-mqtt-client)\n\n[nlohman-json](https://github.com/Johboh/nlohmann-json)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgpbenton%2Fespnow-mqtt","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgpbenton%2Fespnow-mqtt","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgpbenton%2Fespnow-mqtt/lists"}