I’ve recently bought a Juwel HeliaLux Smart Controller (and the overly expensive LED lights that go with it) for my fish tank and wanted to monitor the LED settings with Home Assistant.
A few hours later and a basic custom component is born.
Installation is easy, copy the juwel_helialux folder from my GitHub repo to your custom_components folder.
Add the following to your config file:
sensor:
- platform: juwel_helialux
host: 1.2.3.4
name: "Your Tank Name"
Change host to the ip address of your Juwel HeliaLux Smart Controller and change name to the name of your tank (you can call it whatever you want).
Restart Home Assistant and you should find the following sensors available…
tankname_blue
tankname_green
tankname_red
tankname_white
tankname_current_profile
It’s a very basic component at the moment, very little error checking but as most things I do, it’s a WIP.
jakerol on github has pointed out that you need to have at least v2 of the firmware for this to work, please make sure you have updated your firmware to at least v2.1 before installing this custom component.
Awesome - I was looking exactly for something like this.
Hopefully in the future you will also be able to implement channels control and manual simulations.
I am not good with coding - I cannot really help you there, but happy to land a hand for testing
the only addition I have made is in the “Helialux - manual” automation.
I have added a rest.reload when the manual simulation is deactivated so to have the input slider immediately aligned back to the “auto” value
Hi, sorry for the late response. Maybe you got it working already.
But if you add these 3 files to your HA or paste the content in your configuration.yaml file and adjust the IP to the one from your Helialux controller it should work
Have updated the component to (potentially) fix an error (Something broke: ‘str’ object does not support item assignment) that I think is caused by not being able to connect to the Juwel controller (i.e. it’s offline)… I can’t reproduce the error so I’m shooting in the dark with the potential fix.
Install the custom component? Install it via HACS, takes all the hassle out of it.
If you want to do it manually, download from github, unzip in to the custom components directory on your HA install, add the required sensor stuff to your configuration (all in the readme) and reboot HA.
Thank you for the reply, I have of course tested your component and it is great, I just miss the option to set the profile from HA. If I understood the script from m1c correctly it works for him. Well I will have to break down your python.
I want to modify your module if it succeeds:
the possibility of creating a custom profile on HA
the possibility of adding clouds, which is what helialux does
Thanks so much for sharing this! Really appreciate it!
I saw that some people weren’t able to use this. I think this is because of one small error. In the command_off it has to be action=14&cswi=false instead of action=14cswi=false.
Also you are using a custom card which can be downloaded with HACS: mini-graph-card