Docs

Keys & Sub Users

Everything a board or a person needs to reach your account is on this page: the account key, the MQTT password, the app password and the HTTP keys. One set for you, and one for each sub-account you create.

Main account and sub-accounts

Separate spaces under one sign-in.

The Keys & Sub Users page: the list of accounts on the left and the card of the selected one
Choose an account on the left; its card has four parts.

Your main account is there from the start. A sub-account is a separate space with its own key, fields, dashboards and passwords: one per customer, site or project. A board or a person that signs in with the key of a sub-account sees only that sub-account.

Per planHobbyEssentialAdvancedUltimate
Accounts (main + sub-accounts)1550250
+ New sub-account
A name, and optionally an e-mail and a description. The key and the MQTT password are made for you.
Account key
Looks like vr-1a2b3c4d. It is the MQTT username and the username of the app and the web app.
Edit
Change the name, e-mail and description. You can also generate a new key: every board that uses the old one is disconnected at once.
Delete
For sub-accounts only. The main account stays.

MQTT credentials

What you type into a board, a gateway or any MQTT client.

SettingValue
Brokercloud.virtuino.com
Port1883 plain TCP  ·  8883 TLS / SSL
UsernameThe account key, for example vr-1a2b3c4d
PasswordThe MQTT password shown on the card
Client IDAny name you like, different on every board, for example kitchen-a1b2c3. It becomes the name of the board in My Virtuino World.
TopicThe name of the field, exactly as on the Fields page, for example kitchen/temperature. Publish to it to send a value, subscribe to it to receive one.

That is the whole setup. From a computer with the mosquitto tools, one line sends a value:

mosquitto_pub -h cloud.virtuino.com -p 1883 -u vr-1a2b3c4d -P YOUR_MQTT_PASSWORD -i my-laptop -t kitchen/temperature -m 23.5

Change next to the password makes a new one and disconnects every board of that account until you update them.

Sketches for ESP32 and ESP8266 are in MQTT in 5 minutes and MQTT Examples.

Retain

Which values the broker keeps for boards that connect later.

The MQTT retain window with a choice per source
Retain, per source of the value.

A retained value is kept by the broker and sent to a board the moment it subscribes. A board that restarts gets the last state of its relay at once, with no waiting.

Retain every value
The default. Every value of every field is retained.
Devices (MQTT)
Always retain, As sent by the device (the board decides with its own retain flag) or Never retain.
HTTP API · Dashboard · Scheduler · Scripts · Rules
One tick each: retain the values that come from that source, or not.
Clear the values the broker keeps now
Ticked: the change starts from a clean broker. A retained value otherwise stays on its topic until another retained value replaces it.

The setting belongs to the account you opened it from. More in the MQTT Guide, under Retained values.

MQTT message limit

Per account, per minute.

HobbyEssentialAdvancedUltimate
Messages per minute, for each account1206001,2002,400

Short bursts pass: the limit is on the average rate. Messages above it are not stored. They appear in the Debug monitor, the console shows a notice, and an e-mail lets you know, at most once a day.

A sensor that reports every 10 seconds sends 6 messages a minute per value. Sending only when the value changes keeps even a busy board far below the limit.

App & Web App access

Let people open the dashboards of an account, without the console.

Username
The account key.
Password
The app password, at least 6 characters. Type it and press Save. While there is no password the access is Disabled and nobody can sign in.
Remove
Deletes the password: access stops until you set a new one.
Fit dashboards to the screen width
On: a dashboard shrinks to fit a phone, with no sideways scrolling.
Web App: logo, address and name
On the main account. Your own logo, name and address for the web app of all your accounts, from the Essential plan. See Web App.

People see the dashboards of the account that are marked In app on the Dashboards page. The same username and password work in the Web App and in the Virtuino Cloud mobile app.

HTTP API keys

For boards and programs that use plain HTTP requests.

+ ADD
A label so you remember where the key is used, and a permission.
Read & Write
For boards that send data.
Read Only
Reads values; every write is rejected. Use it in a web page or a script that only displays data.
Copy the key, change its label or permission, delete it. A deleted key stops working at once.

Each key belongs to one account and reaches only its fields. Requests are in the HTTP API guide.