# myStrom Switch

Source: https://docs.evcc.io/en/smartswitches/mystrom-switch

Supported features: meter

## Parameters

| Name | Description | Default / example | |
| --- | --- | --- | --- |
| host | IP address or hostname | 192.0.2.2 |  |
| token | Token API token, only needed if token is set on device (Advanced -> Enable REST API -> Token) |  |  |
| standbypower | Standby power Power values above this value will be considered as charging power and hence status "charging". Negative values deactivate status detection. | 15 W |  |
| integrateddevice | Integrated device Integrated device. No charging sessions |  | advanced |
| heating | Heating device Shows °C instead of % |  | advanced |
| icon | Icon Will be displayed in the user interface (car, bike, bus, moped, motorcycle, rocket, scooter, taxi, tractor, rickshaw, shuttle, van, airpurifier, battery, bulb, climate, coffeemaker, compute, cooking, cooler, desktop, device, dishwasher, dryer, floorlamp, generic, heater, heatexchange, heatpump, kettle, laundry, laundry2, machine, meter, microwave, pump, smartconsumer, tool, waterheater) |  | advanced |

## Configuration example for evcc.yaml

```yaml
chargers:
    - name: my_smartswitch
      type: template
      template: mystrom
      host: 192.0.2.2 # IP address or hostname
      token: # Token, API token, only needed if token is set on device (Advanced -> Enable REST API -> Token) (optional)
      standbypower: 15 # Standby power (W), Power values above this value will be considered as charging power and hence status "charging". Negative values deactivate status detection. (optional)
      integrateddevice: # Integrated device, Integrated device. No charging sessions (optional)
      heating: # Heating device, Shows °C instead of % (optional)
      icon: # Icon, Will be displayed in the user interface [car, bike, bus, moped, motorcycle, rocket, scooter, taxi, tractor, rickshaw, shuttle, van, airpurifier, battery, bulb, climate, coffeemaker, compute, cooking, cooler, desktop, device, dishwasher, dryer, floorlamp, generic, heater, heatexchange, heatpump, kettle, laundry, laundry2, machine, meter, microwave, pump, smartconsumer, tool, waterheater] (optional)
```
