Very useful, thank you.
Posts by km99
-
-
Thank you! I upgraded to LibreElec 12.1 and my fan control script stopped working:
# ./fan_ctrl.py
Traceback (most recent call last):
File "/storage/scripts/./fan_ctrl.py", line 7, in <module>
import RPi.GPIO as GPIO
ModuleNotFoundError: No module named 'RPi'I downloaded and installed your virtual-rpi-legacy-tools.zip package, changed the line in my script from:
sys.path.append('/storage/.kodi/addons/virtual.rpi-tools/lib')
to
sys.path.append('/storage/.kodi/addons/virtual.rpi-legacy-tools/lib')
And hey presto, all working again!
# ./fan_ctrl.py
Initiating... fanSpeed:100%
fanSpeed:95% / Temp:69.1degC
fanSpeed:90% / Temp:63.3degC
fanSpeed:80% / Temp:59.4degC
fanSpeed:70% / Temp:56.0degCBrilliant! Thanks again!
-
Thank you for taking the time to reply. The initial setup was a little tricky to get my head round, but with your encouragement, I've done some more digging and can now see what's going on.
You are, of course, correct, and I was being distracted, by, among other things, the wizard.
This looks to be a great addon. Thank you all the hard work that went into producing it.
Just to follow up. I have it all working, including the DNS up and down scripts referenced here: https://github.com/Zomboided/service.vpn.manager/issues/282 but using the --up and --down options just in the opvn files that need them rather than in the addon settings.
Works a treat!
-
Code
Display MoreLibreELEC (official): 10.0.3 (RPi4.arm) # mc -V GNU Midnight Commander 4.8.28 Built with GLib 2.67.2 Built with ncurses 6.1 Built with libssh2 1.10.0 With builtin Editor With subshell support as default With support for background operations With mouse support on xterm With internationalization support With multiple codepages support Virtual File Systems: cpiofs, tarfs, sfs, extfs, ftpfs, sftpfs, fish Data types: char: 8; int: 32; long: 32; void *: 32; size_t: 32; off_t: 64;
Any command entered at the prompt at the bottom of the mc screen goes to the subshell view and locks up. Is this a known problem? Starting with the subshell disabled (mc -u) works as expected, obviously without the subshell.
-
VPN Mgr will just call openvpn with the ovpn files you pass it. If you use the wizard, it'll make some minor modifications to accept the password from the Kodi GUI environment. You control everything else in those files, and indeed can see in the log what was used to start openvpn.
Thank you for taking the time to reply. The initial setup was a little tricky to get my head round, but with your encouragement, I've done some more digging and can now see what's going on.
You are, of course, correct, and I was being distracted, by, among other things, the wizard.
This looks to be a great addon. Thank you all the hard work that went into producing it.
-
Hi,
I'd like to set up VPN to my private server, and also have connections available to Witopia.
I have the private server working as it should, using User Defined connections.
I thought that if I added more User Defined ovpn config files with suitable Witopia server settings, that would suffice, but nothing I do stops the standard Witopia template.txt settings being applied. My Witopia ovpn settings are being ignored, save for the remote server lines.
Am I barking up the wrong tree here?