
Schematics
Simplified internal schematic.

Possible wiring connections.

VAC1 and VAC2 are the power supply of the Shelly Plus Uni.
Wiring color of DS18B20.

Below there are our wiring used for our application.

For an example of wiring see here, is in deutschland language.
I/O
Inputs
1 analog input – ANALOG IN
1 1-Wire data input – DATA
1 pulse counter input – COUNT IN
2 digital inputs – IN1 and IN2
Outputs
1 sensors power supply output – SENSOR VCC (5vcc)
2 potential-free contacts solid-state relay outputs – OUT1 and OUT2
Wiring colors
| 1 VAC1 | Red | 8-24 VAC / 9-28 VDC power supply input 1 + |
| 2 VAC2 | Black | 8-24 VAC / 9-28 VDC power supply input 2 – |
| 3 ANALOG IN | White | Analog input |
| 4 SENSOR VCC | Yellow | Power supply for 1-Wire sensors |
| 5 DATA | Blue | 1-Wire data line |
| 6 + 5 VDC | Gray | 5 VDC power supply positive input |
| 7 GND | Green | 5 VDC power supply ground input and Sensor ground |
| 8 COUNT IN | Purple | Counter input |
| 9 IN1 | Orange | Digital input 1 |
| 10 IN2 | Brown | Digital input 2 |
| OUT 1 | Black | Solid-state relay 1 terminals |
| OUT 2 | Black | Solid-state relay 2 terminals |
Specifications
| Type | Value |
|---|---|
| Physical | |
| PCB size (LxWxH): | 40 x 21 x 7 mm / 1.57×0.83×0.28 in |
| Weight: | 8.5 g / 0.3 oz (with the cables) |
| Environmental | |
| Ambient temperature: | -20 °C to 40 °C / -5 °F to 105 °F |
| Humidity | 30 % to 70 % RH |
| Electrical | |
| Power supply: | 8-24 VAC 9-28 VDC 5 VDC (stabilized, via +5 VDC and GND OUTPut) |
| Power consumption: | < 1 W (at 12 Vdc is 20 mA) |
| Input circuits ratings | |
| Digital inputs resistance: | 50 kΩ |
| Digital inputs triggering voltage: | 1.5 V (active low level) |
| Output circuits ratings | |
| Max switching voltage: | 30 V |
| Max switching current: | 300 mA |
| Sensors, meters | |
| Voltmeter: | 0-15 VDC / 0-30 VDC (Two-range) |
| Voltmeter accuracy: | |
| Pulse counter input triggering voltage: | 1.5 V (active low level) |
| Pulse counter max frequency: | 1 kHz |
| External sensors supported: | Single DHT22 or up to five DS18B20 |
| Radio | |
| RF band: | 2400 – 2495 MHz |
| Max. RF power: | <20 dBm |
| Wi-Fi protocol: | 802.11 b/g/n |
| Wi-Fi Range: | Up to 30 m / 100 ft indoors and 50 m / 160 ft outdoors (Depends on local conditions) |
| Bluetooth Protocol: | 4.2 |
| Bluetooth Range: | Up to 10 m / 33 ft indoors and 30 m / 100 ft outdoors (Depends on local conditions) |
| MCU | |
| CPU: | ESP32 |
| Flash: | 4 MB |
| Firmware capabilities | |
| Schedules: | 20 |
| Webhooks (URL actions): | 20 with 5 URLs per hook |
| Scripting: | Yes |
| MQTT: | Yes |
| CoAP: | No |
LED (monocolor) indication
AP (Access Point) enabled and Wi-Fi disabled:
1 second ON / 1 second OFF
Wi-Fi enabled, but not connected to a Wi-Fi network:
1 second ON / 3 seconds OFF
Connected to a Wi-Fi network:
Constantly ON
Cloud is enabled, but not connected:
1 second ON /5 seconds OFF
Connected to Shelly Cloud:
Constantly ON
OTA (Over the Air Update):
½ sec ON / ½ second OFF
Button pressed and held for 5 seconds:
½ second ON / ½ second OFF
Button presses and held for 10 seconds:
¼ second ON / ¼ second OFF
Software
Per utilizzare l’input COUNT IN è necessario seguire la descrizione riportata di seguito.
.
For use the input COUNT IN you must follow the description below.
- Cliccate rispettando la sequenza sulle icone numerate 1, 2 e 3 evidenziate sotto.
Click in sequence on the icons numbered 1, 2 and 3 highlighted below.

- Una volta che avete selezionato AZIONI, premere su Aggiungi Azione e inserite le azioni che volete che svolga l’ingresso COUNT IN.
Nell’esempio riportato si nota che se la frequenza in ingresso è superiore a 2Hz il dispositivo metterà in ON (OUT 1) e se invece la frequenza sarò minore di 1Hz il dispositivo metterà in OFF (OUT 1).
.
Once you have selected ACTION, press Add Actions and enter the actions you want the COUNT IN input to perform.
In the example shown, you can see that if the input frequency is higher than 2Hz the device will turn ON (OUT 1) and if the frequency is lower than 1Hz the device will turn OFF (OUT 1).
Sequenza su OFF ritardato se Freq. è minore di 1Hz
.
Delayed OFF sequence if Freq. is less than 1Hz



Questa sequenza sotto è importante e dovrà essere la seguente:
SPENTO ………………………………………… OFF
SPENTO + TOGGLE di 2 sec ……………. Dly di 2sec e ON di nuovo
SPENTO + TOGGLE di 300 sec ………… Dly di 300sec e ora OFF definitivo
300 secondi sono 5 minuti ovvero: 300/60
This sequence below is important and must be as follows:
OFF ………………………………………… OFF
OFF + TOGGLE for 2 seconds ……………. Dly for 2 seconds and ON again
OFF + TOGGLE for 300 seconds ………… Dly for 300 seconds and now OFF permanently
300 seconds is 5 minutes, or: 300/60

Ecco come compare l’icona dello Shelly UNI PLUS quando Freq.>2 Hz (OUT 1 è ON)
.
This is how the Shelly UNI PLUS icon looks when Freq.>2 Hz (OUT 1 is ON)

Ecco come compare l’icona dello Shelly UNI PLUS quando Freq.<1 Hz (OUT 1 stà per andare OFF è c’è il delay in corso prima dello spegnimento)
.
This is how the Shelly UNI PLUS icon appears when Freq.<1 Hz (OUT 1 is about to go OFF and there is a delay in progress before switching off)

Ecco come compare l’icona dello Shelly UNI PLUS quando Freq.<1 Hz (OUT 1 è ora in OFF)
.
This is how the Shelly UNI PLUS icon looks when Freq.<1 Hz (OUT 1 is now OFF)

Links