Go to advanced search

by 7ewis
Thu Sep 25, 2014 4:17 pm
Forum: General discussion
Topic: shellshock -- thank you for the quick fix!
Replies: 4
Views: 2582

Re: shellshock -- thank you for the quick fix!

Could someone explain to me why this doesn't run, and how it could be dangerous, in simple terms? Obviously I know if you can execute random code remotely; it's bad. But specifically in this context? When you run the code, after the error messages, it still says 'hello' at the end anyway. But I read...
by 7ewis
Thu Sep 25, 2014 3:42 pm
Forum: General discussion
Topic: How to show off the Pi?
Replies: 5
Views: 1025

How to show off the Pi?

At work tomorrow, I need to give my colleagues a mini lesson on the Pi, I work in IT, but most of them have never really used Linux before. So I would like to make it seem interesting, aside from just basic navigation etc. is there anything fairly simple, but impressive I could so to show it off? Th...
by 7ewis
Thu Jul 17, 2014 11:32 pm
Forum: General discussion
Topic: How to recover deleted files?
Replies: 7
Views: 11592

Re: How to recover deleted files?

I was trying to recover some Python scripts.

Came up with some .py diles , but they were full of writing that didn't makes sense... And wasn't Python.
by 7ewis
Thu Jul 17, 2014 6:06 pm
Forum: General discussion
Topic: How to recover deleted files?
Replies: 7
Views: 11592

Re: How to recover deleted files?

There are programs which attempt to recover deleted Linux files. Google should find them. I do know you are meant to shut down the file system as soon as possible so that the files aren't overwritten with new data. I did shut it down, and am scanning the SD with PhotoRec now, but it's also finished...
by 7ewis
Thu Jul 17, 2014 6:05 pm
Forum: General discussion
Topic: How to recover deleted files?
Replies: 7
Views: 11592

Re: How to recover deleted files?

If it's on a hard disk you can make a low level copy of the disk with dd then inspect the img and hope nothing wrote over the files yet. I'm not sure if flash media complicates that. More reading: https://www.google.com/search?hl=en&q=linux%20file%20recovery I have the SD card in my PC now, one rec...
by 7ewis
Thu Jul 17, 2014 5:14 pm
Forum: General discussion
Topic: How to recover deleted files?
Replies: 7
Views: 11592

How to recover deleted files?

So, I went and rm -rf'ed a folder, with files I need inside of it.

Is it possible to get it back with file recovery programs or anything like that? Yes, I know I should've had a back up...

Is there a cached folder, or something... anything?

Any recommendations apart from backing up next time?
by 7ewis
Tue Jun 17, 2014 7:16 pm
Forum: Advanced users
Topic: OpenVPN Connection
Replies: 0
Views: 640

OpenVPN Connection

I followed this guide: http://readwrite.com/2014/04/10/raspberry-pi-vpn-tutorial-server-secure-web-browsing#awesm=~oHld8zuNIKldSG To setup OpenVPN on my Pi, it all appear to go well, but when attempting to use the .ovpn file on iOS/Android it gives me this error: PolarSSL cert certificate is undefin...
by 7ewis
Sun Jun 08, 2014 9:52 am
Forum: Beginners
Topic: How can I connect the Pi to my TV?
Replies: 3
Views: 709

How can I connect the Pi to my TV?

Hi guys, I'm not exactly a 'beginner', but I'm just clueless with older cables. So, I have an old Goodman's TV (GTV30WLCD) and would somehow like to connect my Pi to it. It has the yellow, white, red and SCART on the side, and I believe I used to connect a PS3 to it using a scart adapter to RGB for ...
by 7ewis
Fri Mar 28, 2014 1:24 pm
Forum: General discussion
Topic: Something that makes a sound when connected to Power
Replies: 16
Views: 3296

Re: Something that makes a sound when connected to Power

Ok, I just want something that... when I turn the switch on, a sound comes on. I don't know what else to search for. Why are none of the various suggestions offered to you not acceptable to you, when they do what you have asked for? Because I don't want something that I have to wire myself, I liter...
by 7ewis
Thu Mar 27, 2014 4:50 pm
Forum: General discussion
Topic: Something that makes a sound when connected to Power
Replies: 16
Views: 3296

Re: Something that makes a sound when connected to Power

Ok, I just want something that I can plug into the wall, and when I turn the switch on, a sound comes on. I don't want any extra buttons or anything. So in the same way, you can plug a lamp into the wall, and when you flick the switch, the light comes on. I want this, but for sound. That's why I was...
by 7ewis
Thu Mar 27, 2014 12:11 pm
Forum: General discussion
Topic: Something that makes a sound when connected to Power
Replies: 16
Views: 3296

Re: Something that makes a sound when connected to Power

Many wired doorbells probably play a sound when switched on, if you short out the bell-push contacts. That could give you a more melodious sound. You might find this sort of sound module will play on power-up, and could be powered from a mains adaptor in an RF socket rather than batteries. Yeah I h...
by 7ewis
Thu Mar 27, 2014 12:04 pm
Forum: General discussion
Topic: Something that makes a sound when connected to Power
Replies: 16
Views: 3296

Re: Something that makes a sound when connected to Power

PiGraham wrote:A mains buzzer, like this?
Something like that, but it needs to be plugged into the wall.
by 7ewis
Thu Mar 27, 2014 12:02 pm
Forum: General discussion
Topic: Something that makes a sound when connected to Power
Replies: 16
Views: 3296

Re: Something that makes a sound when connected to Power

You switching AC or DC? Low voltage or high? Buzzer, door chime, or wav files through a speaker? "Specifics Bob." https://www.youtube.com/watch?v=qHDSNs9wBpU Sorry I don't think I made myself clear. I won't be connecting anything to GPIO pins. I literally just need something that can be plugged int...
by 7ewis
Wed Mar 26, 2014 10:49 am
Forum: Advanced users
Topic: RESTful Web Service
Replies: 6
Views: 18984

Re: RESTful Web Service

I have now installed Flask onto the Pi. And it accepts JSON, as I can see the requests it receives in the console.

Does anyone have any experience with Flask? I'm not too sure how I would parse requests, and forward them to my Python script to turn on/off the devices.
by 7ewis
Wed Mar 26, 2014 10:33 am
Forum: General discussion
Topic: Something that makes a sound when connected to Power
Replies: 16
Views: 3296

Something that makes a sound when connected to Power

Hi everyone, Slightly strange request here. But I'm finding it difficult to find what I am looking for. So basically, I have a Pi setup with an RF Transmitter, paired to RF plugs. I want to be able to remotely control the power of a switch, and make a bell ring or something. At the moment, I have a ...
by 7ewis
Thu Feb 27, 2014 3:08 pm
Forum: Advanced users
Topic: RESTful Web Service
Replies: 6
Views: 18984

Re: RESTful Web Service

I'm a little unsure what is client and what is server in your setup. Are you going to "poll" Salesforce via REST to detect a state change ( High Priority Support Caes present or not) ? (Then your friend has to specify the REST API so you can use it.) Or is the Salesforce going to use REST to trigge...
by 7ewis
Thu Feb 27, 2014 11:03 am
Forum: Advanced users
Topic: RESTful Web Service
Replies: 6
Views: 18984

RESTful Web Service

Hello, I'm not entirely sure what I am looking for, but I need to be able to run the REST API on my Pi. I'll explain my current setup first. I have a Raspberry Pi, that eventually is going to be able to communicate with Salesforce using REST, and when a High Priority Support Case comes in, the Pi wi...
by 7ewis
Fri Jan 31, 2014 6:49 pm
Forum: General discussion
Topic: Python Webserver
Replies: 1
Views: 508

Python Webserver

What is the best way to run Python on a Webserver? I have previously used Lighttpd and enabled CGI in the config, but every guide I've seen on doing it differs, so I'm not sure whether this method is very tried and tested. Although it has worked for me in the past, but I can't remember exactly how I...
by 7ewis
Tue Jan 28, 2014 5:23 pm
Forum: Automation, sensing and robotics
Topic: PiHAT - Rasberry Pi Home Automation Transmitter
Replies: 194
Views: 79433

Re: PiHAT - Rasberry Pi Home Automation Transmitter

I've now made a script to loop through the channel numbers between 0-15, so I can just keep unplugging my Nexa to get it into it's learning mode, and I still cannot get it to work. I have tested every channel multiple times now. With repeats 50 and state 1, leaving out the ID and brand. The plug do...
by 7ewis
Tue Jan 28, 2014 3:49 pm
Forum: Automation, sensing and robotics
Topic: PiHAT - Rasberry Pi Home Automation Transmitter
Replies: 194
Views: 79433

Re: PiHAT - Rasberry Pi Home Automation Transmitter

I can successfully use the pairing and deleting mode whilst using the remote, following those instructions, but when I try with the Pi, I get the plug into the 5 seconds of flashing, instantly run the code, and nothing... The remote makes the device click twice, and no matter what command I send, I...
by 7ewis
Tue Jan 28, 2014 3:44 pm
Forum: Automation, sensing and robotics
Topic: PiHAT - Rasberry Pi Home Automation Transmitter
Replies: 194
Views: 79433

Re: PiHAT - Rasberry Pi Home Automation Transmitter

I have followed the instructions now, and managed to clear all codes, and then reassign the plug to a different set on the remote. (The top On/Off buttons controlled this specific plug, I cleared it, and then set the bottom buttons to control it, and it worked). I cleared it again, and tried transm...
by 7ewis
Tue Jan 28, 2014 2:59 pm
Forum: Automation, sensing and robotics
Topic: PiHAT - Rasberry Pi Home Automation Transmitter
Replies: 194
Views: 79433

Re: PiHAT - Rasberry Pi Home Automation Transmitter

7ewis, I have done some more research, and have found out how the codes are saved, but I'm still not entirely sure how to pair them together. I have found an english manual in the back of a small leaflet I found hidden in the packaging, I hope you are able to read the english pages from these pictu...
by 7ewis
Tue Jan 28, 2014 2:29 pm
Forum: Automation, sensing and robotics
Topic: PiHAT - Rasberry Pi Home Automation Transmitter
Replies: 194
Views: 79433

Re: PiHAT - Rasberry Pi Home Automation Transmitter

Just plugged a wire to GPIO pin 4 and it paired with my status remote socket bought from ASDA. The on/off state works perfectly. Need to find out the current id of my remote. If you have paired them, why is the ID of the remote useful? Don't you need the remote ID in order to send the commands anyw...
by 7ewis
Tue Jan 28, 2014 12:17 pm
Forum: Automation, sensing and robotics
Topic: PiHAT - Rasberry Pi Home Automation Transmitter
Replies: 194
Views: 79433

Re: PiHAT - Rasberry Pi Home Automation Transmitter

Just plugged a wire to GPIO pin 4 and it paired with my status remote socket bought from ASDA. The on/off state works perfectly. Need to find out the current id of my remote. If you have paired them, why is the ID of the remote useful? Don't you need the remote ID in order to send the commands anyw...
by 7ewis
Tue Jan 28, 2014 11:48 am
Forum: Automation, sensing and robotics
Topic: PiHAT - Rasberry Pi Home Automation Transmitter
Replies: 194
Views: 79433

Re: PiHAT - Rasberry Pi Home Automation Transmitter

Okay, thats good; at least something is working! Oh wow, that's quite far. I will try and get an aerial as soon as I can, but for now I actually have the Pi resting onto of the socket, so the pins are almost physically touching the Nexa, so I don't think range should really be a problem. So should I...

Go to advanced search