Giter Site home page Giter Site logo

Comments (6)

brunchboy avatar brunchboy commented on September 3, 2024 1

Ok, I have used this as a reason to put together a new release. If you download version 0.2.4, there is a new command-line argument that should prevent this crash.

java -jar afterglow.jar -n

The -n (or --no-browser) argument tells afterglow to not try to launch a local web browser window to show its web interface. You can still connect to it remotely from another machine, of course.

Please let me know if this lets you get farther, and how you find performance to be on the Pi. I would also love to know what you are experimenting with, and would be happy to help you create lighting fixture definitions if you need any.

from afterglow.

brunchboy avatar brunchboy commented on September 3, 2024

It looks like you are trying to run it using java -jar, which currently assumes that you want to open a web browser window in order to interact with afterglow, since you aren’t starting things from a Clojure REPL. That will not work in a headless environment.

As a temporary workaround, you can change this line to omit the true argument, or replace it with false. When I have a moment, I will add a new command-line argument to suppress this behavior.

However, given other reports I have heard, the memory and processor resources of a Raspberry Pi may not be adequate for a high-performance Java application like afterglow.

from afterglow.

busti avatar busti commented on September 3, 2024

Hey,
thanks for responding so quickly.

I am trying to use a raspberry PI Zero W as the main platform for an event coming up in may. I already compiled OLA to be able to use the gpio pins of the PI to drive WS2812 Strips.
We are also going to rent some Futurelight PHS 260 Moving heads and I would love to supply fixture definitions for those and anything else we may rent for this and upcoming events.

After your latest release I can start up the jar on the PI and the performance seems to be good.
I am currently trying to get into clojure and trying to setup the init file for the show. I am usually working with scala and wasn't able to wrap my head around it just yet, but I am getting there.

from afterglow.

brunchboy avatar brunchboy commented on September 3, 2024

That’s excellent! I love people exploring new ways of using this system after I poured so many hours into designing and building it, so I am happy to answer any questions you may have. I see that QLC+ has added a fixture definition for the Futurelight PHS 260, so we can use that as a starting point, but I also notice that they have changed the XML schema they use, so Afterglow’s built in QXF converter has stopped working. I am investigating how to fix that now, and will share the converted fixture definition once I have succeeded.

And yes, if Clojure is your first Lisp, it takes a while to wrap your head around it, but starting from scala will give you a head start over most people, and I have good reason to hope you will end up liking it too.

from afterglow.

brunchboy avatar brunchboy commented on September 3, 2024

All right, it was easy to add support for their new XML schema URL, so here is the auto-translated fixture definition. Since I don’t have one of the lights to work with, I am unable to figure out the proper values for :pan-center, :pan-half-circle, :tilt-center, and :tilt-half-circle. If you can work those out, and test this, I would greatly appreciate it.
futurelight-phs-260.clj.zip

from afterglow.

busti avatar busti commented on September 3, 2024

Thank you,
I will measure the values as soon as we rent the fixtures next weekend.

from afterglow.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.