""" Small sample Script to get size, mode and fonts from the Module and display it's Hostname """ # requires: python-fluepdot, python-dotenv import os from dotenv import load_dotenv from fluepdot import Fluepdot, Mode load_dotenv() hostname = os.getenv("DOTS_HOST") fd = Fluepdot(f"http://{hostname}") #fd.post_text("Current Time:", x=0, y=-1, font="DejaVuSerif16") #fd.clear() print(fd.get_size(), fd.get_mode(), fd.get_fonts()) fd.post_text(f"{hostname}", font="DejaVuSans12bw_bwfont")