Go to advanced search

by Lulaso574
Sun May 24, 2020 6:41 am
Forum: Other projects
Topic: Will attaching this power bank to my Raspberry Pi short it?
Replies: 6
Views: 338

Re: Will attaching this power bank to my Raspberry Pi short it?

The label states it is a USB PD compliant device, so it should default to 5v, 3A output and will not output more unless negotiated (which the Pi will not / cannot do) It should work fine, but watch the cable you use, it also has to be 3A rated for you to get the full power out of it, and most aren'...
by Lulaso574
Wed Apr 29, 2020 9:23 am
Forum: Python
Topic: Uninstall Python3 to compile new version from source?
Replies: 3
Views: 183

Uninstall Python3 to compile new version from source?

Hello, I want to uninstall Python3 but I am seriously lacking the knowledge of Linux commands. I also installed a lot of plugins from pip3, will I need to remove those too? What commands will I have to use? The reason to do all this is that I want to remove Python 3.7.3 that came with Raspian and wa...
by Lulaso574
Mon Apr 20, 2020 8:12 am
Forum: Advanced users
Topic: Change WiFi network using commands, without having to reboot the device?
Replies: 11
Views: 324

Re: Change WiFi network using commands, without having to reboot the device?

Is there a way I can change my current WiFi network to a different one via command line / code and without having to reboot my device? You can restart the wireless networking service using wpa_cli -i wlan0 reconfigure See https://www.raspberrypi.org/documentation/configuration/wireless/wireless-cli...
by Lulaso574
Sun Apr 19, 2020 2:54 pm
Forum: Advanced users
Topic: Change WiFi network using commands, without having to reboot the device?
Replies: 11
Views: 324

Re: Change WiFi network using commands, without having to reboot the device?

Sounds like you might have NetworkManager running, at which point you're probably better off managing your interfaces by that (and nmcli or the like from the commandline). At this point I'm done; I've never used it, and cannot help further. Thanks. I hope someone else will be able to shed light upo...
by Lulaso574
Sun Apr 19, 2020 1:50 pm
Forum: Troubleshooting
Topic: wpa_supplicant.conf not saving, and cant connect SSID wifi
Replies: 8
Views: 998

Re: wpa_supplicant.conf not saving, and cant connect SSID wifi

OMG I am having the exact same issue. After every few seconds the wpa_supplicant.conf is replaced by a previous version of the file that is backed up somewhere.

How do I find out where this backup file is?
by Lulaso574
Sun Apr 19, 2020 1:40 pm
Forum: Advanced users
Topic: Change WiFi network using commands, without having to reboot the device?
Replies: 11
Views: 324

Re: Change WiFi network using commands, without having to reboot the device?

I have no idea. I've never used the GUI to change WiFi settings. Something is off. Even if I do a "sudo pkill wpa_supplicant", the wpa_supplicant stops but the changes I made to the wpa_supplicant.conf file are discarded and the original file is replaced into it. Why is this happening? Also, once I...
by Lulaso574
Sat Apr 18, 2020 2:29 pm
Forum: Advanced users
Topic: Change WiFi network using commands, without having to reboot the device?
Replies: 11
Views: 324

Re: Change WiFi network using commands, without having to reboot the device?

Kill and restart wpa_supplicant. Hey man, thanks for the tip. Using Python, I am able to edit the file. I removed all the saved networks from the file and saved it. But if I manually turn off WiFi and start it again, the file is regenerated. Why is this happening? I even tried manually editing via ...
by Lulaso574
Wed Apr 15, 2020 8:15 am
Forum: Advanced users
Topic: Change WiFi network using commands, without having to reboot the device?
Replies: 11
Views: 324

Change WiFi network using commands, without having to reboot the device?

Hello,

Is there a way I can change my current WiFi network to a different one via command line / code and without having to reboot my device?
by Lulaso574
Wed Mar 25, 2020 10:44 pm
Forum: Other projects
Topic: Will attaching this power bank to my Raspberry Pi short it?
Replies: 6
Views: 338

Re: Will attaching this power bank to my Raspberry Pi short it?

The labelling on the powerbank appears to say that the USB-A socket can provide 5, 9 or 12 volts. Does it have a switch or some method of selecting which voltage? It is imperative that neither 9 nor 12 volts is applied to a RPi. No, it does not have any method of voltage selection, that is done aut...
by Lulaso574
Wed Mar 25, 2020 2:31 pm
Forum: Other projects
Topic: Will attaching this power bank to my Raspberry Pi short it?
Replies: 6
Views: 338

Will attaching this power bank to my Raspberry Pi short it?

Hello, On the Rasperry Pi's official power supply I can see an output of 5.1V and 3.0A. Now, I have a power bank which has a output of 5V and 3A. Link to the image of the battery: https://images.fonearena.com/blog/wp-content/uploads/2019/11/Stuffcool-10000mAh-Type-C-18W-PD-Power-Bank_fonearena-4-102...
by Lulaso574
Mon Mar 16, 2020 4:13 am
Forum: General programming discussion
Topic: Best language for GUI design for Raspberry?
Replies: 27
Views: 1833

Re: Best language for GUI design for Raspberry?

So you are OK with Python now? Is this the person who wrote in the initial post in this thread: I can use anything other than Python. Absolutely anything. Too much going on at the moment to play mind-games. Adding this user to my already extensive forum ignore list. I apologise if you think I have ...
by Lulaso574
Sun Mar 15, 2020 1:08 pm
Forum: General programming discussion
Topic: Best language for GUI design for Raspberry?
Replies: 27
Views: 1833

Re: Best language for GUI design for Raspberry?

Hello everyone in this thread. Thank you for all your inputs but I found the best option for me. PySide2. It's basically a port of Qt but with an LGPL (GNU Lesser General Public License). This will allows me to release the software commercially without having to release the source code. I hope I am ...
by Lulaso574
Sun Mar 15, 2020 1:04 pm
Forum: Raspberry Pi OS
Topic: Raspbian buster bluetooth failure after 2019.09.16 update
Replies: 66
Views: 9454

Re: Raspbian buster bluetooth failure after 2019.09.16 update

My guess would be that the phone doesn't see any service it knows how to connect to, so it drops the connection, but we can remove some of the guess work by recording the traffic between the Pi and it's BT modem: $ sudo btmon -w capture.bts This command will log all traffic to the file I've called ...
by Lulaso574
Fri Mar 13, 2020 5:49 pm
Forum: General programming discussion
Topic: Best language for GUI design for Raspberry?
Replies: 27
Views: 1833

Re: Best language for GUI design for Raspberry?

Actually, now that I look at it, pyQT is perfect for me.

But bloody hell, the price of that commercial license.
by Lulaso574
Fri Mar 13, 2020 5:41 pm
Forum: General programming discussion
Topic: Best language for GUI design for Raspberry?
Replies: 27
Views: 1833

Re: Best language for GUI design for Raspberry?

Have you looked at PyQt? On re-reading the initial post in the thread it seems there is a strong desire NOT to use Python... [ ... ] Which programming language is the best for GUI designing on Raspberry Pi? I was doing it in Python (tkinter) but damn it's time consuming. Edit: I can use anything ot...
by Lulaso574
Fri Mar 13, 2020 5:38 pm
Forum: General programming discussion
Topic: Best language for GUI design for Raspberry?
Replies: 27
Views: 1833

Re: Best language for GUI design for Raspberry?

tpyo kingg wrote:
Fri Mar 13, 2020 5:28 pm
Have you looked at PyQt?

Requires a commercial license for distribution. :(
Which costs $550. Quite a lot.
by Lulaso574
Fri Mar 13, 2020 5:26 pm
Forum: General programming discussion
Topic: Best language for GUI design for Raspberry?
Replies: 27
Views: 1833

Re: Best language for GUI design for Linux?

Have a look at guizero Something not in Python perhaps? Hello, I want to design a small application with a not so complex GUI. Only thing is that it will be connected to a database. Which programming language is the best for GUI designing on Raspberry Pi? I was doing it in Python (tkinter) but damn...
by Lulaso574
Fri Mar 13, 2020 4:34 pm
Forum: General programming discussion
Topic: Best language for GUI design for Raspberry?
Replies: 27
Views: 1833

Best language for GUI design for Raspberry?

Hello, I want to design a small application with a not so complex GUI. Only thing is that it will be connected to a database. Which programming language is the best for GUI designing on Raspberry Pi? I was doing it in Python (tkinter) but damn it's time consuming. Edit: I can use anything other than...
by Lulaso574
Wed Mar 11, 2020 7:46 am
Forum: Python
Topic: Automatic Touch Screen Keyboard for my Python GUI?
Replies: 2
Views: 189

Re: Automatic Touch Screen Keyboard for my Python GUI?

Which library do you use for the keyboard? Do you need full keyboard all the time? Right now, I am using nothing. I have connected a keyboard and a mouse to the Raspberry Pi and input my data on the software through it. I am really new to the world of Python GUI design. I don't know if I should use...
by Lulaso574
Wed Mar 11, 2020 6:32 am
Forum: Python
Topic: Automatic Touch Screen Keyboard for my Python GUI?
Replies: 2
Views: 189

Automatic Touch Screen Keyboard for my Python GUI?

Hello, I am designing a GUI application in Python using Tkinter. I can do the designing part and the backend part very well. And I will give my client the Raspberry Pi with touch screen along with the software I have designed. (The Pi is actually connected to a PLC which is connected to more hardwar...
by Lulaso574
Mon Mar 09, 2020 9:19 am
Forum: General programming discussion
Topic: [NEWBIE] GUI design
Replies: 6
Views: 466

Re: [NEWBIE] GUI design

1) Tk/Tcl : called tkinter in Python. Is supplied with the system. 2) QT, requires additional packages 3) GTK 2, requires additional packages 4) GTK 3 usually built using python GOBJ, requires additional packages. You'll find all the required packages in the Raspbian repository. 4) GTK 3 usually bu...
by Lulaso574
Mon Mar 09, 2020 6:54 am
Forum: General programming discussion
Topic: [NEWBIE] GUI design
Replies: 6
Views: 466

Re: [NEWBIE] GUI design

you can continue in python using tkhinter or zenity, both are already installed. zenity example: zenity --list --text="My Script py" --checklist --column="*" --column="your choices" "script-1" "script 1" "script-2" "script 2" "script-3" "script 3" just going to point you to a googled example for py...
by Lulaso574
Mon Mar 09, 2020 4:15 am
Forum: General programming discussion
Topic: [NEWBIE] GUI design
Replies: 6
Views: 466

[NEWBIE] GUI design

Hello,

I am very new to the world of Linux.

Right now I am running a Python script on the Raspberry Pi 4 which accepts 3 parameters.

Now, I want to design a GUI for the same. Like 3 text boxes for those 3 parameters and 1 button to start the script.


How and what can this be achieved in?
by Lulaso574
Sun Mar 08, 2020 5:06 am
Forum: Raspberry Pi OS
Topic: Raspbian buster bluetooth failure after 2019.09.16 update
Replies: 66
Views: 9454

Re: Raspbian buster bluetooth failure after 2019.09.16 update

With an Android phone, you could use Bluetooth's Serial Port Profile to exchange serial data, however, you'll need to add it manually to your Pi (instructions exist on this forum.) IOS doesn't support SPP, so you're out of luck on iPhones. It's a good situation to use BLE, but might be a steeper le...
by Lulaso574
Sat Mar 07, 2020 3:04 pm
Forum: Raspberry Pi OS
Topic: Raspbian buster bluetooth failure after 2019.09.16 update
Replies: 66
Views: 9454

Re: Raspbian buster bluetooth failure after 2019.09.16 update

Thanks. And what services do you want once the phone is connected, i.e. what are you trying to do? I actually wanted to create an Android and iPhone app that will connect to the Raspberry Pi using Bluetooth. I will pass three integers to the Pi, my Python script will capture those three integers on...

Go to advanced search