Go to advanced search

by justinsb
Sat Nov 07, 2015 12:22 pm
Forum: Other
Topic: Ubuntu MATE 15.10 GTK_IS_INVISIBLE (widget)' failed
Replies: 0
Views: 657

Ubuntu MATE 15.10 GTK_IS_INVISIBLE (widget)' failed

Hi everyone. I have just flashed Ubuntu MATE 15.10 on an 8Gb Sandisk card & have it all running really nicely. My only problem is with TransGUI (which I've used for years on all my other Raspberry Pi systems) as it crashes each time I try to launch it. I'm using the standard version from the reposit...
by justinsb
Sat May 16, 2015 5:48 pm
Forum: Networking and servers
Topic: Folder syncronization
Replies: 2
Views: 934

Re: Folder syncronization

I wanted to use Dropbox but it looks like there is no way to make it run on the RPi2 That's not entirely true! There is one way, but it will cost you $30... Some Russians have cooked up an x86 emulation package for the ARM 7 processor, which, amongst a host of other things, will also allow you to r...
by justinsb
Fri May 15, 2015 9:44 pm
Forum: Debian
Topic: Google music manager on Debian/Ubuntu
Replies: 5
Views: 2410

Re: Google music manager on Debian/Ubuntu

rpdom wrote:Ubuntu doesn't run on a Pi.
Yes it does...!

I have Lubuntu 15.04 running very happily on my Raspberry Pi 2, courtesy of Wintrmute (see here on the forums) & the Ubuntu wiki ARM/RaspberryPi page.

It runs beautifully, & I now use my Pi2 as my main workstation.
by justinsb
Wed Apr 29, 2015 9:24 pm
Forum: Raspbian
Topic: jessie added to main raspbian archive
Replies: 56
Views: 90332

Re: jessie added to main raspbian archive

Something to bear in mind is that the upgrade process will completely fill a 4gb SD card, so it's not worth trying it on anything less than an 8gb one, says he, speaking from experience here... I had to dd my 4gb card onto an 8gb one & expand the partition, but thankfully it picked up the upgrade wh...
by justinsb
Thu Mar 12, 2015 9:00 pm
Forum: Raspbian
Topic: How to prevent Wifi going to sleep?
Replies: 10
Views: 6351

Re: How to prevent Wifi going to sleep?

Hi, I have an Edimax EW-7811UN that I have exactly the same problem with, & I finally managed to fix it last week... Create this file as root (or using sudo) with your text editor of choice /etc/modprobe.d/8192cu.conf paste these lines into it, then reboot. # Prevent power down of Edimax WiFi Dongle...
by justinsb
Mon Mar 09, 2015 7:50 pm
Forum: Raspbian
Topic: Experimenting with Jessie & systemd
Replies: 2
Views: 805

Re: Experimenting with Jessie & systemd

Telling it to start a service on boot seems simple...

Code: Select all

systemctl enable fail2ban
& it has its own log file viewer, which allows you to display/parse only the bits that you need to read (supposedly - I'm still working out how that bit works). It does have tail -f built in though.

Code: Select all

journalctl -f
by justinsb
Mon Mar 09, 2015 7:45 pm
Forum: Raspbian
Topic: Experimenting with Jessie & systemd
Replies: 2
Views: 805

Experimenting with Jessie & systemd

Hi all, having read, & politely ignored, the flame-wars regarding systemd , & given that, for me at least, my Raspberry Pi's are all about developing, testing, expanding my knowledge & learning from my mistakes - I figured that it was time to grab a spare SD card & fire up Rapbian Jessie so that I c...
by justinsb
Fri Mar 06, 2015 9:12 pm
Forum: Automation, sensing and robotics
Topic: Google spreadsheet temperature logger using a DS18B20
Replies: 26
Views: 14506

Re: Google spreadsheet temperature logger using a DS18B20

Due to the firmware updates, we now need to add this line to the bottom of /boot/config.txt

Code: Select all

dtoverlay=w1-gpio
You can read up all about it here:

http://www.raspberrypi.org/forums/viewt ... 28&t=97314
by justinsb
Fri Jan 02, 2015 10:58 pm
Forum: Automation, sensing and robotics
Topic: Google spreadsheet temperature logger using a DS18B20
Replies: 26
Views: 14506

Re: Google spreadsheet temperature logger using a DS18B20

I will... But currently, I have potential projects coming out of my ears, & I need to wrap this one up (& get my physical cabling laid, holes drilled & sensors mounted out of the way in the garden) before I can move onto the next one. By that time, it may be brewing time again, so it may have to be ...
by justinsb
Fri Jan 02, 2015 10:30 pm
Forum: Automation, sensing and robotics
Topic: Google spreadsheet temperature logger using a DS18B20
Replies: 26
Views: 14506

Re: Google spreadsheet temperature logger using a DS18B20

Wayner & Ame - I did it with a Google spreadsheet just to see if I could... I used to be rather adept with databases, so I knew that I could easily have rustled one up & resurrected my SQL knowledge - but I had never touched python & hadn't the first clue how I could build a sensor system & then jac...
by justinsb
Fri Jan 02, 2015 10:01 pm
Forum: Automation, sensing and robotics
Topic: Google spreadsheet temperature logger using a DS18B20
Replies: 26
Views: 14506

Re: Google spreadsheet temperature logger using a DS18B20

If you want to round to 1/2 a degree then why not just use the built in ROUND function in languages like Python like this: X - unrounded temp Y - rounded temp to 1/2 degree Y=ROUND(X*2,0)/2 Isn't that easier than a bunch of IF statements? Ummm, yes. Far easier... :lol: When I tried the round() func...
by justinsb
Fri Jan 02, 2015 9:43 pm
Forum: Automation, sensing and robotics
Topic: Google spreadsheet temperature logger using a DS18B20
Replies: 26
Views: 14506

Re: Google spreadsheet temperature logger using a DS18B20

Hi Wayner, thanks for the link. Producing nice graphs is on my to-do list for this project, definitely. I also had my eye on this forum post , which uses Highcharts - which also seems like it could be good for this. My next step is to get my sensors off my solderless breadboard & turn them into some...
by justinsb
Fri Jan 02, 2015 9:27 pm
Forum: Automation, sensing and robotics
Topic: Google spreadsheet temperature logger using a DS18B20
Replies: 26
Views: 14506

Re: Google spreadsheet temperature logger using a DS18B20

My advice would be to write a test script that just writes a value (OK, exactly the same value :-) to a google spreadsheet every minute (& does absolutely nothing else). If that one locks up after 5 or 6 minutes too, then we can presume that we are getting timed out by the google API. You could also...
by justinsb
Tue Dec 30, 2014 6:19 pm
Forum: Automation, sensing and robotics
Topic: Google spreadsheet temperature logger using a DS18B20
Replies: 26
Views: 14506

Re: Google spreadsheet temperature logger using a DS18B20

OK, here is my final code... at least for today! I have annotated it so that anyone wanting to use it ought to be able to get it running pretty quickly. Please bear in mind that this is my first ever python script & I am still in my first week of learning python & programming, so there may be ugly b...
by justinsb
Tue Dec 30, 2014 2:35 pm
Forum: Automation, sensing and robotics
Topic: Google spreadsheet temperature logger using a DS18B20
Replies: 26
Views: 14506

Re: Google spreadsheet temperature logger using a DS18B20

Now that it's all settled own, it looks like my sensors are around +/- 0.1 degree out from each other. However, it appears that they are only accurate to around +/- 0.5 anyway, so logging everything to 3 decimal places seems a bit pointless. As a result, I have now decided to calm it all down & only...
by justinsb
Mon Dec 29, 2014 11:28 pm
Forum: Automation, sensing and robotics
Topic: Google spreadsheet temperature logger using a DS18B20
Replies: 26
Views: 14506

Re: Google spreadsheet temperature logger using a DS18B20

Yes, but I'm currently between +/- 1.0 & +/-1.5 degrees, so I need to work out how stable the difference is. If it is always the same, then I can just code in a fiddle-factor... I could probably cope with +/-0.5 degrees, but I will leave it logging for a couple of days & see what the numbers look li...
by justinsb
Mon Dec 29, 2014 8:10 pm
Forum: Automation, sensing and robotics
Topic: Google spreadsheet temperature logger using a DS18B20
Replies: 26
Views: 14506

Re: Google spreadsheet temperature logger using a DS18B20

I ended up cheating, & just duplicating the script with different values for the sensor ID & the localdb name. However, I hit problems with variations on old proverbs... A man with one thermometer always knows what temperature it is. A man with two is never certain... Looks like its calibration time...
by justinsb
Mon Dec 29, 2014 7:30 pm
Forum: Automation, sensing and robotics
Topic: Google spreadsheet temperature logger using a DS18B20
Replies: 26
Views: 14506

Re: Google spreadsheet temperature logger using a DS18B20

OK, I just discovered that in order to plug 2 DS18B20 sensors in, you really can just connect them completely in parallel, behind a single resistor that brings the single GPIO port that they plug into high. # cd /sys/bus/w1/devices # ls 28-0000066e6162 28-00000677b21e w1_bus_master1 # # cat 28-00000...
by justinsb
Mon Dec 29, 2014 2:21 pm
Forum: Automation, sensing and robotics
Topic: Google spreadsheet temperature logger using a DS18B20
Replies: 26
Views: 14506

Re: Google spreadsheet temperature logger using a DS18B20

For the record, I have a Google spreadsheet called "Temperature". It has a tab called "Garden" which has the columns set up thus: Column A is called Date & is date formatted. Columns B to Y are number formatted with a custom value of "0.000" because the DS18B20 measures temperature to 3 decimal plac...
by justinsb
Mon Dec 29, 2014 1:39 pm
Forum: Automation, sensing and robotics
Topic: Google spreadsheet temperature logger using a DS18B20
Replies: 26
Views: 14506

Re: Google spreadsheet temperature logger using a DS18B20

Whilst I could have used an infinite loop in my Python script, it just didn't seem wise. So I set up a crontab to run my script every hour. man crontab & this page were really useful, but for those of you interested, it looks like this. Run sudo crontab -e & enter the following. The "1" tells the sy...
by justinsb
Mon Dec 29, 2014 1:14 pm
Forum: Automation, sensing and robotics
Topic: Google spreadsheet temperature logger using a DS18B20
Replies: 26
Views: 14506

Google spreadsheet temperature logger using a DS18B20

Hi, I decided that it was time that I learnt Python & how to use the GPIO ports on my Pi, so this is my first project. My Python programming skills are still very basic (it's been just over a week since I started), so please forgive me if my code isn't quite as polished as it could be. I also live i...
by justinsb
Sat Feb 01, 2014 12:14 pm
Forum: Networking and servers
Topic: NAS AND Torrent box?
Replies: 1
Views: 7717

Re: NAS AND Torrent box?

My headless Pi runs Transmission Daemon as my torrent server. It also runs PYLoad as an additional download server, then shares out the download directories (from a 16Gb Sandisk Cruzer Fit USB mini drive) as a NFS server on the LAN, & a SAMBA server too. I use ddclient so that my dynamic ip always m...
by justinsb
Wed Feb 20, 2013 3:51 pm
Forum: Networking and servers
Topic: Personal Cloud/Media Server
Replies: 4
Views: 3868

Re: Personal Cloud/Media Server

On the personal cloud front, try these guys http://seafile.com/en/home/ as they have a Raspberry Pi version of the server at the bottom of their download page & a good wiki. I haven't installed it yet, but it will be my next project as soon as I get back to England & get physical access to my Pi aga...
by justinsb
Sat Nov 24, 2012 4:19 am
Forum: Raspbian
Topic: Remote (VNC) cut and paste not working.
Replies: 9
Views: 24117

Re: Remote (VNC) cut and paste not working.

I've got it working on mine, so I know it's possible. It is a server side thing, so it "shouldn't" matter what client you use, or which OS you run that client on. These were the pages that I found most of my info on: https://bbs.archlinux.org/viewtopic.php?id=101243 https://wiki.archlinux.org/index....
by justinsb
Wed Jul 18, 2012 2:33 pm
Forum: Raspbian
Topic: Donations for Raspbian
Replies: 32
Views: 10289

Re: Donations for Raspbian

Thank you for all of your time & effort. £25 donated to help with your costs, as although everything you've done is priceless, we all know it still costs lots of money! :D

Go to advanced search