Closed dietmar-1 closed 1 year ago
Hey @dietmar-1 that's super cool! Feels good that someone uses the prepared features in the code to make such creative stuff! Cheers mate and great idea. Thanks for sharing
Amazing!
Hi @dietmar-1, great project! Do have some pictures about your installation? cable and stuff I want the same for mine! :-)
Hi @torei , thank you very much. My code snippet merged the two awesome GitHub projects. The SPA controller and the LED controller have their own IP address on the router but they require static IP addresses.
Any ESP8266 based pixel controller can be used as LED controller hardware.
Example 1
Pixeldriver Hardware from Aliexpress This hardware has the advantage that an IR receiver is on board. The LEDs can operated remotely with an IR remote control.
Example 2
Pixeldriver Hardware from David Mottram This hardware has the advantage that it can be operated with 5v and 12v leds and this controller has 2 data outputs for over 2000 LEDs.
Example 3
Athom Light Strip Controller
Pre installed WLED, simple controller with enclosure for reliaby driving 3 pin 5V LEDs uses 2M ESP8266. Indeed without IR receiver.
Software for the LEDs
The software for the LED controlers is WLED by Aircoookie You can find the Software on GitHub here . An excellent tutorial and getting started Page can you find here.
I hope I was able to explain the hardware a bit and wish you a lot of fun with these outstanding software projects. Amazing what came out of this small, cheap ESP through these two software projects.
nice, thank you @dietmar-1 how about the lightstrip? how did you install the cable and stuff in the water?
Most likely the tub is like the Paris and similar, so it's translucent, and you can install a light strip under the hot tub which is attached using loops in the hot tub webbing. The Hot tub sits on top of the lights and they shine through the walls, base, and into the water. They need to be IP67, along with the controller, as they can get wet from the water and rain ingress. Looks like the strip is covered in that IP67 version silicone cover that you can buy on AliExpress etc.
ah, i see. thanks for that. got a miami :-(
Ahh yeah, those are "white/blue" inside and guessing not translucent very much, if at all?
You "could" put fully IP67 strips into water, but I wouldn't be keen on it!
This is probably the best idea how the range of Lay Z Spa LEDs work, you can see the black controller bottom left and how the lights are placed "under" the tub in a ring.
yeah, that was the question. how to put those into the water... but i dont want china electronics in my tub :D
The leds are out of the water under the pool, in translucent silicon tube. The led strip is mounted under the plastic. It shines perfect into the water. The bestway original strip works the same way.
This youtube video here shows exactly how the LED strip is installed (look to 1:40)
@dietmar-1 how did you get the web interface in German? This would be really great! Thanks!
@dietmar-1 how did you get the web interface in German? This would be really great! Thanks!
I guess he just edited the .html files in the data/ directory.
@Laudings: yes :+1: visualapproach is absolutely right: just edit the html and style files, compile and enjoy :relaxed:. If you only need to change files in the data directory, you can also use the file upload feature, you do not need to compile new.
@visualapproach @dietmar-1 thank you! I allready found it. Good to know!
Stale issue message
With this software extension in main.cpp from line 155 ("own code here" section) , a WS2812 LED strip can be controlled via the "UNIT" and "TIMER" buttons. I disabled the buttons in the BWC_8266_globals.h file. The keys are processed in the main.cpp and sent a POST request to the LED controller WLED (by Christian Schwinne Aircoookie) via an HTTP Request API. No MQTT server ist needed.
A 5m long WS2812 LED strip is used as strip. This means that 150 or 300 individually addressable LEDs can be controlled as lighting the pool. There are countless hardware as ws2812 controller which work with ESP8266. Here is an example of a controller available from AliExpress.
This code is for experimenting and adapting to your own needs. Since I'm not 100% fit in cpp programming, I'm happy to be improved if necessary.
WLED on GitHub WLED Wiki
This combination of pump control (WiFi-remote-for-Bestway-Lay-Z-SPA by visualapproach) and light control (WLED by Aircoookie) is the best for comfortable operation of the LAY-Z-SPA pools.
One of the great possibilities: I integrated an analogue clock as a special effect, so I can detect the time via the leds in the pool. Brilliant !
The (new 22.03.2022) code:
The LEDs can also be controlled via the web interface. The following code was added to index.html for this purpose. For this, WLED is controlled via a Post Script for JSON API of WLED.
Code:
I hope this gives some creative ideas and solutions.