Giter VIP home page Giter VIP logo

dmx's People

Contributors

spcomb avatar

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

Watchers

 avatar  avatar  avatar  avatar  avatar

dmx's Issues

How To start

Hi,
I think this project is very cool, but I don't know how to run it.

Independent color parameter controls give inconsistent results if websocket updates are slow

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.

panic in main.discovery(...)

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

building without docker

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.

web: reset state if websocket reconnects

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.

FATAL artnet discovery errors

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.

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.