Shelly Plus Uni
Shelly Plus Uni is a two-channel device with embedded add-on which provides a wide range of functionalities. In addition the device has one counter input. The channels support the use of automatic timers, webhooks and schedules.
The following components are available in Shelly Plus Uni by default:
- System
- WiFi
- Bluetooth Low Energy
- Cloud
- MQTT
- Outbound Websocket
- 3 instances of Input (
input:0,input:1- digital;input:2- counter) - 2 instances of Switch (
switch:0,switch:1) - Up to 10 instances of Script
In addition, onboard and external peripherals can be linked to optional Component instances via:
Uni.AddPeripheral- to add peripheral; aliased by and shares the semantics ofSensorAddon.AddPeripheralUni.RemovePeripheral- to remove peripheral; aliased by and shares the semantics ofSensorAddon.RemovePeripheralUni.UpdatePeripheral- to update peripheral settings; aliased by and shares the semantics ofSensorAddon.UpdatePeripheralUni.GetPeripherals- to list all peripherals; aliased by and shares the semantics ofSensorAddon.GetPeripheralsUni.OneWireScan- to scan one wire bus; aliased by and shares the semantics ofSensorAddon.OneWireScan
Below is a list of supported peripherals and the Component types they can be linked to:
| Peripheral type | Component type |
|---|---|
| ds18b20 | temperature |
| dht22 | temperature, humidity |
| analog_in | input |
| voltmeter | voltmeter |
Changes in peripheral<->component links made with Uni|SensorAddon.AddPeripheral, Uni|SensorAddon.RemovePeripheral, Uni|SensorAddon.UpdatePeripheral bond the firmware to spawn/destroy Component instances and therefore require reboot to apply.