question

stefanx avatar image
stefanx asked

3rd Party Connection to SmartSolar MPPT 75/15

I'd like to read realtime information from a SmartSolar MPPT 75/15 controller and integrate it with a home-grown monitoring system. Pretty much like VictronConnect, except that it wouldn't be from an App on a phone, it would typically be from a script periodically running on something like a Raspberry Pi with builtin Bluetooth LE. If anyone has some experience on this, would you be so kind as to point me in the right direction?

VictronConnectBluetoothsmart solar set-up help
2 |3000

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

2 Answers
mvader (Victron Energy) avatar image
mvader (Victron Energy) answered ·

Hi Stefan, welcome to community!

Reading it via bluetooth will be difficult: we have not made that protocol public.

With a vedirect-usb cable (or straight serial without usb) you do have various options:

- use one of the existing Python scripts; Karioja wrote this one: https://github.com/karioja/vedirect. And more here: https://www.victronenergy.com/live/open_source:start#other_victron_related_open_source_projects

- secondly you can run our Venus OS on a rpi; search google; I’m sure you’ll find the wiki page

- lastly you can even run some bits of Venus OS; see packages install.

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.

stekicar avatar image stekicar commented ·

Wouldn't be easier to have SmartSolar publish packet stream in hex format over bluetooth and we read UUID Service/Characteristic to get what we need? I am talking about read only data.

0 Likes 0 ·
mvader (Victron Energy) avatar image mvader (Victron Energy) ♦♦ stekicar commented ·

Hi, that could be a nice solution; I’ll keep it in mind.

For now though, I’n sorry but it what it is.

0 Likes 0 ·
aatasti avatar image aatasti commented ·

Hello mvader,

I'd like to use Karioja's Python script, but I cannot make it work.

Do I just need to copy this code into my Python IDE and it should run?

Do I need to do anything else?

Thanks in advance!

0 Likes 0 ·
mvader (Victron Energy) avatar image mvader (Victron Energy) ♦♦ aatasti commented ·

Hi @aatasti, I don't know. This is something you'll have to either find out yourself, or use the community for help.

I don't personally help troubleshooting VE.Direct read-out.

sorry and success!

0 Likes 0 ·
ossi avatar image
ossi answered ·

Hi

i would recommend using the VenusOS (as described above )on a Raspi and connecting it with a VictronDirect to USB cable in the first step.

Advantages:

You have a monitoring and Control system running that reads out the values and can even upload the data for free into VRM portal, for remote access.


Second steps if that is not specific enough:

Than if i you like to have specific values (not mean values in VRM Portal), run the integrated Modbus TCP Server on the VenusOS/Raspi.

Read out each value with third party script from the Modbus Server and store them with a third party script.


BR

Oliver

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

VictronConnect Manual

Download for iOS / Android / Mac / Windows

Additional resources still need to be added for this topic

VictronConnect bluetooth troubleshooting guide