Go to advanced search

by ecurieecosse
Wed Aug 16, 2017 7:32 am
Forum: Python
Topic: urllib stopped working
Replies: 6
Views: 2036

Re: urllib stopped working

Scotty thanks for suggestion and you thoughts. I'll definitely look at requests next time round.
by ecurieecosse
Tue Aug 15, 2017 3:51 pm
Forum: Python
Topic: urllib stopped working
Replies: 6
Views: 2036

Re: urllib stopped working

Thanks for the suggestion scotty. I'll go look at the link, and may well use your suggestion in future, but I'm not likely to change the code on a working programme right now. I wonde what you consider the advantages to be of requests versus urllib?
by ecurieecosse
Tue Aug 15, 2017 1:19 pm
Forum: Python
Topic: urllib stopped working
Replies: 6
Views: 2036

Re: urllib stopped working

You are a genius elParaguayo! of course you are correct and i did find another script called email, changed the name and hey presto everything is working fine. Thank you so much.
by ecurieecosse
Mon Aug 14, 2017 4:42 pm
Forum: Python
Topic: urllib stopped working
Replies: 6
Views: 2036

urllib stopped working

Hi, I've got some python3 scripts that use urllib that have been working fine. Suddenly all of these fail on the standard import command - import urllib.request, urllib.error, urllib.parse The error message is as follows - Traceback (most recent call last): File "<frozen importlib._bootstrap>", line...
by ecurieecosse
Mon Jan 23, 2017 4:30 pm
Forum: Python
Topic: autorun python script in terminal window
Replies: 9
Views: 5403

Re: autorun python script in terminal window

Thanks for all the assistance here but somewhere along the way I am missing something. I've tried the various scripts on the posts referred to in this thread and the others but can't get it right. So here is my issue - I am starting 4 separate python scripts on boot using systemd. This example shows...
by ecurieecosse
Fri Jan 20, 2017 5:42 pm
Forum: Python
Topic: autorun python script in terminal window
Replies: 9
Views: 5403

Re: autorun python script in terminal window

Hi Dave, Not sure that my post is really about autorunning scripts exactly. I've used systemd to set up the autoruns when the pi boots, but wanted to find a way to have them run in a visible terminal window so that I can see their output and maybe even use CTRL C should I need to.
by ecurieecosse
Fri Jan 20, 2017 5:14 pm
Forum: Python
Topic: autorun python script in terminal window
Replies: 9
Views: 5403

Re: autorun python script in terminal window

Matt, thanks for the reply - I go have a look when I've got a little bit of time.
by ecurieecosse
Fri Jan 20, 2017 3:46 pm
Forum: Python
Topic: autorun python script in terminal window
Replies: 9
Views: 5403

autorun python script in terminal window

Normally if you run a python program from either idle or direct command from a terminal window any output from the prgram shows in the terminal window. However, if I atuorun a program at boot the program output isn't visible. I've searched high and low but cannot find a way to ideally autorun a prog...
by ecurieecosse
Wed Jan 18, 2017 9:53 am
Forum: Advanced users
Topic: Multiple DS18B20 temperature sensors
Replies: 36
Views: 25691

Re: Multiple DS18B20 temperature sensors

A quick update as I've found some time after the holiday period to do further investigations. 1. I ascertained that one of the sensors was not working - that turned out to be miswired at the end of the 15m cable. Easily resolved but did not make any difference to the detection of all sensors. 2. I s...
by ecurieecosse
Fri Dec 16, 2016 5:01 pm
Forum: Advanced users
Topic: Multiple DS18B20 temperature sensors
Replies: 36
Views: 25691

Re: Multiple DS18B20 temperature sensors

Joe,
Thanks for that info - a link wold have been helpful, but I have managed to track down the pdf you mention and am now reading it. For anyone else interested in this topic here is the link -
https://www.maximintegrated.com/en/app- ... mvp/id/148
There is a lot to consider in this paper.
by ecurieecosse
Thu Dec 15, 2016 12:34 pm
Forum: Advanced users
Topic: Multiple DS18B20 temperature sensors
Replies: 36
Views: 25691

Re: Multiple DS18B20 temperature sensors

I haven't yet had an opportunity to do any further investigation as the system is now back in my home and the long cables are installed in the studio. My belief is that the problem is voltage drop over the cable runs so my plan is to try 2 different things - 1. Use 5v supply as Brian is doing as he ...
by ecurieecosse
Fri Dec 09, 2016 11:08 am
Forum: Advanced users
Topic: Multiple DS18B20 temperature sensors
Replies: 36
Views: 25691

Re: Multiple DS18B20 temperature sensors

Steven, Thanks for the suggestions, some of which will be tricky to try in situ - cables in ceiling voids etc. My thoughts were simply to split the sensors into 2 groups of 2 and supply each group with seperate 3.3v/GND but still bring the signal leads together. Hopefully someone else may have exper...
by ecurieecosse
Fri Dec 09, 2016 10:10 am
Forum: Advanced users
Topic: Multiple DS18B20 temperature sensors
Replies: 36
Views: 25691

Re: Multiple DS18B20 temperature sensors

hi rpdom,
The sensors share common 3.3v gnd and signal like the diagram attached. The key issues that evrything works fine except when all sensors are on the end of long cables. Hence my guess about resistance and power.
connect-multiple-ds18b2-i2c-sensors-raspberry-pi.jpg
wiring layout
connect-multiple-ds18b2-i2c-sensors-raspberry-pi.jpg (30.55 KiB) Viewed 23925 times
by ecurieecosse
Fri Dec 09, 2016 9:48 am
Forum: Advanced users
Topic: Multiple DS18B20 temperature sensors
Replies: 36
Views: 25691

Multiple DS18B20 temperature sensors

Hi, I'm just wondering if anyone has come across this issue. Using a pi3 I have 4 of the digital temperature sensors measuring temperatures all of which is working perfectly on my bench. The live installation has the sensors in 4 areas and all of them are wired to individual cables between 15 to 10 ...
by ecurieecosse
Thu Nov 03, 2016 1:22 pm
Forum: Raspberry Pi OS
Topic: RealVNC and Pixel
Replies: 2
Views: 1363

Re: RealVNC and Pixel

Sconemad thanks for the reply. To answer some of your points - 1. The known issue. Thanks for that - I hadn't found that known issue on my searches, I'll give it a try. 2. The message is connection refused. Of course I used pi/raspberry (and any other combination that seemed worth trying! :)) to try...
by ecurieecosse
Thu Nov 03, 2016 11:48 am
Forum: Raspberry Pi OS
Topic: RealVNC and Pixel
Replies: 2
Views: 1363

RealVNC and Pixel

After upgrading to pixel with the pre-installed Real VNC I can't log in to the pi. I seem to have to issues - 1. Despite enabling VNC in the config menu it doesn't seem to start on boot. I can start it from a terminal window however. 2. No combination of username/password will allow a login. Both th...
by ecurieecosse
Sun Oct 30, 2016 4:31 pm
Forum: Troubleshooting
Topic: Dirty Cow fix
Replies: 3
Views: 710

Re: Dirty Cow fix

I finally managed to format the SD by installing it in my camera and using the camera's format option. Then used SD Formatter, and am now starting the new installation from scratch. The bad news is that I probably don't have all of the pi software I was developing backed up to my PC ( or at least ma...
by ecurieecosse
Sun Oct 30, 2016 3:53 pm
Forum: Troubleshooting
Topic: Dirty Cow fix
Replies: 3
Views: 710

Dirty Cow fix

MagPi posted a suggestion to fix the Dirty Cow vulnerability. I did that on my pi3 running Raspbian via the berryboot software using a WDLabs hard drive. After doing the update my pi won't boot - I only get to the multicoloured screen and no further. Even worse news however is that my SD card seems ...
by ecurieecosse
Thu Apr 28, 2016 9:04 am
Forum: General discussion
Topic: Western Digital PiDrive
Replies: 13
Views: 3244

Re: Western Digital PiDrive

Had a very helpful reply from WD explaining the circumstances and hopefully the situation will be resolved soon. It's great that someone from WD has taken the time and trouble to contact me. Well done.
by ecurieecosse
Wed Apr 27, 2016 2:39 pm
Forum: General discussion
Topic: Western Digital PiDrive
Replies: 13
Views: 3244

Re: Western Digital PiDrive

Of course you are correct about demand, except that after 5 weeks and an admission that there is no known estimate for delivery I've decided to give up, at least for the moment. In my business I can do a reasonable delivery estimate based on number of orders, production schedule, and shipping time, ...
by ecurieecosse
Wed Apr 27, 2016 11:30 am
Forum: HATs and other add-ons
Topic: WD PiDrive availability
Replies: 0
Views: 316

WD PiDrive availability

Anyone thinking of buying the WD Pidrive and accessories see my other post here -
viewtopic.php?f=63&t=146112
by ecurieecosse
Wed Apr 27, 2016 11:26 am
Forum: General discussion
Topic: Western Digital PiDrive
Replies: 13
Views: 3244

Western Digital PiDrive

A quick warning for anyone considering the purchase of the WD PiDrive, cable set and enclosure. I placed my confirmed order on 22nd March and was told to expect a 3 to 4 week delivery. I have today, 5 weeks later, been emailed by WD to tell me that they cannot provide an expected delivery date and g...
by ecurieecosse
Fri Mar 13, 2015 11:10 am
Forum: User groups and events
Topic: pi users in Cornwall?
Replies: 0
Views: 650

pi users in Cornwall?

A short pi course at Truro College is nearing the end but it would be nice to try and get a group of pi users together to hold jams. Anyone out there? I've never been to jam so no idea how to organise but maybe others have.

Go to advanced search