{"id":16241271,"url":"https://github.com/mhamidjamil/webbasedrelaycontrol","last_synced_at":"2026-04-26T22:31:51.643Z","repository":{"id":211767689,"uuid":"729864348","full_name":"mhamidjamil/WebBasedRelayControl","owner":"mhamidjamil","description":"Automate relay-based devices with this ESP8266-powered web control system. Set activation times, force on/off instantly, and monitor relay statuses through an intuitive web interface. Streamline device scheduling with ease.","archived":false,"fork":false,"pushed_at":"2023-12-13T21:33:45.000Z","size":154,"stargazers_count":0,"open_issues_count":4,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-09-15T18:35:53.794Z","etag":null,"topics":["diy-automation","electronics-project","esp8266","home-automation","time-triggered-switching","web-based-relay-control"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mhamidjamil.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2023-12-10T15:39:48.000Z","updated_at":"2023-12-17T17:52:15.000Z","dependencies_parsed_at":"2023-12-12T22:24:57.442Z","dependency_job_id":"52fd5495-b31c-4d19-bdf3-b1528213a620","html_url":"https://github.com/mhamidjamil/WebBasedRelayControl","commit_stats":{"total_commits":8,"total_committers":1,"mean_commits":8.0,"dds":0.0,"last_synced_commit":"0401272c91add3751e4ef19c042178e2c9cc3e8b"},"previous_names":["mhamidjamil/webbasedrelaycontrol"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mhamidjamil/WebBasedRelayControl","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mhamidjamil%2FWebBasedRelayControl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mhamidjamil%2FWebBasedRelayControl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mhamidjamil%2FWebBasedRelayControl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mhamidjamil%2FWebBasedRelayControl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mhamidjamil","download_url":"https://codeload.github.com/mhamidjamil/WebBasedRelayControl/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mhamidjamil%2FWebBasedRelayControl/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32315711,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-26T21:09:39.134Z","status":"ssl_error","status_checked_at":"2026-04-26T21:09:21.240Z","response_time":129,"last_error":"SSL_read: 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":["diy-automation","electronics-project","esp8266","home-automation","time-triggered-switching","web-based-relay-control"],"created_at":"2024-10-10T14:06:50.931Z","updated_at":"2026-04-26T22:31:51.627Z","avatar_url":"https://github.com/mhamidjamil.png","language":"C++","readme":"# ESP8266 Timer Switch\n\n## Overview\n\nThis project utilizes the ESP8266 WiFi module to control two relays based on user-defined time settings. It includes a web interface for configuring relay schedules and provides real-time status updates on an LCD screen.\n\n## Features\n\n- Set custom on/off schedules for two relays.\n- Web-based configuration interface.\n- Real-time status display on a 16x2 LCD.\n- WiFi connectivity with automatic network creation if connection fails.\n\n## Table of Contents\n\n- [Overview](#overview)\n- [Features](#features)\n- [Setup](#setup)\n  - [Hardware Requirements](#hardware-requirements)\n  - [Software Requirements](#software-requirements)\n  - [Configuration](#configuration)\n- [Usage](#usage)\n  - [Web Interface](#web-interface)\n  - [LCD Display](#lcd-display)\n  - [Variable Retrieval](#variable-retrieval)\n- [Contributing](#contributing)\n- [License](#license)\n\n## Setup\n\n### Hardware Requirements\n\n- ESP8266 board (e.g., NodeMCU)\n- 16x2 I2C LCD\n- Two-channel relay module\n- Resistors, wires, and power supply\n\n### Software Requirements\n\n- [Arduino IDE](https://www.arduino.cc/en/software)\n- ESP8266 board support package\n- LiquidCrystal_I2C library\n- ArduinoJson library\n\n### Configuration\n\n1. Install the required libraries in the Arduino IDE.\n2. Open the `uploaded_code.ino` file in the Arduino IDE.\n3. Update the `arduino_secrets.h` file with your WiFi credentials.\n4. Upload the code to your ESP8266 board.\n\n## Usage\n\n### Web Interface\n\n1. Connect to the WiFi network created by the ESP8266.\n2. Open a web browser and navigate to the IP address displayed on the LCD.\n3. Set the desired on/off schedules for relay 1 and relay 2.\n4. Click \"Set Time\" to apply the changes.\n\n### LCD Display\n\nThe LCD displays real-time information, including charging status and relay schedules.\n\n### Variable Retrieval\n\nTo retrieve variable values via a GET request:\n\n- Send a GET request to `http://[ESP_IP_ADDRESS]/get-values`.\n- The response will be a JSON object containing:\n  - `targetTimeRelay1`: Schedule for relay 1.\n  - `targetTimeRelay2`: Schedule for relay 2.\n  - `currentTime`: Current time in minutes.\n\n## Contributing\n\nContributions are welcome! Feel free to open issues and submit pull requests.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmhamidjamil%2Fwebbasedrelaycontrol","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmhamidjamil%2Fwebbasedrelaycontrol","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmhamidjamil%2Fwebbasedrelaycontrol/lists"}