Commit Graph

134 Commits

Author SHA1 Message Date
c3ma
d043d873cc Reading sensors by frequency 2021-07-21 21:23:58 +02:00
Ollo
2d167c7393 adapted datatype 2021-07-14 21:43:03 +02:00
c3ma
2d91f91290 react on switch from Mqtt 2021-07-09 22:51:50 +02:00
c3ma
df39c09c50 code cleanups 2021-07-09 21:50:51 +02:00
c3ma
99703e5ad1 Adjust moister sensor boundaries 2021-07-09 19:40:51 +02:00
Your Name
12d4c9950d fix cooldown memory without power, improved logging 2021-07-01 23:09:02 +02:00
Ollo
57d18af76d converted serial prints into MQTT status log messages 2021-07-01 22:06:50 +02:00
Your Name
f1d55ed603 extracte time stuff, started logger 2021-07-01 21:19:51 +02:00
Your Name
7c9a0bf6f1 clear averages for each run, ignore distances higher than tank depth 2021-07-01 20:39:51 +02:00
Your Name
a1de9ee2b9 config reduced, config json parser memory adjusted 2021-06-29 23:49:48 +02:00
Your Name
191e05b941 fixed config backup and restore 2021-06-29 22:09:30 +02:00
Your Name
54398b7bd6 adjust voltage divider to match 0.10 pcb layout 2021-06-29 20:14:19 +02:00
Your Name
0eeeb6dc60 set threshold for accumlator calculation 2021-06-29 20:14:03 +02:00
c3ma
a8403a7c98 added distance sensor and adjusted pcb for it 2021-06-06 21:23:21 +02:00
Your Name
057e2b37c3 retry on crc error for onewire 2021-05-27 21:43:15 +02:00
Your Name
a90b59f69f use mqtt roundtrip to ensure all receiving messages are processed before ds 2021-05-24 19:37:27 +02:00
Your Name
50d07a3c02 fixed deepsleep procedure, homie shutdown, ensure pinhold is same as pin 2021-05-24 15:50:04 +02:00
c3ma
c7d98ef108 GPIO12 is evil 2021-05-16 22:24:14 +02:00
Ollo
31229594fe One wire is initialized directly after start 2021-04-07 22:10:26 +02:00
Ollo
902c863873 Main logic introduced as seperate function. This is executed after MQTT is connected or a timeout occured 2021-04-07 21:54:53 +02:00
Ollo
47aba5387b Handle cooldown time for watering; add start and end time when pumping is allowed 2021-04-07 21:26:11 +02:00
Ollo
dc5dc27ba5 Removed index to indentify temperatur sensors 2021-04-07 19:40:31 +02:00
Ollo
284fb4907d Renamed constants 2021-04-07 18:49:59 +02:00
552c27632b removed mode1, reduced redundant bus resets, removed multiple deep sleep paths 2021-02-26 09:33:16 +01:00
d5fbd38762 expose ica dcd ccd ah values 2021-02-16 23:40:05 +01:00
Ollo
093b7c7fc3 Corrected pin configuration to 0.7final PCB 2021-02-16 22:52:47 +01:00
Ollo
55d66b763c Chip temperature is published, too 2021-02-16 22:29:07 +01:00
Ollo
5deea587a8 DS2438 module integrated 2021-02-16 22:25:12 +01:00
Ollo
2fc835f396 Fixed one-wire library with an hammer 2020-12-28 14:57:17 +01:00
Ollo
46ab832624 Voltsensor test series has a constant, too 2020-12-28 14:26:41 +01:00
Ollo
a8837d3119 Check for NAN temperatures 2020-12-28 14:24:55 +01:00
Ollo
bd5fc9839f Used distance reading time to stabilize temperature sensors 2020-12-21 17:55:57 +01:00
Ollo
6f5c5536cc Removed repeating code 2020-12-21 17:07:15 +01:00
Ollo
f8052bd9b0 corrected code highlighting 2020-12-21 16:26:53 +01:00
Ollo
63708eeecc Comments included and code sorted 2020-12-21 16:12:46 +01:00
23beebc4be pin fix 2020-12-20 17:00:44 +01:00
f4c935879b fix one wire detection, allow multiple sensors and set per setting which one is which 2020-12-13 17:17:54 +01:00
dd1b96374c fixed pin assignements for new revision 2020-12-12 17:26:18 +01:00
3bbcd24707 lcsc/jlcpcb order changes 2020-11-29 05:04:46 +01:00
5fcbf87671 startup reason mqtt notification 2020-11-28 01:45:57 +01:00
calculator
48756874e5 replaced HC-SR04 with SR04M-2 2020-11-18 22:11:37 +01:00
Ollo
3a1b8d6745 Raw ADC value of lipo added 2020-11-07 00:34:27 +01:00
Ollo
61171fb379 States described in doxygen 2020-11-06 23:29:46 +01:00
Ollo
7080fe306b Doxygen added 2020-11-06 22:19:16 +01:00
Ollo
9c83897fd9 Wakeup due to change temperature 2020-11-06 21:00:11 +01:00
Ollo
2958976f0a Some comments 2020-11-06 18:52:38 +01:00
a14f599f5a missing sensor detection, delta trigger moisture working 2020-11-04 23:28:08 +01:00
1dcf4df740 improve mode3 not pumping 2020-11-04 22:12:00 +01:00
503c2b73b9 added raw moisture, improved pct calc , formating 2020-11-04 21:57:40 +01:00
fd28ffcfaf added rtc trigger vars 2020-11-04 21:55:51 +01:00
fb907f9b12 fixed wrong indes for pump determination
improved pump status output
fixed led blinking in  mode3 random
2020-11-04 21:10:22 +01:00
Ollo
e0de8dabe8 NTP Server can be set via configuration item 2020-11-01 20:17:21 +01:00
902b81ab3e :Merge branch 'master' of https://github.com/0110/PlantCtrl into master 2020-10-31 19:25:22 +01:00
83c26cc07c *cough* 2020-10-31 19:24:44 +01:00
Ollo
979baf5ff9 Adapt time comment 2020-10-31 12:44:32 +01:00
Ollo
8a2f320b1a Adapt time comment 2020-10-31 12:44:25 +01:00
c3ma
a140383e32 Disable pumps while OTA running, mode2 is called only once 2020-10-28 21:20:46 +01:00
c3ma
8657eedc43 Disable pumps while OTA running, mode2 is called only once 2020-10-28 20:31:18 +01:00
c3ma
58e3e3c652 Pump5 pin corrected 2020-10-28 20:14:52 +01:00
c3ma
48474cdba6 Power for Pump is disabled if no longer required 2020-10-28 20:00:24 +01:00
c3ma
8f21f58950 Handle default value of cooldown 2020-10-23 16:47:40 +02:00
c3ma
3e3eaa96e4 Refactored code 2020-10-23 16:20:34 +02:00
c3ma
9b5bf90da9 settings gpio mode before deepsleep 2020-10-21 20:46:09 +02:00
c3ma
5591c6dba2 Deep sleep is set according daylight 2020-10-21 19:50:05 +02:00
c3ma
03be8a1bda Deep sleep is now working 2020-10-21 18:33:38 +02:00
0a473173f8 reduced settings 2020-10-20 22:52:03 +02:00
Ollo
7fe6663bc7 Added timer library 2020-10-20 18:42:59 +02:00
b0829cba6b fixed compile errors 2020-10-20 18:06:37 +02:00
2f8e26b48d main decision flow cleanups 2020-10-19 01:39:56 +02:00
c3ma
9a1728bcfc Upgraded version number 2020-10-16 22:05:36 +02:00
c3ma
b9ca98904d Read settings and store into non volatile memory 2020-10-16 21:12:25 +02:00
c3ma
80018fc5d5 Modes still not working 2020-10-16 20:36:07 +02:00
c3ma
8458912962 Configuration can be used with default values 2020-10-16 18:40:39 +02:00
c3ma
e95590ffd6 Setting works with default values 2020-10-16 18:25:02 +02:00
c3ma
4bdb82cecc uniq setting names 2020-10-16 16:47:36 +02:00
c3ma
ce498bc7f8 Controller is runing again 2020-10-16 16:22:48 +02:00
c3ma
a654b662e6 Settings moved into a seperate file 2020-10-16 16:10:36 +02:00
c3ma
368d7f050d Configuration moved into seperate header file 2020-10-16 15:03:51 +02:00
c3ma
1a4cddc366 Plant object expanded with settings 2020-10-14 20:07:56 +02:00
Ollo
8aa9a2147e Alive topic added 2020-10-13 20:16:28 +02:00
Ollo
a16c98d7c6 Expanded Plant-class with Settings and Node property 2020-09-21 19:40:01 +02:00
Ollo
ff33c58288 Controller is starting again 2020-09-21 20:42:24 +02:00
Ollo
cb837a733b Updated GPIOs and added Settings for 7 plants 2020-09-20 19:18:47 +02:00
Ollo
c8ebe2a6bc ESP32 based project 2020-09-07 18:18:46 +02:00