Commit Graph

14 Commits

Author SHA1 Message Date
Gergely Polonkai f69efbd224
[Bugfix] Make BMP180 sensor code work
The variable name was wrong, and Wire wasn’t initialized when the sensor was enabled.
2021-02-01 15:32:49 +01:00
Gergely Polonkai b5dae4a1ce
[Bugfix] Fix a constant name in config.h.sample and add a note about MODE_PROM_PUSH 2021-02-01 15:32:49 +01:00
Gergely Polonkai 4df507f7e1
Remove MODE_PROM_PUSH and MODE_MQTT from consts.h
These values are not supported yet, so they should not be there yet.
2021-01-29 11:04:34 +01:00
Gergely Polonkai 3d249d2e05
Move the HTTP server code to a new mode_pull module 2021-01-29 11:01:07 +01:00
Gergely Polonkai 932e3d5d52
Change MDNS_NAME to SYSTEM_NAME
This value will be used as the MQTT client name when MQTT gets implemented.
2021-01-29 10:57:59 +01:00
Gergely Polonkai de722e001c
Set up mDNS in a more fool-proof way 2021-01-18 10:57:45 +01:00
Gergely Polonkai 44dc23051f
[Bugfix] Make sure we can respond something to Prometheus if no sensors are present 2021-01-18 10:42:32 +01:00
Gergely Polonkai 53a4a1f9d4
Update the README, and add a LICENSE file 2021-01-15 12:36:19 +01:00
Gergely Polonkai 39d3d1e66d
Add support for the BMP085/BMP180 sensor 2021-01-15 10:39:34 +01:00
Gergely Polonkai 4c58cacc21
Add support for the BH1750 light meter sensor 2021-01-15 10:36:19 +01:00
Gergely Polonkai 8f223e8877
Move the setup stop code to a separate (reusable) function 2021-01-15 10:12:14 +01:00
Gergely Polonkai b7a808eaa3
Add support for rain sensors like FC-37 or YL-83 2021-01-15 10:12:14 +01:00
Gergely Polonkai c9f3eee656
Add support for the DHT11/DHT22 sensors 2021-01-15 10:12:14 +01:00
Gergely Polonkai 2f210d3db6
Initial version that does nothing but replies to the /metrics endpoint 2021-01-15 10:12:14 +01:00