Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WLED Effects FPP page not complete #1

Open
jeepinjason opened this issue Jul 21, 2022 · 14 comments
Open

WLED Effects FPP page not complete #1

jeepinjason opened this issue Jul 21, 2022 · 14 comments

Comments

@jeepinjason
Copy link

Installed on FPP 5.5 and non of the effect buttons, model selector, or color selectors show up on the UI.

image

@adamcoulombe
Copy link
Owner

it seems the ui isnt being populated with any system data.

Would you care to post a console log from google chrome by pressing F12 and copying everything that shows up in the console when you load the page?

@jeepinjason
Copy link
Author

jeepinjason commented Jul 23, 2022

OK so further investigation. It works better when I'm logged in on my local network, but when logging in remotely thru Dataplicity is when the plugin is blank... So it appears to be an issue with the Dataplicity passthrough.

But on the local, it still doesn't give me the model list, or the color selections.

image

@jeepinjason
Copy link
Author

Here's the Console log
image

@ravenridgelights-turtle

I am experience the same .. i would love for this to work but at the moment its not pulling in models , color picker , etc
but i love the idea of real buttons . i could see this being made into a app for us as well .

@ravenridgelights-turtle

Uncaught TypeError: Cannot read properties of undefined (reading '0')
at HTMLButtonElement. (plugin.php?plugin=fpp-WledEffects&page=wledeffects.js&nopage=1:190:59)
at Function.each (jquery-latest.min.js:2:2976)
at S.fn.init.each (jquery-latest.min.js:2:1454)
at Object.success (plugin.php?plugin=fpp-WledEffects&page=wledeffects.js&nopage=1:185:57)
at c (jquery-latest.min.js:2:28294)
at Object.fireWith [as resolveWith] (jquery-latest.min.js:2:29039)
at l (jquery-latest.min.js:2:79817)
at XMLHttpRequest. (jquery-latest.min.js:2:82271)
jquery-latest.min.js:2 jQuery.Deferred exception: Cannot read properties of undefined (reading 'indexOf') TypeError: Cannot read properties of undefined (reading 'indexOf')
at Object. (http://k162/plugin.php?plugin=fpp-WledEffects&page=wledeffects.js&nopage=1:151:71)
at Function.each (http://k162/js/jquery-latest.min.js:2:2976)
at http://k162/plugin.php?plugin=fpp-WledEffects&page=wledeffects.js&nopage=1:150:27
at e (http://k162/js/jquery-latest.min.js:2:30005)
at t (http://k162/js/jquery-latest.min.js:2:30307) undefined
S.Deferred.exceptionHook @ jquery-latest.min.js:2
DevTools failed to load source map: Could not load content for http://k162/js/jquery.jgrowl.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE
DevTools failed to load source map: Could not load content for http://k162/js/bootstrap.bundle.min.js.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE

@ravenridgelights-turtle

Screenshot 2022-07-26 2321592

@ravenridgelights-turtle

Screenshot 2022-07-26 232159

@ravenridgelights-turtle

also fails to load on BRAVE browser

@cbennett6008
Copy link

I'm on FPP6 (with no proxy) and seeing the same symptom where there are no models listed, and colors buttons do not function.

@adamcoulombe
Copy link
Owner

adamcoulombe commented Jul 28, 2022

i think the issue is that there is no plugin config file present when the plugin is newly installed.

I was seeing the same blank page on my end, but my console errors were actually a little different.

I've pushed a code fix, for it, maybe someone else can confirm whether it is working. (You will need to uninstall the plugin then reinstall it)

@cbennett6008
Copy link

cbennett6008 commented Jul 29, 2022

That looks like we're closer. After uninstalling and reinstalling i had the same problem, so I dug into the code you committed today, to find where to look for the config file, and see what was in there.
It only contained

{
    "models": []
}

I couldn't tell if the timestamp on the file was before or after the fresh install to be fair, but you have code to default falues if no config exists, So I deleted the config file and refreshed the page. I now have models and colors enumerated.

I have a new problem from there that is probably best if I start a new issue for, for sake of order.
Edit: I went back and looked, plugin install timestamp was 20:17 and the config file timestamp on the broken file was 20:23

@jeepinjason
Copy link
Author

I just upgraded to FPP 6.0 and uninstalled and reinstalled the plugin and it's still not working.

@jeepinjason
Copy link
Author

Fresh FPP 6.0 image on a new pi, and the WLED effects looks like it's working better. Color chooser is working. Not sure if model list is working, because I haven't set up models yet. Not sure what this information does to help, but I figured it cannot hurt.

@adamcoulombe
Copy link
Owner

adamcoulombe commented Aug 4, 2022

Fresh FPP 6.0 image on a new pi, and the WLED effects looks like it's working better. Color chooser is working. Not sure if model list is working, because I haven't set up models yet. Not sure what this information does to help, but I figured it cannot hurt.

Any changes in your console log?

BTW... I believe you do need to have models for it to work

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants