Commit Graph

93 Commits

Author SHA1 Message Date
Chris Giacofei
c98aebc716 Check-In iSpindel config for HomeAssistant. 2024-04-29 12:51:17 -04:00
Chris Giacofei
2bd12374fc Delete unused file. 2024-04-29 12:50:28 -04:00
Chris Giacofei
179ea1aeca Not using any MQTT stuff for now. 2024-04-29 12:49:26 -04:00
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
ff8129f400 Just declare the enum. 2024-04-29 12:46:41 -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
Chris Giacofei
31b23910f0 Added PID submodule. 2024-04-26 08:48:05 -04:00
Chris Giacofei
b302480610 Remove to add as submodule. 2024-04-26 08:47:39 -04:00
Chris Giacofei
99600c9135 rearrange custom libraries. 2024-04-26 08:41:06 -04:00
1fb657f491 Updated libraries. 2022-01-24 19:40:23 +00:00
216e80e642 Don't start mqtt unless network is connected.
Also comments.
2022-01-24 11:41:52 -05:00
8565c87ce4 Kettle power won't change on compute if mode is manual.
There's no point in checking first.
2022-01-24 11:41:09 -05:00
85c710e3b7 Don't update the menu if nothing actually changed. 2022-01-24 11:40:12 -05:00
045d5a8feb This is simpler and far easier to read. 2022-01-24 11:39:18 -05:00
484db54d89 Encoder interrupt handles auto mode.
Add logic for changing the setpoint temperature
as well as duty cycle.
2022-01-24 11:11:10 -05:00
c5b19e9103 Sketch name needs to match the folder. 2022-01-24 10:57:33 -05:00
a0a25f05e2 Put more conplex datatype definitions in separate file. 2022-01-24 10:57:09 -05:00
e76ca05674 Ignore all the .h files. 2022-01-24 10:35:20 -05:00
fbfe28ab3a Make into a valid sketch. 2022-01-24 10:35:07 -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
288c7dfc80 Need to load struct items separately.
Byte array can't be assigned directly.
2022-01-24 08:30:31 -05:00
05280526b0 Need Adafruit RTD control class. 2022-01-24 08:29:14 -05:00
e2b0205709 That's not the right data type. 2022-01-24 08:28:43 -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
24b3cdae1c Cleanup 2022-01-20 10:21:55 -05:00
9818e77866 Ignore stuff. 2022-01-20 10:02:55 -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
8954a94737 Merge branch 'master' into temp-control 2022-01-19 07:14:35 -05:00
bc93148db6 Update ignored files. 2022-01-19 07:09:07 -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
6a0de023c4 Now it's gone.
For reals this tim.
2022-01-17 17:52:34 -05:00
3c00630461 You don't belong here. 2022-01-17 17:51:09 -05:00
d2972b0a40 Crap. 2022-01-17 17:50:02 -05:00
b782cfff86 Add compressor delay definition. 2022-01-17 17:43:13 -05:00
5d876b035b Add dir and ino file for temp controllers.
Included basic working example to setup ethernet
and get an IP address using DHCP.
2022-01-17 17:27:09 -05:00