Get your first board, script or app online

One ESP32, one sensor and an alert on your phone. It takes about ten minutes.

Create an account

Sign up with your email. Your workspace is ready as soon as you confirm it.

2

Copy a policy PIN

In the console, open Policies and create one called greenhouse. Choose Copy PIN. Every board in the policy joins with this PIN.

K7PX…HT4R Copy

Keep it private. If it leaks, choose Rotate PIN and the old one stops working.

3

Install the library

Arduino IDEPlatformIORaspberry Pi

Open Library Manager, search for WBSKT and install it.

In betaThe library is a 0.9 beta, and the protocol may still change before 1.0. On a Raspberry Pi, run pip install wbskt instead. Read the Arduino library's README
4

Upload the sketch

Paste this in, add your PIN and Wi‑Fi details, and upload it to your board.

greenhouse.ino Copy
#include <WiFi.h>
#include <Wbskt.h>

WbsktClient wbskt("greenhouse-sensor", "your-policy-pin");

void setup() {
  WiFi.begin("home-wifi", "wifi-password");
  wbskt.begin();
}

void loop() {
  wbskt.loop();
  static unsigned long last = 0;
  if (millis() - last < 60000) return;
  last = millis();
  JsonDocument reading;
  reading["celsius"] = readTemperature();
  wbskt.send("temperature", reading);
}
5

Check it's online

Open Clients in the console. greenhouse-sensor shows up within a few seconds. If the policy asks for approval, choose Approve.

greenhouse-sensor
Online
21.3 °C
6

Set your first rule

Open Workflows, create a new one and pick each part from the lists.

When greenhouse-sensor reads below 2 °C send a Telegram message

You're all set

You'll get a message the next time it gets cold.

Need a hand?Ask on GitHub and we'll help you out. Ask on GitHub