diyhue / Lights

DIY lights with support for diyHue
https://diyhue.org/
172 stars 97 forks source link

Any chance to use ESP-01S RGB led ring? #105

Closed jarno83 closed 3 years ago

jarno83 commented 3 years ago

Hi, I have multiple of them 16 led and 8 led ones. https://www.aliexpress.com/item/4001135425711.html I got firmware flashed to esp01s and app found the device but didn't control the leds. I used Generic_WS2812_Strip.ino. I think it's something to do with NeoPixelBus default pin on esp8226?

Thank you :)

Mevel commented 3 years ago

Default Pin is the RX pin. According to the Picture it should be Pin 7 (GPIO3) You can edit the pin in the web Ui of your light.

https://diyprojects.io/media/2020/09/esp01-esp01s-pinout-esp8266ex.jpg

jarno83 commented 3 years ago

Hi, I checked with tester and ESP-01S-RGB uses GPIO2. In the preferences I don't see where I can change PIN for the neopixels. Screenshot 2020-12-25 at 15 05 33 I can see where I can turn on HW buttons, but thats it. Can I change the output pin? Or I need to do some hw modding :)

Thanks.

Mevel commented 3 years ago

sry my bad! I think neopixelbus uses RX Pin per Default. See post before.

Dont change the sketch, just upload.

make sure you have SPIFFS and "Erase whole Flash" on initial Flash.

stale[bot] commented 3 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 2 days if no further activity occurs. Thank you for your contributions.

stale[bot] commented 3 years ago

This issue has been automatically closed as it has not had any recent activity. Thank you for your contributions.