thermostat/pytec/test.py

7 lines
159 B
Python
Raw Normal View History

2020-09-29 08:52:46 +08:00
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)