iotling

Clients

Database, mail, MQTT, shared browser and remote desktop clients that run on your own device — and that the copilot can use for you, with your approval.

What a client is

Not everything you run needs a new server. A client is a project that is an app on your own device, connecting to something you already have — a database, a mailbox, a broker your devices talk to, a computer. There is no server of ours in it and nothing to pay for it; the copilot is in it as in any project, and can use the client for you.

Choose A client when you create a project (see Getting started), then the kind of client.

The step “Which client?”: a database client, a mail client, an MQTT client, a shared browser and a remote desktop client, each marked “Desktop app only” in a browser.
The kinds of client. In a browser, each is marked “Desktop app only”: clients run in the desktop app.

The clients

  • Database client — connect to PostgreSQL, MySQL or MariaDB servers, browse their tables and run queries.
  • Mail client — read and send mail from any mailbox, over IMAP and SMTP, with TLS or STARTTLS.
  • MQTT client — watch and publish messages on an MQTT broker, the language devices speak.
  • Shared browser — a plain browser in a window of its own, with its own sign-ins, that you and the copilot both use.
  • Remote desktop — connect to computers over RDP and work on their desktop, with as many of them saved as you have.

A connection is added in the client with its address and sign-in, and Test tries it before you save it.

Passwords stay on your device

A client’s passwords are kept in your device’s keychain, and are never sent to iotling. Removing a connection removes its saved password from the device too.

An encrypted connection checks the server’s certificate. Switching Check the server’s certificate off accepts any certificate, which is what a self-signed one needs: the connection is then still private from onlookers, but not from someone placed between you and the server.

A remote desktop usually identifies itself with a certificate it signed itself, so the first time you connect, the app shows its fingerprint and asks Is this the right computer? — compare it with the one shown on that computer if you can. If the certificate changes later, the app warns you before connecting.

The copilot and your clients

The first time the copilot wants to use a client, the app asks whether it may: Allow or Not now. The answer is kept per project, as Copilot access, which you can switch off again at any time. With it on, the copilot reads through the client when you ask it to — looks something up, sums up a mailbox, follows a topic.

Anything that changes something — a statement that writes to a database, an e-mail, a published message — is shown to you in full and needs your approval every time. In the shared browser and on a remote desktop, the app shows you what the copilot is about to do before it opens a page, clicks, types or presses keys, and asks: Allow once, Always allow in this project or Don’t allow. See Approvals.

On a remote desktop, the copilot can ask to have a connected computer’s screen described: the app sends a picture of the screen to iotling, where another model writes down what is on it. The copilot gets that text, never the picture, and the picture is not kept.