-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
6d9a245
commit 0ba6ce1
Showing
7 changed files
with
378 additions
and
129 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
The Shelly Solar Diverter/Router | ||
|
||
Hello, | ||
|
||
I wanted to share with you a small project that I carried out in the recent days as part of the "Shelly IoT Innovation Challenge" and which will surely pick your interest: a solar diverter/router that is quite innovative because it is very simple and based on... Shelly's of course! | ||
|
||
I always wanted to find a **simple** way to control the **Loncont LSA-H3P50YB** voltage regulator, which is interesting because in addition to being sturdy, it includes a Zero-Cross Detection module and is controlled very easily by voltage variation or PWM. | ||
In particular, it can be controlled by an ESP32 but using an external module and an additional 12V power supply, which is not very practical. | ||
|
||
A few days ago, a friend pointed out to me that Shelly has a 0-10V dimmer, the voltage range required to control this regulator, but for it to work, the dimmer must be of the "sourcing current" type and not "sinking current". | ||
|
||
Except... Shelly has just released a new dimmer very recently: the **Shelly Dimmer 0/1-10V PM Gen3**, which is precisely of a "sourcing current" type! | ||
|
||
What a joy! | ||
|
||
So I decided to write a Shelly script which allows you to automatically control this type of voltage regulator via the Shelly Dimmer 0/1-10V PM Gen3, depending on the injection or consumption read from the Shelly EM Pro (purchased from Quintium), which also reads the output power of the regulator with its 2nd current clamp. | ||
|
||
I have not yet been able to test in the long term, but the small tests carried out for the moment show that it works, within the possible limit of the precision that can be obtained using the Shelly scripts: reading the measurements at each second and then a call to adjust the dimmer immediately afterwards. | ||
|
||
It is therefore a promising solution for the moment, and which remains easy to improve. | ||
|
||
Also, dimmers tend to get hot, so I suspect it needs to be installed not within an enclosure. | ||
|
||
Features and benefits of this diverter/router: | ||
|
||
- Shelly and LSA Loncont components are robust, compliant with standards, and used in industry | ||
- Very easy to set up (Shelly script) | ||
- Automatic divert management via a PID controller which supports several proportional and derivative modes | ||
- Supports a bypass contactor (to force a heating), which will automatically cut off the dimmers if turned on | ||
- Supports a DS1820 temperature probe via the Shelly Add-on to get the water tank temperature (or anything else) | ||
- Support for up to N dimmers, with possible sharing of the excess power between dimmers | ||
- And of course, everything you can have with remote control of Shelly's in the Shelly App, Home Assistant / Jeedom, etc. | ||
|
||
It's then up to you to write your Shelly automations to program forced operation, start or stop automatic routing remotely, etc. | ||
Full of possibilities with Shelly's! | ||
|
||
The script can be downloaded and modified as you wish (it is under the MIT license), and it can be found on the blog of the YaSolR site, the routing software I've been working for several months now: | ||
|
||
https://yasolr.carbou.me/blog/2024-07-01_shelly_solar_diverter | ||
|
||
Happy hacking! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
Le Routeur Solaire Shelly | ||
|
||
Bonjour la communauté! | ||
|
||
Je souhaitais vous partager un petit projet que j'ai réalisé ces derniers jours dans le cadre du _"Shelly IoT Innovation Challenge"_ et qui va sûrement vous intéresser: un routeur solaire assez innovant car très simple et basé sur... les Shelly! | ||
|
||
J'ai toujours souhaité trouvé un moyen **simple** de contrôler le régulateur de tension **Loncont LSA-H3P50YB**, qui est intéressant car en plus d'être costaud, il comprend un module Zero-Detection et se contrôle donc très facilement par variation de tension ou PWM. | ||
On peut notamment le contrôler par un ESP32 mais à l'aide d'un module externe et une alimentation de 12V supplémentaire, ce qui n'est pas très pratique. | ||
|
||
Il y a quelques jours, Mathieu Hertz m'a fait remarqué que Shelly ont des dimmers 0-10V, plage de tension justement requise au contrôle de ce régulateur, mais pour que cela fonctionne, il faut que le dimmer soit de type "sourcing current" et non "sinking current". | ||
|
||
Hors... Shelly vient justement de sortie un nouveau dimmer depuis très peu: le **Shelly Dimmer 0/1-10V PM Gen3**, qui est justement de type "sourcing current"! | ||
|
||
Quel bonheur! | ||
|
||
J'ai donc décidé d'écrire un **script Shelly** qui permet de contrôler automatiquement ce genre de régulateur de tension via le Shelly Dimmer 0/1-10V PM Gen3, en fonction de la l'injection ou consommation lue à partir du Shelly EM Pro (acheté chez Quintium), qui lit aussi la puissance en sortie du régulateur avec sa 2ème pince ampèremétrique. | ||
|
||
Je n'ai pas pu tester encore sur du long terme, mais les petits tests effectués pour le moment montrent que ça fonctionne, dans la limite possible de la précision qu'on peut avoir en passant par les scripts Shelly: lecture des mesure à chaque seconde et appel pour régler le dimmer de suite après. | ||
|
||
C'est donc une solution prometteuse pour le moment, et qui reste facile à améliorer. | ||
|
||
Également, les dimmer ont tendance à chauffer, donc je soupçonne qu'il faille l'installer espacé et dans un endroit aéré. | ||
|
||
Fonctionnalités et avantages de ce routeur: | ||
|
||
- Les composants Shelly et LSA Loncont, sont robustes, aux normes, et utilisés en industrie | ||
- Très facile à mettre en place (script Shelly) | ||
- Gestion automatique du routage via un contrôleur PID qui supporte plusieurs modes de proportionnelles et dérivées | ||
- Supporte un contacteur pour la Marche forcée, qui va automatiquement couper les dimmer si mis en marche | ||
- Supporte une sonde de température DS1820 via le Shelly Add-on pour avoir la température du ballon | ||
- Support jusqu'à N dimmers, avec un partage possible du surplus entre dimmers | ||
- Et bien sûr, tout ce qu'on peut avoir avec le contrôle à distance des Shelly via l'app Shelly, Home Assistant / Jeedom, etc. | ||
|
||
À vous ensuite d'écrite vos automatismes Shelly pour programmer la marche forcée, démarrer ou arrêter le routage automatique à distance, etc. | ||
Plein de possibilité avec Shelly! | ||
|
||
Le script peut être téléchargé et modifié à votre guise (il est sous license MIT), et il se trouve sur le blog du site YaSolR, le logiciel de routage sur lequel je travaille depuis quelques mois: | ||
|
||
https://yasolr.carbou.me/blog/2024-07-01_shelly_solar_diverter | ||
|
||
Bonne lecture! |
Oops, something went wrong.