Go to advanced search

by mugurdi
Wed Dec 09, 2020 5:18 am
Forum: Networking and servers
Topic: Xiaomi Mi Wi-Fi Range Extender for Raspberry
Replies: 3
Views: 366

Xiaomi Mi Wi-Fi Range Extender for Raspberry

Hello
I have a Raspberry in the garden, with some weather sensors, but the wifi signal from my house is not good.
I bought a "Xiaomi Mi Wi-Fi Range Extender Pro 300Mbps"

Have you used any? Will it be compatible with Raspberry?

Thank you for your help.
by mugurdi
Mon Nov 16, 2020 5:36 am
Forum: Weather station
Topic: Weather sense HAT, replace Adafruit BME280 with Bosch BME280
Replies: 4
Views: 1608

Re: Weather sense HAT, replace Adafruit BME280 with Bosch BME280

Hello again, I bought a multi-plate shield to put the DS18B20 thermometer on it, because the BME280 on top of the RPi gets quite hot. Now I also see that the humidity measured by the BME280 is not correct, the sensor should be in the shield. My question: it be possible to move the BME280 to the shie...
by mugurdi
Sun Oct 25, 2020 6:04 am
Forum: Weather station
Topic: Weather sense HAT, replace Adafruit BME280 with Bosch BME280
Replies: 4
Views: 1608

Weather sense HAT, replace Adafruit BME280 with Bosch BME280

Hello, I have bought a Weather sense HAT to set up a weather station with my Raspberry. Without the BME280 it works perfectly (rain, wind speed and wind direction). For temperature, humidity and pressure, the plate is prepared for an Adafruit BME280 , which to buy (in England) costs me about € 40 I ...
by mugurdi
Sun Oct 25, 2020 5:51 am
Forum: Troubleshooting
Topic: The green wifi light stays on continuously
Replies: 1
Views: 136

The green wifi light stays on continuously

Hello, sometimes when my Raspberry is turned on, the green wifi light stays on continuously, it doesn't connect to anything. if I turn it off and on again, most of the time the green light flashes and I can connect via VNC. Sometimes, I have to do that turn off and on twice. I appreciate that someon...
by mugurdi
Mon Aug 31, 2020 5:12 am
Forum: General discussion
Topic: Cascading 2 PISO shift register for 16 bit input
Replies: 1
Views: 250

Cascading 2 PISO shift register for 16 bit input

Hello,
I need a 16 bit Parallel-in to Serial-out (FLAT) shift register. I would like to achieve this with two common chips cascaded (for example the CD4021 or 74HC595).
The connections are quite clear to me, but I am missing the phyton program. I appreciate any help.
by mugurdi
Sun Feb 17, 2019 7:07 am
Forum: Beginners
Topic: I can not start motion as daemon
Replies: 21
Views: 15875

Re: I can not start motion as daemon

Hello, I continue with my problem: A) In /etc/default/motion file is set daemon yes # set to 'yes' to enable the motion daemon start_motion_daemon=yes B) To avoid problems of permissions, I have executed: sudo chown motion:motion /var/run/motion sudo chown motion:motion /var/log/motion sudo chown mo...
by mugurdi
Wed Nov 21, 2018 5:29 am
Forum: General discussion
Topic: Where are errors stored when executing a Python program?
Replies: 3
Views: 677

Re: Where are errors stored when executing a Python program?

Thanks! I send it to a website that is private of mine . I created an FTP account there. I send it from the main program that collects weather data: subprocess.Popen(["python3", "/home/pi/xxxx/send_FTP_yesyerday.py"]) The strange thing is that some voices send well, and other day...
by mugurdi
Tue Nov 20, 2018 5:39 am
Forum: General discussion
Topic: Where are errors stored when executing a Python program?
Replies: 3
Views: 677

Where are errors stored when executing a Python program?

Hello I have a Raspberry connected to the home wifi, and sends to a web, via FTP, a file with the daily meteorological data of the previous day when the new day begins. For this I use a program in python. The problem that I have is that some days the file arrives well to the server, other days the f...
by mugurdi
Wed Jul 25, 2018 4:31 am
Forum: Beginners
Topic: Know how a process has been started
Replies: 2
Views: 488

Re: Know how a process has been started

Thanks!
by mugurdi
Wed Jul 25, 2018 4:29 am
Forum: Beginners
Topic: I can not start motion as daemon
Replies: 21
Views: 15875

Re: I can not start motion as daemon

Hello,
I deleted /var/log/motion/motion.log, I made reboot and no file called motion.log is created.

I'm thinking about reinstalling everything: in addition to motion what should I reinstall: ffmpeg? More things?

I appreciate your help, because I'm lost.
by mugurdi
Tue Jul 24, 2018 4:05 am
Forum: Beginners
Topic: Know how a process has been started
Replies: 2
Views: 488

Know how a process has been started

Hello, I have a python program weather.py that I want to run at the beginning, it collects the weather data from some sensors. In /etc/rc.local I wrote the line: sudo python3 /home/pi/weather/weather.py & When I look at the processes, I see two processes: pi @ raspberrypi: ~ $ ps -ef | grep weat...
by mugurdi
Tue Jul 24, 2018 2:55 am
Forum: Beginners
Topic: I can not start motion as daemon
Replies: 21
Views: 15875

Re: I can not start motion as daemon

I think that in /etc/motion/motion.conf configuration file everything is fine: ############################################################ # Daemon ############################################################ # Start in daemon (background) mode and release terminal (default: off) daemon on # File t...
by mugurdi
Tue Jul 24, 2018 2:49 am
Forum: Beginners
Topic: I can not start motion as daemon
Replies: 21
Views: 15875

Re: I can not start motion as daemon

Hello,
I do not understand anything...
I have done what you suggest: I have deleted /var/log/syslog and I have done reboot
Then with grep motion /var/log/syslog no line comes out, and the new syslog has about 600 lines.

I think this file is correct

Image
by mugurdi
Mon Jul 23, 2018 5:07 am
Forum: Beginners
Topic: I can not start motion as daemon
Replies: 21
Views: 15875

Re: I can not start motion as daemon

I rebooted (no motion started) $ ps -ef | grep motion pi 1259 1210 0 06:54 pts/1 00:00:00 grep --color=auto motion $ tail -n 100 /var/log/syslog Jul 23 06:34:11 raspberrypi bluetoothd[676]: sap-server: Operation not permitted (1) Jul 23 06:34:11 raspberrypi bluetoothd[676]: Endpoint registered: send...
by mugurdi
Sun Jul 22, 2018 3:45 am
Forum: Beginners
Topic: I can not start motion as daemon
Replies: 21
Views: 15875

Re: I can not start motion as daemon

If in the console I type

Code: Select all

:~ $ motion
the two errors happen

If I type

Code: Select all

:~ $ sudo motion
the program starts normally.
by mugurdi
Sun Jul 22, 2018 3:06 am
Forum: Beginners
Topic: I can not start motion as daemon
Replies: 21
Views: 15875

Re: I can not start motion as daemon

Thanks, lmarmisa the blank spaces are introduced by the Google translator when some text with non-alphanumeric characters is pasted in the source window ... I forgot to correct it. In fact, the syntax is fine in the motion file. My problem is the permissions. How can I avoid "problem creating d...
by mugurdi
Sat Jul 21, 2018 4:50 am
Forum: Beginners
Topic: I can not start motion as daemon
Replies: 21
Views: 15875

Re: I can not start motion as daemon

Hello, I have permission problems. what should I do? Change permissions to the /var/run/ folder? What permissions should I put? [0:motion] [NTC] [ALL] [Jul 20 16:45:14] become_daemon: Motion going to daemon mode [0:motion] [ERR] [ALL] [Jul 20 16:45:14] create_path: Problem creating directory /var/ru...
by mugurdi
Fri Jul 20, 2018 3:06 am
Forum: Beginners
Topic: I can not start motion as daemon
Replies: 21
Views: 15875

Re: I can not start motion as daemon

Thank you very much for your responses. Imarmisa : in file/etc/default/motion I have written "start_motion_daemon = yes" But when executing systemctl status motion The answer is : Unit motion.service could not be found. DougieLawson : I executed the following and this has been the answer: ...
by mugurdi
Thu Jul 19, 2018 5:06 am
Forum: Beginners
Topic: I can not start motion as daemon
Replies: 21
Views: 15875

I can not start motion as daemon

Hello, I have motion installed with a picamera. If I start motion from the console, it's fine. but I can not configure it as a daemon. I enabled motion to run as a daemon, editing "/etc/default/motion" file and setting start_motion_daemon = yes I enabled motion by the command: sudo systemc...
by mugurdi
Sat Jun 09, 2018 3:14 am
Forum: Weather station
Topic: Weatherproof box for the Raspberry with camera
Replies: 5
Views: 6832

Re: Weatherproof box for the Raspberry with camera

Thank you for your answers.
I do not understand very well the question about the use of the EEPROM. I will use an Arduino under Raspberry to collect the data every 10 sec, and the Motion software will be in charge of the camera.
by mugurdi
Fri Jun 08, 2018 4:36 am
Forum: Weather station
Topic: Weatherproof box for the Raspberry with camera
Replies: 5
Views: 6832

Weatherproof box for the Raspberry with camera

Hello, I want to build a weather station with the raspberry pi enclosed in a waterproof box that is used for electrical connections on the outside. I want to add a pi camera for the surveillance of the garden, making a small window to the box. My questions: - What transparent material is the best: g...
by mugurdi
Thu Mar 15, 2018 4:52 am
Forum: General discussion
Topic: How can I limit the number of emails when motion is detected?
Replies: 3
Views: 841

Re: How can I limit the number of emails when motion is detected?

Hello, The code to send email I got it from here: https://github.com/mattgmg1990/raspberrypi_security_cam/blob/master/email_on_motion.py I will have to add some delay after sending the message? #! /usr/bin/python import smtplib import os from email.mime.image import MIMEImage from email.mime.text im...
by mugurdi
Wed Mar 14, 2018 6:19 am
Forum: General discussion
Topic: How can I limit the number of emails when motion is detected?
Replies: 3
Views: 841

How can I limit the number of emails when motion is detected?

Hello, I have a Raspberry 3 with its camera. I installed motion. When it detects motion, it saves 3-4 images in the target directory for pictures, but sends many emails, sometimes up to 20 or more. I have configured it like this: on_motion_detected python /home/pi/motion/email_on_motion.py %f How ca...

Go to advanced search