Go to advanced search

by topguy
Thu Nov 21, 2019 10:05 pm
Forum: Beginners
Topic: running different services on the PI?
Replies: 2
Views: 45

Re: running different services on the PI?

Raspbian Buster would be my recommendation. run at least 2 different services ..... iobroker for home automation and Kadi.... Kodi is not really a "service" in my book, its an media-center application and will run in the foreground. Depending on what kind of codec is used in the media you consume Ko...
by topguy
Thu Nov 21, 2019 9:15 pm
Forum: Beginners
Topic: Execute program (Kodi) by web request
Replies: 2
Views: 53

Re: Execute program (Kodi) by web request

There is probably some ways to do that, but what are you actually trying to do, what is the problem you are trying to solve ?
by topguy
Thu Nov 21, 2019 12:21 pm
Forum: General discussion
Topic: USB RFID input/output
Replies: 3
Views: 81

Re: USB RFID input/output

Two tests: A: - boot the Pi without the reader connected.. - insert the device. - then run "dmesg" command and look at ( and post ) the last lines, it should show us how the kernel treats this device. B: - "sudo apt install evtest" - sudo evtest - choose the input device you think match your reader....
by topguy
Thu Nov 21, 2019 10:48 am
Forum: General discussion
Topic: USB RFID input/output
Replies: 3
Views: 81

Re: USB RFID input/output

Can you give us a link to what reader you have ?
Is there also a keyboard attached ?

If the device is not showing in lsusb it will not talk to the Pi, that is for sure.
by topguy
Wed Nov 20, 2019 3:06 pm
Forum: Raspbian
Topic: Files access on raspbian
Replies: 3
Views: 149

Re: Files access on raspbian

I added a print each time the SD card is being accessed How/Where did you do this ? And whe you say "accessed" do you mean both "read" and "write" ? How can I find which files are accessed and by which process/app? Have you checked out "lsof" command ? https://unix.stackexchange.com/questions/13776...
by topguy
Wed Nov 20, 2019 12:45 pm
Forum: C/C++
Topic: access dynamic multidimensional arrays like static arrays
Replies: 4
Views: 146

Re: access dynamic multidimensional arrays like static arrays

Arrays are just pointers to linear memory. Its the compiler that does this "x*X+y" for you based on how you defined the array.

This compiles at least..

Code: Select all

double(*arydyn)[30] = new double[100][30];
by topguy
Tue Nov 19, 2019 5:58 pm
Forum: General programming discussion
Topic: GUI interface and access to IO
Replies: 9
Views: 221

Re: GUI interface and access to IO

communicate with IO.
Since IO == Communication I think you should rephrase that.. are you talking about the GPIO digital input/output ?

And just to make sure.. this application will be running on a Raspberry Pi ?
Qt5 is an option for gui framework.
by topguy
Tue Nov 19, 2019 11:10 am
Forum: Troubleshooting
Topic: RP4 & MP4 video
Replies: 6
Views: 197

Re: RP4 & MP4 video

Format profile : Main@L5 Overall bit rate : 50.4 Mb/s What software or hardware has created this video ? 50Mb/s for just full HD resolution is quite a high bitrate. Also I'm not sure if all mpeg4 profiles are supported equal. But these were the only ones I reacted to, I can not for sure say that th...
by topguy
Mon Nov 18, 2019 2:28 pm
Forum: General discussion
Topic: What would it take? Vehicle HVAC controls
Replies: 2
Views: 125

Re: What would it take?

I'd assume the HVAC controls would just be like anything else in the car. Either 12volt on or off, or a variable voltage sensor. I know nothing about cars or their HVAC but this sounds like a rather big assumption. The Pi don't have Analog controllable outputs, only digital 3.3V inputs/outputs so y...
by topguy
Mon Nov 18, 2019 12:52 pm
Forum: Python
Topic: API request crashes if no internet
Replies: 2
Views: 78

Re: API request crashes if no internet

raise ConnectionError(e, request=request)
I dont know much about exception handling in Python, but I guess if you catch this exception correctly the program should continue.
by topguy
Mon Nov 18, 2019 12:25 pm
Forum: Python
Topic: Run Python Script (w/ Modules) at Startup
Replies: 11
Views: 272

Re: Run Python Script (w/ Modules) at Startup

Do you need to see what happens in the terminal ? "rc.local" is good for running scripts in the "background" regardless of whether you boot to desktop or not. The script is started early before the desktop is started, that is why it would fail if your script tried to open a window for showing some p...
by topguy
Sun Nov 17, 2019 12:28 am
Forum: General discussion
Topic: How To Upgrade Raspbian Buster Lite to Desktop?
Replies: 1
Views: 96

Re: How To Upgrade Raspbian Buster Lite to Desktop?

It seems you have the correct name.. "raspberrypi-ui-mods" is indeed installed in my Buster desktop system. Uncertain why it is not locatable by your system it could be a problem with the apt-sources. pi@raspberrypi:~ $ apt-cache policy Package files: 100 /var/lib/dpkg/status release a=now 500 http:...
by topguy
Sat Nov 16, 2019 11:55 pm
Forum: Beginners
Topic: How to turn off GPS module?
Replies: 2
Views: 75

Re: How to turn off GPS module?

Remove the power to the module ?
by topguy
Sat Nov 16, 2019 11:46 pm
Forum: Off topic discussion
Topic: Help with something real quick.
Replies: 5
Views: 385

Re: Help with something real quick.

2:
https://www.pcmag.com/feature/370997/ho ... m-pc-games
Not sure how it works over internet.
by topguy
Sat Nov 16, 2019 10:59 pm
Forum: Python
Topic: Run Python Script (w/ Modules) at Startup
Replies: 11
Views: 272

Re: Run Python Script (w/ Modules) at Startup

Tell us what you put in the "rc.local" file.
Tell us how you successfully start the script from the shell.
by topguy
Fri Nov 15, 2019 3:58 pm
Forum: Troubleshooting
Topic: Q: Pi3B+ / EnOcean USB300 / Serial Port Problem - Please Help
Replies: 3
Views: 85

Re: Q: Pi3B+ / EnOcean USB300 / Serial Port Problem - Please Help

Plug the device in after boot and then run "dmesg" and look at (and post) the last lines. also... stty –F /dev/ttyUSB0 57600 # stty: invalid argument ‘–F’ I've never seen stty commad return those errors and the "-" doesnt look right... are you "cut&pasting theese commands ? also... What is an "EnOce...
by topguy
Fri Nov 15, 2019 9:03 am
Forum: Troubleshooting
Topic: errors in dmesg
Replies: 1
Views: 72

Re: errors in dmesg

One of the plugged in USB devices have a problem during startup, could be a broken device, bad cable or just not enough power.
by topguy
Thu Nov 14, 2019 1:03 pm
Forum: Troubleshooting
Topic: RP4 & MP4 video
Replies: 6
Views: 197

Re: RP4 & MP4 video

We probably need to see the codec information for the file to know what is wrong.

https://www.raspberrypi-spy.co.uk/2014/ ... mand-line/
by topguy
Thu Nov 14, 2019 11:39 am
Forum: Beginners
Topic: Setting up Pi4 as dedicated 4k looping video player
Replies: 2
Views: 81

Re: Setting up Pi4 as dedicated 4k looping video player

You only need to install the basic Raspbian OS and you should have all the basic functionality you need.

But the big question is: Do you need the looping to be "frame perfect" ? Or can you live with a few "black/blank" frames on every repeat ?
by topguy
Thu Nov 14, 2019 11:34 am
Forum: Camera board
Topic: which raspberry pi is better to make surveillance camera?
Replies: 10
Views: 235

Re: which raspberry pi is better to make surveillance camera?

The video will be compressed by the GPU which is basically the same so performance wise its not much of a difference. But in practical use it might be a huge difference, the inbuilt Ethernet port and USB ports just make the Pi3 so much simpler to work with. After you realise you need some extra adap...
by topguy
Thu Nov 14, 2019 11:23 am
Forum: Advanced users
Topic: Anyone cross compiled QT for the Pi 4 yet.
Replies: 29
Views: 3389

Re: Anyone cross compiled QT for the Pi 4 yet.

The name "Pixel" is not used anymore, but that is beside the point.

What HW are your running your program on ? The Pi3 or the Pi4 ( or a PC ) ??
by topguy
Wed Nov 13, 2019 10:07 am
Forum: Troubleshooting
Topic: the document was not utf-8 valid
Replies: 9
Views: 299

Re: the document was not utf-8 valid

when i try to open them
Opening with what ?
by topguy
Wed Nov 13, 2019 9:52 am
Forum: General discussion
Topic: How do you live stream from a raspberry pi wirelessly without wifi?
Replies: 3
Views: 209

Re: How do you live stream from a raspberry pi wirelessly without wifi?

There are other wireless technologies like Bluetooth and GSM but they work just as badly as Wifi under water ( badly = not at all ). Only practical solution I can think of is having a part of the system floating on the surface ( connected with a wire to the submerged part ) and that part has the "wi...
by topguy
Wed Nov 13, 2019 9:32 am
Forum: Beginners
Topic: Can I use Raspberry Pi to log into an account and print information from a certain page?
Replies: 5
Views: 167

Re: Can I use Raspberry Pi to log into an account and print information from a certain page?

Is the API route something thats difficult to do? Everything is difficult if you are starting at zero. And then it gets easier the more you know about the mechanisms and the programming language you choose to use. For someone who is brand new can use weeks on this while someone experienced only nee...

Go to advanced search