Zum Hauptinhalt springen

Join (unofficial) Smart-Home-Integration, kostenlos und Open Source

Join (unofficial)-Integration für Gladys Assistant

Unofficial: Join notifications and Tasker commands to your Android devices from scenes.

Info

Die Dokumentation dieser Integration wird von ihrem Autor geschrieben und ist bisher nur auf Englisch verfügbar.

Send notifications and Tasker commands from your Gladys scenes to your Android devices (and the other devices of your Join account), through the official Join API.

Unofficial connector, not affiliated with joaoapps. It follows the official API documentation; it has never been tested with a real Join account yet (only against a fake Join API on the local machine).

What you need​

  • The Join app on your devices, signed in with your account.
  • Your Join API key: on the Join website, click a device, then Join API (or "Create a Join API link for your device"): the key is shown there.

Configuration​

  1. Join API key: paste it. It lets anyone push to your devices: kept by Gladys in its database, never shown again, sent only to the Join API. Join takes it in the URL of each request: the integration never writes that URL to a log, a status or an error.
  2. Click List my Join devices: the names and ids of your devices appear (at most 20; the e-mail of the account is never shown).
  3. Recipients: up to 10 device ids separated by commas, or one group alone (group.all, group.android, group.phone, group.tablet, group.pc, group.windows10).
  4. Allowed Tasker commands (optional): the command names a scene may send, separated by commas. Empty: no command can be sent.
  5. Click Send a test notification.

Scene actions​

  • Send a Join notification: a title (empty: "Gladys") and a text (cut at 1000 characters; a text that would make the request longer than 8000 bytes is cut shorter). A notification always has a title, so Join never takes it for a Tasker command. "One recipient only": one of the configured recipients, else nothing is sent.
  • Send a Join Tasker command: name=:=parameters (at most 500 characters, never cut), sent as a text without title: Join hands it to Tasker (or EventGhost). Only a command whose name (the part before =:=, case included) is in Allowed Tasker commands leaves; the parameters are free.

Join only says it accepted the push: the API does not confirm the display on the device.

Limits and errors​

  • One request at a time, one second apart, at most 10 waiting; a push not started within 15 s is dropped ("Nothing sent").
  • A push that left without a readable answer is reported "sent, without confirmation" and is never sent again by the integration: check the device before sending it again.
  • HTTP 429 or 5xx: every request (scenes and buttons) is paused, 1 min doubled up to 1 h (a longer Retry-After honoured up to 6 h), kept across restarts.
  • Key refused (Join answers "User Not Authenticated" to a push): no scene sends anything more with this key, even after a restart, until you save another key or a click on Send a test notification (or a successful List my Join devices) proves it works again. A refusal on the device list alone is shown but never blocks the scenes. An HTTP 401 or 403 is never taken for a refused key.
  • /data keeps the pause and two 8-bit salted marks of a refused key, never the key itself. A new key is always tried while the integration runs; after a restart, a new key whose two marks both match the refused one (1 chance in 65 536) waits for a click on the test button.
  • Redirections are never followed (the URL holds the key); answers are limited to 16 KB (64 KB for the device list) and 10 s.

Not in this version​

Clipboard, SMS, calls, files, URLs to open, wallpapers, "find my device", volumes and media keys of the Join API: left out on purpose (several act on the phone or cost money). Ask on the forum if you need one.

Konfigurationseinstellungen​

Diese Einstellungen fragt Join (unofficial) in seinem Konfigurationsbildschirm in Gladys ab.

EinstellungTypPflichtfeldBeschreibung
Join accountsectionNeinUnofficial connector, not affiliated with joaoapps. Open the Join website, click a device, then "Join API" to show your API key and the device ids. Save the key below, then click "List my Join devices" to get the ids of your devices. Your scenes then use "Send a Join notification" and "Send a Join Tasker command".
Join API keysecretJaShown by the Join website under "Join API". It lets anyone push to your devices: kept by Gladys in its database, never shown again, sent only to the Join API.
RecipientsstringJaUp to 10 device ids separated by commas (button "List my Join devices"), or one group alone: group.all, group.android, group.phone, group.tablet, group.pc, group.windows10. A scene sends to all of them, or to one of them only.
Allowed Tasker commandsstringNeinThe command names a scene may send, separated by commas (the part before =:=, case included). Empty: no command can be sent.

So installierst du Join (unofficial) in Gladys​

  1. Öffne in Gladys Integrationen: Join (unofficial) erscheint im Katalog neben den nativen Integrationen, mit einem Community-Badge.
  2. Klicke auf Installieren. Gladys lädt das Docker-Image (ghcr.io/lm1lc3n7/gladys-join:0.1.1) herunter, startet es in einer vom Kern isolierten Sandbox und erzeugt die Oberfläche der Integration (Geräte, Erkennung und Konfiguration).
  3. Öffne den Bildschirm Konfiguration der Integration, fülle die Einstellungen aus und speichere.
  4. Du kannst sie auch direkt über die URL ihres Repositorys installieren: https://github.com/LM1LC3N7/gladys-join.

Join (unofficial) benötigt Gladys >=5.1.0. Der Katalog in Gladys wird stündlich aktualisiert, eine neue Version ist also spätestens eine Stunde nach ihrer Veröffentlichung verfügbar.

Du nutzt Gladys noch nicht? Es ist kostenlos und Open Source: folge der Installationsanleitung, um loszulegen.

Über externe Integrationen​

Join (unofficial) ist eine externe Integration: eine Community-Integration, die als Docker-Container verpackt und auf GitHub veröffentlicht wird. Gladys installiert sie mit einem Klick und führt sie in einer vom Kern isolierten Sandbox aus. Sie wird von LM1LC3N7 veröffentlicht und gepflegt, nicht vom Gladys-Kernteam.

Abonniere den Newsletter von Gladys Assistant

Ein paar E-Mails im Monat zu neuen Releases und Neuigkeiten aus dem Projekt. Verschickt von Pierre-Gilles Leymarie, dem Gründer des Projekts. Jederzeit abbestellbar 🙂