Go to advanced search

by latki8
Mon Jan 15, 2018 11:01 pm
Forum: Python
Topic: Piface python not working anymore
Replies: 22
Views: 3600

Re: Piface python not working anymore

Further to the above, there are a couple of issues raised against pifacedigitalio on github regarding this problem. One workaround is to change to using pifaceio - an alternative product available through pip. Works for me.
by latki8
Mon Jan 15, 2018 8:40 pm
Forum: Python
Topic: Piface python not working anymore
Replies: 22
Views: 3600

Re: Piface python not working anymore

So I've just upgraded my old model B (256mb) which was running an earlier release of Jessie to 4.9.59+ and now I find my Piface (original version [revision 2.1?] ) no longer works. Same symptoms as above: $ python import pifacedigitalio as pfio pfio.init(True) Traceback (most recent call last): File...
by latki8
Sun Jan 04, 2015 9:31 pm
Forum: Beginners
Topic: Internet with no home router.
Replies: 8
Views: 1413

Re: Internet with no home router.

One other thought. If anyone near you has BT internet then the chances are their home hub is supporting FON ot BT WiFi. You should be able to piggy-back onto that but you'll have to pay for it (a browser prompt is dislpayed when you connect). Your wifi search should show any FON services available -...
by latki8
Sat Jan 03, 2015 12:08 am
Forum: Advanced users
Topic: Autorun Python code on TFT
Replies: 4
Views: 1232

Re: Autorun Python code on TFT

If it is of any help, I was interested in trying this out myself (tkinter, not heating controller). I agree the tkinter error is probably because there is no x environment, ie the python code is running on the basic console function, but I have followed what has been suggested above and it all works...
by latki8
Fri Jan 02, 2015 9:03 pm
Forum: Advanced users
Topic: Detect USB stick presence from python script
Replies: 5
Views: 13182

Re: Detect USB stick presence from python script

One other thought ... looks like UDEV Rules could be a good avenue to try, there's a reference to automatically downloading photos when a camera is plugged in. http://www.reactivated.net/writing_udev_rules.html#example-usbhdd http://stackoverflow.com/questions/1115449/detect-when-a-usb-device-is-con...
by latki8
Fri Jan 02, 2015 8:38 pm
Forum: Advanced users
Topic: Detect USB stick presence from python script
Replies: 5
Views: 13182

Re: Detect USB stick presence from python script

Is this bit of sample code any help? #!/usr/bin/env python # fstick.py import usb.core import usb.util import sys # find device devs = usb.core.find(find_all=True) for dev in devs: for cfg in dev: for intf in cfg: # print 'Bus %03x,Device %03x | %04x:%04x - (%d) ... bDeviceClass %02x , bInterfaceCla...
by latki8
Fri Jan 02, 2015 8:11 pm
Forum: General programming discussion
Topic: Load then manipulate SQlite data
Replies: 6
Views: 2706

Re: Load then manipulate SQlite data

I've just been reacquainting myself with Sqlite3 to do some more work and I just noticed your post. A couple of things strike me ... you got date and time fields, presumably these are unique values (you don't take multiple readings at exactly the same time?) so you should set up an index on these co...
by latki8
Tue Oct 15, 2013 8:19 pm
Forum: General discussion
Topic: 7 port usb hub
Replies: 7
Views: 3228

Re: 7 port usb hub

I have a powered usb hub that looks just like the one shown. I got it from Farnell/Element 14 with a Pi, etc. It has a blue led as opposed to the one shown at the reference site. It appears as 2 x 4-port hubs, the 2nd being off port 1 of the first. Front ports are (starting at the bottom) hub 1, por...
by latki8
Sun Jul 07, 2013 9:44 pm
Forum: Linux Kernel
Topic: rtl8192cu module for Edimax EW-7811n WiFi dongle
Replies: 39
Views: 80952

Re: rtl8192cu module for Edimax EW-7811n WiFi dongle

Well Tim, if it was your car we were talking about or your television I think you might think differently. I've worked in IT all my life and yes, it is complex and challenging but generally it comes down to people and discipline - something that was lacking in 'the good old days' but, given Linux is...
by latki8
Sat Jul 06, 2013 12:27 pm
Forum: Automation, sensing and robotics
Topic: NightTime Sound Detection
Replies: 14
Views: 9542

Re: NightTime Sound Detection

I'm sorry I can't give you a detailed answer but I would have thought you'd need a usb sound card and a microphone - both readily available (or a usb microphone if that's easier) - and then you should be able to process the audio stream using python and some of the audio libraries that are available...
by latki8
Thu May 23, 2013 11:35 am
Forum: Troubleshooting
Topic: Broken /etc/network/interfaces
Replies: 22
Views: 85031

Re: Broken /etc/network/interfaces

A bit off topic but I was thinking of using the pi as a way of connecting my TV to the internet - TV to eth0, wlan0 to router. Do you think I'll need extra software? I guess I'll need the pi to do something extra. There's plenty of stuff about using the Pi as a media centre in the forum and on the ...
by latki8
Thu May 23, 2013 8:40 am
Forum: Troubleshooting
Topic: Broken /etc/network/interfaces
Replies: 22
Views: 85031

Re: Broken /etc/network/interfaces

Just for my interest ... I only use wep (won't go into why) and the script I followed said to amend the interfaces file and I didn't need any wpa software. In fact, although I have wpasupplicant installed, I don't have a conf file for it. Are you suggesting that I should change the way I have my ne...
by latki8
Wed May 22, 2013 10:54 pm
Forum: Troubleshooting
Topic: Broken /etc/network/interfaces
Replies: 22
Views: 85031

Re: Broken /etc/network/interfaces

Just for my interest ... I only use wep (won't go into why) and the script I followed said to amend the interfaces file and I didn't need any wpa software. In fact, although I have wpasupplicant installed, I don't have a conf file for it. Are you suggesting that I should change the way I have my net...
by latki8
Wed May 22, 2013 3:19 pm
Forum: Linux Kernel
Topic: rtl8192cu module for Edimax EW-7811n WiFi dongle
Replies: 39
Views: 80952

Re: rtl8192cu module for Edimax EW-7811n WiFi dongle

Yeh, that did it. Shouldn't have needed to though. This is indicative of why my wife gave up teaching IT - it was bad enough that the kids were unpredictable without the teaching tools playing up as well.
by latki8
Wed May 22, 2013 3:17 pm
Forum: Troubleshooting
Topic: apt-get update and apt-get dist-upgrade broke wifi
Replies: 47
Views: 9253

Re: apt-get update and apt-get dist-upgrade broke wifi

Thanks. After my post (in reply to something higher up) I then read the entries that are now just above mine and as I write this the blue light has just started flashing on my wifi dongle. Cheers!

Another 2 days wasted! Grrrr! ;-)
by latki8
Wed May 22, 2013 2:44 pm
Forum: Troubleshooting
Topic: apt-get update and apt-get dist-upgrade broke wifi
Replies: 47
Views: 9253

Re: apt-get update and apt-get dist-upgrade broke wifi

I got exactly this problem a few days ago when I wanted to install motion software. Did apt-get update & upgrade. Result: broken wifi. Eth0 works fine and, as I've discovered, so does an alternative wifi adapter. My usb adapter (Netgear g54/n150 wna1000m) works fine in my Ubuntu desktop, so problem ...
by latki8
Wed May 22, 2013 2:29 pm
Forum: Troubleshooting
Topic: Broken /etc/network/interfaces
Replies: 22
Views: 85031

Re: Broken /etc/network/interfaces

Try connecting it to a tv and keyboard and either in console mode (before startx), or by double-clicking the LX-terminal icon, enter: sudo nano /etc/network/interfaces This will show you the contents of the file. It should have these basic entries: auto lo iface lo inet loopback iface eth0 inet dhcp...
by latki8
Wed May 22, 2013 12:48 pm
Forum: Linux Kernel
Topic: rtl8192cu module for Edimax EW-7811n WiFi dongle
Replies: 39
Views: 80952

Re: rtl8192cu module for Edimax EW-7811n WiFi dongle

Interesting ... I updated & upgraded my pi a couple of days ago to install motion for a new web cam and, hey presto!, no more wifi. I've a Netgear g54/n150 wna1000m usb dongle (uses same driver) and its been working perfectly ever since I got it months ago. Stills works on Ubuntu desktop - no proble...
by latki8
Tue May 21, 2013 12:35 pm
Forum: Networking and servers
Topic: Raspbian WiFi on WPA2 Enterprise
Replies: 13
Views: 91404

Re: Raspbian WiFi on WPA2 Enterprise

Have you tried speaking to your Office's network support guys? - assuming it is an Enterprise-sized company. I'm sure they'll be very interested in what you are trying to do.
by latki8
Tue May 21, 2013 10:43 am
Forum: Beginners
Topic: Installing USB Wifi Dongle
Replies: 21
Views: 56299

Re: Installing USB Wifi Dongle

I'll be interested to see how this goes ... my Netgear G54/N150 Wireless USB Micro Adapter (WNA1000M) has worked perfectly for nearly a year now until I did both an apt-get update and upgrade yesterday to install Motion for my new webcam and now it doesn't work at all - looks as if it is not loading...
by latki8
Fri Apr 12, 2013 8:30 am
Forum: Automation, sensing and robotics
Topic: Smart Home Energy Monitor
Replies: 34
Views: 64790

Re: Smart Home Energy Monitor

Well, that was easy. The driver I mentioned in the last post installed without issue on my Pi and allows you to access the OWL via /dev/ttyusb0. The additional server code that automatically collects data installed just fine and I now have it set up in the root crontab to load at boot time - ...$ su...
by latki8
Tue Apr 09, 2013 11:34 am
Forum: Automation, sensing and robotics
Topic: Smart Home Energy Monitor
Replies: 34
Views: 64790

Re: Smart Home Energy Monitor

If anyone is interested in the OWL CM160 + USB (it got a mention in the first post) then there is work going on to create a real-time monitor. There is a raspberry pi driver for it in SourceForge - I've downloaded it but haven't yet tried it. It is linux_cm160_driver_v0.1. It is supposed to allow th...
by latki8
Fri Sep 21, 2012 8:19 pm
Forum: Automation, sensing and robotics
Topic: Velleman K8055 Project
Replies: 49
Views: 29754

Re: Velleman K8055 Project

I too am working on getting a K8055 to play happily with my Pi. I've been able to get the k8055 program to run. I'd now like to get the Python side of things working. I believe my current hurdle is getting the pyk8055 module installed. Been using a swig complied K8055 python module under Wheezy for...
by latki8
Thu Aug 23, 2012 4:16 pm
Forum: Automation, sensing and robotics
Topic: Velleman K8055 Project
Replies: 49
Views: 29754

Re: Velleman K8055 Project

The other issue I forgot to mention concerns Python2 and Python3 co-existence. For some reason my archlinuxarm image now has both python versions and this created a number of problems. This is because Python3 becomes the default for the python command - which is perfectly logical - but the k8055 cod...
by latki8
Thu Aug 23, 2012 2:47 pm
Forum: Automation, sensing and robotics
Topic: Velleman K8055 Project
Replies: 49
Views: 29754

Re: Velleman K8055 Project

Ok, so on to Archlinuxarm. The instructions I provided earlier for Raspbian should be used as a reference. My base for this is archlinuxarm-13-06-2012.img from the Raspberry Pi web site. I then upgraded this to today's level using: pacman -Syu I'm logged on as root so if you aren't you'll need to pu...

Go to advanced search