Marko Burazin
4d5bd9a0cd
Merge ebc4c89143 into 358679321a
2022-06-16 22:21:50 +10:00
jbruce
82fab375ea
fix keyerror in logging
2022-05-16 09:01:59 -04:00
jbruce
874557fd1e
of the N temps readings every duty cycle, 2s by default, strip the top 25 percent and bottom 25 percent from those readings, use the rest to get the average temp over the cycle.
2022-05-14 15:37:58 -04:00
jbruce
165a8b16dd
moving logging to one place. make logging output more verbose. remove code to zero out iterm if out of pid window.
2022-05-12 22:46:45 -04:00
jbruce
3d0ced062c
have new heating progress bar always display, not just when heating. earlier code simplification was not clearly tested. caused lots of problems. fixing.
2022-05-12 21:40:03 -04:00
jbruce
8546d91035
simplified code changes for pid window. removed static flashing heat image with simple html progress bar
2022-05-12 19:24:44 -04:00
jbruce12000
6e6c56d3a4
adding pid_control_window parameter, removing stop_integral_windup parameter, fixed api bug
2022-05-10 12:21:55 -04:00
jbruce12000
d839e082e6
increased freq of pid logging. zero out integral component if kiln_must_catch_up is True and outside of kiln_must_catch_up_max_error window
2022-05-01 17:52:37 -04:00
jbruce
1acc57733c
adding config.ignore_emergencies setting
2022-03-21 12:54:35 -04:00
jbruce
cae9b166ca
- fix for folks using kiln_must_catch_up setting. fixed a time slipping
...
issue when this setting is used.
2022-03-07 11:14:44 -05:00
Marko Burazin
ebc4c89143
Add ability to schedule when the kiln starts
...
This adds the possibility to use a datepicker in the modal after
clicking the start button to schedule when the kiln should start
running by itself automatically.
The timer is implemented in the backend and the start is triggered
there so closing or refreshing the browser does not stop it.
In the state when it's "waiting to start", the frontend state
changes so that the glowing timer icon is now shown instead of the
previously unused door icon. The state is also displayed as
SCHEDULED and above it the info states when it's due to start:
"Start at: ..."
2021-12-18 13:11:29 +01:00
jbruce
13f5493d15
Merge branch 'logger' of https://github.com/adq/kiln-controller into adq-logger
2021-10-28 11:32:35 -04:00
Andrew de Quincey
ac283ebe79
remove unnecessary heat() tuning parameter
2021-07-03 17:13:14 +01:00
jbruce12000
1e2c73f810
sending kwh_rate and currency_type to the client for cost calculations
2021-06-10 11:17:43 -04:00
Jason Bruce
0770fb5ac2
Merge branch 'master' into ziegler
2021-06-08 10:16:26 -04:00
jbruce12000
4a399aa103
changing print statement to work on python 3.5
2021-06-07 16:40:09 -04:00
Jason Bruce
3d9dbd6778
Merge branch 'master' into noisecouple
2021-06-07 10:17:52 -04:00
Andrew de Quincey
bee27bed29
remove more dead code
2021-05-26 18:30:42 +01:00
Andrew de Quincey
97bab2a248
remove unwanted return
2021-05-26 17:31:01 +01:00
Andrew de Quincey
941a158295
should be abs()
2021-05-26 17:24:19 +01:00
Andrew de Quincey
499f029ce5
prevent self.runtime from going negative during profile run
2021-05-26 17:23:43 +01:00
Andrew de Quincey
1c8f5843f0
disable item update during kiln catchup
2021-05-26 00:52:49 +01:00
Andrew de Quincey
665863d310
prevent runtime going negative at start of run in catchup mode
2021-05-18 01:21:12 +01:00
Andrew de Quincey
be4228da37
implement ocdetect and remove avgsel
2021-05-16 11:59:22 +01:00
Andrew de Quincey
6ab6dcd701
add open circuit detection code
2021-05-16 11:40:02 +01:00
Andrew de Quincey
cd7b3cd26b
tweak windup so it isn't temperature dependant
2021-05-16 00:43:34 +01:00
Andrew de Quincey
82d7cab0a4
reorder register setup -- setup avgsel first, THEN enable continuous mode
2021-05-15 18:48:17 +01:00
Andrew de Quincey
c1ca132697
bugfix
2021-05-15 18:45:20 +01:00
Andrew de Quincey
225e591f35
don't change the GPIO unless we actually need to
2021-05-15 18:44:56 +01:00
Andrew de Quincey
6f92021f09
add line frequency setting and expose avgsel value
2021-05-15 18:27:15 +01:00
Andrew de Quincey
ec3c825e8e
fix percent calculation
2021-05-01 20:27:48 +01:00
Andrew de Quincey
83512b1faf
fix simulated sensor
2021-05-01 17:34:13 +01:00
Andrew de Quincey
610ad4cdcd
calculate bad percent in temperature thread to prevent threading/boundary issues
2021-05-01 17:32:44 +01:00
Andrew de Quincey
c955c1f595
detect too many errors and shutdown
2021-05-01 15:37:30 +01:00
Andrew de Quincey
74a4aa3770
fix config.temperature_average_samples
2021-05-01 15:16:03 +01:00
Andrew de Quincey
9c77d1ab30
add config parameters for controlling temperature
2021-05-01 15:02:51 +01:00
Andrew de Quincey
816043b012
Merge branch 'master' into ziegler
...
# Conflicts:
# lib/oven.py
2021-05-01 11:51:46 +01:00
Andrew de Quincey
7bbc241578
Merge branch 'master' into temp
...
# Conflicts:
# lib/oven.py
2021-05-01 11:50:40 +01:00
Andrew de Quincey
93332b7d47
Merge branch 'master' into logger
...
# Conflicts:
# lib/oven.py
2021-05-01 11:49:24 +01:00
Jason Bruce
d60cc535d0
adding support to prevent integral windup
2021-04-30 20:27:19 -04:00
Andrew de Quincey
a7fafeed65
add recorder code
2021-04-30 22:23:11 +01:00
Andrew de Quincey
6af55eeac6
simple kiln data logger
2021-04-29 23:02:54 +01:00
Jason Bruce
775eb0a0f2
fixing divide by zero bug when thermocouple read fails five times in a
...
row
2021-04-29 15:08:53 -04:00
Andrew de Quincey
e1be00e2e3
fix comment
2021-04-28 23:38:36 +01:00
Andrew de Quincey
2963f7363b
Merge branch 'master' into temp
2021-04-28 23:16:32 +01:00
Jason Bruce
f1b8cdc91c
added config.gpio_sensor_di to the config file and the code for
...
max-31856. Thanks Mark Tilles.
2021-04-28 23:15:54 +01:00
Andrew de Quincey
9b08342038
rebuild temperature error handling and smoothing
2021-04-28 23:10:48 +01:00
Jason Bruce
e16aab8e66
added config.gpio_sensor_di to the config file and the code for
...
max-31856. Thanks Mark Tilles.
2021-04-28 16:17:22 -04:00
Jason Bruce
1d26ae973f
removed MAX31956Error import because it does not exist
2021-04-19 08:05:40 -04:00
Jason Bruce
d2206a82b2
Merge branch 'master' of github.com:jbruce12000/kiln-controller
2021-04-14 18:16:57 -04:00