41 lines
546 B
Markdown
41 lines
546 B
Markdown
# FAN LED Control
|
|
|
|
## Board
|
|
ESP8266 D1
|
|
|
|
Used Pins:
|
|
|
|
## Software
|
|
|
|
Interface: USB-UART
|
|
|
|
## Source
|
|
|
|
Inspired by the following Project:
|
|
https://github.com/stefanthoss/esp8266-fan-control
|
|
|
|
## MQTT Control
|
|
|
|
### Linux based Controller
|
|
* Docker
|
|
* Python3
|
|
* paho
|
|
|
|
### Installation
|
|
|
|
Open Terminal in **mqttclient**.
|
|
|
|
Docker must be installed
|
|
```docker build .```
|
|
|
|
#### Execution
|
|
|
|
Set the following parameter:
|
|
* USB Device
|
|
* MQTT
|
|
* Server Name / IP Address
|
|
* Base Topic
|
|
|
|
|
|
```docker run -e MQTT_SERVER="192.168.x.y" -e MQTT_TOPIC="testtopic/" sha256:```
|