Go to advanced search

by chorlton2080
Mon Aug 07, 2017 1:32 pm
Forum: Gaming
Topic: Revert to Raspian bluetooth driver after Sixaxis Retropie install
Replies: 0
Views: 532

Revert to Raspian bluetooth driver after Sixaxis Retropie install

Hi folks I'm using the PS3 sixaxis controller with Retropie on a Raspberry Pi 3. The driver warns that this will disable the provided Bluetooth driver in the Raspbian distribution. It's fine and works well. However, does anyone know how to enable the standard driver at a future date (without a fresh...
by chorlton2080
Sat Jun 11, 2016 1:48 pm
Forum: Other projects
Topic: Running RetroPie's UAE4All with purchased Amiga ROMs
Replies: 0
Views: 637

Running RetroPie's UAE4All with purchased Amiga ROMs

I purchased the Amiga Forever Plus pack a while ago, which comes with a set of Kickstart ROMs. The Cloanto webpage suggests that the supplied ROMs should work with Linux versions for UAE, but I am struggling. I have the version of UAE4All as supplied with the RetroPie project. Selection of any ROM c...
by chorlton2080
Tue Jan 20, 2015 8:33 pm
Forum: Troubleshooting
Topic: A+ problem with Edimax WiFi
Replies: 1
Views: 427

Re: A+ problem with Edimax WiFi

I thought it was a tight fit. Just noticed that the pins in the USB socket are bent on both A+'s. Looks like from other posts this is a common problem.
by chorlton2080
Tue Jan 20, 2015 8:27 pm
Forum: Troubleshooting
Topic: A+ problem with Edimax WiFi
Replies: 1
Views: 427

A+ problem with Edimax WiFi

Hi folks. It's there any reason why the A+ isn't able to power-up (or otherwise fail to start) the popular Edimax EW-7811UN dongle? The interface works in every other Pi I have (all variants), but in neither of two A+'s. Note that I have the Unicorn Hat fitted but not activated. Using the official P...
by chorlton2080
Sun Jan 11, 2015 2:29 pm
Forum: Troubleshooting
Topic: Canon LBP2900B Printer
Replies: 13
Views: 7472

Re: Canon LBP2900B Printer

No. It is connected to the USB port of the router (which runs an ARM Linux) and is then available as a shared printer on my Windows boxes - which is my ultimate aim.
by chorlton2080
Sat Jan 10, 2015 8:07 pm
Forum: Troubleshooting
Topic: Canon LBP2900B Printer
Replies: 13
Views: 7472

Re: Canon LBP2900B Printer

What I can't understand is that I CAN get this to work by connecting to my Asus router using the LPR protocol. The Asus router is running Linux on an ARM processor! I can't, however, get this working on my Pi.
by chorlton2080
Sat Dec 13, 2014 10:56 am
Forum: Python
Topic: Problem displaying signed floats
Replies: 5
Views: 926

Re: Problem displaying signed floats

Now solved using the answer above. Thanks to both of you for your assistance.
by chorlton2080
Sat Dec 13, 2014 10:56 am
Forum: Python
Topic: Problem displaying signed floats
Replies: 5
Views: 926

Re: Problem displaying signed floats

DirkS wrote:Can you post examples of 'output' and also of 'matches.group(1)' which is the value that is actually converted.

Gr.
Dirk.
Struggling to copy out of JuiceSSH on my mobile. The latest 'output' contains text including '-1.8C'; 'matches.group(1)' reports it as '1.8'.
by chorlton2080
Sat Dec 13, 2014 10:54 am
Forum: Python
Topic: Problem displaying signed floats
Replies: 5
Views: 926

Re: Problem displaying signed floats

matches = re.search("Temp =\s+-([0-9.]+)", output) Match the minus sign inside the grouping parentheses, so that it is included in the string that is converted to float. You do not need two separate cases because you can make the sign optional by following it with a question mark: matches = re.sear...
by chorlton2080
Sat Dec 13, 2014 9:30 am
Forum: Python
Topic: Problem displaying signed floats
Replies: 5
Views: 926

Problem displaying signed floats

Hello folks Until this month, my outdoor DHT22 temperature/humidity monitor has been working fine. However, with the cold weather, and temperatures now sub-zero, I've noticed that my routine is failing to handle negative temperatures - instead they are represented as being positive: the sign has bee...
by chorlton2080
Sun Dec 07, 2014 11:05 am
Forum: Networking and servers
Topic: Edimax speed issues
Replies: 0
Views: 403

Edimax speed issues

Hello folks I have four Edimax EW-7811un USB WiFi adapters in use on my Pi's. All are installed with Raspian with no changes to the default wireless config. When connected to laptops and using 'iperf', I regularly see LAN transfer rates of ca. 20Mbit/s. Great, but not spectacular given I'm using an ...
by chorlton2080
Sat Dec 06, 2014 8:45 am
Forum: Advanced users
Topic: Easy LAN data xfer between Pi's
Replies: 3
Views: 988

Easy LAN data xfer between Pi's

Hi Folks I would like to transfer certain sensor data from the networked Pi I have in the garden for display on a headless Pi with an LCD segmented display. At present the data is being sent to Google Sheets. What is the simplest way, using Python if possible, to send, recieve and interpret network ...
by chorlton2080
Sun Nov 23, 2014 12:43 pm
Forum: Networking and servers
Topic: RPi Printer Server without CUPS driver
Replies: 2
Views: 1300

Re: RPi Printer Server without CUPS driver

Thanks: I couldn't get lpr to work.
by chorlton2080
Sun Nov 23, 2014 12:10 pm
Forum: Networking and servers
Topic: RPi Printer Server without CUPS driver
Replies: 2
Views: 1300

RPi Printer Server without CUPS driver

Hello Folks Can anyone explain how to configure CUPS to print to my unsupported (Canon LBP2900i) laser printer using the source computer's Windows driver? I'm expecting that it should be possible to simply pass-through the raw data unchanged to the printer connected to the RPI's USB port. It may be ...
by chorlton2080
Mon Sep 15, 2014 2:30 pm
Forum: Python
Topic: tumble dryer controller
Replies: 3
Views: 1554

tumble dryer controller

I have a tumble dryer with basic timer settings that I recently decided to control using a Pi and a DHT22 temp/humidity sensor positioned in the exhaust vent. The Pi emails and activates a wireless doorbell when the clothes are regarded as being dry, which is often much sooner than the timer guides ...
by chorlton2080
Sat Aug 16, 2014 5:04 pm
Forum: Python
Topic: Run command embedded in GMail mail
Replies: 7
Views: 1894

Re: Run command embedded in GMail mail

Folks For those who asked me to share the working code, sorry about the delay. I'm using this to reboot the Pi (really as a test in calling basic shell commands) and in running Python scripts: both triggered by email. Remember to use the full path (including for shell commands). This is much better ...
by chorlton2080
Sun Aug 10, 2014 6:29 pm
Forum: Raspbian
Topic: SSH with UPnP
Replies: 6
Views: 5864

Re: SSH with UPnP

I don't use port 22, still wouldn't want to leave it open unnecessarily.

How could processing an email from a known sender, then opening a port, be a security problem, given that leaving the port open all the time appears to be advocated by the above responses?
by chorlton2080
Sun Aug 10, 2014 11:05 am
Forum: Raspbian
Topic: SSH with UPnP
Replies: 6
Views: 5864

Re: SSH with UPnP

Which fix? Please elaborate
by chorlton2080
Sat Aug 09, 2014 10:10 pm
Forum: Automation, sensing and robotics
Topic: RF receiver 433MHZ
Replies: 37
Views: 51820

Re: RF receiver 433MHZ

Can I make a suggestion that people try a different approach to control remote sockets? I've found it easier to use the original socket remote and trigger the button contacts using opto-isolators connected to the GPIOs. I've had complete success with sockets and remote doorbells acting as audible al...
by chorlton2080
Sat Aug 09, 2014 9:54 pm
Forum: Raspbian
Topic: SSH with UPnP
Replies: 6
Views: 5864

SSH with UPnP

Hello folks. I'm wary about leaving ports permanently open on my router to allow SSH connection to my Pi's from outside the LAN. Is it possible to open ports on demand using UPnP, initiated by the Pi and perhaps following receipt of an email? I know how to get the Pi to respond to emailed commands. ...
by chorlton2080
Sun Aug 03, 2014 4:51 pm
Forum: Python
Topic: Run command embedded in GMail mail
Replies: 7
Views: 1894

Re: Run command embedded in GMail mail

Thanks for the link and the advice. I'm now able to issue a deliberately limited set of instructions to my Pi via email without having to keep a port open at the router, as was the requirement. I've used the built-in Python modules rather than download new for reasons of compatibility and future ava...
by chorlton2080
Sun Aug 03, 2014 11:40 am
Forum: Python
Topic: Run command embedded in GMail mail
Replies: 7
Views: 1894

Re: Run command embedded in GMail mail

The basics of this need are answered thus:

http://stackoverflow.com/questions/1225 ... ith-python

This relies on a conventional POP connection so is not limited to GMail or its RSS feature.
by chorlton2080
Sat Aug 02, 2014 2:11 pm
Forum: Troubleshooting
Topic: B+ External Hard Drives
Replies: 10
Views: 15822

Re: B+ External Hard Drives

Regarding the USB cable annoyance: PortaPow 'fast charging' cables are proven to provide just over 2A. I can't get enough of them!
by chorlton2080
Sat Aug 02, 2014 2:07 pm
Forum: Python
Topic: Run command embedded in GMail mail
Replies: 7
Views: 1894

Run command embedded in GMail mail

Is anyone able to suggest a script which will check for emails from a nominated GMail account and parse a command contained within?

Commands will be limited to 'take picture and email back' and 'restart pi'.

Scratching head all day on this!

Thank you
by chorlton2080
Fri Aug 01, 2014 10:20 am
Forum: Troubleshooting
Topic: B+ External Hard Drives
Replies: 10
Views: 15822

Re: B+ External Hard Drives

Something else to consider. Do you not need to do the following to enable maximum power to the B+ USB?

Code: Select all

sudo nano /boot/config.txt
.....
safe_mode_gpio=4

Go to advanced search