{"id":17876781,"url":"https://github.com/jamct/sonoffsocket","last_synced_at":"2025-03-22T02:31:37.351Z","repository":{"id":53130859,"uuid":"115023671","full_name":"jamct/sonoffSocket","owner":"jamct","description":"Switching Sonoff Basic and Sonoff S20 (Webserver or MQTT).","archived":false,"fork":false,"pushed_at":"2021-04-05T14:56:04.000Z","size":30,"stargazers_count":30,"open_issues_count":3,"forks_count":10,"subscribers_count":9,"default_branch":"master","last_synced_at":"2025-03-18T07:11:59.844Z","etag":null,"topics":["cpp","esp8266","sonoff"],"latest_commit_sha":null,"homepage":null,"language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jamct.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}},"created_at":"2017-12-21T16:06:06.000Z","updated_at":"2025-02-06T16:03:06.000Z","dependencies_parsed_at":"2022-09-24T10:43:09.787Z","dependency_job_id":null,"html_url":"https://github.com/jamct/sonoffSocket","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jamct%2FsonoffSocket","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jamct%2FsonoffSocket/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jamct%2FsonoffSocket/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jamct%2FsonoffSocket/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jamct","download_url":"https://codeload.github.com/jamct/sonoffSocket/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244898185,"owners_count":20528331,"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":["cpp","esp8266","sonoff"],"created_at":"2024-10-28T11:34:49.898Z","updated_at":"2025-03-22T02:31:37.055Z","avatar_url":"https://github.com/jamct.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# sonoffSocket\nSwitching Sonoff Basic and Sonoff S20 (Webserver, local button and MQTT).\n\n## Getting started\nThis project ist split in two parts: sonoffSimple/sonoffSimple.ino is just a simple demo as described [here](https://ct.de/yxgs).\n\nThe more advanced software (sonoffSocket.ino) supports MQTT, toggle, status and is actively developed. Just copy sonoffSocket.ino into your Arduino-IDE folder. To use mqtt you have to install external library \"PubSubClient\". Change your SSID and WiFi-Key and activate MQTT if needed (choose a topic too).\nConnect Sonoff Basic or Sonoff S20 to your FTDI-Adapter and flash it using the Arduino-IDE.\n\n## How it works\nThe socket can be controlled by opening \u003cip of socket\u003e/on (to activate) and \u003cip of socket\u003e/off to deactivate. If MQTT is enabled, send 1 or 0 to your chosen topic (defined at the beginning of your code).\nGet the current status with \u003cip of socket\u003e/state and toggle  with \u003cip of socket\u003e/toggle\n\n## More information\nThis repository is part of article [\"Bastelfreundlich\"](https://ct.de/yxgs) from German computer magazine \"c't\".","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjamct%2Fsonoffsocket","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjamct%2Fsonoffsocket","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjamct%2Fsonoffsocket/lists"}