Search found 48 matches
- Fri Aug 03, 2018 9:11 pm
- Forum: Camera board
- Topic: USB webcam and software that supports zoom
- Replies: 7
- Views: 7284
Re: USB webcam and software that supports zoom
The package you want is motion. https://motion-project.github.io/ Take a look at this thread: https://pimylifeup.com/raspberry-pi-webcam-server/
- Wed Jan 24, 2018 3:43 pm
- Forum: General discussion
- Topic: motion problem
- Replies: 0
- Views: 308
motion problem
I'm running the latest motion under raspbian-stretch and I am having a problem I can't resolve. I have a number of IOT devices monitoring various events which send email alerts. I'm developing another monitor and for testing purposes I replace the email script named in on_movie_start with one that b...
- Wed Jan 24, 2018 3:36 pm
- Forum: General discussion
- Topic: Odd WebIOPi problem
- Replies: 1
- Views: 473
Odd WebIOPi problem
I'm running WebIOPi 0.7.1 on raspian-stretch. I've got a problem I can't resolve. Command "sudo /etc/init.d/webiopi stop" does not stop the process. The log says it's stopping, the PID file is deleted and everything appears to be OK, except the process lives on, healthy as can be. I can't ...
- Mon Jan 22, 2018 3:25 pm
- Forum: Advanced users
- Topic: Send SMS Messages from Raspberry Pi
- Replies: 27
- Views: 143942
Re: Send SMS Messages from Raspberry Pi
Your carrier may have an email SMS gateway. Most US carriers do. Verizon, for instance, uses the address "number@vzwpix.com", where "number" is the 10 digit telephone number. I use this format to send SMS alert messages from various RPi IOT devices such as leak detectors and moti...
- Sun Jun 04, 2017 7:58 pm
- Forum: Networking and servers
- Topic: Pi 3 as wiireless client and wireless AP?
- Replies: 198
- Views: 170839
Re: Pi 3 as wiireless client and wireless AP?
Do you have both the AP and client set to the same channel? They should be. I had some trouble with my Android phone connecting to the AP when in dual mode, but I had full functionality with my Windows PC.
- Fri May 26, 2017 5:30 am
- Forum: Camera board
- Topic: Motion - MMAL camera
- Replies: 472
- Views: 432198
Re: Motion - MMAL camera
Yes it does. Make sure you have this set correctly:
Code: Select all
# Restrict stream connections to localhost only (default: on)
stream_localhost off
- Fri Mar 24, 2017 5:25 pm
- Forum: Troubleshooting
- Topic: Pi Zero W won't boot
- Replies: 15
- Views: 6550
Re: Pi Zero W won't boot
Nothing like that has ever happened to me. 

- Sun Mar 05, 2017 7:33 pm
- Forum: Troubleshooting
- Topic: Pi Zero W won't boot
- Replies: 15
- Views: 6550
Re: Pi Zero W won't boot
I guess this was just another case of "when all else fails, read the instruction book. Boots up, configured. works. Thank you very much for the quick and correct info.
- Sun Mar 05, 2017 7:20 pm
- Forum: Troubleshooting
- Topic: Pi Zero W won't boot
- Replies: 15
- Views: 6550
Re: Pi Zero W won't boot
I hope this isn't a duplicate. I'm using an image with motion that I have been running with motion on a B3 and I can SSH into that. I also have the WLAN properly configured. I did edit the hostname and hosts files before I tried booting the W. It does not show up on my router even when I connect it ...
- Sun Mar 05, 2017 6:51 pm
- Forum: Troubleshooting
- Topic: Pi Zero W won't boot
- Replies: 15
- Views: 6550
Re: Pi Zero W won't boot
I'm using 4.4.38-v7+. I'm booting in headless mode, trying to SSH into the device. It does not show up on my router either.
- Sun Mar 05, 2017 6:33 pm
- Forum: Troubleshooting
- Topic: Pi Zero W won't boot
- Replies: 15
- Views: 6550
Pi Zero W won't boot
Yesterday I picked up a Pi Zero W from Microcenter. I burned a Raspian image onto an 8GB SD card, plugged it in but it won't boot - activity light is off. I just got back with a replacement, and this is not booting either. I checked the image in a Pi 3, and it works, and I tried a known working card...
- Sun Mar 05, 2017 3:56 pm
- Forum: Networking and servers
- Topic: Pi 3 as wiireless client and wireless AP?
- Replies: 198
- Views: 170839
Re: Pi 3 as wiireless client and wireless AP?
I'm not sure why it's necessary to turn power save on when shutting down the interface. I have no apparent issue with just turning it off.
- Fri Feb 24, 2017 6:29 am
- Forum: Networking and servers
- Topic: Pi 3 as wiireless client and wireless AP?
- Replies: 198
- Views: 170839
Re: Pi 3 as wiireless client and wireless AP?
I'm not sure this is related, but I have no problem connecting to the AP from my laptop, but my Android phone won't stay connected. It gets an IP, stays connected for a bit and then disconnects. I get an error message that says it received an unknown SSID. I think when the phone gets the router's SS...
- Sun Feb 19, 2017 4:30 pm
- Forum: Camera board
- Topic: Motion - MMAL camera
- Replies: 472
- Views: 432198
Re: Motion - MMAL camera
I'm running stock motion with a pi camera without any problems. The only change I needed to make to the system is to load the bcm2835-v4l2 driver at startup. Is there any reason to use the motion-mmal version?
- Sat Dec 17, 2016 6:55 pm
- Forum: Advanced users
- Topic: Network connectivity and emails
- Replies: 14
- Views: 3160
Re: Network connectivity and emails
OK, the issue of handling the connection failure is resolved, but there's still one open issue. Why doesn't Raspbian's slow boot option work? Any ideas? The timing and error messages are the same regardless of that configuration setting.
- Fri Dec 16, 2016 3:31 pm
- Forum: Advanced users
- Topic: Network connectivity and emails
- Replies: 14
- Views: 3160
Re: Network connectivity and emails
What you want or do not want to do is irrelevant. You have exactly 2 options: 1) learn how to deal with the init and start the process after network is up. It does not have to be a daemon, there is "oneshot" type for that. 2) handle the exception in python itself, eg: if exception is rise...
- Fri Dec 16, 2016 1:39 am
- Forum: Advanced users
- Topic: Network connectivity and emails
- Replies: 14
- Views: 3160
Re: Network connectivity and emails
I had an application that would send out a gmail message on failure, but it recently quit working as gmail increased their security. This could be your problem. I solved it by switching to a text message using curl. You can also change your gmail security settings to a lower level and see if that f...
- Thu Dec 15, 2016 11:31 pm
- Forum: Advanced users
- Topic: Network connectivity and emails
- Replies: 14
- Views: 3160
Re: Network connectivity and emails
Python has that capability. In my original post I alluded to maybe this belonging in the Beginner's forum, which kind of reflects my understanding of handling exceptions in Python.
- Thu Dec 15, 2016 9:37 pm
- Forum: Advanced users
- Topic: Network connectivity and emails
- Replies: 14
- Views: 3160
Re: Network connectivity and emails
One minor problem. It doesn't work. I checked and rechecked that I have enabled slow boot but I get the same error and the same remedy fixes it. Now I'm totally confused. For reference, this is running on a Pi Zero with an Edimax dongle.
- Thu Dec 15, 2016 9:09 pm
- Forum: Advanced users
- Topic: Network connectivity and emails
- Replies: 14
- Views: 3160
Re: Network connectivity and emails
Indeed there is! Thanks you for your help.B.Goode wrote:I don't have a live Raspbian system in front of me, but isn't there an option in raspi-config to wait for the network to be available before proceeding with the start-up process?
- Thu Dec 15, 2016 6:52 pm
- Forum: Advanced users
- Topic: Network connectivity and emails
- Replies: 14
- Views: 3160
Re: Network connectivity and emails
but when run at boot from crontab it fails. It fails because network is not up yet. Make your script start via systemd service and make that service depend on networking.[/quote Well, yes, I know why it's failing. Other than creating a daemon process, is there a simple way to check the network stat...
- Thu Dec 15, 2016 3:37 pm
- Forum: Advanced users
- Topic: Network connectivity and emails
- Replies: 14
- Views: 3160
Re: Network connectivity and emails
Here's the error: Traceback (most recent call last): File "/home/pi/Projects/Alarms/mbxalarm.py", line 60, in <module> sendalarm(fromaddr, toaddr, text) File "/home/pi/Projects/Alarms/mbxalarm.py", line 24, in sendalarm client = smtplib.SMTP('smtp.gmail.com', 587) File "/usr...
- Thu Dec 15, 2016 3:06 pm
- Forum: Advanced users
- Topic: Network connectivity and emails
- Replies: 14
- Views: 3160
Network connectivity and emails
I have a python script that polls a sensor and generates an email when the sensor becomes active. Works great, except for one detail. I recently added a function to send an email when the script starts. When run from the command line, everything works as expected, but when run at boot from crontab i...
- Tue Dec 13, 2016 5:14 pm
- Forum: Camera board
- Topic: PiKrellCam: motion vector detect + OSD web interface
- Replies: 1543
- Views: 448461
Re: PiKrellCam: motion vector detect + OSD web interface
And here's another: http://naelshiab.com/tutorial-send-email-python/Fox Mulder wrote: Here is one very simple example how to do this but there are many more possible ways:
I use these methods in my IOT monitors for various alarm conditions, like leak detection, access monitoring, etc.
- Mon Dec 12, 2016 7:35 pm
- Forum: Advanced users
- Topic: Wired and Wireless Connection
- Replies: 2
- Views: 896
Re: Wired and Wireless Connection
Edit /etc/wpa_supplicant/wpa_supplicant.conf and add this line to the network={ section:
Code: Select all
scan_ssid=1