thermostat/pytec/test.py
2020-09-29 02:52:46 +02:00

7 lines
159 B
Python

from pytec.client import Client
tec = Client() #(host="localhost", port=6667)
tec.set_param("s-h", 0, "t", 20)
for data in tec.report_mode():
print(data)