Lire et écrire dans un port série RS232 via Nodered

I put on Youtube a video that explains in detail how to connect to the serial port of Pylontech batteries. But my explanations can be applied to any serial port.

I use Nodered which is a « home automation » tool that allows you to build your own software in the form of web pages. So everything is accessible via a browser.

So for those who want to understand how I was able to dialogue with the Pylontech inverter and batteries, here is the explanation in detail.

Yes sorry, 20 minutes to view 😇 Courage 😉

[yotuwp type= »videos » id= »DhYyicJD-Fo » ]

Nouvelle vidéo de présentation de Smartphoton

It’s about time! 😱

The last video is one year old. It has 3500 views on Youtube. To manage a low cost inverter, it seems to me that it is a nice surprise.

But there were so many new features that I had to make a new one. Here it is below, fresh from the oven.

What’s new?

I can’t even remember what they are anymore.

In no particular order:

 

  • Project to determine the potential production with Michel. The small solar panel which debits in a resistance and of which one comes to take the tension at the terminals. This gives a good information on the sunshine.
  • Connection to a Growatt inverter which does not talk like our hybrids, it uses Modbus and can natively manage Pylontech batteries
  • Connection to Pylontech batteries. It is now necessary to make an automatism to adjust the inverter according to the real state of the batteries and not as it tries to do it « badly » in native mode
  • Integration of a Zigbee gateway, this one allows for example to control the parameter 01 with a 4 channels switch.
  • Integration of an FTP server to save the database in a simple way (yes I haven’t talked about it yet 😉)
  • Addition of a diagram that allows you to see at a glance if you are in autonomous or EDF mode in the last few hours
  • Visualization of the kWh produced and consumed
  • The weather that has been redesigned (hopefully for the better)
  • Addition of a system part and « Debugging » for assistance and analysis
  • I’ll stop here, it’s exhausting 🤪

Here is the new video:

https://youtu.be/9hFrnaQQHg4

Demo modification of parameters via 4-way wireless switch

I have put in function a 4 ways Zigbee wireless switch which allows me now to modify the parameters of the inverter from anywhere in the house!

[yotuwp type= »videos » id= »cuvNBDqRrxo » column= »1″ per_page= »1″ player= »mode=popup&width=600&autonext=0&thumbnails=0″]
The goal today is to modify the parameter 01, this one acts essentially on the fact to use the 230V EDF network or to put itself in Offline mode, thus totally autonomous, full solar.
This time I do not do it via the interface of my software, but via buttons immediately accessible.
This is very useful to adapt to the light conditions which can be changing and unstable. It’s easy to press a button!

All this always works without sending any information on the Net!
Here is the demo in real operation