Go to advanced search

by DougieLawson
Tue Jul 17, 2018 3:16 pm
Forum: Raspbian
Topic: March 2018 Noobs download
Replies: 3
Views: 50

Re: March 2018 Noobs download

Why aren't you using NOOBS 2.8.2 which is fully supported on ANY model of Raspberry?

Going backwards re-introduces known bugs.
by DougieLawson
Tue Jul 17, 2018 3:15 pm
Forum: Beginners
Topic: Pi 3 model B+ not boot
Replies: 5
Views: 76

Re: Pi 3 model B+ not boot

Read the boot problems sticky thread at: viewtopic.php?f=28&t=58151
by DougieLawson
Tue Jul 17, 2018 3:12 pm
Forum: Troubleshooting
Topic: Problem with a library
Replies: 5
Views: 132

Re: Problem with a library

Did you compile/link the program on Windows and deploy on your Raspberry? Or did you move the source code to your Raspberry and compile on there?

Can you post an example program that doesn't work on here (in [code]... your stuff goes here ...[/code] tags)?
by DougieLawson
Mon Jul 16, 2018 6:54 pm
Forum: Beginners
Topic: Installation of Mysql connector on Pi
Replies: 5
Views: 113

Re: Installation of Mysql connector on Pi

Sorry I don't know how MySQL works (or fails) on Windows, I've never dreamt of running it on anything other than Linux.
by DougieLawson
Mon Jul 16, 2018 6:50 pm
Forum: Raspbian
Topic: How to disable screen blanking
Replies: 42
Views: 227731

Re: How to disable screen blanking

The one time I wanted to run a slide show with a projector I used Pi Presents.
https://pipresents.wordpress.com

https://pipresents.wordpress.com/download/

No screen blanking with that stuff.
by DougieLawson
Mon Jul 16, 2018 12:05 pm
Forum: Automation, sensing and robotics
Topic: Wireless soil moisture sensor
Replies: 10
Views: 162

Re: Wireless soil moisture sensor

The ESP is like an Arduino with on-board WiFi. It's got pins for 3V3 or 5V (if you get a Wemos variant).

I stuffed some sample code at: https://github.com/DougieLawson/Wemos_Arduino_MQTT a while ago.
by DougieLawson
Mon Jul 16, 2018 11:46 am
Forum: Beginners
Topic: Installation of Mysql connector on Pi
Replies: 5
Views: 113

Re: Installation of Mysql connector on Pi

Yes.
by DougieLawson
Mon Jul 16, 2018 11:40 am
Forum: General discussion
Topic: New firmware for the official wireless dongle
Replies: 4
Views: 200

Re: New firmware for the official wireless dongle

It'll go round 13 of my 15 raspberries when I do the next round of reboots (some of them use BRCM dongles/on-board WiFi).
by DougieLawson
Mon Jul 16, 2018 7:43 am
Forum: Troubleshooting
Topic: Does Raspberry Pi 3B(not +) support Wi-Fi channel 8-13?
Replies: 2
Views: 58

Re: Does Raspberry Pi 3B(not +) support Wi-Fi channel 8-13?

It depends on your country code.

WiFi works on channel 1 to 13 in the UK.
by DougieLawson
Mon Jul 16, 2018 7:36 am
Forum: Automation, sensing and robotics
Topic: Wireless soil moisture sensor
Replies: 10
Views: 162

Re: Wireless soil moisture sensor

Give each sensor a Wemos (ESP8266) publishing MQTT messages connect those to your WiFi network. Run an MQTT broker on your RPi.

Once you have each sensor publishing data that way you can aggregate it with a python MQTT subscriber program.
by DougieLawson
Mon Jul 16, 2018 7:33 am
Forum: Beginners
Topic: Installation of Mysql connector on Pi
Replies: 5
Views: 113

Re: Installation of Mysql connector on Pi

That apt install and your pip install are both installing the same piece. Choose one or the other.

You also need to ensure your MySQL/MariaDB server is binding to the 0.0.0.0 address to allow remote connections.
by DougieLawson
Mon Jul 16, 2018 7:25 am
Forum: Beginners
Topic: VOIP Server RPI
Replies: 2
Views: 81

Re: VOIP Server RPI

by DougieLawson
Mon Jul 16, 2018 7:14 am
Forum: Troubleshooting
Topic: Edited fstab, rebooted, Cannot access to console, the root account is locked
Replies: 11
Views: 10322

Re: Edited fstab, rebooted, Cannot access to console, the root account is locked

What is amazing is that when you hit Enter, the operating system is capable of fixing the lock and continuing with boot up. Which says the Raspbian people really don't want you running their OS unattended. They don't give a flying about headless. No, they want you right there in attendance for ever...
by DougieLawson
Sun Jul 15, 2018 4:58 pm
Forum: Raspbian
Topic: Raspina Jessie Synaptic & Teamviewer Install
Replies: 5
Views: 105

Re: Raspina Jessie Synaptic & Teamviewer Install

You need to be running Stretch, Jessie is end-of-support since 17th August 2017 (nearly a year ago).

Easiest way to get Stretch is with a fresh SDCard and a fresh download.
by DougieLawson
Sun Jul 15, 2018 4:54 pm
Forum: Beginners
Topic: AttributeError on 'zbar.ImageScanner()'
Replies: 9
Views: 155

Re: AttributeError on 'zbar.ImageScanner()'

The python package you've installed isn't the one that matches the documentation you're using.

sudo apt purge python-zbar

cd /tmp
wget https://github.com/ZBar/ZBar/archive/master.zip
unzip master.zip
cd ZBar-master/python
sudo python2 setup.py install
by DougieLawson
Sun Jul 15, 2018 3:35 pm
Forum: Troubleshooting
Topic: File attachments
Replies: 6
Views: 100

Re: File attachments

Dougie...Thanks, but somehow that is not the same a adding an attachment. But it works....RDK It's not the same, it's only about a 1,000,000 times better. There's even a pastebin program you can install on Raspbian to automatically create them. I won't unzip a zip file on here, because there's no a...
by DougieLawson
Sun Jul 15, 2018 3:08 pm
Forum: Add-ons
Topic: Relay' connected to Rpi Zero W - causes it to freeze
Replies: 29
Views: 537

Re: Relay' connected to Rpi Zero W - causes it to freeze

can you please explain what is the purpose of MCP23017 - in activating a relay ? It gives you a 5V tolerant GPIO (in fact a single MCP23017 gives you 16 GPIOs). They're I2C and easy to program. The MCP23017 GPIOs can be input or output, you can even trigger a RPi GPIO when any one of eight (or sixt...
by DougieLawson
Sun Jul 15, 2018 3:05 pm
Forum: Troubleshooting
Topic: File attachments
Replies: 6
Views: 100

Re: File attachments

Stick it on google docs or github.io or pastebin.com, stick a link on here.
by DougieLawson
Sun Jul 15, 2018 2:11 pm
Forum: Advanced users
Topic: recording both video & audio
Replies: 5
Views: 110

Re: recording both video & audio

raspivid doesn't work with a USB camera. It's video only for the picamera V1 (5MP) or V2 (8MP).
by DougieLawson
Sun Jul 15, 2018 11:30 am
Forum: Camera board
Topic: Sending images to a web server
Replies: 3
Views: 122

Re: Sending images to a web server

MQTT doesn't need external tunneling as it natively supports TLS on port 8883 if you have the certificates for that set up.
by DougieLawson
Sun Jul 15, 2018 8:08 am
Forum: Networking and servers
Topic: SSH not working in new raspbian-first-time-install
Replies: 10
Views: 238

Re: SSH not working in new raspbian-first-time-install

Have you enabled ssh?

Create a /boot/ssh file (sudo touch /boot/ssh or sudo touch /boot/ssh.txt) then reboot. Or use sudo systemctl enable ssh; sudo systemctl start ssh.
by DougieLawson
Sun Jul 15, 2018 6:20 am
Forum: Add-ons
Topic: Relay' connected to Rpi Zero W - causes it to freeze
Replies: 29
Views: 537

Re: Relay' connected to Rpi Zero W - causes it to freeze

Select Low level trigger - NOT OK for Rpi. Select High level trigger - OK for Rpi. You might like to read my old post below. RE: RELAY MODULE KY-019 5V Post by tlfong01 2018-Jun-19 Tue 5:24 pm https://www.raspberrypi.org/forums/viewtopic.php?f=63&t=77158&start=75#p1330108 What are you talking about...
by DougieLawson
Sun Jul 15, 2018 6:15 am
Forum: Android
Topic: android app for raspberry pi
Replies: 8
Views: 195

Re: android app for raspberry pi

Try making an MQTT android app.
https://github.com/eclipse/paho.mqtt.android

That allows you to publish a message from your phone to an MQTT broker running on your Raspberry. An MQTT subscriber program could use that to control your relay and lamp.
by DougieLawson
Sat Jul 14, 2018 8:28 pm
Forum: Python
Topic: printing data from ods file
Replies: 2
Views: 77

Re: printing data from ods file

There's some python libraries at: http://opendocumentformat.org/developers/

https://github.com/eea/odfpy
https://github.com/lpod/lpod-python with https://github.com/lpod/lpod-python-recipes

Both look like they give you a way to extract metadata from an ODF document.

Go to advanced search