ahodges9 / LedFx

LedFx is a network based LED effect controller with support for advanced real-time audio effects! LedFx can control multiple devices and works great with cheap ESP8266 nodes allowing for cost effectvice syncronized effects across your entire house!
MIT License
385 stars 91 forks source link

First impressions (Linux Mint 19) #6

Closed Moonbase59 closed 5 years ago

Moonbase59 commented 5 years ago

Hi again,

seems there’s still some work to do.

My config.yaml:

devices:
  esps1:
    channel_count: 180
    channel_offset: 0
    host: 192.168.170.66
    max_brightness: 1.0
    name: esps1
    type: e131
    universe: 1
host: 127.0.0.1
port: 8888
ahodges9 commented 5 years ago

Can you look in the developer console for your browser? You should seem some errors there. Most of your issues seem to be due to not finding the statics path holding the scripts and css.

not-matt commented 5 years ago

I had exact same issues on first install, including web interface not working properly. Possibly related?

On Sat, Jul 21, 2018, 16:22 Austin Hodges notifications@github.com wrote:

Can you look in the developer console for your browser? You should seem some errors there. Most of your issues seem to be due to not finding the statics path holding the scripts and css.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/ahodges9/LedFx/issues/6#issuecomment-406803543, or mute the thread https://github.com/notifications/unsubscribe-auth/Ae5azDAzwOSN6PMdmtuIcB6r44AN09Tkks5uI0dKgaJpZM4VZkp1 .

ahodges9 commented 5 years ago

Alright, both issues should be fixed in the latest version. I was missing a manifest that pulled the non python files into the site package.

As for what stuff can go into "config" the only way to see this currently is using the REST APIs. So go to "Developer Tools" and submit a "GET" to "/api/effects" to list the effects. Then a "GET" to /api/effects/XXXXX" to get the supported schema for that effect. So "/api/effects/gradient" will get you all the supported config for the gradient effect.

Moonbase59 commented 5 years ago

Ah, now we’re cooking! Looks promising!

I currently test on Linux Mint 19 (for audio processing, I reckon we need some power so I use a test laptop but expect it to be able to run on an RPi 3B+ later on). LedFx drives a 60-pixel (180 ch) ESPixelStick with my latest changes (forkineye merged, hurrah!), apparently even with less sequence errors than QLC+ has.

I’m currently playing around with it, but already miss some independent brightness control. Some effects parameters also seem do do nothing (i.e., speed and frequency on the rainbow).


EDIT: Long "my vision" text moved to "General Discussion"!

ahodges9 commented 5 years ago

Cool, glad you got it up and running. Hopefully that is the last of the random setup issues. Right now "brightness" is an aspect of the device and effects don't have control over it (probably what we want). There is no way to control this in the UI currently, but you can control it with the "max_brightness" property in the device config. Just a matter of exposing it in the UI.

As for any other issues (i.e. speed not working) feel free to open issues for them and I will take a look once I have flushed out more of the end-to-end architecture.

Moonbase59 commented 5 years ago

Spectrum and Wavelength don’t seem to do anything.