removed unessesary code
Signed-off-by: Ebbe Baß <ebbe.bass>
This commit is contained in:
@@ -2,7 +2,6 @@ import time
|
|||||||
import sys
|
import sys
|
||||||
import python_artnet as Artnet
|
import python_artnet as Artnet
|
||||||
import os
|
import os
|
||||||
from getmac import get_mac_address
|
|
||||||
|
|
||||||
def get_eth0_ip():
|
def get_eth0_ip():
|
||||||
try:
|
try:
|
||||||
@@ -13,18 +12,8 @@ def get_eth0_ip():
|
|||||||
print(f"Error getting eth0 IP: {e}")
|
print(f"Error getting eth0 IP: {e}")
|
||||||
exit
|
exit
|
||||||
|
|
||||||
# def get_eth0_ip():
|
|
||||||
# return "10.0.0.4"
|
|
||||||
|
|
||||||
mac_address = str(get_mac_address(interface="eth0"))
|
|
||||||
mac_address_array = mac_address.split(":")
|
|
||||||
|
|
||||||
# What DMX channels we want to listen to
|
|
||||||
dmxChannels = 512
|
|
||||||
|
|
||||||
### ArtNet Config ###
|
### ArtNet Config ###
|
||||||
artnetBindIp = get_eth0_ip()
|
artnetBindIp = get_eth0_ip()
|
||||||
artnetUniverse = 0
|
|
||||||
|
|
||||||
### Art-Net Setup ###
|
### Art-Net Setup ###
|
||||||
# Sets debug in Art-Net module.
|
# Sets debug in Art-Net module.
|
||||||
|
|||||||
Reference in New Issue
Block a user