Commit Graph

151 Commits

Author SHA1 Message Date
Steve d3b10d29b0 Add output pin inversion, update docs. 2024-08-21 21:00:54 -06:00
jbruce12000 b0ebd2a01f fix for simulated oven start_time so it works with kiln-tuner.py 2024-07-24 19:58:02 -04:00
jbruce12000 f2cf1675cb adding state page 2024-07-23 15:23:28 -04:00
jbruce12000 df7ee9e234 add pause and resume to api 2024-06-30 11:44:45 -04:00
jason bruce 8c9d3881dc change autodection so only SW SPI needs pins listed in config.py 2023-12-11 10:21:41 -05:00
jason bruce 07ea69cdb2 fixes to sw spi. adafruit 31855 now works with sw spi and autodetect of it. also fixed ziplogs to use cat. 2023-12-01 15:00:04 -05:00
jason bruce e1490187c7 adding software spi and spi hw/sw autodetection 2023-11-30 15:05:53 -05:00
jbruce12000 4fddeeb4a8 add throttling of elements below a specific temp if outside the pid control window 2023-11-21 09:53:09 -05:00
Chip Garner 0485ed961a Merge branch 'blinka' of https://github.com/jbruce12000/kiln-controller into blinka 2023-01-02 20:33:22 -08:00
Chip Garner 5b1c516260 Works with MAX31856 2023-01-02 20:33:15 -08:00
jbruce12000 e3eaa6f44a stats now contain heat_rate 2023-01-01 16:25:27 -05:00
Jason Bruce a503944e2d Merge pull request #124 from chipgarner/fastsim
Fastsim
2022-12-31 11:45:16 -05:00
James Kirikland Garner 37f2a53aec Set start temperature for simulation using sim_t_env in config. 2022-12-30 12:53:06 -08:00
James Kirikland Garner 3c515761e8 skip sink on API start with start time set 2022-12-26 20:32:51 -08:00
James Kirikland Garner b960bb4710 Fixed running seek on auto restart bug. 2022-12-24 13:56:07 -08:00
James Kirikland Garner ee70ba1667 Seek is working with log, pytests added. 2022-12-23 15:01:35 -08:00
jason bruce abaf155e5a setting named incorrectly in code. made it to 1700F and ran into this bug. needed 1888F. damnit. 2022-12-21 22:34:49 -05:00
jbruce12000 90d10eb125 fix bug missing self for a few vars. nice find chip! 2022-12-18 18:23:48 -05:00
James Kirikland Garner 21b2655867 Really put back ovenWatcher I hope; 2022-12-18 10:54:35 -08:00
James Kirikland Garner d5af5bcf7d Put back as it was 2022-12-18 10:50:46 -08:00
James Kirikland Garner c43770ace5 Removed changes not needed for PR 2022-12-18 10:30:07 -08:00
James Kirikland Garner 3a097e5098 revert to 5df0bc5 as in pull request 2022-12-17 19:56:01 -08:00
James Kirikland Garner d8c1f7cb00 fussing 2022-12-16 19:24:03 -08:00
James Kirikland Garner 9900bb4421 Oven watcher time hard coded, added test json 2022-12-15 14:49:32 -08:00
James Kirikland Garner 8d770b3086 Blinka merge, playing with config settings. 2022-12-15 10:23:08 -08:00
James Kirikland Garner a6674c5ddc now is fixed 2022-12-15 09:59:22 -08:00
James Kirikland Garner c9ee92c93d now bug 2022-12-15 09:38:14 -08:00
James Kirikland Garner 83ce8fb5f5 fix now bug 2022-12-15 09:22:58 -08:00
James Kirikland Garner 656e808f59 merge 2022-12-15 08:52:46 -08:00
James Kirikland Garner 945fcf4187 Works at 1000 times speed, a little messy. 2022-12-14 19:22:42 -08:00
James Kirikland Garner f5336ec2a1 Speeding up simulator. 2022-12-14 16:32:10 -08:00
jbruce cc3ef3f6ca changing from avg to median for temp smoothing 2022-12-01 17:39:20 -05:00
jbruce12000 dc212f516a fix inheritance of tv error 2022-11-26 17:15:56 -05:00
jbruce 2fa18589a5 exception handling completed for 31855 and 31856 2022-11-02 09:31:48 -09:00
jbruce d6163a4c6e ok, now just need to deal with exceptions 2022-11-01 10:50:51 -09:00
jbruce 5172d8c294 basics working 2022-11-01 09:09:10 -09:00
jbruce bb7f9f9353 part way through oven changes 2022-10-31 17:17:28 -09:00
jbruce12000 7b646c95cf added cost to web interface 2022-09-11 14:10:38 -04:00
jbruce e45709a5a4 initial changes for cost calculation 2022-08-31 21:45:34 -04:00
jbruce 8fbb3ab649 adding configurable emergencies 2022-08-12 08:22:47 -04:00
jbruce12000 d1ea79925c dupfree logger applied to all logs, fixed that 2022-06-26 12:03:33 -04:00
jbruce12000 9bedc9beda make automatic restart log messages a little more verbose 2022-06-26 10:42:13 -04:00
jbruce12000 4d98f1de87 adding a logger to ignore duplicate messages 2022-06-26 10:30:16 -04:00
jbruce b71d4f9d78 fixed bug where restarts and emergencies competed 2022-06-24 08:32:43 -04:00
jbruce fddf22e6bf making restart state file more generic. make logs less noisy. put sleep in code so ovenwatcher can be set 2022-06-21 15:53:34 -04:00
jbruce12000 7f5b1396b6 refactored restart code 2022-06-20 21:05:09 -04:00
jbruce12000 4601d92eeb fixed bug where stop and restart collided. stop didn't stop. loop. 2022-06-20 11:14:32 -04:00
jbruce12000 4db8e30515 adding restart profile functionality 2022-06-19 16:20:44 -04: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