Giter VIP home page Giter VIP logo

led-pixel-controller's Introduction

I'm Chris.

An engineer, technology enthusiast, developer, hacker/maker, and more...

I love to build, prototype and develop new things using skills in design, electronics, fabrication, machining and mechanical & software engineering. I do this both as a hobby and at balena (which is awesome!).

When I get time, I like to travel, ride my bike, play pinball, watch movies and try new beers with friends.

led-pixel-controller's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

led-pixel-controller's Issues

Does not start on balenaOS 2.43.0+rev1

The services are stuck when trying to start up. It seems like there is a typo in the docker-compose file, where the GW is not in the same subnet as the other IPs. But also with this entry fixed, the services keep restarting.

artnet won't build

I can't get the artnet part to work

The dockerfile fails on this line:

RUN apt-get update && apt-get install -yq \ python-twisted && \ apt-get clean && rm -rf /var/lib/apt/lists/*

with the error:

The command '/bin/sh -c apt-get update && apt-get install -yq python-twisted && apt-get clean && rm -rf /var/lib/apt/lists/*' returned a non-zero code: 100

I tried manually installing python-twisted from the command line on another Pi running without Balena and it installed correctly. Not sure what is wrong here, any ideas?

noVNC is glitchy when it shows the Glediator UI

This can be resolved by turning the compression and quality down (maybe even just compression) using the settings > advanced menu in noVNC. I'm trying to figure out a way to set this by default but nothing I'm trying is working.

I tried this in start.sh:

# Change the default quality and compression
sed -i 's/this._qualityLevel = 6;/this._qualityLevel = 2;/g' /noVNC/core/rfb.js
sed -i 's/this._compressionLevel = 2;/this._compressionLevel = 0;/g' /noVNC/core/rfb.js
sed -i 's/<input id="noVNC_setting_quality" type="range" min="0" max="9" value="6">/<input id="noVNC_setting_quality" type="range" min="0" max="9" value="2">/g' /noVNC/index.html
sed -i 's/<input id="noVNC_setting_compression" type="range" min="0" max="9" value="2">/<input id="noVNC_setting_compression" type="range" min="0" max="9" value="0">/g' /noVNC/index.html

But it seemed to make no difference.

Update ArtNet output configuration + FadeCandy Server for OPC Channel 1 for Broader support

Per another forum thread, was curious to use xLights to interface to FadeCandy Server running on the Raspberry Pi. Made the changes discussed in that thread (updating the FadeCandy server.json file) to listen on OPC Channel 1, since xLights can't be configured for channel 0.

Alas - that broke the existing Glediator -> ArtNet (-> FadeCandy) functionality of this project. Suspect it's a quick / trivial adjustment to the ArtNet server config to make a corresponding change to it's OPC output configuration.

Is there any downside to shifting the whole project from OPC Channel 0 to Channel 1 for broader interoperability? Had hoped to contribute by submitting a PR with both these changes -- but I'm struggling to find the authoritative documentation for the ArtNet server. My hack-y attempts to edit:

artnet/src/artnet-server_fc.py

Have not yet yielded positive results. Will update the issue, or even submit a PR, as I learn more.

Cheers!

NoVNC does not connect

VNC client on port 80 seems unable to connect to the on-device server even though it works from external clients.

Pi 4

Does this run on a Pi 4? I can't seem to get it to work. FCSERVER seems to be crashing and if I go to the IP address of the Pi, I get the Glediator interface, not the FCSERVER one.

The Pi is continuously issuing this error:

02.12.20 20:40:39 (+0000) fcserver /usr/bin/entry.sh: line 59: /usr/src/app/fcserver-rpi: No such file or directory

And FCSERVER keep trying to restart and hitting the same problem

UPDATE: I tried on a Pi 3+ and have the same issue.

The instructions here: https://www.balena.io/blog/build-festive-lighting-for-the-holidays-with-balena/

don't show a VNC process running and say that if you connect to the ip of the pi you should get the fadecandy web interface.

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.