Compare commits

..

2 Commits

Author SHA1 Message Date
31e2d8c9ca PyThermostat: Move scripts into subfolder
As Thermostat Python scripts are not single-file Python modules and
should be packaged inside PyThermostat.
2024-11-18 17:57:18 +08:00
4beeec6021 PyThermostat: Remove all references to Pytec 2024-11-18 17:34:39 +08:00
4 changed files with 4 additions and 4 deletions

View File

@ -1,5 +1,5 @@
import time
from pytec.client import Client
from pythermostat.client import Client
tec = Client() #(host="localhost", port=6667)
tec.set_param("b-p", 1, "t0", 20)

View File

@ -3,7 +3,7 @@ import logging
from collections import deque, namedtuple
from enum import Enum
from pytec.client import Client
from pythermostat.client import Client
# Based on hirshmann pid-autotune libiary
# See https://github.com/hirschmann/pid-autotune

View File

@ -3,7 +3,7 @@ import numpy as np
import matplotlib.pyplot as plt
import matplotlib.animation as animation
from threading import Thread, Lock
from pytec.client import Client
from pythermostat.client import Client
TIME_WINDOW = 300.0

View File

@ -1,6 +1,6 @@
import argparse
from contextlib import contextmanager
from pytec.client import Client
from pythermostat.client import Client
CHANNELS = 2