{"id":48821570,"url":"https://github.com/zeridon/luftdaten2mqtt","last_synced_at":"2026-04-14T15:02:50.671Z","repository":{"id":39662564,"uuid":"316827758","full_name":"zeridon/luftdaten2mqtt","owner":"zeridon","description":"Push your measurements directly to homeassistant from the airRohr selfmade sensors","archived":false,"fork":false,"pushed_at":"2026-01-24T02:03:45.000Z","size":207,"stargazers_count":3,"open_issues_count":2,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2026-01-24T02:41:53.748Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","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/zeridon.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2020-11-28T21:48:03.000Z","updated_at":"2026-01-23T09:45:02.000Z","dependencies_parsed_at":"2023-10-16T19:18:58.362Z","dependency_job_id":"324b43db-e044-4ff1-a2e5-5abe4eca4981","html_url":"https://github.com/zeridon/luftdaten2mqtt","commit_stats":null,"previous_names":[],"tags_count":24,"template":false,"template_full_name":null,"purl":"pkg:github/zeridon/luftdaten2mqtt","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zeridon%2Fluftdaten2mqtt","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zeridon%2Fluftdaten2mqtt/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zeridon%2Fluftdaten2mqtt/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zeridon%2Fluftdaten2mqtt/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zeridon","download_url":"https://codeload.github.com/zeridon/luftdaten2mqtt/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zeridon%2Fluftdaten2mqtt/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31801629,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-14T11:13:53.975Z","status":"ssl_error","status_checked_at":"2026-04-14T11:13:53.299Z","response_time":153,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":[],"created_at":"2026-04-14T15:02:46.857Z","updated_at":"2026-04-14T15:02:50.652Z","avatar_url":"https://github.com/zeridon.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# sensor.community to home-assistant via MQTT\n[Sensor.Community](https://sensor.community) has instructions how to [build](https://sensor.community/en/sensors/) your own sensors. They provide a nice map and some functionality. There is also an integration ([Sensor.Community](https://www.home-assistant.io/integrations/luftdaten/) to pull a station data inside home assistant. Unfortunately this goes over the internet and so is not quite desirable.\n\nThis simple daemon will help you to integrate the sensor station into home assistant via MQTT.\n\n# How to Use\nThe easiest way to use this is to run it as a docker container `docker run -d --restart always --name luftdaten2mqtt -p 8080:8080 zeridon/luftdaten2mqtt:latest`\n\n# Use without docker\nmake sure you have `bottle` and `paho-mqtt` installed and then simply `python ./luftdaten2mqtt.py`\n\n# Settings\nSettings are controled via environment variables. The following variables are available:\n\n| Variable | Default | Description |\n| -------- | ------- | ----------- |\n| HTTP_PORT | 8080 | Port to listen on for incomming traffic |\n| MQTT_HOST | 192.168.1.1 | Host where MQTT Broker (e.g. mosquitto) is running |\n| MQTT_USER | user | Username to use when connecting to MQTT Broker |\n| MQTT_PASS | pass | Password to use when connecting to MQTT Broker |\n| MQTT_TOPIC | luftdaten/ | Base topic to which to submit data |\n| LOG_LEVEL | DEBUG | Verbosity level for logging (DEBUG, INFO, NOTICE, ERROR) |\n\n# How to configure a luftdaten Sensor\nLuftdaten sensors have an option to configure custom api to which to send the data. The proper configuration is as follows:\n\n| Parameter | Value | Description |\n| --------- | ----- | ----------- |\n| Server | 192.168.1.5 | The address/host where this program is running |\n| Path | /luftdaten/json2mqtt | The path to which the sensor will `POST` the data |\n| Port | 8080 | The value of HTTP_PORT (or if using Docker the externally mapped port |\n\n# TODO\n * Add more env parameters for better configurability\n\n# Performance\nNot really tested but with simplistic load test performs good enough. My current network is 6 sensors and so far i have seen no issues.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzeridon%2Fluftdaten2mqtt","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzeridon%2Fluftdaten2mqtt","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzeridon%2Fluftdaten2mqtt/lists"}