(Work in progress)
- These little beacons sit in different parts of the house, connect to the local network via wifi and expose an API for other devices/apps to retrieve the environments temperature and humidity. OR other devices send messages to the beacons oled display.
- Unintentionally ~ intended to integrate into Home-Pie and API, ie; i wasn't planning on building this, but here it is 😆, It will display data in a graph and occasionally send data to the beacon with the oled monitor.
- Mr-ping-ping is being used to fetch and record data from these beacons.
- Esp32 c3 super mini
- 3 to resistors
- 3D printed frame
- Oled display - BDD 12C 1.3in, 128X64
- DHT22 temperature/humidity sensor
- 3 to 4 LEDs for cool incominig / outgoing light effects.
- DHT11 sensor: pin
0 - Error red Leds: pin
9 - Notification Leds: pins
21, 20, 10 - Display: pins
2, 3, 1// SDA, SCL and ground
- Create a
secrets.hheader where the .ino files live../sensai-beacon/secrets.h - Add WIFI_SSID and WIFI_PASSWORD variables in
secrets.h, to connect to your wifi.
- Uses
arduinio_clito compile and upload - If on windows, use git bash in project directory to run
./Makefile - Use the commands in the Makefile to compile / upload / monitor to esp32-c3 board. ie; run
make sensai-beaconin the terminal of the project and it will build forsensai-beacon.ino, ormake monitoretc
- Open browser
- To send a message and display it on the oled:
localUrl/message?text=hello%how%are%you&textSize=3 - Return and display temperature:
localUrl/temperature - Return and display humidity:
localUrl/humidity
- all of my esp32 c3 boards automatically reset after upload except for one board, this specific board requires me to first flash it (hold down reset + boot for a few seconds, and let go of reset first before boot), then compile and upload, and finally push reset for it to run the new firmware.
