Commit Graph
100 Commits
Author SHA1 Message Date
Ollo 9167da5a82 Refactoring 2023-06-20 18:06:29 +02:00
Ollo f65132652c Optional features can be controlled via platformio.ini and are mentioned in firmware name on MQTT 2023-06-20 17:53:19 +02:00
Ollo 2636e2defa Read more distances 2023-06-11 13:51:13 +02:00
Ollo c6ddfea44b Handle unrealistic water values 2023-06-11 13:28:52 +02:00
Ollo 6cb446735d Adapted default work time, as internal time is UTC 2023-05-28 10:53:43 +02:00
Ollo ab17709435 More serial debuging (parsing 1WIRE Addresses failed) 2023-05-27 09:12:55 +02:00
Ollo 9235e8a272 Changed to python3 2023-04-06 18:03:13 +02:00
Ollo 2a2a36b267 sleep at least several minutes, so the solar panel can charge the battery 2023-04-06 17:56:17 +02:00
Ollo 9f2e21d94c Sleep 3 times longer, if the battery voltage is low 2023-03-25 14:21:33 +01:00
Ollo 195d3d3c1b Ignore voltages above 100V 2022-08-25 18:40:41 +02:00
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
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
Ollo 7a54065a5f Reduced frequrency boundery 2022-01-25 22:11:38 +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
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
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
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
Ollo f0127921b1 Handle different start and end times to water plants 2021-05-26 20:19:27 +02:00
Ollo ad0ae88c3c More GPIO debug output added; checking GPIO15, too 2021-05-19 20:54:11 +02:00
Ollo 129b2b1478 Cleanup unused variables and code 2021-04-07 22:42:31 +02:00
Ollo 658bc7a389 Todos aufgerauemt 2021-04-07 22:21:58 +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
Ollo 38ffd64305 Started Hallsensor 2021-03-04 21:18:59 +01:00
Ollo 5e2ab1eedb Pinout ESP32 added 2021-03-04 21:07:30 +01:00
Ollo cf905c9c03 Hall sensor updated 2021-03-04 21:07:11 +01:00
Ollo 9f96fa2c5b Shunt set to 25mOhm 2021-03-04 20:39:46 +01:00
Ollo 86b82d03b3 Added serial2 of ESP32 useable for JSN-SR04T-2.0 2021-03-02 23:54:53 +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 062638378f Debug point got footprint 2021-02-09 22:19:44 +01:00
Ollo e006d719d7 J1 has now a footprint 2021-02-09 22:14:21 +01:00
Ollo 7cad34627f Changed Transistors from THT to SMD 2021-02-09 22:11:52 +01:00
Ollo 938f253072 automatic ESP32 download mode added 2021-02-09 21:42:55 +01:00
Ollo 6b64fa50a4 Read Page7 and debug print it 2021-02-04 21:10:21 +01:00
Ollo 3a5405998c Describe Page1 and Page7 2021-02-04 21:06:08 +01:00
Ollo a1bae8180d Default page zero described 2021-02-04 20:55:03 +01:00
Ollo 11cde021a2 Refactored page access: added parameter to specify the page to write or read 2021-02-04 20:28:28 +01:00
Ollo 8b1367a20c fixed LCSC part numbers 2021-01-13 20:55:43 +01:00
Ollo 90c0f31ef2 Final 0.7 2021-01-13 20:04:48 +01:00
Ollo b29f0b63b6 References updated: readable and position on PCB 2021-01-13 19:43:27 +01:00
Ollo 5c1bd0f0cb Custom connection connector removed solder jumper and pullup resistor 2021-01-05 21:48:24 +01:00
Ollo ff5ca23241 Described external power supply 2021-01-05 21:36:45 +01:00
Ollo 1be166a5d6 SENSOR_VP and SENSOR_VN has 100n capacitor 2021-01-05 21:09:56 +01:00
Ollo 74f25ca503 IC1 VDD is protected by the fuse F1, too 2021-01-05 20:57:43 +01:00
Ollo a804e5983d Swapped IO15 with IO17 2021-01-05 20:22:21 +01:00
Ollo ff39d9b739 solder jumper at Hall1 changed to NC 2021-01-05 20:15:49 +01:00
Ollo 025aef3068 swapped moister sensor pins 2021-01-05 19:27:10 +01:00
Ollo b031dae0f3 Added referencal voltages at SENSOR_VP and SENSOR_VN 2021-01-05 19:22:41 +01:00
Ollo 13a87b277d Fuse holder replaced 2021-01-05 19:13:02 +01:00
Ollo 7008a432b3 Inductor package adapted 2021-01-05 18:48:40 +01:00
Ollo 58ca614ae1 External 5V no longer exists 2021-01-05 18:40:00 +01:00
Ollo f385a8e7b2 Replaced ESP module with WROOM-32D chip 2021-01-05 18:39:33 +01:00
Ollo bac1f3d276 Cleanup 2021-01-05 17:25:36 +01:00
Ollo 412ba87f3e Solar charger and lipo protection seperated 2021-01-05 17:17:21 +01:00
Ollo 5b453ccb6b Renamed Lipo+ to VCC 2021-01-05 17:05:31 +01:00
Ollo 437216187c Documentation improved 2021-01-03 16:32:09 +01:00
Ollo 20ef7aa4e9 Added J8 for USB programming and POWER supply by USB; Lipo has to be disconnected! 2020-12-30 16:17:01 +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 2ac72fcd33 Removed deadend wires at S6 2020-12-28 14:17:26 +01:00
Ollo bb250f5cff Moved J6 under lipo 2020-12-28 14:02:55 +01:00
Ollo ce243748ca Moved Pump Voltage Converter to other circuit 2020-12-28 13:09:17 +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 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
Ollo b43e238293 Moved PCB stuff into the borad folder 2020-12-21 15:28:40 +01:00
Ollo f4edb4839e Added capacitor for ESP 2020-12-21 15:16:13 +01:00
Ollo 2b7840abf3 Added Cppcheck project file for static code analysis 2020-12-09 21:44:33 +01:00
Ollo dd31122ed3 All static code analyis comments fixed, only TODOs are open 2020-12-09 21:43:07 +01:00