{"id":40344109,"url":"https://github.com/seife/lacrosse2mqtt","last_synced_at":"2026-01-20T09:06:34.978Z","repository":{"id":74935264,"uuid":"441157575","full_name":"seife/lacrosse2mqtt","owner":"seife","description":"Lacrosse Sensors to MQTT gateway","archived":false,"fork":false,"pushed_at":"2025-03-26T12:32:21.000Z","size":98,"stargazers_count":3,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-26T13:34:51.770Z","etag":null,"topics":["esp32","lacrosse","mqtt","sensor","temperature"],"latest_commit_sha":null,"homepage":"","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/seife.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":"2021-12-23T11:23:04.000Z","updated_at":"2025-03-26T12:32:26.000Z","dependencies_parsed_at":null,"dependency_job_id":"903749bc-ebb1-4423-95db-004e7d8bc606","html_url":"https://github.com/seife/lacrosse2mqtt","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/seife/lacrosse2mqtt","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seife%2Flacrosse2mqtt","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seife%2Flacrosse2mqtt/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seife%2Flacrosse2mqtt/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seife%2Flacrosse2mqtt/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/seife","download_url":"https://codeload.github.com/seife/lacrosse2mqtt/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seife%2Flacrosse2mqtt/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28599868,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-20T08:51:33.170Z","status":"ssl_error","status_checked_at":"2026-01-20T08:51:10.855Z","response_time":117,"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":["esp32","lacrosse","mqtt","sensor","temperature"],"created_at":"2026-01-20T09:06:34.911Z","updated_at":"2026-01-20T09:06:34.970Z","avatar_url":"https://github.com/seife.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# LaCrosse to MQTT gateway\n\nThis is a gateway to receive temperature and humidity from LaCrosse IT+ temperature sensors and publish them to a MQTT broker.\n\nThe code was originally inspired by [LaCrosseITPlusReader](https://github.com/rinie/LaCrosseITPlusReader) but the original code has been completely reworked since then.\nIt is designed to run on a \"TTGO LORA\" board which has a SX1276 RF chip and a SSD1306 OLED on board.\n\nThe on-board button triggers WPS connection to the WIFI network, it should be only needed on first installation.\n\nThe web page is showing the received sensors with their values, the configuration page allows to specify a name / label for every sensor ID.\nThe sensor ID is a 6 bit value (0-63). Because there are two different data rates for LaCrosse sensors, which can otherwise have the same ID, I decided to add 128 to the sensor ID if it comes from a sensor with the slow data rate. There are also two-channel temperature sensors which identify the second temperature channel with a \"magic\" humidity value. To distinguish the two channels, 64 is added to the sensor ID for the second channel. This gives a total of 256 sensor IDs.\nTo clear a label for a sensor, just enter an empty label.\n\n## MQTT publishing of values\nOn the config page, you can enter the hostname / IP of your MQTT broker. The topics published are:\n\n   * `climate/\u003cLABEL\u003e/temp` temperate\n   * `climate/\u003cLABEL\u003e/humi` humidity (if available)\n   * `lacrosse/id_\u003cID\u003e/temp`, `lacrosse/id_\u003cID\u003e/humi` the same but per ID. Note that the ID may change after a battery change! Labels can be rearranged after a battery change for stable naming.\n   * `lacrosse/id_\u003cID\u003e/state` additional flags \"low_batt\", \"init\" (for new battery state), \"RSSI\" (signal), \"baud\" (data rate) as JSON string\n\n## Firmware update\nThe software update can be uploaded via the \"Update software\" link from the configuration page\n\n## Debugging\nMore information about the current state is printed to the serial console, configured at 115200 baud.\nYou can also define `DEBUG_DAVFS` in the code, then WebDAV access to the LITTLEFS used for storing the configuration is possible on port 81.\n\n## Dependencies / credits\nThe following libraries are needed for building (installed via arduino lib manager if no github url is given):\n\n   * LittleFS_esp32\n   * PubSubClient\n   * ESP8266 and ESP32 OLED driver for SSD1306 displays\n   * ArduinoJson\n   * ESPWebDav (for debugging only)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fseife%2Flacrosse2mqtt","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fseife%2Flacrosse2mqtt","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fseife%2Flacrosse2mqtt/lists"}