Note de ce sujet :
  • Moyenne : 0 (0 vote(s))
  • 1
  • 2
  • 3
  • 4
  • 5
Intégration shelly PRO em
#32
Désolé André, j'avais développé la partie shelly pro 3 em en m’appuyant sur la documentation ayant la version pro EM (Monophasé).
Je ne m'attendais pas à ce que tu récupères mon code.
Visiblement il y a des subtilités avec le modèle triphasé !

Si je comprends bien il faudrait pouvoir détecter si le module pro 3 em est configuré en mono ou en tri car les données renvoyées sont différentes

Problème dans le code : 

  - On ne regarde pas le paramétrage si shelly pro EM ou shelly pro 3 em mais uniquement la voie (Si voie ==3 => shelly pro 3 em, sinon shelly pro EM)
Il faut modifier pour vérifier le paramétrage au lieu de tester la voie (Si pro EM ou pro 3 em).

  - pro 3 em en mono, récupération JSON ok mais le code est erronée (on cumul les données des 3 pinces, hors il faut prendre uniquement la voie indiqué dans le paramétrage).

  - pro 3 em en tri : Les données à récupérer :

pf et voltage ? : faire une moyenne sur les 3 pinces (a, b, c) ?

Triphasé
{ble:{}
bthome:{}
cloud:{connected:true}
em:0:{id:0
a_current:1.841
a_voltage:238.1
a_act_power:-380.9
a_pf:0.87
...
total_act_power:2633.595
total_act:320248.38
total_act_ret:90747.51}
eth:{ip:null}
modbus:{}
...
ws:{connected:false}}

Si ça peut aider !
Routeur avec Triac, CE 2500w. Shelly pro em50 pour les mesures. Kit PV pnp 2 kW. Home assistant
Répondre


Messages dans ce sujet
Intégration shelly PRO em - par Raphael591 - 12-06-2024, 05:49 PM
RE: Intégration shelly PRO em - par F1ATB - 12-06-2024, 07:10 PM
RE: Intégration shelly PRO em - par Raphael591 - 12-06-2024, 07:16 PM
RE: Intégration shelly PRO em - par F1ATB - 12-06-2024, 07:18 PM
RE: Intégration shelly PRO em - par Raphael591 - 12-06-2024, 07:53 PM
RE: Intégration shelly PRO em - par DanielJ - 17-06-2024, 04:00 PM
RE: Intégration shelly PRO em - par Raphael591 - 23-06-2024, 03:33 PM
RE: Intégration shelly PRO em - par F1ATB - 23-06-2024, 04:31 PM
RE: Intégration shelly PRO em - par DanielJ - 26-06-2024, 12:36 PM
RE: Intégration shelly PRO em - par Raphael591 - 26-06-2024, 02:31 PM
RE: Intégration shelly PRO em - par F1ATB - 03-07-2024, 04:23 PM
RE: Intégration shelly PRO em - par DanielJ - 03-07-2024, 06:56 PM
RE: Intégration shelly PRO em - par Raphael591 - 03-07-2024, 10:01 PM
RE: Intégration shelly PRO em - par F1ATB - 04-07-2024, 08:31 AM
RE: Intégration shelly PRO em - par olivr2s - 23-08-2024, 12:13 PM
RE: Intégration shelly PRO em - par Raphael591 - 04-07-2024, 09:49 AM
RE: Intégration shelly PRO em - par F1ATB - 24-08-2024, 05:51 AM
RE: Intégration shelly PRO em - par olivr2s - 24-08-2024, 01:51 PM
RE: Intégration shelly PRO em - par manusaxo - 28-08-2024, 08:49 AM
RE: Intégration shelly PRO em - par olivr2s - 28-08-2024, 09:40 AM
RE: Intégration shelly PRO em - par manusaxo - 28-08-2024, 08:27 PM
RE: Intégration shelly PRO em - par vmarchis - 07-10-2024, 06:43 PM
RE: Intégration shelly PRO em - par F1ATB - 29-08-2024, 08:01 AM
RE: Intégration shelly PRO em - par manusaxo - 29-08-2024, 10:55 AM
RE: Intégration shelly PRO em - par olivr2s - 29-08-2024, 11:17 AM
RE: Intégration shelly PRO em - par manusaxo - 30-08-2024, 12:07 PM
RE: Intégration shelly PRO em - par olivr2s - 31-08-2024, 12:33 PM
RE: Intégration shelly PRO em - par manusaxo - 13-10-2024, 07:28 PM
RE: Intégration shelly PRO em - par olivr2s - 13-10-2024, 07:39 PM
RE: Intégration shelly PRO em - par F1ATB - 13-10-2024, 07:37 PM
RE: Intégration shelly PRO em - par Raphael591 - 14-10-2024, 10:43 AM
RE: Intégration shelly PRO em - par Raphael591 - 14-10-2024, 12:37 PM
RE: Intégration shelly PRO em - par olivr2s - 14-10-2024, 01:05 PM
RE: Intégration shelly PRO em - par Raphael591 - 14-10-2024, 02:00 PM
RE: Intégration shelly PRO em - par Raphael591 - 14-10-2024, 03:20 PM
RE: Intégration shelly PRO em - par Robi60 - 18-10-2024, 09:04 PM
RE: Intégration shelly PRO em - par cetin.s - 17-10-2024, 06:12 AM
RE: Intégration shelly PRO em - par Raphael591 - 17-10-2024, 04:23 PM
RE: Intégration shelly PRO em - par F1ATB - 17-10-2024, 04:45 PM
RE: Intégration shelly PRO em - par cetin.s - 17-10-2024, 07:32 PM
RE: Intégration shelly PRO em - par Raphael591 - 17-10-2024, 08:57 PM
RE: Intégration shelly PRO em - par cetin.s - 18-10-2024, 09:38 PM
RE: Intégration shelly PRO em - par Raphael591 - 19-10-2024, 03:25 PM
RE: Intégration shelly PRO em - par F1ATB - 19-10-2024, 04:13 PM
RE: Intégration shelly PRO em - par cetin.s - 19-10-2024, 04:34 PM
RE: Intégration shelly PRO em - par F1ATB - 19-10-2024, 05:15 PM
RE: Intégration shelly PRO em - par F1ATB - 19-10-2024, 05:30 PM
RE: Intégration shelly PRO em - par cetin.s - 19-10-2024, 05:32 PM
RE: Intégration shelly PRO em - par Lolo69 - 19-10-2024, 09:06 PM
RE: Intégration shelly PRO em - par Raphael591 - 19-10-2024, 09:19 PM
RE: Intégration shelly PRO em - par F1ATB - 20-10-2024, 04:17 AM
RE: Intégration shelly PRO em - par Robi60 - 20-10-2024, 11:41 AM

Atteindre :


Utilisateur(s) parcourant ce sujet : 21 visiteur(s)