RSI-PI/src/RSIPI/main.py

11 lines
349 B
Python

from src.RSIPI.rsi_client import RSIClient
import rsi_api
from time import sleep
if __name__ == "__main__":
config_file = "RSI_EthernetConfig.xml" # Ensure this file exists in the working directory
client = RSIClient(config_file)
client.start()
sleep(5)
# client.update_variable("EStr", "Testing 123 Testing")
print("done")