fix: compatibility with trmnl simulator

This commit is contained in:
Benjamin Nussbaum 2025-03-04 18:01:47 +01:00
parent e6a2bdb3bc
commit 1983197c98
4 changed files with 32 additions and 8 deletions

View file

@ -6,17 +6,22 @@ Inspired by [usetrmnl/byos_sinatra](https://github.com/usetrmnl/byos_sinatra).
![Screenshot](README_byos-screenshot.png)
[More Screenshots](screenshots/SCREENSHOTS.md)
* 👉 [more Screenshots](screenshots/SCREENSHOTS.md)
### Key Features
* 📡 Device Information Display battery status, WiFi strength, firmware version, and more.
* 🔍 Auto-Join Automatically detects and adds devices from your local network.
* 🖥️ Screen Generation Supports Markup, API, or update via Code.
* 🔄 TRMNL API Proxy Can act as a proxy for TRMNL API (requires TRMNL Developer Edition).
* 🔄 TRMNL API Proxy Can act as a proxy for the TRMNL Display API (requires TRMNL Developer Edition).
* This enables a hybrid setup for example, you can update your custom Train Monitor every 5 minutes in the morning, while displaying native TRMNL plugins throughout the day.
* 🐳 Deployment Dockerized setup for easier hosting (Dockerfile, docker-compose).
### 🎯 Target Audience
This project is for developers who are looking for a self-hosted server for devices running the TRMNL firmware.
It serves as a starter kit, giving you the flexibility to build and extend it however you like.
### Requirements
* PHP >= 8.2
@ -178,7 +183,7 @@ class PluginTrainMonitorFetch extends Command
{
protected $signature = 'plugin:train:fetch';
protected $description = 'Command description';
protected $description = 'Fetches train monitor data and updates the screen';
public function handle(): void
{
@ -239,6 +244,9 @@ Here are some features and improvements that are open for contribution:
- 🏡 Home Assistant integration
- Provide Web UI controls to enable/disable plugins.
##### 📦 Visual Studio Code Devcontainer
* Add a .devcontainer to this repo for easier development with Docker.
##### Improve Code Coverage
- Expand Pest tests to cover more functionality.