{"id":19824719,"url":"https://github.com/farzinkh/wifi","last_synced_at":"2026-05-16T07:13:41.807Z","repository":{"id":157915453,"uuid":"459300403","full_name":"Farzinkh/wifi","owner":"Farzinkh","description":"ESP_IDF simple component for working by WIFI.","archived":false,"fork":false,"pushed_at":"2025-01-21T18:29:44.000Z","size":46,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-21T19:35:28.192Z","etag":null,"topics":["esp-idf","esp32","ota","rssi","wifi"],"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/Farzinkh.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":"2022-02-14T19:37:40.000Z","updated_at":"2025-01-21T18:29:48.000Z","dependencies_parsed_at":"2023-10-23T16:15:11.077Z","dependency_job_id":null,"html_url":"https://github.com/Farzinkh/wifi","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Farzinkh%2Fwifi","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Farzinkh%2Fwifi/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Farzinkh%2Fwifi/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Farzinkh%2Fwifi/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Farzinkh","download_url":"https://codeload.github.com/Farzinkh/wifi/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241181128,"owners_count":19923368,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["esp-idf","esp32","ota","rssi","wifi"],"created_at":"2024-11-12T11:05:36.035Z","updated_at":"2026-05-16T07:13:41.747Z","avatar_url":"https://github.com/Farzinkh.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ESP_IDF WIFI\nThis is very simple component for working with WIFI base on ESP_IDF V4.3.\n \n## Installation\nIn your project root directory run:\n\n `git submodule add https://github.com/Farzinkh/wifi.git components/wifi`\n\n now import it in your main.c by `#include \"wifi.h\"` and choice beetwen STA , AP , SMART modes.\n## Overview\n\nOverview Map of the component [here](https://product-map.ai/app/public/bbe530ef885a460985e624bafce99ede).\n## OTA config\nmove anything inside `config \u0026 server` folder to root of your project then create `server_certs` folder and run\n\n`openssl req -x509 -newkey rsa:2048 -keyout server_certs/ca_key.pem -out server_certs/ca_cert.pem -days 365 -nodes`\n\nenter server ip as common name then install server requirements once by\n\n`pip install -r requirments.txt`\n\nfinally run server \n\n`python server.py`\n\nand you are done whenever you change app version in menuconfig and recompile your code by `idf.py build`\nand restart esp32 it will update constantly.\n\n## API\n`wifi_init_sta()` station mode.\n\n`wifi_init_softap()` AP mode.\n\n`wifi_init()` smart mode.\n\n`get_rssi()` get rssi value.\n\n`initialise_mdns()` init mdns.\n\n`check_time()` update time if internet is available.\n\n`get_ip()` get ip address and wait for connection if disconnected.\n\n`wifi_scan()` scan for APs.\n\n`start_ota()` update code by ota.\n\n`ota_verify()` to verify your ota app.\n\n`ota_discredit()` to flag your ota app as invalid.\n\n`save_key_value()` save data in nvs.\n\n`load_key_value()` load data from nvs.\n\n## Example\n\nSending sensor data by udp protocol using this component can be found [here](https://github.com/Farzinkh/Wireless-monitoring).\n\n *Enjoy :)*\n\n You can find me on [![Twitter][1.2]][1] or on [![LinkedIn][3.2]][2]\n\n\u003c!-- Icons --\u003e\n\n[1.2]: http://i.imgur.com/wWzX9uB.png (twitter icon without padding)\n[3.2]: https://raw.githubusercontent.com/MartinHeinz/MartinHeinz/master/linkedin-3-16.png (LinkedIn icon without padding)\n\n\u003c!-- Links to your social media accounts --\u003e\n\n[1]: https://twitter.com/FarzinKhodavei1\n[2]: https://www.linkedin.com/in/farzin-khodaveisi-84288a18a/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffarzinkh%2Fwifi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffarzinkh%2Fwifi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffarzinkh%2Fwifi/lists"}