Skip to content
View in the app

A better way to browse. Learn more.

Power Forum - Renewable Energy Discussion

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Simple Axpert / Pylontech Controller

Featured Replies

  • Author

Hi. Using a Max3232 IC with the ESP. Using RS232 for both the inverter and pylons. I have basically the same thing going on a Pi with some extra features. The reason for the ESP is cost and no SD card that could corrupt. I am busy incorporating logging data to Google sheets, but still a few things to sort out. 

  • 1 month later...
  • Author

Just an update on my "Lockdown project":

 

- Interfaces to 'Blynk': Can see the values and also change settings using the Blynk app on my phone.

-Google sheets: records data to google sheets. Interval is adjustable. To get a nice graph: use Grafana. I have installed a local copy of Grafana with the google sheets plugin on my laptop. It just pulls the data in seamlessly.  

-IFTTT (If this then that): notifies inverter faults, inverter switching between battery/grid and can also notify at specific SOC low and high setpoints. I have setup my IFTTT to send messages to Telegram. Can also send to email.

 

Hope this gives some ideas for you guys out there doing their own inverter interface controller / software.

Screenshot_2020-05-29-07-00-10-558_cc.blynk.thumb.jpg.f71f1c10161e3817c453a250996a8049.jpggrafana2.thumb.JPG.763f64dd100e44594aad199f0c8967ce.JPGtelegram.JPG.cb178d769fbee9ebf0a0597c3f75a07c.JPG

  • 3 weeks later...
  • 1 month later...

JaquesVDM, dis nou 'n Windgat projek!

How do you connect the ESP8266 with the inverter? I have read somewhere that the inverter's voltages on the RS232 pins might be too high for the ESP8266

  • Author

Hi Windgat. Thanks. Configured esp8266 for two serial ports: one standard and one using software serial on the other two pins. I first used Max3232 level shifters to convert from ttl to rs232 , but changed to a normal discrete transistor level shifter after having endless issues with that chips. So for your question: yes, the voltages on the inverter is too high and must be converted. 

Just an update on the software: have changed the logging from Google sheets to thingspeak now - gives more free memory. Some nice apps for thingspeak on Playstore and can also configure "reacts" on thingspeak to notify me of battery levels, inverter mode etc. 

  • Author

Hi Pierre. At the moment it is so customized for the system I have (fixed number of pylontechs / inverter / gauge ranges), that it would not suite everyone. The plan is to have it "universal" with configuring it to the system you have. I also do have a slight problem with it freezing / rebooting from time to time. Once that is sorted I can make it available. The idea at first was to give others (that know some programming) ideas as to what can be done.

  • 2 months later...

Hi @JacquesVDM, thank you for the clarification. I'm interested in developing something similar for my setup (pylontechs + axpert parallel) and I'm familiar with reading data from these devices. Once you have something you are willing and happy to share please feel free to do so 🙂

  • 2 months later...
  • 2 months later...

Dear Jacques,

would you mind sharing your source? I am working on a somewhat similar project but switched to the ESP32. Instead of RS232 I am using the CAN-bus to interface with the Pylontech (the CAN bus protocol code I wrote also works for BYD and LG RESU batteries) and interface with MQTT which is connected to iobroker.  Are you using the async-webserver library?

Kind Regards,

dk

PS: I also sent you a PM

  • 1 month later...
On 2020/05/30 at 4:36 PM, JacquesVDM said:

Just an update on my "Lockdown project":

 

- Interfaces to 'Blynk': Can see the values and also change settings using the Blynk app on my phone.

-Google sheets: records data to google sheets. Interval is adjustable. To get a nice graph: use Grafana. I have installed a local copy of Grafana with the google sheets plugin on my laptop. It just pulls the data in seamlessly.  

-IFTTT (If this then that): notifies inverter faults, inverter switching between battery/grid and can also notify at specific SOC low and high setpoints. I have setup my IFTTT to send messages to Telegram. Can also send to email.

 

Hope this gives some ideas for you guys out there doing their own inverter interface controller / software.

Screenshot_2020-05-29-07-00-10-558_cc.blynk.thumb.jpg.f71f1c10161e3817c453a250996a8049.jpggrafana2.thumb.JPG.763f64dd100e44594aad199f0c8967ce.JPGtelegram.JPG.cb178d769fbee9ebf0a0597c3f75a07c.JPG

You had a productive Lock Down!!!

How can i get this on a raspberry pi

2 hours ago, Lewis said:

You had a productive Lock Down!!!

How can i get this on a raspberry pi

Note JacquesVDM started the thread by saying it's not for a raspberry pi:

On 2020/04/25 at 2:49 PM, JacquesVDM said:

It does not run on a Pi, but on an ESP8266.

ESP8266 is much cheaper than a Pi, but probably need a bit more skills to get working.

The closest thing to this for a Raspberry Pi is probably solar assistant: https://solar-assistant.io

  • 1 month later...
On 2021/05/25 at 5:40 PM, Denarius said:

Note JacquesVDM started the thread by saying it's not for a raspberry pi:

ESP8266 is much cheaper than a Pi, but probably need a bit more skills to get working.

The closest thing to this for a Raspberry Pi is probably solar assistant: https://solar-assistant.io

Thank you. I am now running solar assistant. It's brilliant.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.