Skip to content

Helper application that serves generated sprites to SmartMatrix devices over MQTT

License

Notifications You must be signed in to change notification settings

acvigue/SmartMatrixServer

Repository files navigation

SmartMatrixServer

GPLv3 License CodeFactor

SmartMatrixServer is a MQTT-based helper that serves as the backend for the SmartMatrix-IDF project.

Run with Docker Compose

  smx:
    image: ghcr.io/acvigue/smartmatrixserver:main
    volumes:
      - ./tidbytcommunity/apps:/sprites
      - ./devices:/devices
    environment:
      REDIS_HOSTNAME: redis
      REDIS_USERNAME: default
      REDIS_PASSWORD: redispassword
      MQTT_HOST: ~~~~~~~
      MQTT_USERNAME: ~~~~~~~
      MQTT_PASSWORD: ~~~~~~~
      DEVICE_FOLDER: /devices
      SPRITE_FOLDER: /sprites
  redis:
    image: redis:alpine
    command: redis-server --requirepass redispassword
    volumes: 
      - ./redis_data:/data

Configuration

Files should be stored in the containers attached /devices directory as SmartMatrixXXXXXX.json where XXXXXX is the last 6 characters of the ESP32's MAC address

Array of objects containing name, duration, and any required configuration parameters.

Applets must be stored in the container with the format /sprites/[name]/[name].star

[
    {
      "name": "paraland",
      "duration": 10,
      "config": {
        "image": "north_carolina_morning"
      }
    },
    {
      "name": "paraland",
      "duration": 10,
      "config": {
        "image": "arizona_day"
      }
    },
]

About

Helper application that serves generated sprites to SmartMatrix devices over MQTT

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages

 
 
 

Contributors 3

  •  
  •  
  •