Skip to content

nycresistor/Hexascroller

Repository files navigation

Hexascroller

⚫⚫⚫⚫⚫⚫⚫⚫⚫🔴🔴🔴⚫⚫⚫⚫⚫⚫⚫🔴🔴🔴⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫🔴⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫
⚫⚫⚫⚫⚫⚫⚫⚫🔴⚫⚫⚫🔴⚫⚫⚫⚫⚫⚫🔴⚫⚫🔴⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫🔴⚫⚫⚫⚫⚫⚫⚫🔴⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫
⚫⚫⚫⚫⚫⚫⚫🔴⚫🔴⚫⚫⚫🔴⚫⚫⚫⚫⚫🔴⚫⚫🔴⚫⚫🔴🔴⚫⚫⚫🔴🔴⚫⚫⚫⚫⚫🔴🔴⚫⚫🔴🔴🔴⚫⚫🔴🔴⚫⚫🔴⚫🔴⚫⚫⚫⚫⚫⚫⚫
⚫⚫⚫⚫⚫⚫⚫🔴🔴⚫🔴⚫🔴🔴⚫⚫⚫⚫⚫🔴🔴🔴⚫⚫🔴⚫⚫🔴⚫🔴⚫⚫⚫⚫🔴⚫🔴⚫⚫⚫⚫⚫🔴⚫⚫🔴⚫⚫🔴⚫🔴🔴⚫⚫⚫⚫⚫⚫⚫⚫
⚫⚫⚫⚫⚫⚫⚫🔴⚫⚫⚫🔴⚫🔴⚫⚫⚫⚫⚫🔴⚫🔴⚫⚫🔴🔴🔴⚫⚫⚫🔴🔴⚫⚫🔴⚫⚫🔴🔴⚫⚫⚫🔴⚫⚫🔴⚫⚫🔴⚫🔴⚫⚫⚫⚫⚫⚫⚫⚫⚫
⚫⚫⚫⚫⚫⚫⚫⚫🔴⚫⚫⚫🔴⚫⚫⚫⚫⚫⚫🔴⚫⚫🔴⚫🔴⚫⚫⚫⚫⚫⚫⚫🔴⚫🔴⚫⚫⚫⚫🔴⚫⚫🔴⚫⚫🔴⚫⚫🔴⚫🔴⚫⚫⚫⚫⚫⚫⚫⚫⚫
⚫⚫⚫⚫⚫⚫⚫⚫⚫🔴🔴🔴⚫⚫⚫⚫⚫⚫⚫🔴⚫⚫🔴⚫⚫🔴🔴⚫⚫⚫🔴🔴⚫⚫🔴⚫⚫🔴🔴⚫⚫⚫🔴⚫⚫⚫🔴🔴⚫⚫🔴⚫⚫⚫⚫⚫⚫⚫⚫⚫

⚫⚫⚫⚫🔴⚫⚫⚫🔴⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫🔴⚫🔴⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫🔴⚫⚫⚫⚫
⚫⚫⚫⚫🔴⚫⚫⚫🔴⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫🔴⚫🔴⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫🔴⚫⚫⚫⚫
⚫⚫⚫⚫🔴⚫⚫⚫🔴⚫⚫🔴🔴⚫⚫🔴⚫🔴⚫⚫🔴🔴⚫⚫⚫🔴🔴⚫⚫⚫🔴🔴⚫🔴⚫🔴⚫⚫🔴🔴⚫⚫🔴⚫🔴⚫⚫🔴🔴⚫⚫🔴⚫🔴⚫🔴⚫⚫⚫⚫
⚫⚫⚫⚫🔴🔴🔴🔴🔴⚫🔴⚫⚫🔴⚫🔴⚫🔴⚫⚫⚫⚫🔴⚫🔴⚫⚫⚫⚫🔴⚫⚫⚫🔴🔴⚫⚫🔴⚫⚫🔴⚫🔴⚫🔴⚫🔴⚫⚫🔴⚫🔴🔴⚫⚫🔴⚫⚫⚫⚫
⚫⚫⚫⚫🔴⚫⚫⚫🔴⚫🔴🔴🔴⚫⚫⚫🔴⚫⚫🔴🔴🔴🔴⚫⚫🔴🔴⚫⚫🔴⚫⚫⚫🔴⚫⚫⚫🔴⚫⚫🔴⚫🔴⚫🔴⚫🔴🔴🔴⚫⚫🔴⚫⚫⚫🔴⚫⚫⚫⚫
⚫⚫⚫⚫🔴⚫⚫⚫🔴⚫🔴⚫⚫⚫⚫🔴⚫🔴⚫🔴⚫⚫🔴⚫⚫⚫⚫🔴⚫🔴⚫⚫⚫🔴⚫⚫⚫🔴⚫⚫🔴⚫🔴⚫🔴⚫🔴⚫⚫⚫⚫🔴⚫⚫⚫⚫⚫⚫⚫⚫
⚫⚫⚫⚫🔴⚫⚫⚫🔴⚫⚫🔴🔴⚫⚫🔴⚫🔴⚫⚫🔴🔴🔴⚫⚫🔴🔴⚫⚫⚫🔴🔴⚫🔴⚫⚫⚫⚫🔴🔴⚫⚫🔴⚫🔴⚫⚫🔴🔴⚫⚫🔴⚫⚫⚫🔴⚫⚫⚫⚫

Installing Hexascroller service script

With systemd

    cp hexaservice/hexascroller.service /etc/systemd/system
    systemctl enable hexascroller.service
    systemctl start hexascroller.service

At Resistor, the service runs in:

/home/nycr/Hexascroller/hexaservice

Stop/start with

service hexascroller stop service hexascroller start service hexascroller restart

Run manually with

sudo apt install git python3-paho-mqtt python3-serial python3-pil
cd /home/nycr/Hexascroller/hexaservice
MQTT_HOST=mymqtthost.local MQTT_USER=mqttuser MQTT_PASS=verysecret /usr/bin/python3 service.py

The host is a Raspberry Pi Zero W Rev 1.1. Three Teensies on the usb hub run the displays.

Run in debug mode with service.py debug in one terminal, debug.py in another on the same machine.

About

The code for our lovely flashing display saucer.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 7