Go to advanced search

by kaksi
Sat Jan 11, 2020 12:43 pm
Forum: General discussion
Topic: Turn off logs
Replies: 12
Views: 409

Re: Turn off logs

So I ask it too : does this method still work on Raspbian Buster ? Because, in that specific topic, I don't really care about which came first from the board, the OS, the egg or the chicken... Thanks for support. I think the answers on this page are valid. https://raspberrypi.stackexchange.com/ques...
by kaksi
Fri Jan 10, 2020 2:44 pm
Forum: General discussion
Topic: Turn off logs
Replies: 12
Views: 409

Re: Turn off logs

Logging is done by software not hardware so why would the change of hardware from RPi2B to RPi4B per se be relevant? Someone using the Pi2 may well be using a relatively old OS install, so it's possible that there may be differences between that and the Pi4. Very true. Hence the "per se" in my repl...
by kaksi
Thu Jan 09, 2020 3:40 pm
Forum: General discussion
Topic: Turn off logs
Replies: 12
Views: 409

Turn off logs

Fork from https://www.raspberrypi.org/forums/viewtopic.php?f=63&t=237735 This may be a dumb question, but is it possible to simply turn the logging off? I never read any logs, so why waste my SD card for something I do not need or even want? +1 I even shamelessly admit I do not know where they are a...
by kaksi
Fri Jan 03, 2020 10:49 pm
Forum: Python
Topic: Python library to get EXIF tags from camera?
Replies: 6
Views: 460

Re: Python library to get EXIF tags from camera?

I suppose he means " to get the EXIF tags from pictures from my RPi Camera".

Code: Select all

sudo apt-get install libimage-exiftool-perl
exiftool -s  *.JPG
exiftool -CreateDate -ImageSize -Megapixels *.JPG *.jpg

It is plain Linux, but Python's subprocess.check_output() should do the job.
by kaksi
Thu Dec 19, 2019 10:18 am
Forum: Python
Topic: What really does the processor do during time.sleep()?
Replies: 6
Views: 418

Re: What really does the processor do during time.sleep()?

Thanks everyone for help.

I made deep changes in my application and noticed the CPU temperature decreased by 10 degrees.
by kaksi
Sun Dec 15, 2019 8:02 pm
Forum: Beginners
Topic: service unit[] After=???
Replies: 1
Views: 117

service unit[] After=???

Could it be possible to add a link to (at least some) possible values of [Unit] After=??? in https://www.raspberrypi.org/documentation/linux/usage/systemd.md? My service must start before "network.target" - it's purpose is to shut down the RPI if there is no connection within 5 minutes. I plan to st...
by kaksi
Sun Dec 15, 2019 7:40 pm
Forum: General discussion
Topic: Watermark Desktop Wallpapers with IP addresses
Replies: 24
Views: 1094

Re: Watermark Desktop Wallpapers

try this... Nice program, just 2 remarks. If you have both eth and wlan connections, only one will appear (presumable the eth). Besides, the address can be 192.168.1.5. So I changed the line msg = check_output(['hostname', '-I']).decode("utf-8","ignore")[:13] to msg = check_output(['hostname', '-I'...
by kaksi
Fri Nov 29, 2019 1:23 pm
Forum: Python
Topic: What really does the processor do during time.sleep()?
Replies: 6
Views: 418

What really does the processor do during time.sleep()?

I have this bit of code: while next_shot>dt.datetime.now(): continue In https://www.raspberrypi.org/forums/posting.php?mode=quote&f=32&p=1572365 To reduce the processor load of your code you should use time.sleep() in your timing loop. I thought the processor executes a kind of empty loop anyway and...
by kaksi
Sat Nov 16, 2019 9:00 pm
Forum: Python
Topic: how to filter certain values ​​from a list
Replies: 8
Views: 327

Re: how to filter certain values ​​from a list

Code: Select all

list_1=['1' , '2', '2', '2', '3', '4', '5']
print(list_1)
list_1=list(filter(lambda x:x=='2',list_1))
print(list_1)
by kaksi
Fri Aug 23, 2019 9:15 pm
Forum: General discussion
Topic: External Antenna
Replies: 27
Views: 1725

Re: External Antenna

besides the current antenna already puts out the maximum signal strength allowed by certification institutes. On the very same places (I tested 3), my phone and my notebook get an IP from the router on the roof and communicate with it. My PRIs detect the router, but hostname -I shows something for ...
by kaksi
Mon Jun 24, 2019 10:15 am
Forum: General discussion
Topic: Regular restart vs power on after electricity drop down
Replies: 11
Views: 1282

Re: Regular restart vs power on after electricity drop down

People running important software will do a lot of testing of their applications on a new OS release before putting it into production. The trouble is that they do not rewrite and test my applications. I got more or less my camera working when the the PI3 came out - the conversion was a nightmare (...
by kaksi
Sat Apr 13, 2019 10:26 am
Forum: General discussion
Topic: Cannot format write protected card problem [solved]
Replies: 21
Views: 3518

Re: Cannot format write protected card problem

John50 wrote:
Thu Apr 04, 2019 9:36 pm
Finally I went to the chinese and bought a usb card reader for less than 3 euro and to my surprise it worked...

Maeby this experience could be help to someone who eventually has this problem.
Any additional information about the card reader? Where can I buy it?
by kaksi
Mon Apr 01, 2019 4:07 pm
Forum: General discussion
Topic: Cannot format write protected card problem [solved]
Replies: 21
Views: 3518

Re: Cannot format write protected card problem

then the card has locked up itself to protect it content because it has detected major problems while writing to is storage. Well, if the "major" problem was power outage, there is a good chance that the card is still usable. I had quite a few problems like that and succeeded to format it in an old...
by kaksi
Wed Mar 06, 2019 9:48 am
Forum: General discussion
Topic: Finding differences in identical pis?
Replies: 10
Views: 646

Re: Finding differences in identical pis?

I am surprised no one mentioned the MAC address.
by kaksi
Wed Mar 06, 2019 9:34 am
Forum: General discussion
Topic: impossible place Keyboard in AZERTI
Replies: 10
Views: 481

Re: impossible place Keyboard in AZERTI

The full content of my sudo nano /etc/default/keyboard:

Code: Select all

XKBMODEL=pc105
XKBLAYOUT=ch
XKBVARIANT=
XKBOPTIONS=
BACKSPACE=guess
Even if it is in Swiss German, it is usable. What about starting just with fr?

May depend on you OS, on RPI2, I had to adapt the line to:

Code: Select all

set XKBLAYOUT="ch"
by kaksi
Wed Feb 20, 2019 12:52 am
Forum: General discussion
Topic: All my RPIs 3 are underpowered, all the time
Replies: 23
Views: 1359

Re: All my RPIs 3 are underpowered, all the time

Your P/S isn't a power supply (it's a phone charger). You need a power supply. To elaborate a bit more on what I posted above, phone charging does not require precise voltage control. Most phones only need a little over 4.2V to charge. Because of that, some phone chargers have poor voltage regulati...
by kaksi
Tue Feb 19, 2019 11:41 pm
Forum: General discussion
Topic: All my RPIs 3 are underpowered, all the time
Replies: 23
Views: 1359

Re: All my RPIs 3 are underpowered, all the time

You are now describing something different to what you described before, when you gave normal voltage readings. Switching rates and other interruptions count as the "brownouts" I described before. You may indeed need to look for UPS solutions -- but the type of PSU you are using also contribute to ...
by kaksi
Tue Feb 19, 2019 10:03 pm
Forum: General discussion
Topic: All my RPIs 3 are underpowered, all the time
Replies: 23
Views: 1359

Re: All my RPIs 3 are underpowered, all the time

The Dallas sensors usually give +85°C if they have an error, not -85°C. Most times I have encountered this it was because of bad wiring causing power loss to the sensor. As for the Pi, a proper power supply should be able to power a Pi with the voltage range you listed with no trouble. DS18B20 won'...
by kaksi
Tue Feb 19, 2019 12:56 am
Forum: General discussion
Topic: All my RPIs 3 are underpowered, all the time
Replies: 23
Views: 1359

Re: All my RPIs 3 are underpowered, all the time

Put it on hold for a moment.

You are all seeking for a problem with the RPI. I am sure the RPIs are OK - it is simply not possible to have 3 faulty RPIs or 4 faulty P/S.

To be really, really sure, I will try to borrow a UPS this or next weekend and I will come back.
by kaksi
Tue Feb 19, 2019 12:36 am
Forum: General discussion
Topic: All my RPIs 3 are underpowered, all the time
Replies: 23
Views: 1359

Re: All my RPIs 3 are underpowered, all the time

Are your "original P/S" the official Raspberry Pi PSU, or something else supplied by your retailer? What is the voltage and current marked on the label? HN-5258 .... OUTPUT: 5V 2500mA I even made adapt the charger from ACER able to deliver 3 A. Is the Raspbian Stretch an upgrade of an older OS, or ...
by kaksi
Tue Feb 19, 2019 12:27 am
Forum: General discussion
Topic: All my RPIs 3 are underpowered, all the time
Replies: 23
Views: 1359

Re: All my RPIs 3 are underpowered, all the time

Do not tell me to use the original P/S, I am already using it. Your quote above tells us nothing, other than it's the PSU you've always been using. Sorry, what I meant: "the original Raspberry Pi power supply delivered with the Raspberry Pi." Also, the original "Official" PSU was rated for 2A, but ...
by kaksi
Tue Feb 19, 2019 12:15 am
Forum: General discussion
Topic: All my RPIs 3 are underpowered, all the time
Replies: 23
Views: 1359

Re: All my RPIs 3 are underpowered, all the time

ptimlin wrote:
Mon Feb 18, 2019 11:38 pm
Just to be sure, you are not running three Pi units off of a single power supply are you?
No, each PI has it's own P/S.
by kaksi
Mon Feb 18, 2019 11:18 pm
Forum: General discussion
Topic: All my RPIs 3 are underpowered, all the time
Replies: 23
Views: 1359

Re: All my RPIs 3 are underpowered, all the time

davidcoton wrote:
Mon Feb 18, 2019 11:06 pm
What OS?
Two of them are running under Stretch, the third one under Jessie, being now reformatted to Stretch.
davidcoton wrote:
Mon Feb 18, 2019 11:06 pm
What is connected to each Pi?
Camera, keyboard, mouse, eth, monitor.

When it runs with camera only, I log /opt/vc/bin/vcgencmd get_throttled.
by kaksi
Mon Feb 18, 2019 11:02 pm
Forum: General discussion
Topic: All my RPIs 3 are underpowered, all the time
Replies: 23
Views: 1359

Re: All my RPIs 3 are underpowered, all the time

Concerning the PIs, there is a yellow flashing bolt on the left top on the screen (I supposed it was clear from the topic). When I power the PI on, the first message is 'undervoltage detected'. I repeat, I use the original P/S. Concerning the Arduino, this is clearly a measurement error, I bet cause...
by kaksi
Mon Feb 18, 2019 10:47 pm
Forum: General discussion
Topic: All my RPIs 3 are underpowered, all the time
Replies: 23
Views: 1359

All my RPIs 3 are underpowered, all the time

Do not tell me to use the original P/S, I am already using it. I am running Arduino with some Dallas DS18B20 and from time to time, the temperature in the living room drops in 5 seconds from 20 Celsius to -85 Celsius. About 6 months ago, there were guys from the power company, so I told them about t...

Go to advanced search