Skip to main content

Joplin smart home integration, free and open source

Joplin integration for Gladys Assistant

Joplin notes and to-dos in Gladys: notebooks, overdue to-dos, reminders, notes from scenes.

Your Joplin notes and to-dos in Gladys: open and overdue to-dos per notebook, the next due date, a reminder when a to-do falls due, notes and to-dos created from scenes, and a dashboard widget to check them off.

The integration talks to the Data API of Joplin (its "Web Clipper" service), on your local network. It reads the titles of the notes and the dates of the to-dos, never the content of a note, and writes only what a scene or the widget asks for.

Tested against the Joplin terminal client 3.7.1; the desktop app offers the same service. Feedback welcome.

Prerequisites​

  • Joplin, running: the desktop app (Windows, macOS, Linux), or the terminal client on a server (joplin server start). Gladys sees nothing while Joplin is closed.
  • The Web Clipper service enabled: in Joplin, Tools → Options → Web Clipper → Enable the Web Clipper service. The token is under Advanced options on the same page. In the terminal client: joplin config api.token shows it.
  • Joplin only listens on its own computer (127.0.0.1:41184). For Gladys to reach it, run a port forwarder on that computer, which opens port 41185 to the network and passes the requests to Joplin:
    • Linux or macOS: socat TCP-LISTEN:41185,fork,reuseaddr TCP:127.0.0.1:41184
    • Windows (administrator command prompt): netsh interface portproxy add v4tov4 listenport=41185 listenaddress=0.0.0.0 connectport=41184 connectaddress=127.0.0.1, then allow port 41185 in the firewall.
    • If Gladys runs on the same computer as Joplin, a forwarder is still needed: the integration runs in its own container.
  • The token gives full access to your notes: open the forwarder only to your local network, never to the Internet.

Configuration​

In Gladys, Integrations → Joplin → Configuration:

  • Joplin address: the computer running Joplin and the port of the forwarder, e.g. 192.168.1.50:41185. Without a port, 41184 is used. An https:// address behind a reverse proxy works too.
  • Web Clipper token: copied from Joplin.
  • Followed notebooks: one device per notebook, its sub-notebooks included. Titles or paths separated by commas, e.g. Home, Work/Projects. Empty: every top-level notebook. Up to 20.
  • Read Joplin every: 5, 15 (default), 30 or 60 minutes. The reminders do not wait for a read.
  • Language of names and messages: French by default.

Test the connection reads Joplin at once and tells the number of notes and notebooks, and the followed notebooks not found.

Devices​

Open Discover and add the devices you want:

  • Joplin: Notes (how many notes and to-dos) and Latest changed note (its title).
  • One device per followed notebook: Open to-dos, Overdue to-dos (due date passed) and Next due date (date and title of the next to-do due).

The counters follow each read, and the overdue count moves at the due time. Feature names are set when a device is added: change the language before adding.

Dashboard widget​

Joplin to-dos shows two tiles (open, overdue), the most urgent open to-dos (overdue in red, then by due date) and a check button for each of the first four. Settings: a notebook device (empty: every to-do), hide the counters, hide the buttons. A button does nothing if the to-do changed in Joplin meanwhile.

Scene triggers​

Joplin to-do due: the due date (alarm) of an open to-do arrives. The integration wakes up at the due time, checks the to-do again (done or moved: no reminder), then fires. Filter: a notebook device (empty: all); a to-do of a followed sub-notebook carries the device of that sub-notebook. Variables: to-do title, notebook, due date (2026-12-24 18:00), note id.

A to-do created or moved less than a read before its due date is announced at the next read. A reminder that Joplin or Gladys cannot take is tried again for six hours, then dropped. Due dates already past when the integration is installed are not announced.

Scene actions​

  • Create a Joplin note or to-do: title, body (Markdown, optional), notebook (title or path; empty: Joplin's choice), To-do, due date (2026-12-24 18:00, 24/12/2026 18:00, 2026-12-24 for 9:00, or 18:00 for today or tomorrow) or due in N minutes. A due date makes it a to-do. Outputs: note id, title, notebook.
  • Check a Joplin to-do: the open to-do with this title (capitals aside), in a notebook or in all; the most urgent one if several share it. Outputs: note id, title, notebook.

A failure (unknown notebook, due date not understood, no such to-do, Joplin not answering) is shown in red, with its reason.

Scene examples​

  • The washing machine ends: create the to-do "Hang the laundry" due in 15 minutes.
  • Joplin to-do due in the notebook Home: announce the to-do title on the speaker.
  • The bin sensor sees the bin outside: check the to-do "Take out the bins".

Troubleshooting​

  • Joplin does not answer: is Joplin running, the Web Clipper service enabled, the forwarder running and the port open in the firewall? From another computer, http://<address>:41185/ping must answer JoplinClipperServer.
  • Joplin refused the token: copy it again (Options → Web Clipper → Advanced options).
  • This address does not answer like Joplin: the port leads to another service.
  • A notebook missing: check its title in Test the connection; a path is written Parent/Child.
  • Logs: Integrations → Joplin → Logs; set LOG_LEVEL=debug for more.

Limits​

  • Joplin must be running for Gladys to see it: a closed desktop app means "Joplin does not answer".
  • The content of the notes is never read; tags, attachments and Joplin Cloud are not used.
  • Every read lists all notes (titles and dates only, 100 per request): with tens of thousands of notes, prefer a longer interval.
  • One Joplin profile per installation.
  • Not affiliated with Joplin or its authors.

Configuration settings​

These are the settings Joplin asks for in its configuration screen in Gladys.

SettingTypeRequiredDescription
Connect JoplinsectionNoIn Joplin (desktop app, or terminal client with joplin server start), open Options → Web Clipper, enable the service and copy the token (Advanced options). Joplin only listens on its own computer: make it reachable from Gladys with a port forwarder (see the documentation). Joplin must be running.
Joplin addressstringYesThe computer running Joplin, and the port of its forwarder (41184 if none is given).
Web Clipper tokensecretYesJoplin → Options → Web Clipper → Advanced options.
Followed notebooksstringNoOne device per notebook, sub-notebooks included. Separated by commas; empty: every top-level notebook.
Read Joplin everyselectNoReminders come at their due time; counters change at each read.
Language of names and messagesselectNoFeature names are set when a device is added to Gladys.

How to install Joplin in Gladys​

  1. In Gladys, open Integrations: Joplin appears in the catalog, next to the native integrations, with a community badge.
  2. Click Install. Gladys pulls the Docker image (ghcr.io/guim31/gladys-joplin:1.0.0), starts it in a sandbox isolated from the core, and generates the integration's interface (devices, discovery and configuration).
  3. Open the Configuration screen of the integration, fill in the settings, and save.
  4. You can also install it directly from its repository URL: https://github.com/guim31/gladys-joplin.

Joplin requires Gladys >=5.1.0. The catalog inside Gladys refreshes every hour, so a new version becomes available at most one hour after its release.

Not running Gladys yet? It is free and open source: follow the installation guide to get started.

About external integrations​

Joplin is an external integration: a community integration packaged as a Docker container and published on GitHub, that Gladys installs in one click and runs in a sandbox isolated from its core. It is published and maintained by guim31, not by the Gladys core team.

Subscribe to the Gladys Assistant newsletter

A few emails per month about new releases and project news. Sent by Pierre-Gilles Leymarie, founder of the project. Unsubscribe anytime 🙂