Commit Graph

296 Commits

Author SHA1 Message Date
Ollo
e820301490 Tweak state numbers 2022-08-23 20:26:11 +02:00
Ollo
29e3aa08cb Fixed unit description for cooldown 2022-08-22 18:08:19 +02:00
Ollo
791d6f04b0 Tweaked number 2022-08-21 12:12:07 +02:00
Ollo
79ffd8acff Version increased 2022-08-21 12:07:43 +02:00
Ollo
18b927bd59 Publish state as number and string 2022-08-21 12:05:43 +02:00
Ollo
c444117853 code refactoring: use the defined states of header file 2022-08-21 11:59:50 +02:00
Ollo
5d24a51bd9 Plant states defined in header 2022-08-21 11:52:15 +02:00
Ollo
71b9150279 Restore frequency boundaries (7a54065a5f) 2022-06-25 17:43:23 +02:00
Ollo
7eda866a91 Kept branch version of /esp32test/Esp32DeepSleepTest/src/main.cpp 2022-06-25 17:28:01 +02:00
Ollo
f18e4a7586 Show process in output (steps) 2022-06-25 17:20:11 +02:00
662d7bc853 add timer only mode, more sane default config 2022-05-20 01:00:04 +02:00
5dedc76727 formating only 2022-04-29 10:47:54 +02:00
15e96a4990 ensure compilation with bricking limits is not possible 2022-04-29 10:47:46 +02:00
0dd4553999 do not use pump for download indication anymore 2022-04-29 10:47:16 +02:00
7a841d423b use more sane default (pump always not only at night) 2022-04-29 10:45:59 +02:00
4a86d8c41c fixed analog probe being backwards, extended range for frequency one 2022-04-29 10:14:50 +02:00
Empire
c43da98245 Merge branch 'hydro'
# Conflicts:
#	esp32/PlantControl.code-workspace
#	esp32/include/ControllerConfiguration.h
#	esp32/platformio.ini
#	esp32/src/main.cpp
2022-04-27 19:19:26 +00:00
Ollo
f38cb6b564 Testsetup for frequency on GPIO17 2022-04-02 22:10:31 +02:00
Ollo
6c475a2ade Sensor types are defined in platformio.ini 2022-03-06 14:25:14 +01:00
Ollo
9a172c269e Swapped max and min for analog mapping 2022-03-06 14:05:54 +01:00
Ollo
868d3d912e Update the analog maximum according datasheet 2022-03-06 13:47:21 +01:00
Empire
defbcca8ae sht20 support 2022-03-05 09:31:43 +00:00
c3ma
1161c62a90 print into mqtt the sensor mode 2022-02-19 02:51:36 +01:00
c3ma
a0f8df7016 fix for capacitive sensors not working, enum introduction for sensormode 2022-02-19 02:24:19 +01:00
c3ma
d0320beaa7 allow sensor type selection per plant, changed calculations to use PCT values, due to different raw value meaning 2022-02-12 05:26:54 +01:00
Ollo
7a54065a5f Reduced frequrency boundery 2022-01-25 22:11:38 +01:00
Your Name
27cd6af02d cleanup power settings 2021-12-05 16:13:02 +01:00
Your Name
a745896643 added ulp-pwm logic for timedlight 2021-12-05 02:36:03 +01:00
Empire
b9d8831dea Merge branch 'master' of github.com:0110/PlantCtrl
# Conflicts:
#	esp32/src/main.cpp
2021-12-03 18:42:37 +00:00
Empire
d69feb4143 basic pump ml calculation 2021-12-03 18:36:10 +00:00
Your Name
f131d9f39a hydro mode config and ignore low voltage light condition 2021-12-02 16:50:24 +01:00
Your Name
d7b854da75 allow disable light voltage range with -1 2021-12-02 14:40:06 +01:00
Ollo
16a722816c Use only Homie compliant datatypes: https://homieiot.github.io/specification/spec-core-v3_0_1/# 2021-11-29 17:25:08 +01:00
Ollo
9ff546b7b7 Remove Exception stuff 2021-11-28 16:02:08 +01:00
Empire
61fad8e14c Merge branch 'master' of https://github.com/0110/PlantCtrl 2021-11-19 18:58:26 +00:00
Empire
af618e73f3 pump refactor round 1 2021-11-19 18:48:14 +00:00
Ollo
c5bce25afe Added time into logs 2021-11-14 19:49:40 +01:00
Ollo
a457db4447 Fixed memory leak 2021-11-14 13:51:52 +01:00
c3ma
66d69eab6b Exceptions added 2021-11-13 17:26:39 +01:00
c3ma
f727971138 increased ota flash sizes 2021-10-27 22:04:44 +02:00
Your Name
2ad351c41b remove selfTest causing sideeffects for pumploop trigger 2021-10-27 02:05:48 +02:00
Your Name
7d80d444cf use only seconds for time units, improve self test debug 2021-10-27 01:42:01 +02:00
Your Name
e70e467e9b properly set last run time, as it apparently was missing 2021-10-27 00:40:46 +02:00
Your Name
6a97215a04 fix for hydroponic not working at night 2021-10-27 00:40:26 +02:00
Your Name
2c8645121e added pump specific power level (requires controller that supports this or dc motor) 2021-10-26 21:50:55 +02:00
Your Name
dba39869d1 use shorter valid firmeware name 2021-10-26 21:12:00 +02:00
Your Name
9170a1fe05 some fixes for hydroponics mode 2021-10-26 20:46:40 +02:00
Empire
49664ba6f7 added initial support for hydroponic systems, changed cooldown to use minutes 2021-10-22 17:39:42 +00:00
Your Name
0bcef25528 Merge branch 'master' of https://github.com/0110/PlantCtrl 2021-10-22 15:53:58 +02:00
Your Name
f30a0a0c78 smooth battery sensor 2021-10-22 15:52:19 +02:00
Ollo
d819f7df4e Update documentation 2021-10-15 21:59:47 +02:00
c3ma
ecc03e9cb4 mqtt extraction 2021-10-06 22:00:17 +02:00
c3ma
2cd0a0f48b initial flowmeter logic and calculation 2021-10-06 21:24:34 +02:00
c3ma
b5569aa8ab Cleanup of last changes 2021-10-06 20:05:09 +02:00
Your Name
244dfb9b27 Merge branch 'master' of https://github.com/0110/PlantCtrl
# Conflicts:
#	esp32/src/main.cpp
2021-10-01 23:51:29 +02:00
Your Name
f4e13454e3 wip new pump system 2021-10-01 23:46:37 +02:00
Ollo
1619b93fa1 Updated ini.example 2021-10-01 23:00:24 +02:00
Ollo
58cb523e1b added determineTimeLightState in TIMED_LIGHT_PIN define 2021-10-01 22:53:40 +02:00
Your Name
f13a25b34d prevent light from being reenabled untill next day after low voltage trigger 2021-09-14 18:54:14 +02:00
Empire
88e4ceea8b fix for wrong validator 2021-08-30 08:02:12 +00:00
Your Name
f99f72b65a added timed light function 2021-08-29 20:45:50 +02:00
Your Name
e927fc8c70 add alarm if pumps did not change state to wet after X consecutive tries 2021-08-23 00:58:37 +02:00
Your Name
61098724b6 fixed wrong percent calculation, emit trigger value to mqtt 2021-08-17 16:55:57 +02:00
c3ma
2e052710e2 missing sensor error 2021-07-21 21:34:14 +02:00
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
Ollo
f6c51f6d05 Updated example, more debug output in script 2021-07-14 21:33:47 +02:00
Ollo
02a882ebde Seperate setting itself into a local file 2021-07-14 21:21:49 +02:00
Ollo
697d470d29 Renamed file 2021-07-14 21:15:04 +02:00
Ollo
c448960415 Check values before publishing water stuff 2021-07-14 21:14: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
456f78042c Fixed concatination of strings in logging 2021-07-01 22:15:55 +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
a1f2388c7f use mAlive instead of mqtt/homie varaibles 2021-07-01 20:50:47 +02:00
Your Name
d2010ddebb improved script reliability 2021-07-01 20:40: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
11d29939f6 code stuff 2021-07-01 20:39:06 +02:00
Your Name
a1de9ee2b9 config reduced, config json parser memory adjusted 2021-06-29 23:49:48 +02:00
Your Name
5568000d62 initial settings uploader added 2021-06-29 23:49:30 +02:00
Your Name
191e05b941 fixed config backup and restore 2021-06-29 22:09:30 +02:00
Your Name
c22c14a42b stop then script from sleeping the esp in case of an error 2021-06-29 20:14:36 +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
3391dfb2c9 report raw distance for water sensor 2021-06-06 22:50:56 +02:00
c3ma
a8403a7c98 added distance sensor and adjusted pcb for it 2021-06-06 21:23:21 +02:00
Your Name
dd58310fe9 make sensor address compare actually work 2021-05-29 22:07:47 +02:00
Your Name
8e5a13d291 ensure DS18S20 are properly resolved via address 2021-05-29 21:37:27 +02:00
Your Name
200ff30f62 allow analog sensor some time to settle 2021-05-29 19:11:40 +02:00
Your Name
2c5d61a124 "improved" topic macro, added backup status and topic 2021-05-27 22:53:49 +02:00
Your Name
057e2b37c3 retry on crc error for onewire 2021-05-27 21:43:15 +02:00
Your Name
3d45a3fca3 config backup wip 2021-05-26 22:25:12 +02:00
Your Name
98799bd2d5 added testmode, fixed formating 2021-05-26 21:46:33 +02:00
Ollo
f0127921b1 Handle different start and end times to water plants 2021-05-26 20:19:27 +02:00
Your Name
cad836b070 fixed homie config fail mode 2021-05-24 20:35:41 +02:00
Your Name
72f8d36393 ignore bod while starting upstepper 2021-05-24 20:07:22 +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