# Niko Smart plug flush-mounted (170-34505, 170-33505)

Fonte: https://docs.evcc.io/it/meters/niko-smart-plug-flush-mounted-170-34505-170-33505

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

## Parametri

| Nome | Descrizione | Predefinito / esempio | |
| --- | --- | --- | --- |
| 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 | avanzato |

## Esempio di configurazione per 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)
```
