Welcome To Fetcheveryone

Our awesome training log doesn't hide its best features behind a paywall. Search thousands of events, get advice, play games, measure routes, and more! Join our friendly community of runners, cyclists, and swimmers.
Click here to get started
Already a Fetchie? Sign in here

Pi Club

34 watchers
6 Sep
9:50pm, 6 Sep 2020
275 posts
  • 0
All real programmers look away now: Run The Sum worker-outer.

# RunTheSum.py
# Purpose: Days of the month summation in kms for Fetch game


for days in range(1,MonthDays):

units=days % 10






print ("day "+str(days)+": "+str(km)+" km, "+str(round(miles,2))+" miles"+". Cumulative "+str(cumulativeKm)+"km, "+str(round(cumulativeMiles,2))+" miles")
6 Sep
9:50pm, 6 Sep 2020
276 posts
  • 0
And all of the indentation disappeared on submitting. Darn.
6 Sep
10:13pm, 6 Sep 2020
277 posts
  • 0
I find 'Barrier' really useful for running a Pi on its own screen alongside a desktop or laptop and using the keyboard and mouse of the desktop without additional keyboards cluttering the desk (and typing on one keyboard when I meant to type on another, etc.) I prefer it to VNC or SSHing-in for some projects; particularly for onboard graphic use. It also allows cut and pasting from PC/Mac to Pi and vice-versa.

7 Sep
10:55pm, 7 Sep 2020
3901 posts
  • 0
I received a 433MHz RF receiver module in the post today, and connected it to a ludicrously cheap Wemos Mini D1 microcontroller. The Wemos runs Tasmota and is configured to publish an MQTT message whenever it detects a particular RF signal. The MQTT message (handled by the open source mosquito MQTT broker running on a Pi Zero) is caught by a bash script running on the same Pi Zero.

I already use Kodi (OSMC on Raspberry Pi) in the kitchen, livingroom and backroom to access Live TV, Recorded TV, Radio, YouTube and my Music/Video library).

End Result - When my cheap RF wireless doorbell is pressed:

- The doorbell base unit chimes, just as it always did (but I rarely hear it, unless I’m in the same room and not playing anything loud).

- I now also get a ‘Telegram’ alert that causes my iPhone, iPad and Garmin watch to alert me that the doorbell rang.

- If Kodi is active in any room, it’ll pause playback and display a notification on the screen.

Only cost a few quid, a few hours of screen time!

RF Module: amazon.co.uk

Wemos: uk.banggood.com
8 Sep
9:45am, 8 Sep 2020
13178 posts
  • 0
Nice work.

I wasn't familiar with the Wemos Mini D1 device. It has a pretty powerful Tensilica CPU, which has shipped in quantities of billions (certainly more than Intel or AMD x86 devices) and yet is almost unheard of. I spent my working career as a chip designer and sometimes it still shocks me how much processing power you can have for pennies these days. I'm reminded of Marvin the paranoid android - that thing could be beating you at Chess, running a flight simulator and hosting a web server and still be listening out for an occasional RF signal.
6 Nov
2:50pm, 6 Nov 2020
6572 posts
  • 0
Finally bi the bullet and bought a Pi 4 a couple of weeks ago.

Set up pihole (Ad blocker) and added a backup disk so I can view all the photos from any device in the house.
6 Nov
3:00pm, 6 Nov 2020
312 posts
  • 0
Nice work Fergus, that's put another idea in my head. I've been slow on the Pi of late but there are more plans than time. I'm currently irrationally happy at the idea of the Pi 400 - even though there's a Pi 4 already on the desk beside me. Somehow, the fact that they've finally released their own integrated keyboard/computer in a form factor so evocative of the Spectrum, Oric, C64, and others, just brings a wave of nostalgia. And it's got that nice lap-warning heatsink like the Spectrum - for the coming winter - and is already clocked at 1.8 Ghz. Jeff Geerling's taken it to 2.2 GHz but I haven't seen the numbers yet.
6 Nov
3:04pm, 6 Nov 2020
3982 posts
  • 0
Good work. Funny to think how that would’ve required an old rescued PC in the past, and would’ve taken up space and made a lot of fan noise!
6 Nov
3:04pm, 6 Nov 2020
313 posts
  • 0
^warning=warming^ !

I hope it's not a lap-warner - that sounds like another project for someone else. I think I've just had a Prague moment.
28 Nov
7:18pm, 28 Nov 2020
1512 posts
  • 0
I bought a Pi B 5yrs ago but never got to grips with it. Also got MagPi with the first PiZero attached, unused. Saw the 400 and that restarted my interest, in a week I've got the 400 running as a desktop, the B running PiHole, and two Zero W's, one running a justboom sound output, the other and Autumn Watch cam using Zerocam Noir and Motioneyeos, although no IR source so a bit of a usb lamp hack to get it working.

The latter was today's project I'm testing in the garden with an Anker Powercore Mini and we've already seen a fox on screen which was ace. I'm hoping that clip is saved ok on the sd card.

I think I could get into making more useful things for around the house.

Pics of zero autumn watch cam:

Got something to say?

To contribute to the discussion, you need to either sign in or register as a user.

About This Thread

Maintained by fetcheveryone
I thought I'd start a thread for Raspberry Pi fans. This is it :-)

Related Threads

using project raspberry running projects play wifi power card start bought
Back To Top