Note de ce sujet :
  • Moyenne : 0 (0 vote(s))
  • 1
  • 2
  • 3
  • 4
  • 5
Intégration shelly PRO em
#10
(26-06-2024, 12:36 PM)DanielJ a écrit : Bonjour,
Je confirme pour l'avoir testé que ce code fonctionne sans avoir besoin de la librairie 'ArduinoJson.h' pour un Shelly EM PRO-50 en monophasé, ce qui simplifie la modification.

J'ai néanmoins constaté une petite erreur me semble-t-il.
En effet, toujours dans le fichier Source_ShelleyEm.ino d'origine, à la ligne 33 :

Code :
String url = "/emeter/" + String(Voie);

Il faut la remplacer par celle-ci (qui était déjà l'objet de la première version de cette modification) :

Code :
String url = "/rpc/shelly.getstatus";

Sinon, aucune info ne remontera.

Et si comme moi vous avez une erreur dans le signe de la puissance (où - = puissance injectée, + = puissance soutirée), il suffit d'inverser le signe de Pw ici en ligne 108 :

Code :
Pw = -ValJson("act_power",tmp); // Inversion du signe de la puissance : Pw négatif = puissance injectée, Pw positif = puissance soutirée

Encore merci !

Ah oui j'ai oublié de redonner ce point. Je pense réédité le premier post proprement. Merci.
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 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

Atteindre :


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