question

biozor avatar image
biozor asked

SmartSolar settings for VE.direct RX TX communications ?

Hi Team!

Is configuration needed on SmartSolar MPPT (bluetooth UI) to activate RX/TX communication ? I use Arduino/ESP8266 to read from TX pin of VE.Direct connector but it seems that my MPPT 75/15 charger switch off the LOAD output when I plug. I'm looking for settings in bluetooth UI for RX/TX protocol mode but I don't find... I see that TX or RX can be used as remote on/off switch.

Is there a way to activate serial communication ? I saw TX pin can send data every seconds mode, no ? on MPPT 75/15 ?

Thank you !

VE.Directsmart solar set-up helpmonitoringarduino
2 |3000

Up to 8 attachments (including images) can be used with a maximum of 190.8 MiB each and 286.6 MiB total.

12 Answers
biozor avatar image
biozor answered ·

Ooooh sorry! RX an TX pins was inverted... well it must be inverted, but I've not made cross link... It works now! TX pin must be set to "normal communication" in bluetooth settings. I have WiFi values reading of my SmartSolar MPPT 75/15 charger now with ESP8266-01.

I should share my work (electronics and code) soon...

Bye!


2 |3000

Up to 8 attachments (including images) can be used with a maximum of 190.8 MiB each and 286.6 MiB total.

biozor avatar image
biozor answered ·

Here is board!

note: R1+R2 is 5V from MPPT to 3.3V to ESP01 regulator. ESP01 works only with 3.3V.

Updated : The LD1117V33 voltage regulator (15V max to 3.3V) is replaced by a DC-DC step down chip because it was to hot (even with heat dissipator) and regulated voltage failed! It's more stable now.


3 comments
2 |3000

Up to 8 attachments (including images) can be used with a maximum of 190.8 MiB each and 286.6 MiB total.

biozor avatar image
biozor answered ·

Here is the new HTML view of VE.direct status (on ESP01s now). It's SVG graphics from ESP01S embeded web server. I changed ESP01 to ESP01S (more stable).


mpptweb.png (22.0 KiB)
7 comments
2 |3000

Up to 8 attachments (including images) can be used with a maximum of 190.8 MiB each and 286.6 MiB total.

juan3211 avatar image
juan3211 answered ·

Hi, could your share your source code? Thanks.

2 |3000

Up to 8 attachments (including images) can be used with a maximum of 190.8 MiB each and 286.6 MiB total.

launacorp avatar image
launacorp answered ·

Nice work!

Long time I searched for something that run on a raspberry pi. Best case with Grafana for long time use and be able to see as much statistics as I want. I am not that "programmer nerd" as u are, but I found a relative simple soloution on -pls don't kill me, if I Infringement to forum rules - "solaranzeige.de"

It is possibly an alternative to your soloution.


1.png (239.0 KiB)
2.png (110.6 KiB)
2 |3000

Up to 8 attachments (including images) can be used with a maximum of 190.8 MiB each and 286.6 MiB total.

biozor avatar image
biozor answered ·

Hi! Sorry, I'm late!

You will find source code here :
http://www.matthieulaurent.fr/mppt/esp8266.ve.direct3.zip

I update the read bytes process with the use of VeDirectFrameHandler. You can show SVG screen or raw text ("/raw.html"). The ESP01s resets every hour. The builtin LED blink during WiFi connection process.

For electronics parts I changed the 3.3V voltage regulator with a more stable DC-DC step down chip. It's still in progress...

4 comments
2 |3000

Up to 8 attachments (including images) can be used with a maximum of 190.8 MiB each and 286.6 MiB total.

biozor avatar image
biozor answered ·

Hi @launacorp !

It's look great. For now this is only live view of MPPT status with low power consumption (200ma max when WiFi is working). Energy history could be stored on another device (local Raspberry Pi or online server). ESP01, ESP8266 or NodeMCU devices have lot of memory which can be used to store data (maybe several days)... For now I use port forwarding capability of my Internet home router to connect to the ESP01 and view MPPT status from outside.

Maybe I will try HEX mode read/write of VE.direct protocol with the next version...

2 |3000

Up to 8 attachments (including images) can be used with a maximum of 190.8 MiB each and 286.6 MiB total.

juan3211 avatar image
juan3211 answered ·

Great, I managed also to get data from TX pin. Now I am thinking also in using HEX communication for, as an example, disabled or enabled the charger or the load from my home. (my system is in other city) when I want.

Great!

2 |3000

Up to 8 attachments (including images) can be used with a maximum of 190.8 MiB each and 286.6 MiB total.

infotri avatar image
infotri answered ·

Hello, is this working on ESP32?

6 comments
2 |3000

Up to 8 attachments (including images) can be used with a maximum of 190.8 MiB each and 286.6 MiB total.

biozor avatar image
biozor answered ·

Hi,

I updated source code for HTML viewer of SmartSolar controler : esp8266.ve.direct3.zip

It uses XMLHttpRequest() for automatic refresh of the view every 2.5 seconds and added a right column with max PV power for today and yesterday.

image1.png


image1.png (43.5 KiB)
1 comment
2 |3000

Up to 8 attachments (including images) can be used with a maximum of 190.8 MiB each and 286.6 MiB total.

muhkuhve avatar image
muhkuhve answered ·

May I ask if anonye was also able to WRITE / SEND command TO the MPPT and not just read values? I need to shut off both the CHARGER and the LOAD Output for what I plan on doing..

2 |3000

Up to 8 attachments (including images) can be used with a maximum of 190.8 MiB each and 286.6 MiB total.

biozor avatar image
biozor answered ·

Hi @muhkuhve

I have never tried to send commands to the SmartSolar controller. It is entirely possible to send commands but the method of receiving data changes. There are no longer any frames sent every second. You have to ask the controller to receive the specified information or to change output behaviour. I've never tried switching modes yet.

1 comment
2 |3000

Up to 8 attachments (including images) can be used with a maximum of 190.8 MiB each and 286.6 MiB total.

Related Resources

Additional resources still need to be added for this topic

VE.Direct protocol FAQ