Go to advanced search

by Andyroo
Fri Apr 19, 2019 4:53 pm
Forum: General discussion
Topic: How to add images to this email alert script?
Replies: 3
Views: 46

Re: How to add images to this email alert script?

KeyboardInterupt is shown when you abort a program with control C.

You can write a handler if you want or just live with the message.
by Andyroo
Fri Apr 19, 2019 4:22 pm
Forum: Raspbian
Topic: Raspi3 autoconnect to WiFi with static IP
Replies: 1
Views: 18

Re: Raspi3 autoconnect to WiFi with static IP

Bit odd - the Pi address you have used is owned by United States Columbus Dod Network Information Center and is an external address. Normally the internal address range is set by your router and should be part of the private network range to stop it being routed over the internet https://en.m.wikipe...
by Andyroo
Fri Apr 19, 2019 4:15 pm
Forum: Beginners
Topic: How to "automatically" connect raspberry pi to new wifi router
Replies: 3
Views: 51

Re: How to "automatically" connect raspberry pi to new wifi router

Without knowing the WiFi details you are stuck.

You could create a run once program to ask the user for the info or use something like https://github.com/balena-io/wifi-connect

Of the two, the latter looks more professional.
by Andyroo
Fri Apr 19, 2019 4:09 pm
Forum: General discussion
Topic: No Wifi RasbPi 3 A+
Replies: 8
Views: 76

Re: No Wifi RasbPi A+

Well that’s most likely scared the OP away...

I had assumed with it being the first post it was a new 3A+ :D
by Andyroo
Fri Apr 19, 2019 4:07 pm
Forum: Troubleshooting
Topic: Setting up SIM800L with a 3.5" Touchscreen
Replies: 3
Views: 52

Re: Setting up SIM800L with a 3.5" Touchscreen

The SIM card you linked to is a bit odd - it has both 5V and VDD pins to say nothing of two grounds. Also the red board has a different set of connections as it has two headers... I think the blue board has onboard regulators so it will be the Pi 5V to the board and voltage converters for the TX/RX ...
by Andyroo
Fri Apr 19, 2019 3:56 pm
Forum: General discussion
Topic: Help with copying a folder in raspberry pi3
Replies: 3
Views: 74

Re: Help with copying a folder in raspberry pi3

klricks wrote:
Fri Apr 19, 2019 3:13 am
...
An alternate way is to open both files in a text editors and copy & paste the contents.
...
Only if the folder structure exists - I often wish a save would create this but then think about the number of files I would loose :lol:
by Andyroo
Fri Apr 19, 2019 3:49 pm
Forum: General discussion
Topic: OS read-only and data read-write SD partitioning
Replies: 9
Views: 141

Re: OS read-only and data read-write SD partitioning

Any file system is prone to power loss - usb stick or SSD as they all can buffer data below the OS level.

Better to put a small battery between the Pi and bike supply that has enough power to give the Pi time to shut down - maybe a decent super capacitor would be OK for a zero
by Andyroo
Fri Apr 19, 2019 3:43 pm
Forum: Troubleshooting
Topic: RPi NoIR Camera output is getting progressively worse
Replies: 15
Views: 225

Re: RPi NoIR Camera output is getting progressively worse

More kit in there than my old server room!

It maybe worth just trying the Pi in a different room and see - that isolates it to the Pi / camera rather than the environment.
by Andyroo
Fri Apr 19, 2019 3:39 pm
Forum: General discussion
Topic: No Wifi RasbPi 3 A+
Replies: 8
Views: 76

Re: No Wifi RasbPi A+

You need

Code: Select all

ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1
at the start of the file before your country setting.
by Andyroo
Fri Apr 19, 2019 3:34 pm
Forum: Troubleshooting
Topic: How do I get the piserver tool to pull from a specific AD OU?
Replies: 1
Views: 22

Re: How do I get the piserver tool to pull from a specific AD OU?

Can you use ldapserch with a search for cn=*Marketing* or similar?
by Andyroo
Fri Apr 19, 2019 2:48 am
Forum: General discussion
Topic: New Raspbian release 8th April 19
Replies: 17
Views: 644

Re: New Raspbian release 8th April 19

<pedantic mode>Interestingly, on an iPad the red is close to the background colour with Night Shift on and unlike the other links it’s not underlined :lol:
I’ve never worked out how to hover either with this machine :lol:
</pedantic mode>

I’ll get my coat :roll:
Night all.
by Andyroo
Fri Apr 19, 2019 2:38 am
Forum: Troubleshooting
Topic: RPi NoIR Camera output is getting progressively worse
Replies: 15
Views: 225

Re: RPi NoIR Camera output is getting progressively worse

Inverse square law will apply.

5 inch reduces the field strength by 25 times if I remember correctly - then again it’s late and I could be totally wrong as it may only be valid for a point source rather than a big area :lol: :lol: :lol: :lol:
by Andyroo
Fri Apr 19, 2019 2:32 am
Forum: Official Foundation Display
Topic: Use official display with Power over Ethernet hat
Replies: 1
Views: 37

Re: Use official display with Power over Ethernet hat

It’s not very easy to do as you have to extend the pins on the Pi GPIO and POE connectors with headers and then hope the fan etc does not touch the screen. Have a look here for an example - you may want to add another set of headers to give room for the fan to pull air and avoid any contact with the...
by Andyroo
Fri Apr 19, 2019 2:14 am
Forum: General discussion
Topic: problems with communication using a USB to Serial adapter
Replies: 2
Views: 46

Re: problems with communication using a USB to Serial adapter

Forgive me but I’m baffled as to your set up :oops:

Can you pop some links as to the bits you are using, what Pi and programs / operating system you have and how it’s all cabled together?

Possibly a picture would help as well...
by Andyroo
Fri Apr 19, 2019 2:09 am
Forum: General discussion
Topic: Help with copying a folder in raspberry pi3
Replies: 3
Views: 74

Re: Help with copying a folder in raspberry pi3

Welcome to the forum. There are a few ways to do this but here is one. First we create the directory structure: mkdir -p ~/.config/lxsession/LXDE-pi The -p creates the structure even if part of it exists (the ~/.config should) Then we just copy the file: cp /etc/xdg/lxsession/LXDE-pi/autostart ~/.co...
by Andyroo
Fri Apr 19, 2019 1:52 am
Forum: Python
Topic: turn on bluetooth rp3b+
Replies: 2
Views: 43

Re: turn on bluetooth rp3b+

You could have a look at https://github.com/pybluez/pybluez BUT its not being updated at this time. Adafruit have released https://github.com/adafruit/Adafruit_Python_BluefruitLE - it’s experimental/ new and may need their module if it does not work fully on the Pi :o You may be able to mod https://...
by Andyroo
Fri Apr 19, 2019 1:28 am
Forum: Beginners
Topic: Problems with Headless operation
Replies: 18
Views: 355

Re: Problems with Headless operation

I know this sounds daft but it bit me the other night on one Zero W. Do you have a keyboard and mouse in the Pi that does not boot? This Zero W was happy till some point in the last few weeks updates where it stopped joining WiFi till the keyboard and mouse was fitted (I use a wireless set with just...
by Andyroo
Fri Apr 19, 2019 1:19 am
Forum: Beginners
Topic: Headless Remote Access R Pi from Mac without R Pi connected to internet (P2P solution?)
Replies: 3
Views: 60

Re: Headless Remote Access R Pi from Mac without R Pi connected to internet (P2P solution?)

Welcome to the forum - nice to have another Mac user here (watch that get shot down) :lol: There are a few ways using WiFi: You could turn the Pi into an access point and get to it that way. You could use an iPhone (or Android) to create a small network and join both the Mac and Pi to that. You coul...
by Andyroo
Fri Apr 19, 2019 1:05 am
Forum: General discussion
Topic: OS read-only and data read-write SD partitioning
Replies: 9
Views: 141

Re: OS read-only and data read-write SD partitioning

Never good to switch off without a shutdown! It’s not that hard to add a switch to a GPIO pin and have a little program running to shut the Pi down when it’s held for a few seconds. For example https://www.raspberrypi.org/magpi/off-switch-raspberry-pi/ You could try https://learn.adafruit.com/read-o...
by Andyroo
Fri Apr 19, 2019 12:54 am
Forum: Beginners
Topic: Setting SSID with spaces and brackets
Replies: 1
Views: 27

Re: Setting SSID with spaces and brackets

Welcome to the forum. Spaces are fine and I think (but cannot confirm) the brackets are. A few thoughts: 1) If the SSID is hidden try it unhidden. 2) Indent the SSID and password with two or three spaces 3) If you used an editor that put cr/lf (standard in some Windows editors) you will have an issu...
by Andyroo
Fri Apr 19, 2019 12:35 am
Forum: General discussion
Topic: problem with connection Raspberry pi to Arduino
Replies: 1
Views: 42

Re: problem with connection Raspberry pi to Arduino

Are they connected via a USB to serial adapter?

If so, you could try /dev/ttyUSB0

Can you also post the output of

Code: Select all

lsusb
by Andyroo
Thu Apr 18, 2019 10:41 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: What kind of displays are there?
Replies: 15
Views: 260

Re: What kind of displays are there?

Just be careful on eBay - a lot of nice screens do not have a controller board or have a controller board but no HDMI output! It’s a regular question on here from folk who have purchased a screen and it arrives with a flat ribbon cable and no guide or sometimes the guide just gives the cable descrip...
by Andyroo
Thu Apr 18, 2019 10:34 pm
Forum: Troubleshooting
Topic: RPi NoIR Camera output is getting progressively worse
Replies: 15
Views: 225

Re: RPi NoIR Camera output is getting progressively worse

OK :?: :!: :?:

Could it be software or has something in the room turned off while you where out?
by Andyroo
Thu Apr 18, 2019 8:27 pm
Forum: General programming discussion
Topic: Trying to make that my server can be started from Discord
Replies: 1
Views: 25

Re: Trying to make that my server can be started from Discord

No idea how you have set your server up but this site https://www.gngrninja.com/code/2017/3/24/python-create-discord-bot-on-raspberry-pi has an example that uses Python to create an ‘add’ command to the system based on: async def add(left : int, right : int): """Adds two numbers together.""" await b...
by Andyroo
Thu Apr 18, 2019 8:14 pm
Forum: Troubleshooting
Topic: RPi NoIR Camera output is getting progressively worse
Replies: 15
Views: 225

Re: RPi NoIR Camera output is getting progressively worse

It’s almost like the green signal is failing part way through but I’ve no idea why. I know Cokin ‘neutral density’ filters are liable to add magenta to the sky but nothing like this. I’m really struggling here as I not seen a digital camera sensor do this now you have gone back to a basic cable. Wit...

Go to advanced search