{"id":25254923,"url":"https://github.com/happybono/fuzzypotato","last_synced_at":"2026-02-11T00:01:45.527Z","repository":{"id":43758008,"uuid":"363025501","full_name":"happybono/FuzzyPotato","owner":"happybono","description":"The solar-powered smart-flowerpot project with the ESP32 micro-controller unit. (Temperature, Humidity, Illuminance (Lux), Soil Moisture, Soil Salinity, Battery Voltage)","archived":false,"fork":false,"pushed_at":"2026-01-31T08:47:16.000Z","size":13906,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-01-31T20:27:14.440Z","etag":null,"topics":["arduino","arduino-ide","cplusplus","cpp","environment-friendly","environmental-monitoring","esp32","esp32-arduino","internet-of-things","iot","renewable-energy","smartfarm","smartfarms","smartgarden","solar-energy"],"latest_commit_sha":null,"homepage":"https://thingspeak.com/channels/1386432","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/happybono.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2021-04-30T04:26:46.000Z","updated_at":"2026-01-31T08:47:19.000Z","dependencies_parsed_at":"2025-08-28T04:16:29.082Z","dependency_job_id":"4bf7bc40-1ea8-408b-a8c4-6955b06a1ba9","html_url":"https://github.com/happybono/FuzzyPotato","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/happybono/FuzzyPotato","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/happybono%2FFuzzyPotato","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/happybono%2FFuzzyPotato/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/happybono%2FFuzzyPotato/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/happybono%2FFuzzyPotato/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/happybono","download_url":"https://codeload.github.com/happybono/FuzzyPotato/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/happybono%2FFuzzyPotato/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29322733,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-10T20:44:44.282Z","status":"ssl_error","status_checked_at":"2026-02-10T20:44:43.393Z","response_time":65,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["arduino","arduino-ide","cplusplus","cpp","environment-friendly","environmental-monitoring","esp32","esp32-arduino","internet-of-things","iot","renewable-energy","smartfarm","smartfarms","smartgarden","solar-energy"],"created_at":"2025-02-12T05:39:57.406Z","updated_at":"2026-02-11T00:01:45.420Z","avatar_url":"https://github.com/happybono.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# FuzzyPotato\nThe solar-powered an IoT-based system for monitoring environmental conditions using various sensors and transmitting the data to a server with the ESP32 micro-controller unit. (Temperature, Humidity, Illuminance (Lux), Soil Moisture, Soil Salinity, Battery Voltage) The system is designed to operate on an ESP32 microcontroller, utilizing Wi-Fi for connectivity and deep sleep mode for power conservation.\n\u003cbr\u003e\u003cbr\u003e\n![FuzzyPotato_TSChannel](Web_capture_27-6-2022_05925.png)\n\n## What's New\n\u003cdetails\u003e\n\u003csummary\u003eClick to Expand\u003c/summary\u003e\n  \n### v1.0\n#### April 30, 2021\n\u003e [Initial Release](https://github.com/happybono/FuzzyPotato/commit/69261c0585d91c82cd700f809ad399d5e69eef05)\n  \n#### December 6, 2021\n\u003e [Now supports E-mail notifications.](https://github.com/happybono/FuzzyPotato/blob/main/MATLAB%20Analysis/Email%20Notifications.m)\n  \n#### February 4, 2022\n\u003e [Added comments within the source code.](https://github.com/happybono/FuzzyPotato/blob/main/FuzzyPotato/FuzzyPotato.ino)\n\n### v2.0 \n#### March 4, 2022\n\u003e [Uploaded required libraries.](https://github.com/happybono/FuzzyPotato/tree/main/Libraries)\n\n#### June 27, 2022\n\u003e [Improvements in the remaining battery calculation algorithm.](https://github.com/happybono/FuzzyPotato/blob/main/Plugins/StatusUpdates/JavaScript.js)\n\u003c/details\u003e\n\n#### January 31, 2026\n\u003e [Applied text flipping animation to the \"Latest Smart-flowerpot Sensor Readings\" plugin.](https://github.com/happybono/FuzzyPotato/blob/main/Plugins/StatusUpdates/JavaScript.js)\n\u003c/details\u003e\n\n### Features\n- **Real-time Sensor Data Collection :** Measures temperature, humidity, soil moisture, soil salinity, light intensity, and battery voltage.\n- **Data Transmission :** Sends sensor data to the ThingSpeak server for remote monitoring and analysis.\n- **Power Management :** Utilizes deep sleep mode to conserve power and extend battery life.\n- **Watchdog Timer :** Ensures system stability and automatic recovery in case of failures.\n\n### Sensors and Components\n- **DHT12 Sensor :** Measures temperature and humidity.\n- **BH1750 Sensor :** Measures light intensity.\n- **Analog Pins :** Measures soil moisture, soil salinity, and battery voltage.\n- **Power Control Pin :** Manages the power to the sensors to conserve energy.\n\n### Technologies Used\n- **Language:** C++\n- **Platform:** Arduino / ESP32\n\n### Code Structure\n- **WiFi Setup :** Connects to the specified Wi-Fi network using provided SSID and password.\n- **Sensor Initialization :** Initializes the I2C bus and sensors.\n- **Data Collection Functions :** Reads data from each sensor and calculates average values.\n- **HTTP POST Request :** Sends collected sensor data to the ThingSpeak server.\n- **Deep Sleep Function :** Puts the ESP32 into deep sleep mode to save power between data collection cycles.\n\n#### Functions and Methods\n- **`setup()`** : Initializes serial communication, Wi-Fi connection, sensors, and watchdog timer.\n- **`loop()`** : Collects sensor data, sends it to the server, and enters deep sleep mode.\n- **`sleepGo()`** : Configures and enters deep sleep mode for a specified duration.\n- **`readTemp()`** : Reads and averages temperature data from the DHT12 sensor.\n- **`readHumi()`** : Reads and averages humidity data from the DHT12 sensor.\n- **`readSalt()`** : Reads and averages soil salinity data.\n- **`readSoil()`** : Reads and averages soil moisture data.\n- **`readLux()`** : Reads and averages light intensity data from the BH1750 sensor.\n- **`readBattery()`** : Reads and averages battery voltage data.\n\n#### Example Output\nTemperature = 23.45 \u003c/br\u003e\nHumidity    = 56.78 \u003c/br\u003e\nsoil = 12.34 \u003c/br\u003e\nsalt = 1.23 \u003c/br\u003e\nlux = 456.78 \u003c/br\u003e\nbat = 3.70 \u003c/br\u003e\nHTTP Response code : 200 \u003c/br\u003e\n\n## Hardware Specifications\n### Connections\n* 1 x USB-C\n\n### Wireless\n* IEEE 802.11 b/g/n Wi-Fi technology.\n* Bluetooth: v4.2 BR/EDR and BLE (shares the radio with Wi-Fi)\n\n## Sensors and Components\n![FuzzyPotato_Equipment](FuzzyPotato_Equipment.jpg)\n![FuzzyPotato_Assembled](FuzzyPotato_Assembled.jpg)\n\n**DHT12 Sensor :** Measures temperature and humidity. \u003c/br\u003e\n**BH1750 Sensor :** Measures light intensity. \u003c/br\u003e\n**Analog Pins :** Measures soil moisture, soil salinity, and battery voltage. \u003c/br\u003e\n**Power Control Pin :** Manages the power to the sensors to conserve energy. \u003c/br\u003e\n\n### Platform\n* ESP-32 Dev-Board\n\n### Capacitive Soil Moisture Sensor with the dedicated Soil Salinity Sensor \n\n### DHT-11 Temperature / Humidity Sensor\n\n### Illuminance Sensor\n\n### Li-Polymer Battery\n* 3.7 V\n* 1200 mAh\n\n### MTTP charging module\n- 6.0 V\n\n### Solar Panel \u0026 Battery\n- 6.0 V\n- 1A\n\n### USB-C Type Cable\n\n## License\nThis project is licensed under the MIT License. See the `LICENSE` file for details.\n\n## Copyright \nCopyright ⓒ HappyBono 2021 - 2026. All rights Reserved.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhappybono%2Ffuzzypotato","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhappybono%2Ffuzzypotato","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhappybono%2Ffuzzypotato/lists"}