Arilux LC01

317 views
Skip to first unread message

Michael Schemmer

unread,
Oct 31, 2017, 2:18:42 PM10/31/17
to SonoffUsers
Hi there,

I've purchased a bunch of these:

And have succesfully flashed 1 using the Tasmota 5.9.0 firmware, but after accessing the webpage and changing the module name to Arilux, I'm unable to change the lights on the frontend? Is this possible yet or would I have to use MQTT only? If so, what command could I pass to the device to get the LEDs to change?

Thanks
Message has been deleted

Mike Roberts

unread,
Nov 1, 2017, 2:24:28 PM11/1/17
to SonoffUsers
Michael

Yes you need a MQTT broker to talk to Tasmota.  Take a look at: https://www.instructables.com/id/Powerful-Standalone-Home-Automation-System-Pi-Sono/ for an example of setting one up on a pi.  On the webpage you will also need to set the IP address of the MQTT broker.

You will need to change the module type to 37 for Arilux via cmnd/Arilux/Module with payload 37. I am not sure if this also sets up the pwm outputs. Check with cmnd/Arilux/Gpio.  If necesary set up Pwm1, 2, 3 on the gpios for the R, G and B and then use the topic cmnd/Arilux/Color with payload RRGGBB (hex) to set the colour.    Your priority should be to get a broker setup.  Then you can send commands to interrogate your Arilux.

Mike

Michael Schemmer

unread,
Nov 1, 2017, 2:27:13 PM11/1/17
to SonoffUsers
Hi Mike,

Forgot to mention, I've HASS setup with MQTT and a bunch of Sonoffs  which work really well. The part that I'm confused about is your advice -  "If necesary set up Pwm1, 2, 3 on the gpios for the R, G and B and then use the topic cmnd/Arilux/Color with payload RRGGBB (hex) to set the colour"   
I've been compiling using arduino and only really play with the user.config file, which is enough for the Sonoffs, but clearly not for the Arilux.

I have another Arilux setup with the MagicHome app and it works alright, but when I update the firmware on my router I have to setup the thing from square one, thats why I prefer the Tasmota firmware.

The unit I flashed with Tasmota was just helluva tricky to setup. ( I used SetOption15) and the LEDs were controllable from the user interface (Basic R, G B) 
I just thought it would've been easier to implement in a Home Automation enviroment, as if there aren't enough awesome components to play with

Mike Roberts

unread,
Nov 1, 2017, 3:33:54 PM11/1/17
to SonoffUsers
Michael

The firmware defaults to a basic sonoff.  You will need to tell the firmware that it is on an Arilux - hence the instruction Module 37.  Are you able to send topics/payloads to your broker?  This is the way I set up and interrogate my devices.  I use Node-Red as a client to my (moquitto) broker ((both on a pi as in the link above). I will be publishing another instructable in a few days that covers setup of a ESP-12F to drive LEDs and IR and read temperature.

Mike

Mike Roberts

unread,
Nov 1, 2017, 5:13:18 PM11/1/17
to SonoffUsers
Michael

Note that the Airlux will do nothing to add itself to HASS (if my understanding is correct - note I have not used this).  Take a look at the video referenced in my instructable above for a good explanation of MQTT.  The Arilux needs the IP address of your broker so it knows where to subscribe.  HASS needs to know what the Arilux has subscribed to so it it knows what topic to publish to.

Mike

Mike Roberts

unread,
Nov 1, 2017, 7:42:42 PM11/1/17
to SonoffUsers
Michael

Please reply on the forum rather than direct so others can see.

Yes the command for red would be cmnd/Arilux/Color with payload #FF0000 or just FF0000.

Also just checked the Tasmota code and is does set the PWMs when you set the Module type to Airlux.

Mike

Atis Papai

unread,
Nov 22, 2017, 2:37:49 PM11/22/17
to SonoffUsers
Hi all,

I have such an Arilux controller and many Sonoff modules. I really like Tasmota firmware and I have just seen that Arilux LC-01 is now supported! 
I'm using this controller in JSON mode with Home Assistant, so that I can change colors, brightness, etc using only one MQTT message.
Is this kind of JSON format supported as well in Tasmota firmware?

Thanks,
Attila
Reply all
Reply to author
Forward
0 new messages