question

osaether avatar image

Venus OS driver for the Morningstar Tristar MPPT solar charger

Many of you already know about my driver for the Morningstar Tristar MPPT controller but thought I should post it here now that we have a mods space :-)

Ready to install binary under releases:
https://github.com/osaether/dbus-tsmppt

Venus OS
2 |3000

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

4 Answers
Paul B avatar image
Paul B answered ·

Thanks for the info

2 |3000

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

ivo12s avatar image
ivo12s answered ·

Hallo everybody,

I had been communication with Ole to implement/install the driver for Morningstar into Raspberry Pi4 actually. Installation works correctly and I have my Morningstar Tristar MPPT-60 as the part of my Victron VRM visualisation. BUT...

msts-ivo.png

I have two of MSTS MPPT-60 as chargers in my FVE.

Do you know, how to do the implementation of driver for TWO chargers into Venus/VRM ?

Thanks in advance.


msts-ivo.png (42.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.

Meanwhile I have to add, the separate "calculated" DC-System represent second MPPT-60 with home DC consumption together, so from general overview of the system it is quite correct status. On the other hand in case VRM accept several power equipments, than it should/would exist some solution for two MPPT chargers anyway.

ivo12s avatar image
ivo12s answered ·

Please, does anybody know about the possibility to manage installation of TWO chargers with this driver? Just let me know the expected steps as defined in https://github.com/osaether/dbus-tsmppt/blob/master/README.md and I do my testing task with Raspberry.

THANK YOU !!

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.

I also use this driver but with single controller. I don't think it will work with second instance in the current version. Try to contact with author.

Current version does not support dbus instanсe ID. Оne tsmppt process already is running (first controler), dbus instance com.victronenergy.solarcharger.tsmppt has been created.

I'm trying to run second tsmppt process for second controller -

/opt/victronenergy/dbus-tsmppt/dbus-tsmppt
INFO  dbus-tsmppt v1.17 started 
INFO  Built with Qt 4.8.7 running on 4.8.7 
INFO  Built with libmodbus 3.1.4 
INFO  Built on Apr 19 2021 at 20:04:14 
INFO  Wait for local settings on DBus( "system" )... 
INFO  Waiting... 
INFO  Local settings found 
INFO  Port number changed 
INFO  IP Address changed 
INFO  Logging interval changed 
INFO  Registering service "com.victronenergy.solarcharger.tsmppt" 
FATAL RegisterService failed

So, it could not continue because copy of dbus instance com.victronenergy.solarcharger.tsmppt must not be createt. It could works in way of each dbus instance has unic ID. In this way for example -

com.victronenergy.solarcharger.tsmppt1
com.victronenergy.solarcharger.tsmppt2
.
.
com.victronenergy.solarcharger.tsmppN

But second tsmppt process still works -

root@raspberrypi2:~# ps |grep tsmppt
 4543 root      1604 S    supervise dbus-tsmppt
 4545 root      1748 S    multilog t s25000 n4 /var/log/dbus-tsmppt
 4546 root      8472 S    /opt/victronenergy/dbus-tsmppt/dbus-tsmppt <- original 
22488 root     13056 S    /opt/victronenergy/dbus-tsmppt/dbus-tsmppt <- second one
22555 root      2684 S    grep tsmppt

Probably not so many changes should be done in the code to allow more tsmppt process to work together.

ivo12s avatar image ivo12s mikhail-petukhov ·
Thank you for the anaylsis and test. I have been in contact with author @osaether already, so we will see...
ivo12s avatar image ivo12s mikhail-petukhov ·

Do you tested the driver with Venus OS v2.80-v2.82? I did and unfortunatelly it does not work for me.

ivo12s avatar image
ivo12s answered ·

For the users of Morningstar MPPT solar chargers - Ole already updated the driver. It actually works correctly with version OS Venus v2.84. https://github.com/osaether/dbus-tsmppt/issues/6

After you have downloaded the file unpack it:

tar xzf dbus-tsmppt-rpi2.tar.gz and install the two files:

opkg install libmodbus5_3.1.4-r0_cortexa7hf-neon-vfpv4.ipk

opkg install dbus-tsmppt_1.18-r0_cortexa7hf-neon-vfpv4.ipk

After that you should get a menu that says "Tristar MPPT-60" under settings in the remote console of Venus. Go in there and change the IP-address to that of your TS-MPPT.

2 |3000

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