Possibly Convert Full Spectrum Aquarium Light to ESPHome?

Thanks again, PWM’s came in 20min ago, wired up, added outputs and lights to esphome yaml, flashed to esp, and voila, it works :partying_face: :partying_face: :partying_face:.

@nickrout Thanks for your input, it really helped in guiding me in the right direction, and help me really understand (after lots of reading) how all these tech come together.

Really it was just educated guessing. Glad to help.

And now I’m educated, cheers.

Is it normal that the actual brightness level is “NOT” reported or reflected in HA?

I have the automation action below which works as expected, but when the lights turn on, HA shows the brightness level as full brightness, even though the lights are actually turned on at the lowest level.

action:
  - service: light.turn_on
    data:
      transition: 300
    target:
      entity_id: light.tank_01, light.tank_02

There is nothing in that automation that sets brightness. What sets it?

I guess the transition, as I can physically see it start at the lowest level and brightens to the fullest within 5 minutes.

And the second automation action functions the same in reverse.

action:
  - service: light.turn_off
    data:
      transition: 300
    target:
      entity_id: light.tank_01, light.tank_02

Where you able to get this done? I’m on the same boat now.
I bought a Hygger bluetooth light (Tuya) thinking that I may be able to integrate that into HA but it just doesn’t work, so I’m looking into replacing that with this light and adding control via ESPHome.

Hey All,

First post and great to be here.

I have recently brought a similar light to above and stumbled across this thread with a google search.

I am wondering if my light could be controlled in the same way?

I run an esp32 with wled flashed onto it with some neopixl lights on it.

My board control board for my aquarium light is slightly different, it has mosfet attached to the outputs (presumably to do with the current draw) it’s a 16w light.

Modes are

  1. white, red and green together
  2. Add blue to the above
  3. Blue only

Attached is some photos of my board.

Would my connections be the same as above, then configure the outputs in wled?

I guess then I would set up 2 pwm pins on my esp32, and control them alongside my other lights/macros and presets?

Thanks in advance.

Baz

I would (as suggested above) use an h801.

Hey All,

Just finished messing around today, I managed to get it working.

I used the cheap mosfet driver boards from amazon, 10 for £8 so well cheap.

I used 2 modules (one for white and one for blue) and wired them up to the pwm pins on my esp32 (you do need to assign all 4 pins (which is annoying, as I’m not using the red and the green).

It all works and set up in the new segments in wled and works with alexa and home assistant.

Thanks for the resource and reply.

Baz

1 Like

i was able to make a white LED aquarium light (Dennerle Nano-Power LED 5) smart via H801 running Tasmota. No big deal, only programming a sunrise / fall via rules is rather cryptic.
for my new tank i got a Chihiros RGBW LED light with a cloudbased bluetooth controller. It would be nice to hack the controller or use the H801.
Does anybody have any experience with Chihiros to share?

You got a link to that device?

My devices still to be smartified are:
The light:

Included Controller:

Or do you mean the H801? This is very common:
https://www.aliexpress.com/item/4000131193477.html

The Chihiros wifi bridge has a UART port on it. It’s custom board with an esp07 controller. I’ve been tinkering trying to dump the console.

Not the greatest pictures, but this is the board design. the chip in the bottom right has some numbers written in pencil but I can’t identify the chip. I would assume it should be fairly simple to integrate since it’s already based on an ESP.

1 Like

i think one needs to decrypt the bluetooth commands used.
the esp here is just a wifi to ble gateway.

any update?

Hi,
I have a couple of Chihiros lights as well. I had purchased the Wifi bridge also. When it work, it was fine, but was not very durable. I went thru 2 of them in about 9 months. They just died and I couldn’t reset them,

Like you I started searching and I found this https://github.com/TheMicDiet/chihiros-led-control. and it works great. You can control the lights thru HA easily.

I used as ESP32 with ESPhome to create a bluetooth proxy and it has worked flawlessly. https://esphome.io/projects/?type=bluetooth.

I’m working on using Ashely’s Light Fader to do ramp up/ramp downs. I think it should work out great.

Check it out!

cool. thanks for the info.
will have to dive into esphome first.

Creating the bluetooth proxy in esphome is really quick and easy on the link I included.

Install Esphome then goto the link.

Just attach the esp32 to your computer with a USB cable and follow the directions. You will be asked for your wifi credentials and your done.

Probably took me longer to write this than it takes.

Good luck.

Created the proxy and after some time (no BT feedback at proxy visibel) the bluetooth LED control got recognized.
I still have to figure out how to use, as in HA there are only sliders for color.
I dont want to rely on realtime HA automation so it would be ace to be able to program a light schedlue on the device, as with the app.