Comments (4)
It seems to crash when uninitializing a previous setup. Try to call setup and init only once at startup of the program. You can use the -i command line parameter for this.
sudo ./ws2812svr -i "setup 1,150;init;"
Then only use commands to change the leds in node red see if that solves the problem.
from rpi-ws2812-server.
This does seem to solve the the segfaults, thanks. I was not aware that both the -i and -tcp parameters would work together.
sudo ./ws2812svr -i "setup 1,150;init;" -tcp 80
works great
However, am I right in assuming that I would not be able to change the number of LEDs that are connected without restarting the server each time they change?
This isn't a huge issue for me, but would mean that I need to update 2 devices (client and server) every time I change the number of LEDs that are connected, instead of just the client.
Thanks for making this awesome thing!
from rpi-ws2812-server.
Theoretically it should be possible to do multiple inits but seems like there is a bug in the mailbox.c but this is not my code. So will not be easy to fix I think...
from rpi-ws2812-server.
I tried to reproduce this because I was also noticing things hanging/crashing but haven't been able to repro it. I seem to be able to send the setup/init commands with every script/connection. However, I do seem to be having a different issue where the script length may exceed some maximum, for which I'll add a separate issue.
from rpi-ws2812-server.
Related Issues (20)
- No donate button anywhere HOT 2
- Is there a way to make the LED's react to music input? HOT 11
- Is there a way to read a .txt file when the program is already launched? HOT 3
- make install fails to disable missing service first time HOT 2
- when connecting 3 SK6812, deamon gives error HOT 2
- Weird BRG instead of RGB HOT 2
- Multiple PHP HOT 2
- Chaser HOT 1
- white leds on by draw_image with LED Typ 9 SK6812_STRIP_GBRW HOT 4
- First LED is constantly white HOT 5
- Problem with instalation HOT 4
- SK9822 > 127 LEDs throws error HOT 3
- Programm with threads is not executed HOT 4
- Sugested adition/clearification in instructions regarding render function HOT 2
- Cairo crash ? HOT 7
- Layer not working ? HOT 3
- Raspberry Pi Zero 2 W - Hardware revision is not supported HOT 3
- Displaying animated GIF always makes the background transparent, so never clears the previous frame.
- Raspberry Pi Zero 2 W Freezes at `init` HOT 4
- Support for Rpi 5? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rpi-ws2812-server.