Modification of the Climate Clock to display custom messages on RGB LED displays.
- Switch between original Climate Clock and custom messages via GPIO button
- Configurable messages via shared CSV file (Samba)
- 3 display effects: left scroll, right scroll, centered text
- Customizable RGB colors for each message
# Clone the repository
git clone https://github.com/FablabVallesabbia/FabLabClock
cd fablab-clock
# Run installation script
chmod +x install.sh
./install.sh# Dependencies
sudo apt install samba
# Samba Setup
sudo mkdir -p /home/climate/sambashare
sudo chmod 777 /home/climate/sambashare
# Add to /etc/samba/smb.conf:
[sambashare]
path = /home/climate/sambashare
guest ok = yes
read only = no
# Install systemd service
sudo cp fablabclock.service /etc/systemd/system/
sudo systemctl daemon-reload
sudo systemctl enable fablabclock.service
sudo systemctl start fablabclock.serviceCSV file (/home/climate/sambashare/Testi.csv):
Tempo,ColoreR,ColoreG,ColoreB,Effetto,Testo
6,255,51,153,1,Example message
4,102,255,178,3,Centered text
#,,,,,Comment (ignored)Parameters:
- Tempo: display duration in seconds
- RGB: 0-255 for each color
- Effetto: 1=scroll left, 2=scroll right, 3=centered
- Start the system (boots in Climate Clock mode)
- Press button to switch between modes
- Edit
Testi.csvvia network to update messages
- for testing, just launch the GestioneOrologio.py script
- Raspberry Pi + RGB LED Matrix display
- Button connected to GPIO pin 19
- Requires rpi-rgb-led-matrix which is already installed if using the original project image
Note: The original project didn't specify the username and password, making it necessary to chroot into the system to change them. Our modified image is available in releases with the credentials listed below.
SSH/Terminal Access:
- Username:
climate - Password:
clock
Samba File Access:
- Address:
\\[RASPBERRY_PI_IP]\sambashare - No authentication required (guest access)
MIT License