qmsk / dmx Goto Github PK
View Code? Open in Web Editor NEWGo DMX controller with ArtNet discovery + Angular Web UI with WebSockets
License: Mozilla Public License 2.0
Go DMX controller with ArtNet discovery + Angular Web UI with WebSockets
License: Mozilla Public License 2.0
Can you share how to build this without using docker? I know that docker is the recoomended way, but I can't use docker for the project I am working on.
Reload heads configuration on SIGHUP, without losing DMX output state.
Need to run this Coantainer on a Rasperry Pi 3+.
change:
On Dockerfile Line 3 to:
RUN curl -L -o /tmp/dep-linux-arm https://github.com/golang/dep/releases/download/v0.4.1/dep-linux-arm && install -m 0755 /tmp/dep-linux-arm /usr/local/bin/dep
now stucks on Step 13/23: RUN ./node_modules/typescript/bin/tsc
error TS2304: Cannot find name 'Exclude'.
thx for Help
INFO heads:events update
INFO artnet.Discovery: 192.168.2.134:6454:
INFO Name: qmsk-esp-520358
INFO Ports: input=0 output=1
INFO Output 0: 0:0.7
INFO heads:events update
INFO artnet.Discovery: 192.168.2.131:6454:
INFO Name: qmsk-esp-c94b30
INFO Ports: input=0 output=1
INFO Output 0: 0:2.1
INFO heads:events update
INFO artnet.Discovery: 192.168.2.118:6454:
INFO Name: qmsk-esp-5f98ed
INFO Ports: input=0 output=1
INFO Output 0: 0:1.1
INFO heads:events update
INFO artnet.Discovery: 192.168.2.130:6454:
INFO Name: qmsk-esp-fabd8c
INFO Ports: input=0 output=1
INFO Output 0: 0:3.0
INFO heads:events update
INFO artnet.Discovery: 192.168.2.120:6454:
INFO Name: qmsk-esp-7567e8
INFO Ports: input=0 output=2
INFO Output 0: 0:2.3
INFO heads:events update
INFO Output 1: 0:2.4
INFO heads:events update
INFO artnet.Discovery: 192.168.2.134:6454:
INFO Name: qmsk-esp-520358
INFO Ports: input=0 output=1
INFO Output 0: 0:0.7
INFO heads:events update
INFO artnet.Discovery: 192.168.2.131:6454:
INFO Name: qmsk-esp-c94b30
INFO Ports: input=1 output=1
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x3 pc=0x6ffc71]
goroutine 5 [running]:
main.discovery(0xc4200a42c0, 0xc4200f9a40)
/go/src/github.com/qmsk/dmx/cmd/qmsk-dmx/main.go:43 +0x121
created by main.main
/go/src/github.com/qmsk/dmx/cmd/qmsk-dmx/main.go:149 +0x303
qmsk-dmx.service: Main process exited, code=exited, status=2/INVALIDARGUMENT
Web UI just logs an error to console on websocket disconnect and the UI stops working correctly. It should show in the UI, and reconnect.
For a head with RGB color controls, each of the RGB controls has its own independent component value. When each of those controls update, they use the most recent color parameter values updated by the server, not the values set by the other control components.
That means that adjusting two color controls will give the wrong color if the websocket does not update in between.
If we lose the websocket connection, we might miss some update events, causing our state to be out of sync.
The server should send a full state on the initial websocket open, then we wouldn't need the separate GET api call.
The qmsk-dmx
process exits if sending ArtNet discovery packets fails:
INFO qmsk.web: POST presets/test: &heads.APIPresetParams{preset:(*heads.Preset)(0xc82001f880), Intensity:(*heads.Intensity)(0xc82026ea20)}
WARNING artnet:controller<[::]:6454> discovery timeout: 192.168.2.100:6454
INFO artnet.Discovery: 192.168.2.100:6454:
INFO Name: NodeMCU-ARTNET
INFO Output 0: 0:0.1
WARNING artnet:controller<[::]:6454> discovery timeout: 192.168.2.100:6454
INFO artnet.Discovery: 192.168.2.100:6454:
INFO Name: NodeMCU-ARTNET
INFO Output 0: 0:0.1
WARNING artnet:controller<[::]:6454> discovery timeout: 192.168.2.100:6454
INFO artnet.Discovery: 192.168.2.100:6454:
INFO Name: NodeMCU-ARTNET
INFO Output 0: 0:0.1
WARNING artnet:controller<[::]:6454> discovery timeout: 192.168.2.100:6454
INFO artnet.Discovery: 192.168.2.100:6454:
INFO Name: NodeMCU-ARTNET
INFO Output 0: 0:0.1
WARNING artnet:controller<[::]:6454> discovery timeout: 192.168.2.100:6454
WARNING artnet:universe<0:0.1> SendDMX: SendDMX broadcast 0:0.1: write udp [::]:6454->192.168.2.100:6454: sendto: network is unreachable
ERROR artnet:controller<[::]:6454> discovery: sendPoll: write udp [::]:6454->192.168.2.100:6454: sendto: network is unreachable
FATAL artnet discovery ended
This happens if the interface associated with the artnet discovery addresse goes link-down. The controller should keep running instead.
Hi,
I think this project is very cool, but I don't know how to run it.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.