fixed get mac

Signed-off-by: Ebbe Baß <ebbe.bass>
This commit is contained in:
Ebbe Baß
2024-02-12 22:50:54 +01:00
parent 7a54a45a1f
commit b9efbe233a
3 changed files with 5 additions and 4 deletions
+2 -2
View File
@@ -5,11 +5,11 @@ import paho.mqtt.client as mqtt
import threading
from stupidArtnet import StupidArtnet
import os
from uuid import getnode as get_mac
from getmac import get_mac_address
app = Flask(__name__)
wlan_mac_address = get_mac(interface="wlan0")
wlan_mac_address = get_mac_address(interface="wlan0")
# Read configuration from config.json
try: