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.

Domaines d’utilisation

  • Production solaire
  • Compteur du chargeur

Paramètres

NomDescriptionValeurNiveau
hostIP address or hostname
Exemple: 192.0.2.2
facultatif
idDevice IDfacultatif
localkeyLocal Keyfacultatif
Exemple de configuration pour evcc.yaml

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

meters:
- name: my_pv
type: template
template: tuya
usage: pv
host: 192.0.2.2 # IP address or hostname
id: # Device ID
localkey: # Local Key
meters:
- name: my_charger
type: template
template: tuya
usage: charge
host: 192.0.2.2 # IP address or hostname
id: # Device ID
localkey: # Local Key