Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/henryleach/home-sensors
Code for variety of home sensors that relay information via MQTT on a local WiFi network.
https://github.com/henryleach/home-sensors
arduino esp8266 iot temperature-sensor wemos-d1-mini
Last synced: about 5 hours ago
JSON representation
Code for variety of home sensors that relay information via MQTT on a local WiFi network.
- Host: GitHub
- URL: https://github.com/henryleach/home-sensors
- Owner: henryleach
- License: gpl-3.0
- Created: 2023-06-24T20:24:59.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-06-24T20:31:11.000Z (over 1 year ago)
- Last Synced: 2024-01-21T23:04:16.160Z (10 months ago)
- Topics: arduino, esp8266, iot, temperature-sensor, wemos-d1-mini
- Language: C++
- Homepage:
- Size: 16.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Home Sensors
Code for various microcontrollers that send sensor data via MQTT back to a home server running the
[store-mqtt-data](https://github.com/henryleach/store-mqtt-data) Python script.All sensors require a 'passwords.h' file, which contains the passwords and IDs of the WiFi network it needs to connect to, and the MQTT server.
Use the 'passwords.h.template' file, remove the '.template' part and save it in each of the folders of the projects below.
These can then be compiled and loaded using the [Ardino IDE](https://www.arduino.cc/en/software).
Beware, that to prevent accidentally syncing your passwords to a public repo, 'passwords.h' is included in this repository's .gitignore file. If you DO want to version control these in plain text (don't!) remove that entry.
## d1-mini-htu21-temp-hum-mqtt
Runs an WEMOS D1 Mini, with an ESP8266 Microcontroller and a HTU21 temperature and humidity sensor on a breakout board.
When connecting the HTU21 to be board, don't solder it straight on, separate the two with at least 10cm of wire, otherwise the board interferes with the sensor, and you get inaccurate readings.
### Wiring
| D1 Mini | HTU21 |
|--------------|-------|
| 5V or 3.3V | VIN |
| GND (pin 15) | GND |
| D3 (pin 0) | SCL |
| D2 (pin 4) | SDA |## esp8266-node-mcu-reed-switch-gas-meter
Reads a Elster gas metere with a ribbon switch