Go to advanced search

by Cancelor
Mon Nov 21, 2016 9:23 pm
Forum: Troubleshooting
Topic: getting a second email address on pi
Replies: 2
Views: 731

Re: getting a second email address on pi

Do you mean e-mail address or IP address? name@something.com or 123.123.123.123
by Cancelor
Fri Nov 11, 2016 6:13 pm
Forum: Windows 10 for IoT
Topic: Please Help mecreate a new file with the name "samples.txt"
Replies: 6
Views: 1736

Re: Please Help me

What language is that?
by Cancelor
Sun Nov 06, 2016 8:03 pm
Forum: Python
Topic: My First Python Script: Seeking Comments
Replies: 7
Views: 1527

Re: My First Python Script: Seeking Comments

For the comments alone .... 10 out of 10 ;-)
by Cancelor
Sat Nov 05, 2016 11:28 pm
Forum: Python
Topic: Parsing data.
Replies: 6
Views: 1881

Re: Parsing data.

Yup, looks like that is the way to go...long version:- #!/usr/bin/python3 import json str = '''GET /?Node=0&Name=Kitchen&Time=1478177592739&Temperature=19 HTTP/1.1 Host: 123.123.123.123:8080 Accept: */*''' print('') print('################################') print('### The starting string is:- ###') ...
by Cancelor
Fri Nov 04, 2016 11:22 am
Forum: Python
Topic: Parsing data.
Replies: 6
Views: 1881

Re: Parsing data.

Many thanks, I'll have a look.

I realise it's one of those dreadful 'how long is a piece of string' type questions but I'd googled till my eyes were sore and still didn't know what question to ask!
by Cancelor
Thu Nov 03, 2016 10:41 pm
Forum: Python
Topic: Parsing data.
Replies: 6
Views: 1881

Re: Parsing data.

Thanks, here is the code, the output above comes from the print(request) #! /usr/bin/python3 import socket HOST, PORT = '', 8080 listen_socket = socket.socket(socket.AF_INET, socket.SOCK_STREAM) listen_socket.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR, 1) listen_socket.bind((HOST, PORT)) list...
by Cancelor
Thu Nov 03, 2016 4:14 pm
Forum: Python
Topic: Parsing data.
Replies: 6
Views: 1881

Parsing data.

I'm experimenting with a small, simple, Python3 server and have got to the stage where I have received the following into a string:-

Code: Select all

GET /?Node=0&Name=Kitchen&Time=1478177592739&Temperature=19 HTTP/1.1
Host: 123.123.123.123:8080
Accept: */*


Is there a recommended way to extract the data?
by Cancelor
Thu Oct 27, 2016 5:48 pm
Forum: General discussion
Topic: How to wirelessly connect Pi 3 to Espressif
Replies: 4
Views: 4210

Re: How to wirelessly connect Pi 3 to Espressif

Do you plan to use this on a home network? A home router will normally have a WiFi access point, this is what you would connect the ESP to. The RPi will connect to the same router, either by wire ethernet or by WiFi. The RPi model 3 has built in WiFi ... other models do no so it depends what instruc...
by Cancelor
Sat Oct 22, 2016 3:09 pm
Forum: General discussion
Topic: Has any user of 'PIXEL' actually read the license agreement?
Replies: 84
Views: 19013

Re: Has any user of 'PIXEL' actually read the license agreem

S'Funny post title. If you substitute the word PIXEL for almost any other piece of software ever written, it's still a valid question. Has any user of "Windows" actually read the licence agreement? Has any user of "Ubuntu" actually read the licence agreement? Has any user of "iTunes" actually read ...
by Cancelor
Thu Oct 20, 2016 8:20 am
Forum: Raspberry Pi OS
Topic: Flash Player now available for Chromium
Replies: 98
Views: 64025

Re: Flash Player now available for Chromium

I'm trying to connect to http://www.evony.com ... can anyone else get this to work?
by Cancelor
Thu Oct 20, 2016 8:16 am
Forum: Advanced users
Topic: truly wireless remote RPi
Replies: 24
Views: 4617

Re: truly wireless remote RPi

hummm, good point! There is indeed no breaker between the socket and the inverter, not even a fuse. This was installed two years ago, when did that reg come out? The other problem is that since it is a 13amp socket I now have a freezer plugged into it instead of the powerLan adapter that they suppli...
by Cancelor
Wed Oct 19, 2016 6:35 pm
Forum: Advanced users
Topic: truly wireless remote RPi
Replies: 24
Views: 4617

Re: truly wireless remote RPi

Well, why not use a set of DLAN (PowerLAN) adapters? One unit is mounted next to your solar panel array, the other one is in your house. Under UK regulations, that is not allowed. There must be NO current using equipment (only the inverter) on the solar power circuit. I can't speak for regulations ...
by Cancelor
Tue Oct 18, 2016 8:33 pm
Forum: Troubleshooting
Topic: Trouble while controlling lights when switch is off
Replies: 5
Views: 872

Re: Trouble while controlling lights when switch is off

or something like this? >> http://www.lightwiring.co.uk/tag/2-way- ... g-diagram/

N.B. A relay is just a switch that is operated by a coil.
by Cancelor
Wed Oct 12, 2016 7:12 am
Forum: Raspberry Pi OS
Topic: Flash Player now available for Chromium
Replies: 98
Views: 64025

Re: Flash Player now available for Chromium

Many thanks for all your hard work and for supporting the forum. :)

I am very glad to have Flash support available even though I don't use Scratch.
by Cancelor
Wed Oct 12, 2016 7:03 am
Forum: Raspberry Pi OS
Topic: Flash Player now available for Chromium
Replies: 98
Views: 64025

Re: Flash Player now available for Chromium

Okay, I get that this is an MIT thing.

Did Scratch 1 use Flash, does it no longer fulfil our educational goals?
by Cancelor
Sun Oct 09, 2016 5:18 pm
Forum: Automation, sensing and robotics
Topic: How to keep a valve open?
Replies: 10
Views: 5953

Re: How to keep a valve open?

It's hard to tell what you really want :? but this is what you have :) Every time this runs it will set GPIO.output(29, False) and print Float running... Assuming you have corrected the indentation then depending on input_value it will GPIO.cleanup() and exit immediately or after a delay.
by Cancelor
Sun Oct 09, 2016 4:33 pm
Forum: Automation, sensing and robotics
Topic: Garage port opener - 100$ bonus
Replies: 11
Views: 1986

Re: Garage port opener - 100$ bonus

Sounds like a floating line somewhere, probably on the input to the relay? Try tracking a few key points with a volt meter, if you find a line where the voltage is slowly drifting then a pull down resistor might fix it. In the meantime a few questions :) ...How do you communicate between the RPi and...
by Cancelor
Sun Oct 09, 2016 7:28 am
Forum: Networking and servers
Topic: Setup WAN with Neighbour over Internet?
Replies: 5
Views: 1458

Re: Setup WAN with Neighbour over Internet?

You both have a spare RPi, I'm sure a 100% RPi solution is possible. Do you both have WiFi on the RPi ? You could set up one RPi as an AP (WiFi access point) Google 'Using Raspberry Pi as a WiFi AP' Do you both have existing internet? If so VPN is a good way to go. This might be zero cost. Do Either...
by Cancelor
Mon Sep 19, 2016 11:42 am
Forum: General discussion
Topic: Not Getting Enough Voltage - RPi Security Camera
Replies: 4
Views: 1885

Re: Not Getting Enough Voltage - RPi Security Camera

Make sure you NEVER connect 12v to the RPi. It looks from the cables you have shown that it could happen by accident if plugged in wrong!
by Cancelor
Sat Sep 17, 2016 7:44 am
Forum: General discussion
Topic: HURRAH
Replies: 8
Views: 1842

Re: HURRAH

I paid £2,000 for an IBM PS2 and that was to much! :oops:
by Cancelor
Sun Sep 11, 2016 6:00 am
Forum: Automation, sensing and robotics
Topic: Train project
Replies: 8
Views: 2143

Re: Train project

I know you are using a Gert board but had you thought of a DCC system? ... See http://jmri.sourceforge.net/help/en/package/jmri/jmrit/withrottle/UserInterface.shtml on http://jmri.sourceforge.net/ Also worth a mention >>>> http://www.sprog-dcc.co.uk/ that would connect to the RPi via USB. A full Pi ...
by Cancelor
Tue Aug 23, 2016 10:12 am
Forum: Advanced users
Topic: Setting up SD card to boot already installed linux distro
Replies: 6
Views: 1117

Re: Setting up SD card to boot already installed linux distr

I can't help asking why you want to do this?

Just run the RPi on it's own distro, simplz.
by Cancelor
Sat Aug 20, 2016 3:34 pm
Forum: Advanced users
Topic: [solved] Public /29 subnet question
Replies: 18
Views: 5261

Re: Public /29 subnet question

If I understand this right the wire from your wall to the Fritz!box 7360 is in network 80.x.x.x/29 and the ports on the Fritz!box 7360 are in network 192.168.179.x/24

So the question is where are you plugging the RPi?
by Cancelor
Sat Aug 20, 2016 6:02 am
Forum: Advanced users
Topic: [solved] Public /29 subnet question
Replies: 18
Views: 5261

Re: Public /29 subnet question

Addresses in the range 192.168.x.x are private IPv4 network addresses, ping tests or any other connection from the Internet or other outside networks cannot be routed to it, they have to be port forwarded to it. I think packets to or from a private address range will be blocked by the internet. Your...
by Cancelor
Sun Aug 14, 2016 12:37 pm
Forum: Networking and servers
Topic: assigning IP addresses to Sensors
Replies: 3
Views: 1086

Re: assigning IP addresses to Sensors

You give one IP address to the RPi and then connect the sensors to it. The sensors do not have an IP each. So you can have many sensors on one IP.

Go to advanced search