https://github.com/chleba/smartshojilamp
Smart Shoji Lamp with temperature sensor, LED matrix & display
https://github.com/chleba/smartshojilamp
Last synced: 1 day ago
JSON representation
Smart Shoji Lamp with temperature sensor, LED matrix & display
- Host: GitHub
- URL: https://github.com/chleba/smartshojilamp
- Owner: Chleba
- License: gpl-3.0
- Created: 2022-01-02T21:07:19.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2022-01-03T10:50:18.000Z (over 4 years ago)
- Last Synced: 2025-02-21T18:32:23.433Z (over 1 year ago)
- Language: C++
- Size: 1.83 MB
- Stars: 1
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# SmartShojiLamp
Smart Shoji Lamp with temperature sensor, LED matrix & 0.97" display.
Smart Shoji Lamp have MQTT implemented for Home Assistant JSON light protocol.

## Home Assistant configuration.yaml
```
light:
platform: mqtt
name: 'Smart Shoji'
schema: json
state_topic: 'office/rgb1/light'
command_topic: 'office/rgb1/light/set'
brightness: true
rgb: true
sensor:
- platform: mqtt
name: 'Temperature'
state_topic: 'office/sensor1'
unit_of_measurement: 'C'
value_template: '{{ value_json.temperature }}'
- platform: mqtt
name: 'Humidity'
state_topic: 'office/sensor1'
unit_of_measurement: '%'
value_template: '{{ value_json.humidity }}'
```
## Used HW
* NodeMCU ESP8266 dev board (or any esp8266)
* DHT11 module sensor (or DHT22)
* LCD Matrix 8x8 5V
* MicroUSB PCB to connect power to NodeMCU & LED Matrix
* SSD1306 0.97" Monochromatic Display 124x64px
## PINOUT
(D Pins is used for NodeMCU)
### SSD1306 Display
* D1 -> SCL
* D2 -> SDA
* GND & VCC -> NodeMCU GND & 3.3V
### DHT11 Sensor
* D6 -> DATA IN
* GND & VCC -> NodeMCU GND & 3.3V
### LED Matrix 8x8
* D5 -> DATA IN
* GND & VCC -> USB PCB GND & 5V