LemmeKnow Server
LemmeKnow Server is a minimal PC application that turns any machine into a Mosquitto broker capable of communicating to LemmeKnow. At its most basic, this gives you a way to see that the host is online and to receive messages via your own scripts.
It does three things automatically:
- Publishes a heartbeat at a regular interval, so the app can show the PC as online or offline.
- Publishes a small config message that tells the app how often to expect that heartbeat and, if you have upgraded to it, where your LemmeSee Hub lives.
- Optionally, runs a small sign-in check that Mosquitto can use to verify user access keys, whenever the LemmeSee Hub isn't running on the same PC.
Your scripts talk to your LemmeKnow app through a python helper module. With one import you can send log lines (with custom severities: debug, info, warning, important, error) and pings from any Python script. LemmeKnow receives these messages, processes them through the rules you configure and handles or displays them just how you want.
Supported platforms
| Platform | Support |
|---|---|
| Windows | Windows 10 and 11, 64-bit. |
| Linux | 64-bit Intel or AMD PCs with systemd. The steps use Debian and Ubuntu commands and are tested on Ubuntu 24.04. |
Both need Python 3.10 or later and Mosquitto 2.0 or later.
Signed-in phones need the LemmeKnow auth plugin for Mosquitto, which is available for these two platforms only. With an open broker there is no plugin, so the server runs on any machine with Python and Mosquitto, such as a Raspberry Pi, but these pages don't cover other systems. See Setting up Mosquitto.
LemmeKnow Server or LemmeSee Hub?
The LemmeSee Hub builds on LemmeKnow Server and adds much more: a web UI, supervised scripts and daemons, scheduling, webhooks, feeds, and filters, states, streams, plugins, custom ping, per-user permissions, and approvals. It can also be the one way in for all your LemmeKnow Servers: with relayed servers, each server reaches phones through the hub's address and appears as a server of its own, with the hub deciding who may see it. Those servers then need no open ports or sign-in setup of their own, they just log to a topic the hub can see. When the hub runs, it takes over sign-in. The heartbeat and config message still come from LemmeKnow Server, which the hub can run for you as one of its tasks.
Both use the same MQTT topics, so a script written against LemmeKnow Server keeps working unchanged if you move to the hub.
Choose LemmeKnow Server when you only want a health indicator for your PC and a simple way for scripts to send logs to your phone. Choose the LemmeSee Hub when you want to do more.
Connecting the app to a server is a Premium feature. See Premium.