Commit Graph

47 Commits

Author SHA1 Message Date
Chris Giacofei
0e74d66125 Change check for out of bounds setpoints.
Makes more sense this way, and is compatible with more boards.

ESP32 chips don't seem to like min/max with mixed types.
2024-04-29 12:47:49 -04:00
Chris Giacofei
81133f2221 Unused libries go away. 2024-04-26 08:57:39 -04:00
Chris Giacofei
6730f9f390 Latest boil kettle code. 2024-04-26 08:55:20 -04:00
216e80e642 Don't start mqtt unless network is connected.
Also comments.
2022-01-24 11:41:52 -05:00
a0a25f05e2 Put more conplex datatype definitions in separate file. 2022-01-24 10:57:09 -05:00
50bee2daa0 Improved readability... I hope.
Arduino sketch file now only contains #includes and setup/loop
functions. Everything else moved to separate included files.
2022-01-24 10:30:57 -05:00
be781f1275 Use overloaded functions for get/set. 2022-01-21 11:44:28 -05:00
9a535c665b Use simpler constructor. 2022-01-21 11:35:09 -05:00
8b72a16203 Made a much more involved kettle control class.
All the input/output tracking is handled with class members
instead of passing pointers to global variables.
2022-01-21 10:56:41 -05:00
c7857c1b03 Changed pin names because I can. 2022-01-21 10:55:13 -05:00
e12f3e262f Get rid of sprintf. 2022-01-20 14:13:49 -05:00
3a1d2ad3ad Use settings from EEPROM. 2022-01-20 14:13:20 -05:00
f75cbe5f6c Use begin() method for temp controller. 2022-01-20 14:12:00 -05:00
a1eb11b81a Merge branch 'use-eeprom' into temp-control 2022-01-20 10:57:01 -05:00
2673fa7fa3 Use a separate sketch to load EEPROM. 2022-01-20 09:53:25 -05:00
fb0afa7e43 Merge remote-tracking branch 'origin/use-eeprom' into no-more-strings 2022-01-20 09:33:19 -05:00
421a0c6580 Change libraries used for mqtt and json parsing.
Not using strings for data any more.
2022-01-20 08:40:32 -05:00
8750bceead Load config to EEPROM 2022-01-19 16:30:26 -05:00
1aef2aa15f LCD_Line will return garbage if not static. 2022-01-19 11:03:21 -05:00
c4fb9fa0b3 Use integer math.
This feels like a good idea. ?
2022-01-19 09:47:59 -05:00
2a70f6e89a Update LCD outputs. 2022-01-19 09:08:42 -05:00
e0d2d0aa52 Fix type mismatches. 2022-01-19 07:42:15 -05:00
18c43187cb Initial junk to get temp control working.
Totally not working yet, just getting it pushed
to the remote
2022-01-18 19:45:05 -05:00
180e3b065f Make slowPWM::compute return state instead of changing pin.
I just like it better this way.
2022-01-15 18:10:46 -05:00
0970dee99a Git rid of extra blanks lines. 2022-01-14 14:34:34 -05:00
d165adb63d Use encoder speed to increment duty faster. 2022-01-14 13:45:24 -05:00
Chris Giacofei
a8e3e6d0ed Only do mqtt stuff if ethernet is connected. 2022-01-14 13:44:14 -05:00
f7af46ee95 Update the readme. 2022-01-14 08:52:17 -05:00
22842dfc70 Turn slowPWM into a class.
Slightly cleaner looking this way.
2022-01-14 08:23:51 -05:00
da937ecde5 Revert master back to old code that actually worked. 2022-01-14 07:50:34 -05:00
e85a8d1704 Just rearranging crap to my liking. 2022-01-13 09:55:17 -05:00
5af0919960 Use much smaller simpler button debounce. 2022-01-13 09:54:53 -05:00
e6e133cff2 Use dtostrf to format RTD readings. 2022-01-13 08:33:49 -05:00
5412793db6 It compiles, but will it work? 2022-01-12 15:22:32 -05:00
fdbfd0af4c Better menu system. 2022-01-12 19:54:19 +00:00
6ee77dff0b Need to set some pin modes. 2022-01-11 16:17:27 -05:00
d81975ae43 Move configy type stuff into config.h. 2022-01-11 14:21:53 -05:00
e7572d364f The menu object needs to be defined first. 2022-01-11 14:11:24 -05:00
a8d57f9e53 Variable lastRun defined in 3 different places. 2022-01-11 14:08:00 -05:00
5ba9e339b8 Put functions together. 2022-01-11 14:06:25 -05:00
c3c014a021 Organize includes. 2022-01-11 12:34:45 -05:00
dd49bdfefa Move network stuff to config.h.
No sense updating the repo if I have to change them.
2022-01-11 10:26:07 -05:00
4d54f17b9c Move mqtt login to untracked config file. 2022-01-11 10:16:44 -05:00
9fb8572981 Rename gloal variables.
Using UpperCaseCamelCase for global variables/functions.
2022-01-11 10:16:03 -05:00
18538e2e87 Move stuff that doesn't belong to Arduino.
This is just reference for setting up home assistant later.
2022-01-11 09:42:12 -05:00
43133e6c20 Trailing spaces. 2021-09-13 08:24:19 -04:00
Chris Giacofei
6276cfe455 Initial Commit. 2021-09-13 07:39:33 -04:00