question

mvader (Victron Energy) avatar image
mvader (Victron Energy) asked

VictronConnect for Linux - download & instructions

Hello all,

Some good news tonight, we're releasing VictronConnect for Linux on x86 and x64 systems.

Details below, enjoy!

Best regards, Matthijs


Not officially supported

To start straight off with the limitations: unfortunately we do not officially support it. Its provided here as is, and we tested it to work on a few systems. But we can't help neither experienced nor inexperienced users with making it work on their Linux systems. And also I can't promise to be able to maintain our usual fast response to fixing bugs in case there are linux-specific bugs or limitations.

If there are issues, I'd expect them on the Bluetooth Connection side, and maybe some rendering issues; as well as other areas where its platform specific. Its built from the same source code as the Apple, Android and Windows versions of VictronConnect: so most of it will work just the same as there.


Where to download?

Here:

https://www.victronenergy.com/support-and-downloads/software#victronconnect-app



We tested it on these distributions:

  • Ubuntu LTS (16.04, 18,04)
  • Mint Cinnamon (3)
  • Debian (10.2)
  • OpenSuse Leap (15.1)
  • and read through comments and answers below to learn about experiences on other distros


Installation instructions:

  • After downloading the AppImage file, the execute bit must be set (chmod +x *.AppImage). On first program execution the application will be integrated into the menu/launcher.
  • On some systems a session restart is needed (sign off/sign on) to reload the menu/launcher.
  • The shortcut is installed into $HOME/.local/share/applications/VictronConnect.desktop. In case the AppImage file is moved from the directory where it was executed the first time the shortcut must be deleted or manually edited to update is with the new location.
  • To connect to bluetooth devices the bluetooth controller must be activated.
    - Using GUI settings panel provided by the distribution, or
    - using command line by executing "systemctl start bluetooth"
  • Mutimedia uses Gstreamer multimedia framework (minimum 0.10.24, or 1.x), and also the GStreamer following plugins: 'good', 'ugly', 'bad', ffmpeg (0.10), and libav (1.x)
  • To work with USB devices (VE.Direct USB cable, MK3-USB cable) the user running VictronConnect must be a member of the dialup user group.


Bluetooth usage instructions

Open VictronConnect press scan and connect to one of the found devices. If after a 20 seconds you don't see a pairing dialog close VictronConnect and open a terminal.

In the terminal and run the bluetoothctl command line tool, type "default-agent" without the quotes and press enter. Leave the terminal visible on one side of the screen and open VictronConnect, press scan and connect to one of the found devices, after a few seconds the bluetoothctl tool will ask for the pin code type it in and press enter.



VictronConnectlinux
2 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.

frying-ule avatar image frying-ule commented ·

Hello, for me the app doesn't want to find my victron charge controller via usb at all arch distros i tested. It worked with every ubuntu, but with the archs I just can't get it to work, it doesn't want to find my blue solar. This gstreamer is installed, victron is registered in the dialup group and the gstreamer "bad" plugin cannot be installed, and the plugin packages in the yay are orphaned. in addition, were they not even necessary in Ubuntu distros or were they already pre-installed?

Is it because of that or does someone know why it doesn't work? Works great in most ubuntu distros for me but i have to use an arch because problems with brandnew hardware.

I do not know how to continue.

Best regards to you! and thank you for reading this.

1 Like 1 ·
captainmagnus avatar image captainmagnus commented ·

Any chance of making the Linux version available as a flatpak?

https://docs.flatpak.org/en/latest/getting-started.html

0 Likes 0 ·
23 Answers
greg-1 avatar image
greg-1 answered ·

Great! Any chances for an ARM (Raspberry) version?

5 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.

mvader (Victron Energy) avatar image mvader (Victron Energy) ♦♦ commented ·

Hi Greg. Yes - some day, maybe :-). But have to keep it vague, we’re not really prioritising that.

0 Likes 0 ·
mike-g avatar image mike-g mvader (Victron Energy) ♦♦ commented ·

Here's a vote for RPi. It would be extremely useful for remote access to the expanding line of Bluetooth devices.

0 Likes 0 ·
dennis-hedberg avatar image dennis-hedberg mvader (Victron Energy) ♦♦ commented ·

Hi!

Any news regarding this? I vote for it too! :)

0 Likes 0 ·
mvader (Victron Energy) avatar image mvader (Victron Energy) ♦♦ dennis-hedberg commented ·

Not anytime soon I’m afraid. In the end, relatively, the amount of people using this will be low; and it means we have to make sure it remains working: will slow us down.

Sorry.


note that you can do quite a lot remotely (as long as the connections are wired, not bluetooth, through venus os)

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

I have an inverter/charger 24 | 5000 | 120 - 100 | 230/240V and a MK3-USB Interface. I want to integrate the Inverter in my modbus environment, based on a raspberry pi 4b software written by myself in Python. Other systems are already integrated and I am familiar with Modbus. I am looking for the USB driver for the MK3-USB interface. I want to use the Interface only for reading from and not writing too the inverter. Thanks Albert


0 Likes 0 ·
wkirby avatar image
wkirby answered ·

Nice work!
I have quickly spun up a Ubuntu 18.04 VM to test this, it works fine so far.
No Bluetooth on a remote VM of course, I will try this another time, but it can see my Venus device if I change VM to the same subnet.

2 |3000

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

neoneddy avatar image
neoneddy answered ·

Can we get some macOS love?

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.

Evandro Martinez Ribeiro avatar image Evandro Martinez Ribeiro commented ·

Hi @neoneddy , macOS is officially supported. see https://www.victronenergy.com/live/victronconnect:start#macos_x

0 Likes 0 ·
neoneddy avatar image neoneddy Evandro Martinez Ribeiro commented ·

Sorry, I was thinking VE Configure . That's the one I really want. With Mojave I can't run it in Wine anymore.

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

VEConfigure will never become native for MacOS.

But VictronConnect is, and can already be used for basic configuration of our inverter/chargers. See VictronConnect manual for details. In the coming time, you can expect that functionality to increase.

0 Likes 0 ·
koen-werniers avatar image
koen-werniers answered ·

Great!
The software works on openSUSE Tumbleweed.
But i had to open konsole for the pincodes.
(bluetoothctl command line tool, type "default-agent" ........)

Thx

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.

mvader (Victron Energy) avatar image mvader (Victron Energy) ♦♦ commented ·

Hi Koen, yes thats necessary for some distros, see instructions above.

0 Likes 0 ·
Matthew avatar image
Matthew answered ·

@mvader (Victron Energy Staff) I've just tested this on Slackware 14.2 and get the following error:

bash-4.3$ ./VictronConnect-linux-x86_64-v5.19.AppImage 
/tmp/.mount_VictrokUZHZe/AppRun: line 23: [: argument expected
Aborted

I've fixed errors like this before... It's often due to something like this in the script:

[ $1 = ""]


which should really be

[ $1 == "" ]


Hope that's helpful... !

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.

jeroen avatar image jeroen ♦ commented ·

That is bashism, you should avoid the ==.

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

Hi @Matthew, thanks for you message; I've passed it on to the developer.

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

Hi again @Matthew, thanks again for reporting. The issue was fixed in the latest beta (v5.20beta6)

0 Likes 0 ·
natebert avatar image
natebert answered ·

No packages such as RPM for Fedora/RHEL?
Appimage it is...

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.

mvader (Victron Energy) avatar image mvader (Victron Energy) ♦♦ commented ·

indeed, AppImage only. As usual, just trust us that there is a good reason in doing so ;o) - I do the same!

Have a good Sunday, Matthijs

0 Likes 0 ·
lg-0 avatar image
lg-0 answered ·

I want to add one point of clarification that may help users running "Linux Mint 19.3 Cinnamon" (Cinnamon 4.4.8 / kernel 5.3.0-28-generic).

I added the "dialup" group, as recommended, but it didn't work for me - I couldn't see my MPPT controllers (even though I could see my CCGX & BVM-712). Instead I used the, already existing, "dialout" and everything started to work just fine. Keep in mind that you'll have to logout and log back in for the change to take effect.

Thanks Victron for showing some Linux love - Keep it comin'! ;-)

2 |3000

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

wkirby avatar image
wkirby answered ·

I have tried this on 20.04 LTS. No problems as far as I can tell.

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.

mvader (Victron Energy) avatar image mvader (Victron Energy) ♦♦ commented ·

Thanks! .

0 Likes 0 ·
lucode avatar image lucode commented ·

Works like a charm on Kubuntu 20.4 as well.
Note (MK3): the command for adding a user to dialup group is (dialup doesn't exists!):

sudo adduser $USER dialout

You need to logout and login to make it work after adding you to the group!

0 Likes 0 ·
tylershepard avatar image tylershepard commented ·

I am running 20.04 LTS using Ubuntu Mate. I can see the device and allows me to enter the PIN but it all will do is load and say connecting then go to loading but never does then back to connecting. Is there anything else I may need to do?

0 Likes 0 ·
David McNeill avatar image
David McNeill answered ·

Thanks @mvader for making the effort with Linux version. Much appreciated.

We are trying this with MPPT 100/20 on Kubuntu 18.04, and not successfully connecting. It does connect to an iPhone.

bluetoothd -v
              5.48                            

bluetoothctl can see the device, and it's not paired...

# bluetoothctl
[NEW] Controller 00:14:00:C5:8B:79 hostname [default]
[NEW] Device EA:C0:8C:9F:3D:FD SmartSolar HQ193029VTF
default-agent
Default agent request successful
[bluetooth]# info EA:C0:8C:9F:3D:FD
Device EA:C0:8C:9F:3D:FD (random)        
Name: SmartSolar HQ193029VTF        
Alias: SmartSolar HQ193029VTF        
Paired: no        
Trusted: yes        
Blocked: no        
Connected: no        
LegacyPairing: no        
ManufacturerData Key: 0x02e1        
ManufacturerData Value:  10 02 5f a0                                      .._.  


VictronConnect gui app can see the device, but double clicking on it times out after 20 seconds.

bluetoothctl shows...

Discovering: yes
Discovering: no
Discovering: yes
Discovering: no
RSSI -81dBm

But never shows a pin code prompt.

Wireshark on interface bluetooth0 shows

GATT Primary Service Declaration exchange for profile and handles, but nothing else. We're not sure tcpdump or wireshark are capturing all the packets on bluetooth0, even though promiscuous mode is selected.

Not sure how we can debug this further. Any pointers appreciated.


2 |3000

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

bradfordharley avatar image
bradfordharley answered ·

Very cool. I just installed it and got it running in a virtualbox ubuntu VM with a windows host. Good alternative to windows bluetooth. Not too many hoops either.


2 |3000

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

Brendan Butler avatar image
Brendan Butler answered ·

Appears to work perfectly on Fedora 32.

2 |3000

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

cricri avatar image
cricri answered ·

Hi, thanks for your hard work, we can't dl anything, Dropbox says "

"Error (404)

We can't find the page you're looking for. "


Is there any chance to have this appimage somewhere ?

2 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.

mvader (Victron Energy) avatar image mvader (Victron Energy) ♦♦ commented ·

Hi @Cricri, that was an old link, thank you for reporting. Fixed!

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

Thank you @mvader for your quick answer, my apologizes for not seeing downloads page before, all research hit this post. I will have a try with this now.

0 Likes 0 ·
paddy-bloomer avatar image
paddy-bloomer answered ·

not working for me on mint 17.3 cinnamon 32 bit computer says invalid encoding

2 |3000

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

josick-dufresne avatar image
josick-dufresne answered ·

Victron connect works well on manjaro ( arch ) linux with blue solar and smartsolar.
The local color control doesn't appear every time.
Thanks a lot for the work

2 |3000

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

ttt avatar image
ttt answered ·

Thank you for your instructions! I succeeded today to connect to my MPPT's:

(ubuntu 21.04/64-Bit/ gnome:3.38.5); I am very happy about the linux-version of the the VictronConnect app because I do not have a Windows-PC since some years anymore

https://community.victronenergy.com/questions/43667/victronconnect-for-linux-download-instructions.html


2 |3000

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

muelli avatar image
muelli answered ·

Not working under Linux Mint 20.1. Tried it on 2 systems:

System 1) Appimage starts, GUI shows up but instantly freezes. Has to be killed -9

System 2) Appimage starts, Gui shows up and hints can be clicked away. Victron device does show up but as soon as it is selected, core dumps.


Booted to Ubuntu 18.04.5, there everything works. Seems like this is built for older Kernels/Systems only.

2 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.

muddy1 avatar image muddy1 commented ·
It works on my Linux Mint 20 Cinnamon 4.6.7.

From memory when I installed it you needed to have the VE connection plugged in for it to work.


0 Likes 0 ·
jansen avatar image jansen commented ·
Same problem here on ArchLinux with v5.59 :/
0 Likes 0 ·
Brandon avatar image
Brandon answered ·

Hey guys,

I have downloaded the .AppImage file and attempted to set the execute bit but I am getting and error "chmod: cannot access 'VictronConnect-x86_64-v5.47.AppImage': No such file or directory".

I have attempted this using sudo aswel. I have also tried adding the file directory before the file name (not in screenshot). Anyone know what this could be?

Cheers!Screenshot from 2021-09-18 14-28-59.png


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.

seb71 avatar image seb71 commented ·

I have also tried adding the file directory before the file name (not in screenshot).

Try changing the working directory (from home directory to the one where the AppImage is) in the Linux terminal instead.

0 Likes 0 ·
Brandon avatar image Brandon seb71 commented ·
@Seb71 How do I do this?
0 Likes 0 ·
seb71 avatar image seb71 Brandon commented ·
Using the cd (change directory) command in the terminal.
0 Likes 0 ·
Brandon avatar image Brandon seb71 commented ·
Thanks @Seb71. I just found I could right click on the folder and click "Open in terminal". Then I was able to execute the chmod command.
0 Likes 0 ·
matt-ploszanski avatar image
matt-ploszanski answered ·

I am using an old ThinkPad with the Latest Mint and sadly the laptop doesn't see the solar controller (iPad and Android work perfectly). I have the app installed but can't login either - jumps to the website to authenticate me..but the app never does.


Any help would be appreciated.

2 |3000

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

grant avatar image
grant answered ·

I have Victron Connect running on Ubuntu 18 at a couple of remote sites. One tries to talk via bluetooth to a smart battery protect (still troubleshooting this one as it is so remote) and another to a smart shunt via VE Direct to USB cable (absolutely seamless thank you!).

It would be great if there was something in the software to download some history, the graph from the smart shunt can only provide a couple of hours

2 |3000

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

vinicio avatar image
vinicio answered ·

Hi, there is a version to install on a Raspberry pi4 with S.O. Rasbian OS? thank you

2 |3000

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

m93a avatar image
m93a answered ·

I tried to use the on Arch (Endeavour OS) but it showed me "No devices found". To get it working, I had to add the current user to the uucp group using the following command:

sudo usermod -a -G uucp $USER

And then restart my computer.


2 |3000

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

chainmaster avatar image
chainmaster answered ·

Hi thank you for Linux support! Can i use the victronconnect Linux appto configure a Multiplus esp. AC-input relay?

Im working on Linux and dont have any Windows devices

2 |3000

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

kivanov avatar image
kivanov answered ·

I downloaded and ran the VictronConnect-x86_64-v5.61.AppImage, it created the launch file. However nothing happens once I try to run the program either from the menu/launcher, nor from the terminal. No errors displayed, simply nothing.

Only the bellow output only if I prepend the command with sh -e

kivanov@lab:~/devel/VictronConnect
$ ./VictronConnect-x86_64-v5.61.AppImage
kivanov@lab:~/devel/VictronConnect
$ sh -e VictronConnect-x86_64-v5.61.AppImage
VictronConnect-x86_64-v5.61.AppImage: 1: VictronConnect-x86_64-v5.61.AppImage: �: not found
VictronConnect-x86_64-v5.61.AppImage: 2: VictronConnect-x86_64-v5.61.AppImage: }�P7pys�H��_f��h: not found
VictronConnect-x86_64-v5.61.AppImage: 1: VictronConnect-x86_64-v5.61.AppImage: �b�@@: not found
VictronConnect-x86_64-v5.61.AppImage: 1: VictronConnect-x86_64-v5.61.AppImage: ELFAI: not found

Any ideas?

2 |3000

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