Fluval Aquasky BLE RGB-Light

Hi @alpopone,

sorry for the (very) late reply. Somehow I am not getting email notifications any longer…

Oddly enough, I never had any issues getting a correct system time before the addon connects to the lights - but then again, many things in ESPHome changed in the last year(s)… :wink:

To be honest, your solution looks quite good, but you could skip the reconnection by using the time sync function of the addon. I created a button on my dashboard for that, but you could try to implement that into the time sync trigger.

The button I made works like this:

button:
  - platform: template        
    id: freki1_timesync    
    name: Freki1 sync time
    on_press:
      then:
        - fluval_ble_led.sync_time: fluval_freki1

fluval_freki1 is the name of the addon instance:

fluval_ble_led:
  - ble_client_id: ble_freki1
    time_id: ha_time
    number_of_channels: 4
    id: fluval_freki1

So in your case you could try:

time:
  - platform: homeassistant
    id: ha_time
    on_time_sync:
      then:  
        - fluval_ble_led.sync_time: <your fluval_ble_led name here>

best regards
mrzottel

Hi @dannyslinn,

sorry for the late answer - as I already said, I am not getting email notifications anymore :wink:

Also, time flies by, it’s no longer funny anymore :woozy_face:

So in theory, every device compatible with ESPHome should work as long as it supports bluetooth.

Personaly, I use these boards: AZDelivery 1 x ESP32 Dev Kit C V4 NodeMCU WLAN WiFi Development Board mit USB-C Anschluss kompatibel mit Arduino inklusive E-Book!: Amazon.de: Computer & Zubehör

but their availability might be limited depending on where you live on this planet :wink:

Also, an “open” dev board might not be your ideal setup if you never worked with stuff like this before. I 3d printed a “mostly watertight” case for it and put it on a selfmade PCB with some relais, a LCD and ports for temperature sensors and stuff like that which monitors my fish tank and starts fans in case of over temperature etc. So a bit more involved than just controlling lights.

If you still want to go on with the project, just write me a PM and we can figure out what works best for you :wink:

best regards
mrzottel

Hi @mrzottel ,
Thank you for your response and support!
I tested your suggestion and it works great in my enviroment. Will stick to it as it is more elegant than a full disconnect-reconnect cycle.

Best Regards,
Alexander

Hello, which / are any / esp home components still supported?
I deployed fluval_ble_led a year or two ago - the old fluval_ble_led seems no longer online and I can get none of the external components configs found in this thread to work.
This is blocking me from making any changes to the esphome device at all.

For this external component,

external_components:
  - source: github://mrzottel/esphome@fluval_ble_led
    components: [ fluval_ble_led ]

I get the following errors:

Failed config

external_components: [source /config/esphome/aquarium-ble-light-controller.yaml:3]

  • source: github://mrzottel/esphome@fluval_ble_led
    components:

    Could not find init.py file for component fluval_ble_led. Please check the component is defined by this source (search path: /data/external_components/7f010557/esphome/components/fluval_ble_led/init.py).

    • fluval_ble_led

Thanks for all your hard work. And for your incredibly nicely readable formulated comments