Skip to content

chrisweather/RocMQTTdisplay

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Roc-MQTT-Display

Copyright (c) 2020-2024 Christian Heinrichs. All rights reserved.

Dynamic Passenger Information system for Model Railroad Stations controlled by Rocrail, Node-RED or any other program that can send MQTT messages. Wireless communication with Rocrail, Node-RED or other sources via MQTT messages. A Lolin/Wemos D1 mini ESP8266 controller and a TCA9548A I2C Multiplexer can drive up to eight I2C OLED displays. Several controllers can run in parallel so the total number of displays is not limited.
A friend of mine was looking for an easy way to run displays with live data in his model railroad environment. Right after this conversation this project was born. Since then it's a work in progress with already many nice features. If you want to share your experience with this code or have ideas for more features you are welcome to share them in the Issues or Discussions area. Have fun.

Roc-MQTT-Display Module

Latest Version 1.10
January 29, 2023

Thank you for your interest in the Roc-MQTT-Display project. If you like the project please Star it here on GitHub and consider donating if you want to support further development. Donations are more than welcome and I will use them to buy new displays, controllers and sensors for development and testing and of course for a lot of coffee... :-)

PayPal donate button

The goal of this project is to provide simple to use and inexpensive displays to run in a Model Railroad environment.

Current features

  • Messages can be static or dynamic
  • Formatting is saved in templates so the user can focus on sending the right data to the display and just pick a template for formatting.
  • The architecture is extremely scalable:
    • 1-8 displays per ESP8266 based controller
    • Theoretically unlimited number of controllers (didn't have so many for testing :-) )
    • Up to 10 different Fonts
    • Up to 10 Templates
    • Up to 20 Logos
  • Scrolltext for static or dynamic content
  • Rocrail dynamic variables support
  • German Umlaut support
  • Clock/Date available for all displays (NTP time or Rocrail time)
  • Display rotation
  • Screensaver
  • Tested with these displays: I2C Oled 128x32, 128x64, 64x48, 96x16
  • Webinterface for configuration
  • Updates via OTA

Architecture, Hard- and Software Requirements, Installation and Configuration are documented in the Wiki.

Several more ideas and features are on the to do list. Please share your experience and ideas for improvements via GitHub Issues or Discussions function in English or Deutsch.

Trainstation with display

Roc-MQTT-Display in action in Volkers model railroad installation. Thanks for sharing.

This project is also compatible now with the great display hardware work from this project MobaLedLib 0.87" OLED-Adapter.
Version 1.12 is in final testing and will be published soon. The Wiki will be updated then with the details for cabling and configuration.
Here you can find a preview of the OLED-Adapter with four 0.87" 128x32 displays.
4 displays in action