Remote Access - sblantipodi/firefly_luciferin GitHub Wiki

Configure WiFi, Ethernet, MQTT on Glow Worm Luciferin FULL firmware using the Web Installer

Luciferin Web Installer is available here.

Please click the Install FULL button

The install procedure will ask you the COM port where you want to install the firmware. Once the installation is finished you'll be able to enter the WiFi credentials.

If you entered the right credentials you can visit the device where you can finish the firmware configuration. If you entered wrong credentials, please reinstall the firmware and select "erase device" checkbox during the process to clean the stored credentials.

Click visit device. Once landed on the Web Interface, click the three lines button on the top right to access the firmware settings.
MQTT is optional but if you want to use MQTT, you must enable MQTT on the Web Interface settings.
If you are using an ethernet device in this page you can enable Ethernet.

There is an alternative way to configure the firmware for people who don't want to use the web installer. More info here.

Configure Firefly Luciferin for FULL firmware

You can download Firefly Luciferin here.
If you are using the FULL firmware, you need to enable FULL firmware in the Firefly Luciferin settings, Network tab, enabling MQTT is optional.
If you want to use MQTT, both Firefly and Glow Worm must be configured to use MQTT. If you don't want to use MQTT, please disable MQTT on both Firefly and Glow Worm. Note: Once Firefly Luciferin is properly paired with a Glow Worm device, any changes made in Firefly are automatically transferred to the Glow Worm device. Wireless Stream is the recommended setting and it's generally faster than USB.

if you have more than one devices running Glow Worm firmware it is recommended to select which device to use in the Output device section under the Mode tab.

Luciferin Web Interface

Glow Worm Luciferin FULL firmware exposes a Web Interface to control your lights from your browser without the needs of the Firefly Luciferin PC client.

If you are on Windows, macOS or newer Android smartphones you can access your device by pointing your browser to:
http://your_device_name.local
another method is to use the IP address of your microcontroller, example:
http://192.168.1.82

Web Interface exposes an Auto save button, if auto save is enabled, color and brightness information is stored into memory to retain this settings after reboot. If you change color often, this can stress the small memory on your microcontroller. In that case it is recommended to disable auto save. If you want to save only one color as default, please enable auto save, choose the desired color and then disable auto save.

Via Web Interface you can even choose to "Turn on lights" when ESP reboots.

If Firefly Luciferin is correctly configured, you can see your devices in the "Devices" tab and you can access the web interface by clicking on the device's IP.

MQTT support

Luciferin supports MQTT and can be controlled via a smartphone or via a PC remotely using a generic MQTT client.

SCREENSHOT

Default topic

lights/glowwormluciferin/set

Turn ON/OFF the LED strip remotely, apply light effects

{"state": "ON"}
{"state": "OFF"}
{"state": "ON", "effect": "rainbow"}

Those are the supported effects:

  • bpm
  • fire
  • twinkle
  • rainbow
  • chase rainbow
  • solid rainbow
  • mixed rainbow
  • solid

If you are using MQTT you can consider adding Luciferin to Home Assistant in one click via MQTT Auto Discovery.