Aller au contenu
recharge intelligente

Tuya Smart Plug

Cette page affiche la version nightly. Il n’existe pas encore de version stable.

Local connection via the Tuya protocol for plugs with energy monitoring (apps: "Smart Life", "Tuya"). Device ID and local key must be retrieved once, e.g. using tinytuya wizard, which requires an account on the Tuya IoT platform. No cloud access is needed during operation. The device accepts only one local connection at a time, other local integrations (e.g. LocalTuya, Tuya Local) must be disabled.

Fonctionnalités prises en charge

  • Compteur intégré: Prise en charge d’un compteur intégré.

Paramètres

NomDescriptionValeurNiveau
hostIP address or hostname
Exemple: 192.0.2.2
facultatif
idDevice IDfacultatif
localkeyLocal Keyfacultatif
standbypower [W]Standby power

Power values above this value will be considered as charging power and hence status "charging". Negative values deactivate status detection.

Par défaut: 15
facultatif
integrateddeviceIntegrated device

Integrated device. No charging sessions

avancé
heatingHeating device

Shows °C instead of %

avancé
iconIcon

Will be displayed in the user interface

avancé
Exemple de configuration pour evcc.yaml

Si vous ne souhaitez pas passer par l’interface, vous pouvez utiliser ce bloc YAML à la place.

chargers:
- name: my_smartswitch
type: template
template: tuya
host: 192.0.2.2 # IP address or hostname
id: # Device ID
localkey: # Local Key
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)