Go to advanced search

by neilgl
Fri May 17, 2019 8:19 pm
Forum: Troubleshooting
Topic: VPN Router setup problem
Replies: 2
Views: 71

Re: VPN Router setup problem

Ah that link is for 2014 (Raspbian Wheezy) so their scripts probably don’t work with Raspbian Stretch.
Maybe post a question in Nordvpn forum if it is a paid service you have?
by neilgl
Tue May 07, 2019 12:55 pm
Forum: Beginners
Topic: how connect android and raspi
Replies: 2
Views: 92

Re: how connect android and raspi

On Android I use Termius (free app) to log in to the pi via ssh.
by neilgl
Mon Apr 29, 2019 9:47 am
Forum: Beginners
Topic: SSH to open applications on pi
Replies: 3
Views: 86

Re: SSH to open applications on pi

If you mean GUI (desktop) applications you would use VNC Viewer, not ssh. See
https://www.raspberrypi.org/magpi/vnc-raspberry-pi/
by neilgl
Mon Apr 29, 2019 9:40 am
Forum: Beginners
Topic: How do I do an HTTP POST?
Replies: 4
Views: 124

Re: How do I do an HTTP POST?

Maybe you could have a python program on the pi looking at the state of a switch connected to a pi GPIO pin, then send a POST to the approprate URL (using the python “requests” library). Note you don’t want more than 3.3 volts on the pi GPIO pins. Also you could use curl from the pi command line to ...
by neilgl
Sun Apr 28, 2019 10:44 pm
Forum: Beginners
Topic: Can't get Google Domain name to point to pi
Replies: 29
Views: 646

Re: Can't get Google Domain name to point to pi

We probably need to start another thread about it.
by neilgl
Sun Apr 28, 2019 10:42 pm
Forum: Beginners
Topic: Simple code to turn on/off relays from buttons on website
Replies: 7
Views: 322

Re: Simple code to turn on/off relays from buttons on website

Ah, didn’t we already try on another post my CGI method?
by neilgl
Fri Apr 26, 2019 5:46 pm
Forum: Beginners
Topic: Can't get Google Domain name to point to pi
Replies: 29
Views: 646

Re: Can't get Google Domain name to point to pi

As a side note, for that "custom heating system" I would drop the external 3rd party service and IFTTT. Just use OpenHAB on a pi and mqtt, and reporgram the smart outlets using e.g. Tasmota. Thats what I do, so no dependency on the internet...
by neilgl
Fri Apr 26, 2019 3:46 pm
Forum: Troubleshooting
Topic: Need help with LED'S on rpm 3b+
Replies: 7
Views: 159

Re: Need help with LED'S on rpm 3b+

re "why they need 5V also through their input signal?"... Depending on the manufacturer, the data sheet typically states that you need at least 3.5V for them to recognize the data as HIGH level (70% of 5V). That may be why 3V3 does not work.
by neilgl
Thu Apr 25, 2019 12:13 pm
Forum: Troubleshooting
Topic: Need help with LED'S on rpm 3b+
Replies: 7
Views: 159

Re: Need help with LED'S on rpm 3b+

As you are powering the neopixels from 5V, the 3V3 from the pi gpio pin may not reliably trigger them. Some people use a level shifter to get the pi 3V3 to 5V.
by neilgl
Thu Apr 25, 2019 12:07 pm
Forum: Beginners
Topic: Can't get Google Domain name to point to pi
Replies: 29
Views: 646

Re: Can't get Google Domain name to point to pi

Yes and is your pi connected to a router? If so , have you set port forwarding on that router?
by neilgl
Tue Apr 23, 2019 3:03 pm
Forum: Troubleshooting
Topic: How to generate PDF with PHP package
Replies: 5
Views: 88

Re: How to generate PDF with PHP package

What error message do you get back?
by neilgl
Tue Apr 23, 2019 10:09 am
Forum: Troubleshooting
Topic: WS2811 LED Strip Glitching.
Replies: 2
Views: 128

Re: WS2811 LED Strip Glitching.

Are you powering the neopixels from 5V ? If so the 3V3 from the pi gpio pin may not reliably trigger them. Some people use a level shifter to get the pi 3V3 to 5V.
Maybe try powering them using 3V3. Should be ok as you are only using five pixels.
by neilgl
Fri Apr 19, 2019 5:15 pm
Forum: Beginners
Topic: Setting up a VPN with Raspberry Pi
Replies: 1
Views: 106

Re: Setting up a VPN with Raspberry Pi

I see they are using OpenVpn.
What messages do you see in the Terminal?
by neilgl
Fri Apr 19, 2019 4:26 pm
Forum: Beginners
Topic: Controlling RPi via another RPi (WIFI)
Replies: 2
Views: 66

Re: Controlling RPi via another RPi (WIFI)

Yes and you can use MQTT with python. Assuming you have installed mosquitto on the pi, and pip, then

Code: Select all

sudo pip install paho-mqtt
In your python you can then have

Code: Select all

import paho.mqtt.clent as client
Then you can connect, publish, subscribe and get commands from other devices using mqtt.
by neilgl
Sat Apr 13, 2019 9:35 am
Forum: Beginners
Topic: What Developping Environment?
Replies: 9
Views: 307

Re: What Developping Environment?

A useful GUI for use with python is tkinter or maybe try Glade (construct GUI in Glade then invoke it from python)
by neilgl
Sat Apr 13, 2019 9:30 am
Forum: Beginners
Topic: Raspberry Pi IOT server advice
Replies: 4
Views: 159

Re: Raspberry Pi IOT server advice

Yes get a "Raspberry Pi 3 model B+"
I use one of those with openhab2 and grafana to record/graph temperatures from several arduino and pi based sensors.
I have set it up so they communicate using mqtt. (And the pi tells Alexa to give spoken warnings)
by neilgl
Thu Apr 11, 2019 9:28 pm
Forum: Troubleshooting
Topic: Signficant Latency in Ethernet communication using MQTT
Replies: 2
Views: 120

Re: Signficant Latency in Ethernet communication using MQTT

Can you post your code where you measure the delay on the pi
by neilgl
Fri Mar 29, 2019 2:52 pm
Forum: Beginners
Topic: Website buttons triggering not triggering GPIO pins
Replies: 8
Views: 256

Re: Website buttons triggering not triggering GPIO pins

OK I tested it on a pi2b (used for various tests) and running current raspbian with apache2. I followed my previous instructions. It worked first time. I retested by installing current raspbian stretch (not old jessie) on a fresh micro SD card, then apache2, then followed the previous instructions. ...
by neilgl
Sun Mar 24, 2019 2:16 am
Forum: Beginners
Topic: Website buttons triggering not triggering GPIO pins
Replies: 8
Views: 256

Re: Website buttons triggering not triggering GPIO pins

I will have a look at it when I get back from Vietnam.
by neilgl
Mon Mar 11, 2019 12:46 am
Forum: General discussion
Topic: influxdb installation problems?
Replies: 8
Views: 218

Re: influxdb installation problems?

Yes influxdb is easy to install and use in the pi with no issues.
I am also using telegraf with it.
by neilgl
Fri Mar 08, 2019 10:05 pm
Forum: Automation, sensing and robotics
Topic: Looking for help: MQTT Broker GPS LTE Temperature sensor
Replies: 4
Views: 331

Re: Looking for help: MQTT Broker GPS LTE Temperature sensor

What you can do is publish your temperatures using mqtt, then store them in an influxdb (on the pi) using telegraf (on the pi) as the input. The use grafana (on the pi) to plot graphs, which you can then see from various places around the world.
by neilgl
Mon Mar 04, 2019 10:51 pm
Forum: Beginners
Topic: Private Sonoff cloud server, running in your own home network
Replies: 4
Views: 213

Re: Private Sonoff cloud server, running in your own home network

For your own esp8266 devices maybe install mqtt on them, then you can use a pi as an mqtt server and you can control them from any device you have around - pi, PC, android phone, iPad etc.
by neilgl
Mon Mar 04, 2019 3:36 pm
Forum: Beginners
Topic: Private Sonoff cloud server, running in your own home network
Replies: 4
Views: 213

Re: Private Sonoff cloud server, running in your own home network

Maybe just add the /home/pi/ so that it knows exactly where to put the certificates (assuming you are logged in as pi) openssl req -x509 -newkey rsa:2048 -keyout /home/pi/certs/keytmp.pem -out /home/pi/certs/cert.pem -days 365 openssl rsa -in /home/pi/certs/keytmp.pem -out /home/pi/certs/key.pem And...
by neilgl
Fri Mar 01, 2019 3:08 pm
Forum: Beginners
Topic: RasPi 3 B+ as digital I/O
Replies: 2
Views: 122

Re: RasPi 3 B+ as digital I/O

Yes and maybe watch out for keybounce giving you multiple false inputs in a short time. I use this in a python script: GPIO.add_event_detect(16, GPIO.FALLING, callback=my_callback, bouncetime=500) It detects a falling edge then calls the "callback" routine. A global variable is used to count the num...
by neilgl
Fri Mar 01, 2019 2:32 pm
Forum: Beginners
Topic: sending/sharing photos between two pi's
Replies: 18
Views: 524

Re: sending/sharing photos between two pi's

Another simple way might be to enable php on your webserver (apache2) and then do file uploads using an html form <form action="upload.php" method="post" enctype="multipart/form-data"> Select image to upload: <input type="file" name="fileToUpload" id="fileToUpload"> <input type="submit" value="Uploa...

Go to advanced search