Skip to main content

ESPMega Light Show

This is a program made for the ESPMega PLCs for easily programming light show and running light show script

Features

  • User Interface for configuring controller
  • Light Grid Generator
  • Easy Clickable Light Programming
  • Dynamic Physical Light Configuration
  • Custom Script using Python
  • BPM Counter
  • Quick Load Preset

Installation

  • For Windows, run the following command in a powershell windows with admin rights
    Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://raw.githubusercontent.com/SiwatINC/espmega-lightshow/main/installer_win.ps1'))
    
  • Ubuntu Linux
    bash <(curl -s https://raw.githubusercontent.com/SiwatINC/espmega-lightshow/main/installer_ubuntu.sh)
    

Running

  • The program can be run from the CLI using the command:
python -m espmega_lightshow
  • The program can also be run from the desktop/startmenu shortcut after installation.

Scripting

This template script can be used to program custom lightshow

from espmega_lightshow.scripting import UserScript
class CustomUserScript (UserScript):
    def draw_frame(self, current_time: float):
        # This function is called every frame
        # You can use self.rows and self.columns to get the number of rows and columns
        # You can use self.set_tile_state(row, column, state) to set the state of a light at row, column
        # You can use self.get_tile_state(row, column) to get the state of a light at row, column
        # You can use current_time to get the current time elapsed in seconds
        # You can use self.frame_count to get the number of frames that have passed
        pass

The script can be run by going to File → Run Script

Metadata

Release files for espmega-lightshow 4.11

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for espmega-lightshow 4.11
File Size Uploaded
espmega_lightshow-4.11.tar.gz 44.0 kB Details

Release files / espmega_lightshow-4.11.tar.gz

Download URL espmega_lightshow-4.11.tar.gz
Size 44.0 kB
Tags Source
SHA-256 checksum
How to use checksums
18f1e64fb174e1af5d28d68d49e604e735170f0f71ec35e99cc210a45fb0a37f
BLAKE2b-256 checksum
How to use checksums
59411c0e42904f6d6261dcabe14d07debac2e7aacac7687c5529ff1ffcc7c5c1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.2

Release history Release notifications | RSS feed

This release

4.11 This release

1 release file

4.10

1 release file

4.9

1 release file

4.8

1 release file

4.7

1 release file

4.5

1 release file

4.3

1 release file

4.2

1 release file

4.1

1 release file

4.0

1 release file

3.9

1 release file

3.8

1 release file

3.7

1 release file

3.6

1 release file

3.5

1 release file

3.4

1 release file

3.3

1 release file

3.2

1 release file

3.1

1 release file

3.0

1 release file

2.9

1 release file

2.8

1 release file

2.6

1 release file

2.5

1 release file

2.1

1 release file

2.0

1 release file

1.9

1 release file

1.8

1 release file

1.7

1 release file

1.6

1 release file

1.5

1 release file

1.4

1 release file

1.3

1 release file

1.2

1 release file

1.1

1 release file

1.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page