Saltar al contenido principal

Integración domótica Join (unofficial), gratuita y de código abierto

Integración Join (unofficial) para Gladys Assistant

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

info

La documentación de esta integración la escribe su autor y, por ahora, solo está disponible en inglés.

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.

Parámetros de configuración​

Estos son los parámetros que Join (unofficial) te pide en su pantalla de configuración en Gladys.

ParámetroTipoObligatorioDescripción
Join accountsectionNoUnofficial 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 keysecretSíShown 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.
RecipientsstringSíUp 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 commandsstringNoThe command names a scene may send, separated by commas (the part before =:=, case included). Empty: no command can be sent.

Cómo instalar Join (unofficial) en Gladys​

  1. En Gladys, abre Integraciones: Join (unofficial) aparece en el catálogo junto a las integraciones nativas, con una insignia de comunidad.
  2. Haz clic en Instalar. Gladys descarga la imagen Docker (ghcr.io/lm1lc3n7/gladys-join:0.1.1), la ejecuta en un entorno aislado del núcleo y genera la interfaz de la integración (dispositivos, descubrimiento y configuración).
  3. Abre la pantalla de Configuración de la integración, rellena los parámetros y guarda.
  4. También puedes instalarla directamente desde la URL de su repositorio: https://github.com/LM1LC3N7/gladys-join.

Join (unofficial) requiere Gladys >=5.1.0. El catálogo de Gladys se actualiza cada hora, así que una nueva versión está disponible como máximo una hora después de publicarse.

¿Todavía no usas Gladys? Es gratuito y de código abierto: sigue la guía de instalación para empezar.

Sobre las integraciones externas​

Join (unofficial) es una integración externa: una integración comunitaria empaquetada como contenedor Docker y publicada en GitHub. Gladys la instala con un clic y la ejecuta en un entorno aislado del núcleo. La publica y mantiene LM1LC3N7, no el equipo principal de Gladys.

Suscríbete a la newsletter de Gladys Assistant

Unos pocos correos al mes sobre nuevas versiones y novedades del proyecto. Enviados por Pierre-Gilles Leymarie, fundador del proyecto. Puedes darte de baja cuando quieras 🙂