Go to advanced search

by MattHawkinsUK
Fri Feb 08, 2019 10:49 am
Forum: Python
Topic: Deleting directory created by other user
Replies: 5
Views: 392

Re: Deleting directory created by other user

Thanks for the replies. Always useful to get some feedback as it meant I could do some more focused Googling. I managed to solve the issue. script1.py - Flask app launched on boot and running under NGINX/uwsgi. Runs as user "www-data". script2.py - Script run by user Pi. It creates new directories i...
by MattHawkinsUK
Thu Feb 07, 2019 11:02 am
Forum: Python
Topic: Deleting directory created by other user
Replies: 5
Views: 392

Deleting directory created by other user

Hello, I've got a Linux permission issue. It's causing me more hassle than anything else in my project but it a relatively minor feature. I've got two scripts. One runs as the "pi" user. The other is a Flask app running under a NGINX/uwsgi setup. It runs as "www-data". The first script creates a dir...
by MattHawkinsUK
Wed Mar 14, 2018 12:27 pm
Forum: General discussion
Topic: cant figure gpio load spi
Replies: 3
Views: 867

Re: cant figure gpio load spi

Unfortunately those sort of sites don't bother to update tutorials when things change. That article was written in 2015 and I bet they haven't made any changes to it. Try a Pi dedicated site rather than a pile-em-high-and-forget-tech-site : Enable I2C on the Raspberry Pi Enable SPI on the Raspberry ...
by MattHawkinsUK
Wed Mar 14, 2018 12:22 pm
Forum: General discussion
Topic: New Raspberry Pi model 3B+ 1.4 GHz, 330Mbit Ethernet, 802.11ac, PoE
Replies: 376
Views: 63389

Re: New Raspberry Pi model 3B+ 1.4 GHz, 330Mbit Ethernet, 802.11ac, PoE

More stuff for the same money. What is there not to like?
by MattHawkinsUK
Mon Jan 08, 2018 2:36 pm
Forum: General discussion
Topic: Horrible experience trying to get into pi BUYER BEWARE
Replies: 21
Views: 2534

Re: Horrible experience trying to get into pi BUYER BEWARE

It's a poor attempt at trolling. When the competition can't even troll properly you have to wonder how good they are at electronic design and engineering.
by MattHawkinsUK
Wed Aug 02, 2017 5:14 pm
Forum: General discussion
Topic: STICKY: NEW FORUM SKIN - Comments here please.
Replies: 289
Views: 54144

Re: STICKY: NEW FORUM SKIN - Comments here please.

Since the update I've struggled to get the Forum search to work. Certain searches always result in a "we are currently experiencing high traffic" page. For example : https://www.raspberrypi.org/forums/search.php?keywords=energenie It does this on multiple machines from different internet connections...
by MattHawkinsUK
Mon May 29, 2017 7:18 pm
Forum: Gaming
Topic: Minecraft Pi Render Distance
Replies: 2
Views: 1068

Re: Minecraft Pi Render Distance

I'd be interested in knowing if there is an answer to this. I suspect a new version of Minecraft for Pi would need to be released. I hope Microsoft let their Minecraft team release an updated version at some point.
by MattHawkinsUK
Wed Jan 11, 2017 2:36 pm
Forum: Troubleshooting
Topic: Kodi won't play movies
Replies: 25
Views: 10503

Re: Kodi won't play movies

Stick a video file on a USB stick and see if you can get Kodi to play that. That will at least eliminate the networking side of it.

Within the Youtube interface does it let you search?
by MattHawkinsUK
Mon Jan 09, 2017 10:08 pm
Forum: General discussion
Topic: Finding tutorials was hard: is RPi3 community going down?
Replies: 53
Views: 8173

Re: Finding tutorials was hard: is RPi3 community going down

There have probably been 15+ Raspbian releases and 10+ Pi hardware variants. Tutorials will be valid for a number of those ... but when you write a tutorial it's impossible to test on more than a few of them. It's also impossible to re-test every time a new Raspbian is released or a new Pi device is...
by MattHawkinsUK
Sun Jan 08, 2017 10:34 am
Forum: General discussion
Topic: Finding tutorials was hard: is RPi3 community going down?
Replies: 53
Views: 8173

Re: Finding tutorials was: is RPi3 community going down?

The community is stronger than ever so don't worry about that. The Foundation will update their tutorials if you let them know when their is a problem. Because the Pi has been around for almost 5 years there is a massive collection of articles, tutorials, guides and information. Unfortunately change...
by MattHawkinsUK
Sun Jan 08, 2017 10:27 am
Forum: Troubleshooting
Topic: Network Error: Connection Refused
Replies: 11
Views: 54540

Re: Network Error: Connection Refused

As Trev has pointed out it is because SSH is disabled by default in the newer Raspbian images.

Create a blank text file called "ssh" on the root of the SD card using your laptop. Then boot the Pi from it. That will enable SSH.
by MattHawkinsUK
Tue Dec 20, 2016 2:36 pm
Forum: Camera board
Topic: Stop Motion
Replies: 2
Views: 1097

Re: Stop Motion

Changes to avconv (and ffmpeg) can sometimes break previously working commands. So the guide says : avconv -r 10 -qscale 2 -i animation/frame%03d.jpg animation.mp4 but throws the error about qscale. This seems to work on my laptop: avconv -r 10 -i animation/frame%03d.jpg -qscale 2 animation.mp4 The ...
by MattHawkinsUK
Wed Nov 16, 2016 9:19 pm
Forum: Advanced users
Topic: Micro relay for switching a bright LED with the Pi?
Replies: 9
Views: 1769

Re: Micro relay for switching a bright LED with the Pi?

The GPIO are fragile but if they weren't the Pi would be much bigger. If they were happy switching bigger loads they wouldn't suit most people. I can't think of any board that switches high-current loads out-the-box without some external components. What LED do you want to switch? The current involv...
by MattHawkinsUK
Wed Sep 28, 2016 11:33 am
Forum: Beginners
Topic: Pi OS reliability?
Replies: 15
Views: 2874

Re: Pi OS reliability?

Where did you get the SD cards? Format them with the official SD Formatter application from https://www.sdcard.org/downloads/formatter_4/.

I've never had much luck with NOOBS. Download the new Raspbian image and re-write the SD cards with that. I either user win32diskimager or Etcher.
by MattHawkinsUK
Tue Aug 23, 2016 9:46 am
Forum: General discussion
Topic: Motioneyeos not working on Pi 3
Replies: 4
Views: 5705

Re: Motioneyeos not working on Pi 3

This is an old thread but for the benefit of Google visitors I'll add this .. MotionEyeOS supports all the Pi models but you my need a specific image for that model. Here is a list of supported boards with a link to the image file you need : MotionEyeOS Supported Hardware Boards It's so easy to setu...
by MattHawkinsUK
Mon Feb 29, 2016 5:24 pm
Forum: General discussion
Topic: I feel like betrayed
Replies: 126
Views: 14557

Re: I feel like betrayed

There will be a Pi 4, 5 and 6. So if everyone could avoid buying a Pi 3 that would help cut down on the disappointment. Thanks.
by MattHawkinsUK
Mon Feb 29, 2016 12:08 am
Forum: Beginners
Topic: Dollhouse Lighting operated by Pi
Replies: 14
Views: 2990

Re: Dollhouse Lighting operated by Pi

How many LEDs are you going to use? This would be good to decide early on because it will determine what options you've got to drive them. My mum had an extensive 12th scale dolls house collection. I inherited her "Witches House" and unfortunately I didn't have room for the others! I made and sold a...
by MattHawkinsUK
Mon Jan 18, 2016 8:06 pm
Forum: Beginners
Topic: Step mottor control
Replies: 3
Views: 931

Re: Step mottor control

Should be fixed now on the blog post. There is a strange bug in the syntax highlighter I'm using where it refuses to place a line break between those two lines. I've put a comment at the end and that seems to fix it.
by MattHawkinsUK
Thu Nov 26, 2015 9:15 am
Forum: Off topic discussion
Topic: Is a new Raspberry Pi model coming?
Replies: 265
Views: 40159

Re: Is a new Raspberry Pi model coming?

Reading this thread this morning is awesome.

Not sure whether to laugh or cry.

OK, it's "laugh". No contest :)
by MattHawkinsUK
Thu Oct 01, 2015 2:51 pm
Forum: Off topic discussion
Topic: Fake microSD card ? nope SD USB reader limit (2GIG)
Replies: 10
Views: 2317

Re: Fake microSD card ? nope fake USB reader

BMS Doug wrote:I spent far more on my USB card reader, it reads more formats of card.

http://www.poundland.co.uk/signalex-mul ... r-assorted
I love the fact you can buy 48 for ... wait for it ... £48. Thanks for the bulk buy offer Poundland!
by MattHawkinsUK
Thu Oct 01, 2015 2:46 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: RTC DS1307 Read Error
Replies: 3
Views: 2208

Re: RTC DS1307 Read Error

Have you tried different batteries? I had loads of problems with my DS1307. Some of which I think might have been down to the quality of the battery holder. I wrote a tutorial on it which I had to abandon because the devices were so unreliable. In the end I went for a DS3231 and instantly made more ...
by MattHawkinsUK
Sat Aug 01, 2015 7:27 pm
Forum: General discussion
Topic: Home Automation
Replies: 5
Views: 1191

Re: Home Automation

Did you use the Wifi configuration utility within Raspbian to set the Wifi password? If not try this WiFi configuration tutorial . I had real trouble with my RTC module (a DS1307). In the end I went for a DS3231 and that was much easier. You are best looking for a Raspberry Pi specific tutorial wher...
by MattHawkinsUK
Fri Jul 31, 2015 10:27 pm
Forum: Troubleshooting
Topic: Brand new camera module "No data received from sensor"
Replies: 10
Views: 3557

Re: Brand new camera module "No data received from sensor"

You need to start with the basics to check the camera is working before you try streaming. You need to try the raspistill utility on the command line to take a single photo. i.e. raspistill -o myimage.jpg See http://www.raspberrypi-spy.co.uk/2013/05/taking-hi-res-photos-with-the-pi-camera-module/ fo...
by MattHawkinsUK
Fri Jul 10, 2015 9:33 pm
Forum: Automation, sensing and robotics
Topic: Raspberry Pi Tank
Replies: 9
Views: 2851

Re: Raspberry Pi Tank

Looks good!

Consider switching the Pi for a Model A+. It will be smaller and use less power and you only need 1 USB port for the dongle. It might mean you can go for a smaller battery.
by MattHawkinsUK
Fri Jul 10, 2015 9:29 pm
Forum: Beginners
Topic: Rechargeable battery
Replies: 6
Views: 1434

Re: Rechargeable battery

I've used a number of Power banks with the Raspberry Pi. It really depends on the the total capacity and the weight you are after. I quite like the RAVPower RP-PB13 14000mAh, Lumsing PBJ-6200 6200mAh or Lumsing LUM-008-001 10400mAh "Harmonica”. I've got blog posts on them all in my Power section . I...

Go to advanced search