Custom Component: Juwel HeliaLux Smart Controller

Has anyone got this to work lately? Seems there is some deprecated code which no longer operates correctly.

Many thanks in advance

Bump. Can anyone help?

What do your logs say? Post the error.

Any idea why I can’t seem to get the switch to work ?

Basically it’s acting as though the switch doesn’t exist.

Did the old code get depreciated since last posting ? Thanks

What do your logs say?

What version of Helialux firmware do you have?

The component is only a sensor for the light levels. I don’t use the extras people submitted on here…

Are you also definitely using the MrSleeps version of the custom component? Someone released one later with exactly the same name that no longer works.

Absolutely, using the one above.

And using the code by m1c(the three files and Lovelace card) in conjunction with it.

The sliders work but the switch isn’t, also your current profile sensor works but the one from his isn’t, not sure if the shell commands are depreciated by HA or what, hoping you can help
Me get this part of the code working again :pray:

Hi, are there any progresses in this subject?

I am a beginner with home assistant. I have tried to insert the three config files into configuration.yaml → if “auomation !include automation.yaml” is commented out, HA at least accepts the configs however it generates some errors.

Using the lovelace integration has not been successful: I can neither insert the code into lovelace code editor neither can it be integrated into configuration.yaml.

Could someone please give me more information what to do with the code snippets?

Is there anybode who can post a running config with a recent HA version?

Hello

I own more than one tank with HeliaLux light control. Is it possible to integrate more than one tank? I tried several entries in the configuration.yaml but no results…

Thank you very much in advance, Markus

I’ve a Juwel HeliaLux AppControl this Custom Component is only for the older Smart Control ?

Finally found the time to get update this little monster.

Introducing V1.0.0!

Now with a lovely config_flow, more sensors and the ability to control the light! You can also have more than 1 tank being controlled by it.

There’s a few bugs in it, I’m aware the colour changing is clunky and doesn’t always work…

Head on over my GitHub for more information and please please please read the Upgrade guide on GitHub before upgrading.

Yes, it’s for the smart control not the one controlled by the app, I don’t have that.

Feel free to put in any pull requests to make it work with the newer one.

With Version 1 it is now possible to have more than one tank, at least it should be. I only have 1 tank with the smart controller.

@faspie Try the latest release, it’s a lot more straightforward to install. As for the Lovelace install, there is no lovelace component for it.

@stevo92 Also try the latest version…

v1.0.4 has just been released, now provides the ability to change the controller profile used, binary sensors for manual daylight and colour simulation, translations.

V2 has just been released, added some switches for manual colour and daytime simulation, more (and fixed) translation files and a general tidy up of the code.

1 Like

Thank you for the integration! Can confirm it works for me, have a couple of questions though:

  1. I can’t seem to get it output 100% for all channels. When the controller sets to 100% for all channels, the state in HA indeed shows 100%. However if I turn on the light from Home Assistant (or Homekit) and choose 100%, it maps to 39% for all channels, would like to ask how can I make it to output 100% for all channels?
  2. Maybe related to my previous question, the colour picker doesn’t always work reliably, I can choose a colour in HA but doesn’t always send the right colour to Juwel. I understanding maybe it is something to do with mapping WRGB channels to HSL (or RGB). I tried another HomeBridge implementation previously and the mapping of colours are more accurate (link). Another idea is to have one colour bulb and one dimmer bulb only for W channel
  3. I can use the slide in HA to change simulation time, but looks like the setting takes no effect - when I open Juwel webpage it always says remaining time 1H, maybe I misunderstand how it’s supposed to work?

Hi @Sleeps :
Regarding 39% issue I mentioned, I think I find why in code:

Convert RGBW values (0-255) to Juwel’s (0-100)

    red, green, blue, white = (
        int(rgbw_color[0] * 2.55),
        int(rgbw_color[1] * 2.55),
        int(rgbw_color[2] * 2.55),
        int(rgbw_color[3] * 2.55),
    )

Looks like it multiply instead of divide 2.55 - and 100/2.55=39

1 Like

Mine already does that

       # Convert to Home Assistant's scale (0-255) and calculate brightness
        max_rgbw_value = max(
            raw_red * 2.55,
            raw_green * 2.55,
            raw_blue * 2.55,
            raw_white * 2.55,
        )
1 Like
  1. Do you have homekit also controlling the Juwel light at the same time? You run the risk of overrides/my component and homekit fighting it out if you are.
  2. I don’t want to introduce more bulbs, it will overly complicate the code and defeat the purpose of RGBW bulbs and colour mixing. I’m aware it doesn’t always work but at the moment I don’t have enough spare time to look into it.
  3. The moment you load up the Juwel webpage it sets its own defaults, the readme mentions it:

The controller website will cancel out all your changes if you visit the website manually! This includes embedding the page in Home Assistant (any time the controller website is opened it will take control of the controller and do its own thing).

That’s not something I can overcome/fix, it’s built into the juwel hardware, the only option for that is a custom firmware which is way beyond my capabilities.

Hi thanks for your reply, fully appreciate your work on this!
To you questions, yes I connect to Homekit, however that’s not the issue as I can’t get the light bulb to 100% in HA either. Every time when I adjust it to 100%, it only reaches 39% and after a while HA shows 39% as well. I think single bulb is good idea, does it work for you to get 100% on all channels?
The reading from the light always work, so it can go to 100%, it’s the writing part seems to be an issue, as 39% = 100/2.55 I suspect something to do with conversion, but I don’t have good knowledge of Python

Turn on debug in home assistant and post your logs to github, it’s clunky but it works fine on mine