Plugins on your phone
Plugins add content or even new features to LemmeKnow.
There are two kinds, both of which are Premium features:
- Plugin packages are single
.lkpluginfiles you install from your phone's storage. They carry content only: themes, textures, fonts, sounds, and Delivery Screens. No server is needed and they can be opened in any zip management program. - Hub plugins come from a LemmeSee hub you're connected to. Besides content, they can add pages to the Monitor tab, actions your rules can run, and rules of their own. This is where you an truly build almost anything you can think of!
What plugin content adds
Once installed, a plugin's content shows up where you'd expect it:
| Content | Where to find it |
|---|---|
| Themes | A Plugins section on the Themes tab of the Appearance screen |
| Textures | The Plugin button when picking a texture image on the Style tab, and in Delivery Screen settings |
| Fonts | The Plugins group in the Font picker on the Style tab |
| Sounds | The Plugin button in a rule's Sound step, and in Delivery Screen settings |
| Delivery Screens | The screen list in a rule's Delivery step |
See Themes, Styles and textures and Delivery Screens.
Installing a plugin package
Download the .lkplugin file to your phone. For example, the Backdrop Delivery Screen is a free package that shows your alerts over a picture, texture or even GIF you choose.
Then open Settings, scroll to the Data section, and tap Install Plugin Package. Pick the file. LemmeKnow unpacks it and opens the review dialog before anything is installed.
Reviewing before you install
The review dialog, titled Install plugin followed by the plugin's name, lets you look at everything the plugin contains:
- A type selector narrows the list to the Manifest, Pages, Scripts, Themes, Images, Fonts, Sounds, or Other files, each with a count.
- Previous file and Next file step through the list.
- Each item previews by type: the manifest as labeled fields, themes as color swatches, images at full size, fonts as a sample line, sounds with Play. View source shows the raw text.
- A Delivery Screen has a Play button that runs it with a sample alert, so you can see exactly what it does, and notes how long the screen may keep the display on.
Tap Install to install the whole plugin, or Cancel to discard it. Nothing is installed partly. A toast popup confirms the install or explains why it failed.
Only install plugins from official resources or sourcs you trust. Plugin files aren't signed, so the review dialog is your chance to check what you're getting.
Updating a plugin
Installing a package with the same plugin ID as one you already have updates it. The dialog is titled Plugin updated and tags each item New, Changed, Unchanged, or Removed compared with your installed copy. New or changed only in the type selector hides everything that stayed the same, and changed text files show the differences line by line.
Plugins from a hub
A hub plugin's page in the Monitor tab may offer to install the plugin on your phone (these are both "the plugin": one is a wrapper for a feed and one is the locally installed feature). You get the same review dialog, with two extra rows: Can contact lists the outside servers the plugin may reach (Any server if it doesn't limit itself, None if it reaches none), and Uses data from lists other plugins whose data it reads. The hub's files are checked against the hashes it sends, so a damaged or incomplete download never reaches the dialog.
After installing, the plugin appears as a channel in the Monitor tab and works even when the hub is out of reach. When the hub's copy changes, you're asked to review the update. If the hub stops offering the plugin, the copy on your phone stays installed and stays in the Monitor tab until you remove it yourself (see Removing plugins below).
A hub plugin that brings an action adds an entry named Plugin: followed by its name to the System Action list in Custom actions, so your own actions and rules can run it. Some plugins keep their action for the rules they create and leave it out of that list.
See Installing hub plugins in the hub guide.
Removing plugins
Open Settings and tap Delete plugins in the Data section, then pick the plugin. Its stored data and any rules it installed are deleted. Secrets it created stay until you delete them in the Secrets Manager.
Removing a plugin also removes its themes, textures, fonts, sounds, and Delivery Screens from the pickers. A rule step that used one of its Delivery Screens shows that the screen is not installed.
Building your own
To make a package, see Building plugin packages, Delivery Screen pages and Notification cards. To write a hub plugin, see Writing plugins.