Wemos D1 Mini Presence cube by atxbyea 3d model
3dmdb logo
Thingiverse
Wemos D1 Mini Presence cube by atxbyea

Wemos D1 Mini Presence cube by atxbyea

by Thingiverse
Last crawled date: 3 years, 4 months ago
I wanted to use a D1 mini as all the presence cubes on here were using NodeMCUs and were huge, ended up making 4-5 different prototypes before I settled on a design that should fit most USB cables.
I used a 8 LED ring WS2812 from Aliexpress https://www.aliexpress.com/item/32835427711.html
Top was printed in clear \ translucent filament
Bottom can be printed in any colour you like
Inside was printed in clear also just to make it "invisible".
I use https://github.com/isaacrlevin/PresenceLight (also avaliable in Microsoft Store) to publish status changes to WLED via API
Examples using Custom API :
Avaliable - GET - http://x.y.z.o/win&R=0&G=255&B=0
Busy - GET - http://x.y.z.o/win&R=0&G=255&B=0
Also possible to integrate in Home assistant and let the light control be done via esphome.
Example esphome config :
esphome:
name: teamskube
platform: ESP8266
board: d1_mini
on_boot:
then:
- light.turn_off: teamscube
wifi:
ssid: "ssid"
password: "password"
ap:
ssid: "Teams-Kube Fallback Hotspot"
password: "zTa3IHiNbIG8"
captive_portal:
logger:
api:
ota:
light:
- platform: neopixelbus
type: GRB
pin: GPIO3
num_leds: 8
variant: WS2812
name: "teamscube"
id: "teamscube"
with HA automations using webhooks :

- alias: 'Teams away'
trigger:
platform: webhook
webhook_id: hadoken
action:
service: light.turn_on
data:
entity_id: light.teamscube
rgb_color: [255,255,0]

Tags