Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

niew #4

Open
wants to merge 8 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ RUN apk update && \
apk add --no-cache python py-paho-mqtt py-pillow libstdc++ make rsync g++ \
ttf-freefont ttf-opensans ttf-dejavu ttf-inconsolata ttf-ubuntu-font-family ttf-droid ttf-liberation ttf-linux-libertine \
graphicsmagick-dev zlib-dev freetype-dev mosquitto-dev python-dev json-c-dev python2-dev && \
cd /root/rpi-rgb-led-matrix && \
mkdir -p /home/pi/rpi-rgb-led-matrix
cd /home/pi/rpi-rgb-led-matrix && \
HARDWARE_DESC=adafruit-hat-pwm make && \
mkdir -p /usr/local/include/rgbmatrix && \
cp include/* /usr/local/include/rgbmatrix && \
Expand Down
10 changes: 5 additions & 5 deletions MQTTpanel/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,22 +4,22 @@
"hardware_mapping":"adafruit-hat-pwm",
"led_rgb_sequence":"RGB",
"rows":64,
"cols":64,
"cols":128,
"chain_length":1,
"parallel":1,
"parallel":2,
"brightness":100,
"scan_mode":1,
"show_refresh_rate":0
},
"background":
{
"dir":"/usr/local/share/rgbmatrix/images",
"image":"Alien.gif",
"image":"Hei.jpg",
"show":1
},
"time":
{
"timezone":"Australia/Sydney",
"timezone":"Europe/Amsterdam",
"format":"%H:%M",
"dir":"/usr/local/share/rgbmatrix/fonts",
"font":"DroidSans-14pt.bdf",
Expand All @@ -30,7 +30,7 @@
},
"date":
{
"timezone":"Australia/Sydney",
"timezone":"Europe/Amsterdam",
"format":"%Y/%m/%d",
"dir":"/usr/local/share/rgbmatrix/fonts",
"font":"DroidSans-8pt.bdf",
Expand Down
2 changes: 1 addition & 1 deletion container.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"project": "mickmake",
"project": "timmah88",
"name": "project-mqttpanel",
"version": "0.10",
"majorversion": "",
Expand Down
2 changes: 1 addition & 1 deletion create.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#!/bin/bash
docker create --name project-mqttpanel --restart unless-stopped -p 1883:1883 --device /dev/mem:/dev/mem --privileged --user root mickmake/project-mqttpanel:latest
docker create --name project-mqttpanel --restart unless-stopped -p 1883:1883 --device /dev/mem:/dev/mem --privileged --user root timmah88/project-mqttpanel:latest
docker start project-mqttpanel
Binary file added files/usr/local/share/rgbmatrix/images/Hei.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion mosquitto_pub.sh
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
#!/bin/bash
exec docker run --rm -i -t mickmake/project-mqttpanel:latest /usr/bin/mosquitto_pub -d -h 172.17.0.1 "$@"
exec docker run --rm -i -t timmah88/project-mqttpanel:latest /usr/bin/mosquitto_pub -d -h 172.17.0.1 "$@"
2 changes: 1 addition & 1 deletion shell.sh
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
#!/bin/bash
exec docker run --rm -i -t mickmake/project-mqttpanel:latest /bin/bash
exec docker run --rm -i -t timmah88/project-mqttpanel:latest /bin/bash