Aller au contenu

Power Meter JSY-MK-194T

Le power meter JSY-MK-194T partage avec le compteur d'énergie jsy-mk-194t un code commun permettant de communique avec le module. La suite de cette documentation explique comment configurer cette partie commune et comment configurer un power meter JSY-MK-194T.

jsy-mk-194t

1 - Partie Commune, la communication avec le JSY-MK-194T :

Ce fichier gère la communication avec la carte. Ajoutez jsy-mk-194t_common.yaml et configurez les GPIO selon votre matériel commen dans l'exemple ci-dessous:

packages:
  solar_router:
    url: https://github.com/XavierBerger/Solar-Router-for-ESPHome/
    refresh: 1s
    files: 
      # gestion du JSY-MK-194T
      - path: solar_router/jsy-mk-194t_common.yaml
        vars:          
          uart_tx_pin: GPIO26
          uart_rx_pin: GPIO27
          uart_baud_rate: 4800
          AP_Ch2_internal: "false" # optionnel, permet d'afficher un des sensors du JSY-MK-194T

Liste des capteurs du JSY-MK-194T accessibles :

  U_Ch1_internal: "true"       # Voltage on Channel 1
  I_Ch1_internal: "true"       # Current on Channel 1
  AP_Ch1_internal: "true"      # Active Power of Channel 1
  PAE_Ch1_internal: "true"     # Positive Active Energy of Channel 1
  PF_Ch1_internal: "true"      # Power Factor on Channel 1
  NAE_Ch1_internal: "true"     # Negative Active Energy of Channel 1
  PD_Ch1_internal: "true"      # Power Direction on Channel 1
  PD_Ch2_internal: "true"      # Power Direction on Channel 2
  frequency_internal: "true"   # Frequency
  # Voltage on Channel 2 not implemented => same as Voltage on Channel 1
  I_Ch2_internal: "true"       # Current on Channel 2
  AP_Ch2_internal: "true"      # Active Power of Channel 2
  PAE_Ch2_internal: "true"     # Positive Active Energy of Channel 2
  PF_Ch2_internal: "true"      # Power Factor on Channel 2 
  NAE_Ch2_internal: "true"     # Negative Active Energy of Channel 2

2 - Activation du power meter

Pour activer le power meter, il suffit de l'ajouter à votre configuration comme dans l'exemple ci-dessous:

1
2
3
4
5
6
packages:
  solar_router:
    url: https://github.com/XavierBerger/Solar-Router-for-ESPHome/
    refresh: 1s
    files: 
      - path: solar_router/power_meter_jsy-mk-194t.yaml

Pour un exemple de mise en oeuvre, reporter vous à l'exemple JSY-MK-149T.