Commit Graph

105 Commits

Author SHA1 Message Date
Your Name
92005c1c33 control works again (fixed with wifi and fallback) 2021-05-24 14:58:35 +02:00
Ollo
129b2b1478 Cleanup unused variables and code 2021-04-07 22:42:31 +02:00
Ollo
0a1d755154 runtime optimization 2021-04-07 22:18:52 +02:00
Ollo
31229594fe One wire is initialized directly after start 2021-04-07 22:10:26 +02:00
Ollo
b8b8cf84d5 Reduce frequence of ESP32 to 80Mhz 2021-04-07 21:57:00 +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
3932e82593 Address of tempsensors is published to MQTT 2021-04-07 20:27:42 +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
0784d2da44 added echo code 2021-03-04 22:13:02 +01: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
4f754199eb Less debug output 2020-12-28 14:59:25 +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
37c83ecef8 Described used ultra sonic sensor 2020-12-21 16:18:22 +01:00
Ollo
63708eeecc Comments included and code sorted 2020-12-21 16:12:46 +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
3bd77e0b57 prevent infinite loop on waiting for hall if not connected, fixed formating 2020-12-12 00:01:19 +01:00
Ollo
dd31122ed3 All static code analyis comments fixed, only TODOs are open 2020-12-09 21:43:07 +01:00
Ollo
303885fde5 Fixed wakeup due static code analysis 2020-12-09 21:39:48 +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
c3ma
ade0a8b812 only read temperature multiple times, if it differs significantly to last measurement 2020-11-11 21:09:38 +01:00
Ollo
04bfaf4d94 Merged documents into ultrasonic sensor stuff 2020-11-11 21:42:29 +01:00
Ollo
8adf4d6f0d Read ultrasonnic sensor 5 times 2020-11-11 21:33:11 +01:00
Ollo
e583122a10 ultrasonic sensor is read 2020-11-11 21:28:03 +01:00
c3ma
398d832213 water sensor started 2020-11-11 20:13:15 +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
2d73925636 Added comments for the RTC struct 2020-11-06 19:18:28 +01:00
Ollo
3fbf3bdb84 Struct used for RTC memory 2020-11-06 19:15:43 +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
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
329a228b2d Toggle Sensor LED to visualize mode 3 2020-11-01 20:42:45 +01:00
Ollo
89070806f7 NTP server is used from configuration setting 2020-11-01 20:29:24 +01:00
Ollo
e0de8dabe8 NTP Server can be set via configuration item 2020-11-01 20:17:21 +01:00
Ollo
e094221298 Publish only temperatur values, if a sensor was found 2020-11-01 14:30:26 +01:00