Smart Plug nightstand lamp Temperature Sensor

This is night lamp stand device to make it smart.
It includes a manual button switch, sensor DHT22, arduino wifi like board based on esp8622 Wemos D1 mini, relay for switching.
I include the code for integration with home assistant via mqtt broker as well as arduino code.

Printing params:

Machine: Ender 3
Material: PLA
Infill: 25% cubic
Printing Speed: 50 mm/s

Base:

  • Suports: Tree
  • Build Plate Adhesion: Brim

Top:

  • Suports: None
  • Build Plate Adhesion: Brim

Wire holder:

  • Suports: None
  • Build Plate Adhesion: Skirt

Needed bolts:

  • 4 M4x20
  • 4 3x15 mm wood bolts
  • 1 M2x10 and nut for DHT22 sensor