{"id":13801808,"url":"https://github.com/AnthonyKNorman/ESP8266-Home-Assistant-RGB-Bulb","last_synced_at":"2025-05-13T11:31:52.027Z","repository":{"id":215170572,"uuid":"152729817","full_name":"AnthonyKNorman/ESP8266-Home-Assistant-RGB-Bulb","owner":"AnthonyKNorman","description":"This Micropython project is to Hack a TYWE3S board in a cheap WiFi RGB Bulb","archived":false,"fork":false,"pushed_at":"2018-10-12T09:56:38.000Z","size":5,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-04-22T12:33:10.705Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","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/AnthonyKNorman.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":"2018-10-12T09:49:26.000Z","updated_at":"2024-08-04T00:06:38.572Z","dependencies_parsed_at":null,"dependency_job_id":"4e1bbca8-d54e-4acc-92a4-9033d3ba0cc5","html_url":"https://github.com/AnthonyKNorman/ESP8266-Home-Assistant-RGB-Bulb","commit_stats":null,"previous_names":["anthonyknorman/esp8266-home-assistant-rgb-bulb"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AnthonyKNorman%2FESP8266-Home-Assistant-RGB-Bulb","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AnthonyKNorman%2FESP8266-Home-Assistant-RGB-Bulb/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AnthonyKNorman%2FESP8266-Home-Assistant-RGB-Bulb/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AnthonyKNorman%2FESP8266-Home-Assistant-RGB-Bulb/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AnthonyKNorman","download_url":"https://codeload.github.com/AnthonyKNorman/ESP8266-Home-Assistant-RGB-Bulb/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253932964,"owners_count":21986485,"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":[],"created_at":"2024-08-04T00:01:27.743Z","updated_at":"2025-05-13T11:31:47.016Z","avatar_url":"https://github.com/AnthonyKNorman.png","language":"Python","funding_links":[],"categories":["Libraries"],"sub_categories":["Communications"],"readme":"# ESP8266-Home-Assistant-RGB-Bulb\nThis Micropython project is to Hack a TYWE3S board in a cheap WiFi RGB Bulb\n\nYou can follow the variuos teardown discussions here https://community.home-assistant.io/t/cheap-uk-wifi-bulbs-with-tasmota-teardown-help-tywe3s/40508?u=beantree\n\nMy user name is beantree\n\nI managed to flash Micropython onto the TYWE3S board. I then found that each of the red, green, blue and white LEDs were controlled by independent Pins on the processor. Each of those Pins can be driven by PWM, which means the ability to control the brightness.\n\nThis code exposes that ability via an MQTT server, which, in turn, means I can use Home Assistant to control the bulb.\n\nYou can see my screenshot from HA in the discussion link.\n\ntywe3s.py contains the main code. You need to edit this to set your wifi credentials and the address of your MQTT server.\nmain.py just menas the tywe3s.py autoruns at power up.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FAnthonyKNorman%2FESP8266-Home-Assistant-RGB-Bulb","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FAnthonyKNorman%2FESP8266-Home-Assistant-RGB-Bulb","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FAnthonyKNorman%2FESP8266-Home-Assistant-RGB-Bulb/lists"}