|
|
@@ -23,6 +23,15 @@ jupyter: # pw: letscode.00
|
|
|
docker:
|
|
|
build: jupyter
|
|
|
|
|
|
+jlab:
|
|
|
+ host: stachelbeere
|
|
|
+ docker:
|
|
|
+ build: jlab
|
|
|
+ image: jlab
|
|
|
+ ports: 80:8888
|
|
|
+ volumes:
|
|
|
+ - /opt/jlab/notebooks:/root/notebooks
|
|
|
+
|
|
|
|
|
|
domoticz:
|
|
|
host: himbeere
|
|
|
@@ -170,11 +179,10 @@ alexa: # https://alexa.amazon.de
|
|
|
DOMO_ALEXA_PW: ibm92buVQ12nhipkP4fg
|
|
|
|
|
|
matrix: # interface with RGB LED-Matrix
|
|
|
- #~ fqdn: alexa.cere.duckdns.org
|
|
|
- host: blaubeere
|
|
|
+ host: waldbeere
|
|
|
docker:
|
|
|
init: true
|
|
|
- build: matrix
|
|
|
+ build: matrix/fat
|
|
|
# matrix driver needs access to /dev/mem
|
|
|
privileged: true
|
|
|
ports: 17888:8888, 10000:10000/udp, 10001:10001/udp
|
|
|
@@ -187,29 +195,72 @@ matrix: # interface with RGB LED-Matrix
|
|
|
|
|
|
commands:
|
|
|
# some rotating square
|
|
|
- demo00: examples-api-use/demo -c 4 --led-show-refresh -D0
|
|
|
+ demo00: examples-api-use/demo -c 6 -R 180 --led-show-refresh -D0
|
|
|
+ # forward scrolling an image
|
|
|
+ demo01: examples-api-use/demo -c 6 -R 180 --led-show-refresh -D1 examples-api-use/runtext.ppm
|
|
|
+ # test image
|
|
|
+ demo03: examples-api-use/demo -c 6 -R 180 -D3
|
|
|
+ # Abelian sandpile model (-m <time-step-ms>)
|
|
|
+ demo06: examples-api-use/demo -c 6 -R 180 -D6
|
|
|
+ # Conway's game of life (-m <time-step-ms>)
|
|
|
+ demo07: /bin/bash -c "while true; do examples-api-use/demo -c 6 -R 180 -b 100 -D7 -t 15; done"
|
|
|
+ # Langton's ant (-m <time-step-ms>)
|
|
|
+ demo08: examples-api-use/demo -c 6 -R 180 -m 1 --led-show-refresh -D8
|
|
|
+ # Volume bars
|
|
|
+ demo09: examples-api-use/demo -c 6 -R 180 -D9
|
|
|
+ # Evolution of color
|
|
|
+ demo10: examples-api-use/demo -c 6 -R 180 -D10
|
|
|
+ # Brightness pulse generator
|
|
|
+ demo11: examples-api-use/demo -c 6 -R 180 --led-pwm-bits=11 -D11
|
|
|
+ # python sample: rotatatin block
|
|
|
+ pydemo1: bindings/python/samples/rotating-block-generator.py -c 6 -R 180 --led-show-refresh
|
|
|
+ # python sample: like demo01
|
|
|
+ pydemo2: bindings/python/samples/image-scroller.py -c 6 -R 180 --led-show-refresh -i examples-api-use/runtext.ppm
|
|
|
+ # python sample: rotatatin block
|
|
|
+ pydemo3: bindings/python/samples/simple-square.py -c 6 -R 180 --led-show-refresh
|
|
|
+ # tail logs of pixelreceiver (udp server)
|
|
|
+ pixel_logs: tail -f /pixel/receive.log
|
|
|
+ # kill pixel receiver
|
|
|
+ pixel_kill: pkill -f "python -u /pixelreceiver.py"
|
|
|
+
|
|
|
+matrix2: # zerow: interface with RGB LED-Matrix
|
|
|
+ host: blaubeere
|
|
|
+ docker:
|
|
|
+ init: true
|
|
|
+ build: matrix/light
|
|
|
+ import: pixel
|
|
|
+
|
|
|
+ # matrix driver needs access to /dev/mem
|
|
|
+ privileged: true
|
|
|
+ # ports: 10000:10000/udp, 10001:10001/udp
|
|
|
+ volumes:
|
|
|
+ - /opt/pixel:/pixel
|
|
|
+
|
|
|
+ commands:
|
|
|
+ # some rotating square
|
|
|
+ demo00: examples-api-use/demo -c 6 --led-rows=64 --led-show-refresh -D0
|
|
|
# forward scrolling an image
|
|
|
- demo01: examples-api-use/demo -c 4 --led-show-refresh -D1 examples-api-use/runtext.ppm
|
|
|
+ demo01: examples-api-use/demo -c 6 --led-rows=64 --led-show-refresh -D1 examples-api-use/runtext.ppm
|
|
|
# test image
|
|
|
- demo03: examples-api-use/demo -c 4 -D3
|
|
|
+ demo03: examples-api-use/demo -c 6 --led-rows=64 -D3
|
|
|
# Abelian sandpile model (-m <time-step-ms>)
|
|
|
- demo06: examples-api-use/demo -c 4 -D6
|
|
|
+ demo06: examples-api-use/demo -c 6 --led-rows=64 -D6
|
|
|
# Conway's game of life (-m <time-step-ms>)
|
|
|
- demo07: /bin/bash -c "while true; do examples-api-use/demo -c 4 -b 20 -D7 -t 15; done"
|
|
|
+ demo07: /bin/bash -c "while true; do examples-api-use/demo -c 6 --led-rows=64 --led-show-refresh -b 20 -D7 -t 60; done"
|
|
|
# Langton's ant (-m <time-step-ms>)
|
|
|
- demo08: examples-api-use/demo -c 4 -m 1 --led-show-refresh -D8
|
|
|
+ demo08: examples-api-use/demo -c 6 --led-rows=64 -m 1 --led-show-refresh -D8
|
|
|
# Volume bars
|
|
|
- demo09: examples-api-use/demo -c 4 -D9
|
|
|
+ demo09: examples-api-use/demo -c 6 --led-rows=64 -D9
|
|
|
# Evolution of color
|
|
|
- demo10: examples-api-use/demo -c 4 -D10
|
|
|
+ demo10: examples-api-use/demo -c 6 --led-rows=64 -D10
|
|
|
# Brightness pulse generator
|
|
|
- demo11: examples-api-use/demo -c 4 --led-pwm-bits=11 -D11
|
|
|
+ demo11: examples-api-use/demo -c 6 --led-rows=64 --led-pwm-bits=11 -D11
|
|
|
# python sample: rotatatin block
|
|
|
- pydemo1: bindings/python/samples/rotating-block-generator.py -c 4 --led-show-refresh
|
|
|
+ pydemo1: bindings/python/samples/rotating-block-generator.py -c 6 --led-rows=64 --led-show-refresh
|
|
|
# python sample: like demo01
|
|
|
- pydemo2: bindings/python/samples/image-scroller.py -c 4 --led-show-refresh -i examples-api-use/runtext.ppm
|
|
|
+ pydemo2: bindings/python/samples/image-scroller.py -c 6 --led-rows=64 --led-show-refresh -i examples-api-use/runtext.ppm
|
|
|
# python sample: rotatatin block
|
|
|
- pydemo3: bindings/python/samples/simple-square.py -c 4 --led-show-refresh
|
|
|
+ pydemo3: bindings/python/samples/simple-square.py -c 6 --led-rows=64 --led-show-refresh
|
|
|
# tail logs of pixelreceiver (udp server)
|
|
|
pixel_logs: tail -f /pixel/receive.log
|
|
|
# kill pixel receiver
|
|
|
@@ -220,5 +271,6 @@ vaping:
|
|
|
docker:
|
|
|
build: vaping
|
|
|
ports: 6080:7021
|
|
|
+ log_config: {type: none}
|
|
|
|
|
|
|