# ShellyPlugSPlugin

The plugin shows the current AC power being drawn via a Shelly PlugS, in watts.

## REST API

### Get ip-address

    GET {{ORIGIN}}/rest/api/v1/display/uid/<PLUGIN-UID>/ipAddress

    GET {{ORIGIN}}/rest/api/v1/display/alias/<PLUGIN-ALIAS>/ipAddress

### Set ip-address

    POST {{ORIGIN}}/rest/api/v1/display/uid/<PLUGIN-UID>/ipAddress?shellyPlugSIP=<IPADDRESS>

    POST {{ORIGIN}}/rest/api/v1/display/alias/<PLUGIN-ALIAS>/ipAddress?shellyPlugSIP=<IPADDRESS>

- PLUGIN-UID: The plugin unique id.
- PLUGIN-ALIAS: The plugin alias name.
- IPADDRESS: The ip-address for the Shelly PlugS server.

## Configuration

### IP-address

Plugin UID:
IP-address of server: