A REST controllable wall fan
We bought a cheap wall mount fan which had pull strings for control. Big no no for a Hackerspace ๐
So we created a small PCB with a 230VAC to 5VDC converter, a Wemos D1 mini and 4 relays on it that allows us to control the fan over a REST API.
The fan is a Tristar VE-5874 wall mount ventilator
http://<ip>/off
Fan and oscillation offhttp://<ip>/state
JSON object with the current state
http://<ip>/speed/1
Fan speed 1http://<ip>/speed/2
Fan speed 2http://<ip>/speed/3
Fan speed 3
http://<ip>/oscillation/on
Oscillation onhttp://<ip>/oscillation/off
Oscillation off