question

mvader (Victron Energy) avatar image

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
10 |3000 characters needed characters left characters exceeded

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

12 Answers
greg-1 avatar image
greg-1 answered ·

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

2 comments Share
10 |3000 characters needed characters left characters exceeded

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

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

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

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

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 Share
10 |3000 characters needed characters left characters exceeded

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

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

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

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.

Brendan Butler avatar image
Brendan Butler answered ·

Appears to work perfectly on Fedora 32.

Share
10 |3000 characters needed characters left characters exceeded

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.


Share
10 |3000 characters needed characters left characters exceeded

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

davemc avatar image
davemc 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.


Share
10 |3000 characters needed characters left characters exceeded

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.

1 comment Share
10 |3000 characters needed characters left characters exceeded

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

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'! ;-)

Share
10 |3000 characters needed characters left characters exceeded

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

natebert avatar image
natebert answered ·

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

1 comment Share
10 |3000 characters needed characters left characters exceeded

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

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

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 Share
10 |3000 characters needed characters left characters exceeded

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

That is bashism, you should avoid the ==.

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

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

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 Share
10 |3000 characters needed characters left characters exceeded

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

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

neoneddy avatar image
neoneddy answered ·

Can we get some macOS love?

3 comments Share
10 |3000 characters needed characters left characters exceeded

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 Evandro Martinez Ribeiro ·

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

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.

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.

Share
10 |3000 characters needed characters left characters exceeded

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