Go to advanced search

by keithellis
Wed Apr 20, 2016 7:20 pm
Forum: Troubleshooting
Topic: Port forward with Raspberry Pi and Plus Net
Replies: 3
Views: 1276

Re: Port forward with Raspberry Pi and Plus Net

If your RPi server was previously working with ports forwarded from your Virgin router and your Macbook is now responding correctly to port forwards from the Plusnet router there isn't much to cause your current problem except something about the IP address settings of the RPi. Double check that it...
by keithellis
Wed Apr 20, 2016 3:00 pm
Forum: Python
Topic: Making a 24/7 Video recording
Replies: 39
Views: 6005

Re: Making a 24/7 Video recording

If you want to get rid of the spaces in the datetime string try using ISO format.

for example:

Code: Select all

tn = datetime.datetime.now.isoformat()
By default this will replace the space with a T

See here for reference https://docs.python.org/3.4/library/dat ... .isoformat

Keith.
by keithellis
Wed Apr 20, 2016 2:27 pm
Forum: Troubleshooting
Topic: Raspberry pi won't accept wall chargers
Replies: 17
Views: 2744

Re: Raspberry pi won't accept wall chargers

When I do plug in my raspberry pi with any wall charger, my monitor keeps blinking on & off with the message "No signal Please check your connection Please make sure you have read this post, I see you are using a DVI adaptor, this might help you. https://www.raspberrypi.org/forums/viewtopi...
by keithellis
Wed Apr 20, 2016 9:06 am
Forum: Troubleshooting
Topic: Port forward with Raspberry Pi and Plus Net
Replies: 3
Views: 1276

Re: Port forward with Raspberry Pi and Plus Net

If your RPi server was previously working with ports forwarded from your Virgin router and your Macbook is now responding correctly to port forwards from the Plusnet router there isn't much to cause your current problem except something about the IP address settings of the RPi. Double check that it...
by keithellis
Wed Apr 20, 2016 8:24 am
Forum: Troubleshooting
Topic: Port forward with Raspberry Pi and Plus Net
Replies: 3
Views: 1276

Port forward with Raspberry Pi and Plus Net

Hi there, For the past year or so I have had a Raspberry Pi ownCloud server on line with Virgin Media, publicly accessible via port forwarding. However this week I switched to Plus Net. The router I have is the Plus Net Hub One, which is essentially the same as the BT Home Hub 5. I have followed the...
by keithellis
Fri Apr 15, 2016 4:30 pm
Forum: Weather station
Topic: Connecting wind and rain sensors (build your own station)
Replies: 190
Views: 87326

Re: Connecting wind and rain sensors (build your own station

I was actually hoping that someone would know the pin outs on the RJ45 connectors. I may just have to fiddle with the connectors until I manage to work out which pin does what. Hi there, I'm thinking of doing a similar thing. I have a bird box which currently reports the temperature http://www.pi-t...
by keithellis
Thu Mar 31, 2016 3:24 pm
Forum: Beginners
Topic: What are possible additional GPIO output pins
Replies: 5
Views: 1159

Re: What are possible additional GPIO output pins

bryansailer wrote:I am using webiopi to control the GPIO. Will there be a problem if I use the BCM pin numbers?
Looking at WebIOPi, it looks like it uses board numbers. To convert from BCM numbers to physical board numbers you can use the attached.
ScreenClip.png
ScreenClip.png (25.63 KiB) Viewed 914 times
Regards,
Keith.
by keithellis
Wed Mar 30, 2016 11:54 am
Forum: Beginners
Topic: What are possible additional GPIO output pins
Replies: 5
Views: 1159

Re: What are possible additional GPIO output pins

I have a Raspberry Pi 2B and I need a total of 20 output pins. Right now it is working great with 16 but which 4 pins can I use output pins to trigger relays? Using the BCM pin numbering system, the following pins can be used as outputs 2,3,4,17,27,22,10,9,11,5,6,13,19,26,18,23,24,25,8,7,1,12,16,20...
by keithellis
Wed Mar 30, 2016 11:24 am
Forum: Weather station
Topic: Tweeting a daily summary?
Replies: 10
Views: 2448

Re: Tweeting a daily summary?

Having something that e-mails out a CSV file of the data on a daily/weekly basis might have some merit. As would creating graphs and mailing (or tweeting) them. Jim, I've been using ThingSpeak https://thingspeak.com/ to plot my Bird Box temperature data, plots can be see here http://www.pi-tutorial...
by keithellis
Tue Mar 22, 2016 11:37 pm
Forum: Python
Topic: How to kill a picamera instance
Replies: 0
Views: 1380

How to kill a picamera instance

I would like to find out how I can kill a picamera instance so that I can re-call picamera.start_recording() I currently have a python script that streams video to uStream via a subprocess Pipe. Sometimes the stream/pipe breaks, and I want to restart the stream again. If I try and call picamera.star...
by keithellis
Tue Mar 08, 2016 3:54 pm
Forum: Python
Topic: how to detect 'broken pipe' and restart
Replies: 3
Views: 2672

Re: how to detect 'broken pipe' and restart

richardsonkane wrote:To update your server
$ echo "ClientAliveInterval 60" | sudo tee -a /etc/ssh/sshd_config
Or client-side:
$ echo "ServerAliveInterval 60" >> ~/.ssh/config
Thanks for your time, however my question has nothing to do with SSH or bash.

Keith.
by keithellis
Mon Mar 07, 2016 9:25 pm
Forum: Python
Topic: how to detect 'broken pipe' and restart
Replies: 3
Views: 2672

how to detect 'broken pipe' and restart

I am working on a bird camera project, My aim is to build a python3 script that takes the Raspberry Pi camera module video output and stream it to uStream via ffmpeg. I am aware there is already a resource to do this via a bash script and raspivid https://www.raspberrypi.org/learning/infrared-bird-b...
by keithellis
Mon Mar 07, 2016 8:45 pm
Forum: Camera board
Topic: [Solved] -incrementially increasing delay to RTMP stream
Replies: 1
Views: 1172

Re: incrementially increasing delay to RTMP stream

For completeness, I have now solved this
Main issue was the

Code: Select all

while True:
      pass 
I replaced this with

Code: Select all

while True:
    camera.wait_recording(1)
In addition thanks to Ben Nuttall I removed

Code: Select all

-framerate', '25', 
from the ffmpeg cmdline variable.

Keith.
by keithellis
Thu Feb 04, 2016 10:28 pm
Forum: Python
Topic: Python script to stream camera to ustream
Replies: 2
Views: 1517

Re: Python script to stream camera to ustream

Can anyone help me in a method to first of all run the bash script in the above example from Python and THEN fund a way to stop the script so when I want to, I can select a different function in the camera? I have now got a Python script streaming the picamera to a RTMP feed (uStream) without using...
by keithellis
Thu Feb 04, 2016 9:35 pm
Forum: Camera board
Topic: [Solved] -incrementially increasing delay to RTMP stream
Replies: 1
Views: 1172

[Solved] -incrementially increasing delay to RTMP stream

I am planning on streaming a Raspberry Pi camera from a bird box to uStream, Raspberry Pi have a nice tutorial to do this here: https://www.raspberrypi.org/learning/infrared-bird-box/worksheet2/ . This works fine and I have a delay between an event happening and it appearing on the uStream site usua...
by keithellis
Thu Feb 04, 2016 9:07 pm
Forum: User groups and events
Topic: Ipswich Raspberry Jam
Replies: 0
Views: 794

Ipswich Raspberry Jam

The 2nd Ipswich Raspberry Jam is confirmed for 27th February 2016, Our last event went down very well, we listened to feedback and this event should be even better. Find out more on the website here: http://www.ipswichraspberryjam.co.uk/feb_2016_ucs_jam/ and get tickets here: https://www.eventbrite....
by keithellis
Tue Jan 12, 2016 10:36 pm
Forum: Beginners
Topic: webcam
Replies: 1
Views: 565

Re: webcam

papawheats wrote:I get all the way to the end and type in the last code and I keep getting this error:
You get all the way to the end of what? Are you coping a code example? Please explain or post your code.

Keith.
by keithellis
Tue Jan 12, 2016 10:27 pm
Forum: Python
Topic: Python script to stream camera to ustream
Replies: 2
Views: 1517

Re: Python script to stream camera to ustream

I am looking to build a 'multi function' camera with one of the functions to stream the camera to ustream. I have tried the infrared bird box sensor here with great success: https://www.raspberrypi.org/learning/infrared-bird-box/worksheet2/ However, the rest of the functions I want to implement are...
by keithellis
Wed Jan 06, 2016 2:33 pm
Forum: Teaching and learning resources
Topic: Soldering Video Tutorial
Replies: 0
Views: 804

Soldering Video Tutorial

I have recently uploaded a Soldering Video Tutorial, I thought it might be useful to others. If you are interested please take a look.

http://bit.ly/soldering-howto

If you have any comments or questions please let me know.

Keith.
by keithellis
Sun Feb 15, 2015 9:37 pm
Forum: Beginners
Topic: [solved] usb drive not ready when fstab runs mount -a
Replies: 8
Views: 2476

Re: [solved] usb drive not ready when fstab runs mount -a

zob wrote:Interesting keithellis. How did you get your hands on the 3.18.5 kernel?
Just found it on a SD card I had, must have been release a week or so ago I guess.

Keith.
by keithellis
Sun Feb 15, 2015 9:32 pm
Forum: Beginners
Topic: [solved] usb drive not ready when fstab runs mount -a
Replies: 8
Views: 2476

Re: [solved] usb drive not ready when fstab runs mount -a

What sort of loop? I guess you mean continual rebooting. It may help someone to help you if you record the last few messages on the boot screen before the loop, photographing with a mobile or similar perhaps then you can transcibe. If it's headless you will probably need to attach a monitor of cour...
by keithellis
Sun Feb 15, 2015 8:40 pm
Forum: Beginners
Topic: [solved] usb drive not ready when fstab runs mount -a
Replies: 8
Views: 2476

Re: [solved] usb drive not ready when fstab runs mount -a

Yep, I've got the same issue. It works fine with Kernel 3.18.5 but as soon as it is updated to 3.18.7 the Pi fails to boot. It gets stuck in a loop during boot.

Keith.
by keithellis
Fri Sep 05, 2014 7:28 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: SPI and I2C together - (solved)
Replies: 1
Views: 878

Re: SPI and I2C together - CLOSED

Problem diagnosed and fixed.

The display was using GPIO 24. During the course of my soldering the SDA line and GPIO 24 line had become shorted, I replaced the damaged wire and all is now working as expected.

Keith.
by keithellis
Mon Sep 01, 2014 9:53 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: SPI and I2C together - (solved)
Replies: 1
Views: 878

SPI and I2C together - (solved)

I am trying to get SPi and I2C to play together nicely in python I am using a Nokia 5110 display which connects over SPI using the Adafruit LCD library https://github.com/adafruit/Adafruit_Nokia_LCD I am also using an MCP23008 GPIO expander over I2C. I have had both working successfully one at a tim...
by keithellis
Wed Apr 30, 2014 1:41 pm
Forum: Beginners
Topic: New Out Of Box Software login
Replies: 10
Views: 11728

Re: New Out Of Box Software login

Thanks Andrew, I've added a link to the GitHub source. The second link looks interesting too, I've have to take a look when I get a chance.

Keith.

Go to advanced search