Compare commits

..

1 Commits

Author SHA1 Message Date
7f5b2eca75 PyThermostat: Move scripts into subfolder
As Thermostat Python scripts are not single-file Python modules and
should be packaged inside PyThermostat.
2024-11-18 16:51:21 +08:00
4 changed files with 4 additions and 4 deletions

View File

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

View File

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

View File

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

View File

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