Go to advanced search

by PaulCheffus
Fri May 08, 2015 11:32 am
Forum: Troubleshooting
Topic: RTC
Replies: 28
Views: 4256

Re: RTC

If you're running a Pi as a webserver, which is presumably connected to the internet, why would you bother with an RTC ? Hi What happens when the router goes down due to a power cut and the Pi boots quicker than the router when it comes back up? The PYWWS software I am using then fails to restart a...
by PaulCheffus
Fri Mar 20, 2015 10:21 pm
Forum: Advanced users
Topic: uptimed
Replies: 12
Views: 3491

Re: uptimed

Hi A further update. I have bought a Pi 2 and installed the image from 31/01/15 and then upgraded it to 3.18.7+v7 this version works correctly. The two Pis I have the problem with are both initial release model Bs with 256MB ram and have been upgraded from 3.2.27 to 3.18.7+. I also have on loan a B+...
by PaulCheffus
Thu Mar 12, 2015 2:58 pm
Forum: Advanced users
Topic: uptimed
Replies: 12
Views: 3491

Re: uptimed

Hi Thanks for the replies. Connected via Ethernet Installed using apt-get dmesg doesn't show the error it only ever appears if i connect the TV OS is Raspbian 3.18.7+ I also have a RTC module installed PCF2127 (RASCLOCK), however, I stopped this from loading in the rc.local file which didn't make an...
by PaulCheffus
Thu Mar 12, 2015 11:28 am
Forum: Advanced users
Topic: uptimed
Replies: 12
Views: 3491

Re: uptimed

Hi I normally run the Pi headless so connected it to the TV. At the very end of the boot sequence I get the following message just before the login prompt and before it runs /etc/rc.local starting uptimed daemon: parsing btime from /proc/stat failed. can not determine bootid, exiting. If I then run ...
by PaulCheffus
Tue Mar 10, 2015 3:13 pm
Forum: Advanced users
Topic: uptimed
Replies: 12
Views: 3491

Re: uptimed

Hi

Thanks.

Mine certainly doesn't register the ones you have on your list that are up for a few seconds.

I usually get the top one which is around 42 days and then the currently running one, no others no matter how many times I reboot.

Cheers

Paul
by PaulCheffus
Tue Mar 10, 2015 12:51 pm
Forum: Advanced users
Topic: uptimed
Replies: 12
Views: 3491

Re: uptimed

Hi

Thanks for the reply. I guess I'll wait and see what happens.

Cheers

Paul
by PaulCheffus
Sat Mar 07, 2015 1:48 pm
Forum: Advanced users
Topic: uptimed
Replies: 12
Views: 3491

Re: uptimed

ls -l /var/spool/uptimed/ total 12 -rw-r--r-- 1 daemon daemon 2 Jan 1 1970 bootid -rw-r--r-- 1 daemon daemon 20 Jun 11 12:51 records -rw-r--r-- 1 daemon daemon 20 Jun 11 12:50 records.old my NIC may not be up before uptimed gets run so it's possible the orginial unix 1970 date is being initialised ...
by PaulCheffus
Thu Feb 26, 2015 8:54 pm
Forum: Troubleshooting
Topic: Rasclock no longer working after upgrade to 3.18.7+
Replies: 1
Views: 546

Re: Rasclock no longer working after upgrade to 3.18.7+

Hi

I've fixed it. I had pcf2127a in the /etc/rc.local from the old instructions. Changed this to pcf2127 and it is now working correctly.

Cheers

Paul
by PaulCheffus
Thu Feb 26, 2015 4:56 pm
Forum: Troubleshooting
Topic: Rasclock no longer working after upgrade to 3.18.7+
Replies: 1
Views: 546

Rasclock no longer working after upgrade to 3.18.7+

Hi I had the Rasclock working with the kernel supplied by AfterThoughtSoftware and read that the clock module was now supported in Raspbian so I upgraded. Now I can still see the clock module at 0x51 using sudo i2cdetect -y 0 (old Model B with 256MB) but when I run sudo hwclock -r I get hwclock: ioc...
by PaulCheffus
Fri Jan 10, 2014 7:59 pm
Forum: General discussion
Topic: Anyone have wifi dongle without external power?
Replies: 45
Views: 27011

Re: Anyone have wifi dongle without external power?

wiseman wrote:Using a 1.2 amp power supply, my Edimax EW-7811Un is very unstable and essentially unusable.
Hi

I am using one of these with a blackberry charger at 700mA and it works perfectly plugged directly into the Pi original version with the poly fuses on the USB.

Cheers

Paul
by PaulCheffus
Fri Jan 03, 2014 5:41 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: RTC Clock - Why?
Replies: 6
Views: 1414

Re: RTC Clock - Why?

Why add a RTC clock? The long term accuracy of ntp is far better than any RTC. Hi In my case it isn't for accuracy. I have my Pi connected to a Weather Station and when the Pi boots it starts the Weather software. I have found when we have a power cut the Pi will boot far quicker than the router an...
by PaulCheffus
Wed Oct 09, 2013 4:31 pm
Forum: General discussion
Topic: WIFI chipset for Raspberry: RT5370 or RT8188?
Replies: 8
Views: 14546

Re: WIFI chipset for Raspberry: RT5370 or RT8188?

crystal13 wrote:Thank you Paul.

the polyfuse is present only on Raspberry Pi Rev1?

What can cause the absence of the polyfuse?

thank you very much.
Hi

The polyfuse for the USB (not the main F3 polyfuse) was removed in the later versions (first replaced with a 0R resistor then completely removed).

Cheers

Paul
by PaulCheffus
Wed Oct 09, 2013 3:31 pm
Forum: Automation, sensing and robotics
Topic: Room by Room central heating control
Replies: 31
Views: 31748

Re: Room by Room central heating control

Cancelor wrote:Even so, if all radiators are off then I would try and make sure the boiler does not come on.
Hi

In our central heating system one of the radiators cannot be turned off to ensure there is always somewhere for the water to go if all others are off.

Cheers

Paul
by PaulCheffus
Wed Oct 09, 2013 2:55 pm
Forum: General discussion
Topic: WIFI chipset for Raspberry: RT5370 or RT8188?
Replies: 8
Views: 14546

Re: WIFI chipset for Raspberry: RT5370 or RT8188?

Ok thank you. At this link: http://elinux.org/RPi_USB_Wi-Fi_Adapters is reported: Note: A Wi-Fi adapter will probably need more power than the Raspberry Pi USB port can provide, especially if there is a large distance from the Wi-Fi adapter to the Wi-Fi Access Point, or it is transferring large amo...
by PaulCheffus
Thu Sep 12, 2013 9:38 am
Forum: Beginners
Topic: Setting up pywws / writing data to website
Replies: 57
Views: 16882

Re: Setting up pywws / writing data to website

Hi Mike Sadly it appears that ANY entry in the plot section fails with the same error 2 (file does not exist). The rose ones are the only ones that report no plot points, but that could be because my anemometer is a bit seized at the moment. I have been banging my head against this all afternoon no...
by PaulCheffus
Wed Sep 11, 2013 7:48 pm
Forum: Beginners
Topic: Setting up pywws / writing data to website
Replies: 57
Views: 16882

Re: Setting up pywws / writing data to website

Good morning all, I hope you don't mind me jumping into this thread. I have spent the last ten days or so getting used to my Pi and gearing up to this project. So far I am getting on OK and have: Pi collecting data from my weather station (seems OK but at the moment the anemometer & poss rain senso...
by PaulCheffus
Sat Sep 07, 2013 4:21 pm
Forum: Beginners
Topic: Setting up pywws / writing data to website
Replies: 57
Views: 16882

Re: Setting up pywws / writing data to website

Paul, Just to let you know, I modified weather.ini to match the template 12months. I agree it makes more sense to name it that the 2012. Once done everything started to upload successfully. Just another query though - you've got a teomplate in plot called "year.png.xml" - do you use it? Also I modi...
by PaulCheffus
Fri Sep 06, 2013 11:55 am
Forum: Beginners
Topic: Setting up pywws / writing data to website
Replies: 57
Views: 16882

Re: Setting up pywws / writing data to website

Hi Paul, I did wonder about the significance of the "exit 0" command. I'll change it and hopefully that'll sort it. Livelog won't run now I've updated the plot and text folders with your versions, I presume becasue weather.ini is looking for "2012.png.txt" and can't find it. I'm at work so can't re...
by PaulCheffus
Fri Sep 06, 2013 10:29 am
Forum: Beginners
Topic: Setting up pywws / writing data to website
Replies: 57
Views: 16882

Re: Setting up pywws / writing data to website

Hi Mike #!/bin/sh -e # # rc.local # # This script is executed at the end of each multiuser runlevel. # Make sure that the script will "exit 0" on success or any other # value on error. # # In order to enable or disable this script just change the execution # bits. # # By default this script does not...
by PaulCheffus
Thu Sep 05, 2013 8:35 pm
Forum: Beginners
Topic: Setting up pywws / writing data to website
Replies: 57
Views: 16882

Re: Setting up pywws / writing data to website

Paul, Got your email and will be emailing contents of /var/www. Thanks As for index.txt.tmp, I renamed index.txt to to check whether it mattered to the website whether it could "see" index.txt as to what it is currently displaying. Whether index.txt is there or not the website displays the same. Th...
by PaulCheffus
Thu Sep 05, 2013 7:35 pm
Forum: Beginners
Topic: Setting up pywws / writing data to website
Replies: 57
Views: 16882

Re: Setting up pywws / writing data to website

Hi Mike Paul, Just checked PHP and it appears to be installed and working properly. If you go to brooksymike.no-ip.org you'll see what I mean. (i.e. not in the "weather" folder) Can you email me a copy of the files in the /var/www folder please. (Email address PM'd). I've just noticed in your previo...
by PaulCheffus
Thu Sep 05, 2013 8:26 am
Forum: Beginners
Topic: Setting up pywws / writing data to website
Replies: 57
Views: 16882

Re: Setting up pywws / writing data to website

Hi Mike Something else has just occured to me. Do you have PHP installed? I have looked at the source of your website and it stops at this line <div id="today_forecast" class="forecast"></div> In the index.php file the next line begins <?php <div id="today_forecast" class="forecast"></div> <?php req...
by PaulCheffus
Thu Sep 05, 2013 6:42 am
Forum: Beginners
Topic: Setting up pywws / writing data to website
Replies: 57
Views: 16882

Re: Setting up pywws / writing data to website

Hi Mike Paul Sorry - I made a mistake in my last post and said that I'd copied all the data to /var/www/weather/data rather than one folder up. Please see screenshots below which should explain it better. The following is a screenshot of the terminal showing the contents of /var/www/weather and /var...
by PaulCheffus
Wed Sep 04, 2013 6:44 am
Forum: Beginners
Topic: Setting up pywws / writing data to website
Replies: 57
Views: 16882

Re: Setting up pywws / writing data to website

Hi Mike Paul, Further developments are that the webpage will display correctly if I download (index.txt, index.php, styles.css) to my local disk on my PC and open index.php up with a browser in windows, but as soon as I upload the same files (index.txt, index.php, styles.css) to the PI ( /var/www/we...
by PaulCheffus
Tue Sep 03, 2013 2:22 pm
Forum: Troubleshooting
Topic: Pretty sure Pi has fried 1.5 SD Cards... not sure what to do
Replies: 12
Views: 2164

Re: Pretty sure Pi has fried 1.5 SD Cards... not sure what t

I always try to send the shutdown command to properly power down the device, however sometimes things happen and it's not possible. After maybe two or three of these the SD card is corrupted. I understand that not shutting down the Pi can cause corruption, but is this level of sensitivity normal? H...

Go to advanced search