Skip to content

A wrapper for the Magic Mirror Syslog module to be able to simply netcat messages to a Raspberry Pi screen.

License

Notifications You must be signed in to change notification settings

nitram2342/display-log-server

Repository files navigation

The display-log-server receives text lines via TCP and forwards them via HTTP GET request to the Magic Mirror syslog interface on a Raspberry Pi. The text messages are than shown on the Magic Mirror display. This service is used as a wrapper to prevent binding Magic Mirror to an exposed network port.

Installation

Install required python modules:

apt install python-requests

Optionally install the pyBusylight module from https://github.com/nitram2342/pyBusylight.git

Clone this code to your Raspberry Pi and install the service by executing:

sudo ./install_service.sh

Usage

echo error helium oh shit something failed | nc 10.0.0.23 9999

The first word is either "info", "warning" or "error" and refers to the message type. The rest of the line is the message to log. By convention the second word refers to a host that sent the message, but that is only a convention and you can send what you like.

About

A wrapper for the Magic Mirror Syslog module to be able to simply netcat messages to a Raspberry Pi screen.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published