# Niko Smart plug wall socket (552-80698, 552-80699)

Source: https://docs.evcc.io/fr/meters/niko-smart-plug-wall-socket-552-80698-552-80699

Niko Home Control hub or connected controller (550-00003) with Hobby API enabled. The token is generated in the Niko Home Control portal.

## Paramètres

| Nom | Description | Par défaut / exemple | |
| --- | --- | --- | --- |
| host | IP address or hostname | 192.0.2.2 |  |
| token | Token Hobby API token of the controller |  |  |
| device | Device |  |  |
| user | Username e.g. email address, user id, etc. | hobby | avancé |

## Exemple de configuration pour evcc.yaml

```yaml
meters:
    - name: my_pv
      type: template
      template: niko
      usage: pv
      host: 192.0.2.2 # IP address or hostname
      token: # Token, Hobby API token of the controller
      device: # Device
      user: hobby # Username, e.g. email address, user id, etc. (optional)
```

```yaml
meters:
    - name: my_charger
      type: template
      template: niko
      usage: charge
      host: 192.0.2.2 # IP address or hostname
      token: # Token, Hobby API token of the controller
      device: # Device
      user: hobby # Username, e.g. email address, user id, etc. (optional)
```
