MQTT Communication established

This commit is contained in:
Ollo
2024-12-07 14:25:04 +01:00
parent 4fa2e48b62
commit 162b4eb5b6
3 changed files with 75 additions and 1 deletions

8
mqttclient/Dockerfile Normal file
View File

@@ -0,0 +1,8 @@
FROM python:3.9
# Add sourcecode files
ADD fanATserial2mqtt.py /root/
# handle dependencies
RUN pip install --no-cache-dir --upgrade pip && \
pip install --no-cache-dir paho-mqtt pyserial
CMD ["python", "/root/fanATserial2mqtt.py"]
# Or enter the name of your unique directory and parameter set.